Skip to main content
Incident Response Lifecycle & Triage Containment
Lesson 1 of 20

Incident Response Lifecycle & Triage Containment

Apply NIST SP 800-61 rev. 3 and CSF 2.0 to classify security incidents, preserve volatile forensic evidence, run Windows and network triage, contain threats, and execute clean recovery.

Intermediate 25 min Forensics & IR

Learning objectives

  • Map the four operational incident response phases to NIST SP 800-61 rev. 3 and NIST CSF 2.0 functions
  • Classify incident severity (P1 to P4) and apply forensic evidence preservation rules including volatility order and chain of custody
  • Execute Windows live triage, Volatility 3 memory checks, and Wireshark display filters to detect persistence and covert channels
  • Distinguish short-term containment, eradication, clean recovery, and post-incident review with regulatory reporting obligations

Recommended first: Blue Team Basics, SOC Architecture & Analyst Duties

#Why this matters

Even a mature SOC cannot stop every intrusion. When alerts confirm unauthorized access, malware execution, or data leakage, improvised actions destroy evidence and leave backdoors active. Incident Response (IR) establishes a repeatable process to contain damage, preserve forensic proof, eradicate access, and restore trusted operations.

Modern response follows NIST SP 800-61 rev. 3, which aligns incident management with the six NIST CSF 2.0 functions: Govern, Identify, Protect, Detect, Respond, and Recover. Pairing this guidance with MITRE ATT&CK helps analysts identify persistence and lateral movement quickly during triage.

#Incident response lifecycle and CSIRT readiness

Operational playbooks group NIST SP 800-61 rev. 3 and CSF 2.0 activities into four phases that loop back into readiness:

  1. Phase 1: PreparationCSF Govern/Identify/Protect: IRP, playbooks, CSIRT, drills
  2. Phase 2: Detection & AnalysisCSF Detect: SIEM triage, P1-P4 severity, forensics
  3. Phase 3: Containment & EradicationCSF Respond: isolate hosts, remove persistence
  4. Phase 4: Recovery & Post-IncidentCSF Recover/Govern: clean restore, lessons learned

Phase 1 (Preparation) builds an Incident Response Plan (IRP) with severity tiers, escalation matrices, out-of-band communications, playbooks, and tabletop drills. Organizations also staff a CSIRT with clear roles: an IR Lead for coordination, Forensic, Malware, and Network Analysts, plus Legal/PR specialists.

#Severity classification, forensic rules, and traffic triage

In Phase 2 (Detection and Analysis), responders validate alerts and assign a severity level:

Level Severity Typical criteria Target response
P1 Critical Production outage or active data exfiltration Immediate
P2 High Critical asset affected with confirmed malicious activity Within 1 hour
P3 Medium Non-sensitive system impacted without spread Within 4 hours
P4 Low Minor anomaly or isolated policy violation Next business day

For a powered-on suspect host, follow strict core forensic rules:

  1. Collect volatile data before shutdown in order of volatility: RAM first, then swap, then disk. Unplugging power wipes memory-resident malware and open sockets.
  2. Preserve the original evidence by imaging the drive and analyzing only a working copy.
  3. Verify integrity with a SHA-256 hash upon acquisition and before analysis.
  4. Log every action in a Chain of Custody journal with timestamps, handlers, and hashes.

Analysts use Volatility 3 for RAM triage and Wireshark display filters to detect C2 traffic or oversized DNS frames indicating DNS tunneling:

Volatility 3 and Wireshark forensic triage
$ vol -f memory.dmp windows.pslist
$ vol -f memory.dmp windows.netscan
$ vol -f memory.dmp windows.malfind

# Wireshark display filters during Phase 2 traffic analysis:
# Detect potential DNS tunneling via oversized DNS frames
dns and frame.len > 200
# Filter outbound traffic to a suspect lab C2 subnet
ip.dst == 198.51.100.0/24

#Live Windows triage, containment, and eradication

Phase 3 (Isolation, Eradication, and Removal) halts spread before eliminating root causes.

Short-Term Containment vs Long-Term Containment & Eradication
Short-Term Containment
  • Isolate compromised hosts from the network
  • Block malicious or compromised user accounts
  • Preserve RAM images and system logs first
  • Goal: stop spread immediately
Long-Term Containment & Eradication
  • Deploy temporary workarounds or backup services
  • Remove malware binaries and close backdoors
  • Patch the entry flaw and harden configs
  • Goal: sustain operations and remove root cause

On Windows hosts, responders inspect processes, sockets, failed logins (Event ID 4625), file hashes, and MITRE ATT&CK persistence points such as Scheduled Tasks (T1053) and Registry Run keys (T1547.001):

Windows live triage commands
# Inspect running processes and active TCP connections
tasklist /v
netstat -ano

# Check persistence mechanisms (Scheduled Tasks and Registry Run keys)
schtasks /query /fo LIST /v
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

# Review failed logins (Event ID 4625) and hash system binaries
Get-WinEvent -LogName Security | Where-Object Id -eq 4625 | Select-Object -First 20
Get-FileHash C:\Windows\System32\*.exe | Export-Csv hashes.csv

#Recovery, post-incident review, and reporting

Phase 4 (Recovery and Post-Incident) returns hosts safely to production:

  1. Restore from a verified clean backup taken before the intrusion.
  2. Patch and harden the entry vulnerability.
  3. Rotate passwords and tokens for affected accounts.
  4. Strengthen monitoring for signs of re-entry.
  5. Return to production after validation checks pass.

A blameless Post-Incident Review (Lessons Learned) updates playbooks and SIEM rules (feeding CSF 2.0 Govern and Protect). Legal teams also handle breach notifications, including GDPR (within 72 hours to the DPA), HIPAA (within 60 days for medical data), and CERT.UZ in Uzbekistan.

#Defending against common incident response mistakes

  • Unplugging power immediately: Erases RAM, active sockets, and memory-only payloads before capture.
  • Analyzing original drives directly: Alters timestamps and risks invalidating evidence; always work from a hashed copy.
  • Rushing back to production: Restoring a backup without patching, rotating passwords, and raising monitoring invites immediate re-compromise.
  • Skipping post-incident reviews: Leaving playbooks and SIEM rules unchanged preserves the same blind spots.

#Summary

Effective incident response maps Preparation, Detection and Analysis, Containment and Eradication, and Recovery and Post-Incident to NIST SP 800-61 rev. 3 and NIST CSF 2.0. Classifying severity, preserving volatile evidence in RAM-swap-disk order with SHA-256 hashes and a Chain of Custody, and checking Windows persistence and network filters stop breaches cleanly. Verified recovery, lessons-learned reviews, and timely notifications build lasting resilience.

Knowledge check

Sign in to take the test, complete lessons and save your progress. Log in

Practice: test your knowledge