01 / 20

Attack
Lifecycle

Understand how cyber attacks unfold from reconnaissance through exploitation, persistence, and exfiltration: the blueprint adversaries follow and defenders must recognize.

Cyber Security

What Is the Attack Lifecycle?

The attack lifecycle (also called the "cyber kill chain") is a sequence of phases that describe how a threat actor moves from initial interest in a target to achieving their objective. Every major cyber intrusion, from ransomware to espionage, follows this pattern.

Why Defenders Need This Model

★ Predict Behavior
Knowing the sequence lets security teams anticipate the attacker's next move before they make it.
★ Layered Defense
Each phase is a chance to detect and stop the attacker: multiple layers mean multiple opportunities.
★ Incident Response
When a breach is discovered, the model helps analysts determine how far the attacker progressed.

Key Vocabulary

Threat Actor
Any individual or group that performs or funds a cyber attack.
Exploit
A piece of code or technique that takes advantage of a vulnerability.
Payload
The malicious action an exploit delivers, such as a backdoor or ransomware.
C2
Command and Control: the channel an attacker uses to communicate with compromised systems.

The Four Core Phases

Reconnaissance Gather intelligence Exploitation Gain initial access Persistence Maintain foothold Exfiltration Extract target data 1 2 3 4

Phase 1: Reconnaissance

During reconnaissance, the attacker gathers information about the target without directly interacting with the target's systems (passive) or by probing systems for details (active).

Passive Recon
OSINT searches, social media profiling, DNS lookups, WHOIS records: no packets touch the target network.
Active Recon
Port scanning, vulnerability scanning, banner grabbing: the attacker sends traffic directly to the target.

Phase 2: Exploitation

Armed with intelligence, the attacker delivers a payload that exploits a vulnerability to gain initial access. This is the moment the attacker crosses the boundary from outsider to insider.

1
Phishing email: A crafted message tricks a user into opening a malicious attachment or clicking a link.
2
Software vulnerability: Unpatched web servers, VPN gateways, or applications are exploited remotely.
3
Credential stuffing: Stolen username/password pairs from previous breaches are tried against login portals.

Phase 3: Persistence

Once inside, the attacker establishes mechanisms to maintain access even if the original entry point is patched or discovered. This phase often includes privilege escalation and lateral movement.

Backdoors
Hidden accounts, web shells, or scheduled tasks that re-establish access if the attacker is disconnected.
Privilege Escalation
Moving from a low-privilege user to administrator or root, granting full control of the system.
Lateral Movement
Pivoting from one compromised machine to others across the network to reach high-value targets.

Phase 4: Exfiltration

The final phase is where the attacker achieves their goal: extracting sensitive data from the compromised network. Some attackers also deploy ransomware, destroy evidence, or stage disinformation at this point.

1
Data staging: Sensitive files are compressed and collected in a single location before transfer.
2
Covert channels: Data is sent out through encrypted tunnels, DNS queries, or cloud storage services to avoid detection.
3
Cover tracks: Logs are deleted, timestamps modified, and malware removed to erase evidence of the intrusion.

Kill Chain vs. MITRE ATT&CK

Lockheed Martin Kill Chain MITRE ATT&CK
Structure 7 linear phases 14 tactics, hundreds of techniques
Granularity High-level, strategic Detailed, tactical
Flow Strictly sequential Non-linear: tactics can repeat
Best For Teaching concepts and planning Threat intelligence and detection rules

Lockheed Martin Kill Chain (7 Steps)

1. Reconnaissance 2. Weaponization 3. Delivery 4. Exploitation 5. Installation 6. C2 7. Actions on Obj. Our simplified 4-phase model maps to the full Kill Chain: Recon = Steps 1-2 Exploit = Steps 3-4 Persist = Steps 5-6 Exfiltrate = Step 7

How to Analyze an Attack

1
Identify the trigger: What alerted defenders? A suspicious email, an IDS alert, or unusual data transfer?
2
Map to phases: Determine which lifecycle phase the attacker was in when detected. This tells you what already happened.
3
Trace backwards: Investigate earlier phases: how did the attacker get in? What reconnaissance preceded the exploit?
4
Look forward: Predict the next phase. If you caught them at persistence, prevent exfiltration immediately.
5
Document and improve: Record findings in the incident report and update defenses for each phase.

Example: Phishing Attack Scenario

RECON LinkedIn scraping finds CFO's email EXPLOIT Spear-phishing macro in .docx PERSIST Backdoor installed scheduled task EXFIL Financial data sent via HTTPS IDS Alert triggered here Between Exploit and Persist

Example: Ransomware Outbreak

1
Recon: Attacker scans the internet for exposed Remote Desktop Protocol (RDP) ports using tools like Shodan.
2
Exploit: Brute-force attack on the RDP login succeeds with a weak password ("Company2024!").
3
Persist: Attacker creates a new admin account, disables antivirus, and moves laterally to the file server.
4
Exfiltrate/Impact: Before encrypting files, the attacker copies 200 GB of data to an external server. Then ransomware deploys.

Example: Supply Chain Attack

Threat Actor Software Vendor (compromised build server) Trojanized Software Update Company A Company B Company C All three install the trusted update: all three are compromised.

Common Mistakes

✕ Thinking It's Always Linear
Attackers often loop back: failed exploits lead to more recon, and persistence may require re-exploitation on new targets.
✕ Ignoring Early Phases
Organizations that only invest in perimeter firewalls miss reconnaissance and social engineering entirely.
✕ Confusing Phase and Technique
"Phishing" is a technique used during the exploitation phase: it is not a phase by itself. Keep the model structured.

Defenses by Phase

Phase Attacker Goal Key Defense
Recon Gather intelligence Minimize public data exposure, OSINT monitoring
Exploit Gain initial access Patch management, email filtering, MFA
Persist Maintain foothold EDR, least privilege, network segmentation
Exfiltrate Extract data DLP systems, encrypted traffic analysis, SIEM alerts

Question 1 of 5

An attacker uses Shodan to find internet-connected devices with exposed ports at a target company. Which phase of the attack lifecycle does this represent?

Question 2 of 5

After gaining access, an attacker creates a hidden admin account and installs a web shell. What is the primary purpose of these actions?

Question 3 of 5

Which of the following best distinguishes the Lockheed Martin Kill Chain from the MITRE ATT&CK framework?

Question 4 of 5

In a double extortion ransomware attack, the attacker both encrypts files and steals data. At which phase does the data theft occur?

Question 5 of 5

At which point could multi-factor authentication (MFA) have been most effective at disrupting this attack?