The hacking lifecycle describes the sequential phases an attacker follows, from initial reconnaissance through exploitation, persistence, and data exfiltration.
The hacking lifecycle describes the systematic phases an attacker progresses through during a cyberattack: reconnaissance, scanning, gaining access, maintaining access, covering tracks, and exfiltration. This model derives from the EC-Council hacking methodology and is related to, but distinct from, the seven-phase Lockheed Martin Cyber Kill Chain. Understanding these phases helps defenders identify and disrupt attacks at each stage before adversaries achieve their ultimate objectives.
Reconnaissance involves gathering information about the target organization through passive and active techniques. Attackers collect domain information, employee details, technology stacks, network ranges, and organizational structure using OSINT tools, social media, DNS records, and public databases. This intelligence shapes attack strategy and identifies the most promising entry points for subsequent phases.
Scanning involves actively probing the target to identify live hosts, open ports, running services, and software versions. Enumeration extracts detailed information such as user accounts, share names, and application endpoints. Attackers use tools like Nmap, Nessus, and custom scripts to build a detailed map of the target environment and identify exploitable vulnerabilities for the next phase.
Initial access methods include exploiting software vulnerabilities, phishing for credentials, leveraging stolen passwords from data breaches, social engineering attacks, supply chain compromise, and exploiting exposed services. The chosen method depends on reconnaissance findings and the target's security posture. Attackers typically pursue the path of least resistance to establish their initial foothold.
Persistence techniques include installing backdoors, creating scheduled tasks, modifying startup scripts, deploying web shells, establishing reverse tunnels, adding rogue accounts, and implanting rootkits. Attackers use multiple persistence mechanisms simultaneously to ensure continued access even if one method is discovered. Persistence allows long-term operations for data theft and lateral movement.
Lateral movement is the process of expanding access from the initially compromised system to other systems within the network. Attackers use credential theft, pass-the-hash techniques, remote execution tools, and exploitation of trust relationships between systems. The goal is to reach high-value targets such as domain controllers, database servers, and systems containing sensitive data.
Defenders use the lifecycle model to implement controls at each attack phase. Network monitoring detects reconnaissance, vulnerability management prevents exploitation, EDR identifies persistence mechanisms, and network segmentation limits lateral movement. By mapping defenses to each lifecycle phase, organizations create layered security that provides multiple opportunities to detect and disrupt attacks.
MITRE ATT&CK expands the hacking lifecycle into a detailed matrix of tactics, techniques, and procedures used by real-world adversaries. It provides a common language for describing attacker behavior across the lifecycle phases. Organizations use ATT&CK to assess defensive coverage gaps, guide red team operations, and prioritize security investments based on adversary technique prevalence.