Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.6.1. Security Incident Symptoms and Causes

💡 First Principle: Security problems present as access failures (legitimate users can't get in or can't get to resources), behavioral anomalies (processes running that shouldn't be), or performance changes (excessive CPU/network from malware). Distinguishing security problems from configuration problems requires checking whether changes were authorized.

Common Security Problems
SymptomMost Likely Security CauseInvestigation
File integrity failureUnauthorized modification, malwareFile integrity monitoring alerts, hash comparison
Improper privilege escalationExcessive permissions, sudo abuseAudit logs, group membership review
Applications will not loadSELinux/AppArmor denying access, AV quarantineSecurity logs, SELinux audit log (/var/log/audit)
Cannot access network filesharesPermission change, share access revokedCheck permissions, share configuration
Unable to open filesFile encrypted by ransomware, permissions changedCheck file encryption state, permission audit
Unusual outbound trafficMalware command-and-control, data exfiltrationNetwork monitoring, netstat, DLP alerts
New user accounts createdCompromised admin account, insider threatAD audit logs, account creation events
Services running unexpectedlyMalware, backdoorRunning process list vs. known-good baseline
Root Causes
CauseHow It ManifestsMitigation
Open portsServices accessible that shouldn't bePort scan and firewall audit
Active/orphan/zombie servicesProcesses consuming resources, potential backdoorsProcess audit vs. baseline
Misconfigured IDSFalse positives blocking legitimate trafficTune IDS rules
Misconfigured anti-malwareLegitimate tools quarantinedWhitelist known-good tools
Misconfigured firewall rulesOver-permissive or conflicting rulesFirewall rule audit
Misconfigured permissionsUsers accessing unauthorized resourcesACL audit, apply least privilege
Virus/malware infectionPerformance impact, unusual behaviorFull system scan, process audit
Rogue processes/servicesUnauthorized code runningProcess list audit, netstat
DLP triggeredLegitimate transfer blockedReview DLP policy, confirm data classification
The Orphan/Zombie Process Problem

When a service is removed but its process persists, you are left with an orphan — and orphans and zombies are not the same thing:

Orphan processZombie (defunct) process
StateStill runningAlready terminated
ParentDied; the process is re-parented to init/systemd (PID 1)Still alive but has not read the exit status ("reaped")
ResourcesHolds real CPU, RAM, files, and socketsHolds only a PID and a process-table entry — no CPU, no RAM
Security riskYes — it executes code and can hold open portsMinimal; the risk is PID-table exhaustion if they pile up
FixKill itKill or fix the parent; a zombie cannot be killed — it is already dead

The security concern in this section is the orphan. An orphaned service process:

  • Consumes resources while performing no legitimate work
  • May represent a malware persistence mechanism
  • Creates open ports and attack surfaces that aren't documented

Baseline comparison is critical — regularly compare running processes and listening ports against a known-good baseline to identify unauthorized additions.

⚠️ Exam Trap: SELinux/AppArmor denials can look like application failures — the application reports a permissions error, but standard file permissions appear correct. The real issue is the mandatory access control layer. Check /var/log/audit/audit.log for avc: denied messages. Running setenforce 0 (SELinux permissive mode) as a diagnostic test confirms SELinux is the cause if behavior changes.

Reflection Question: A Linux web server is returning "Permission denied" errors for a newly deployed application, despite the application files being owned by the web server user with correct permissions. What additional security mechanism might be causing this, and how would you diagnose it?

Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications