0Pricing
Cyber Security Academy · Lesson

The IR Lifecycle: Prepare, Identify, Contain

Walk through NIST's six incident response phases and understand each team's role.

The IR Lifecycle: Prepare, Identify, Contain is a free Cyber Security Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

What is Incident Response?

Incident Response (IR) is the organized approach to addressing and managing security incidents. The goal is to minimize damage, reduce recovery time, and prevent recurrence. Having a documented IR plan before an incident is critical.

IR Frameworks

Major IR frameworks:

  • NIST SP 800-61: Preparation → Detection/Analysis → Containment/Eradication/Recovery → Post-Incident
  • SANS PICERL: Prepare, Identify, Contain, Eradicate, Recover, Lessons Learned
  • CISA: Broadly aligned with NIST

Phase 1: Preparation

Preparation activities:

  • Document IR policy and procedures
  • Build and train the IR team (CIRT)
  • Deploy logging and detection tools
  • Establish communication channels and escalation paths
  • Conduct tabletop exercises and simulations
  • Create runbooks for common incident types

Preparation: Tools and Resources

Prepare before incidents occur:

  • Centralized SIEM for log analysis
  • Forensic workstation with write blockers and imaging tools
  • Legal and HR contacts pre-identified
  • IR retainer with external forensics firm
  • Offline backups verified and accessible

Phase 2: Identification

Identification is detecting and confirming that an incident has occurred. Sources of detection:

  • SIEM alerts and IDS/IPS events
  • User reports ("my computer is acting strange")
  • Threat intelligence feeds
  • Anomaly detection (unusual login times, data transfers)
  • Third-party notification (law enforcement, partners)

Severity Classification

Classify incidents by severity to prioritize response:

  • P1/Critical: active breach, data exfiltration, ransomware
  • P2/High: compromised privileged account, malware detected
  • P3/Medium: policy violation, suspicious activity
  • P4/Low: failed login attempts, minor misconfiguration

Phase 3: Containment

Containment stops the spread of damage without destroying evidence. Two types:

  • Short-term containment: isolate affected systems (network quarantine)
  • Long-term containment: remove malicious artifacts while maintaining operations

Containment Strategies

Containment actions:

  • Network isolation: VLAN quarantine, firewall block rules
  • Account lockout: disable compromised credentials
  • EDR kill: terminate malicious processes via EDR
  • DNS sinkhole: redirect C2 domains to prevent callbacks
  • Preserve evidence BEFORE wiping

Incident Command Structure

During major incidents, use a clear command structure:

  • Incident Commander — overall coordination
  • Technical Lead — investigation and remediation
  • Communications Lead — internal and external notifications
  • Legal/Compliance — regulatory obligations

Parallel Workstreams

Effective IR runs containment, investigation, and communications in parallel — not sequentially. While the technical team contains the threat, legal prepares notifications and management communicates with stakeholders. Time matters: every hour of uncontained access causes more damage.

IR Documentation

Document everything during an incident:

  • Timeline of events with timestamps
  • All actions taken (with who, what, when)
  • Evidence collected and chain of custody
  • Decisions made and rationale

This documentation is essential for legal proceedings and the post-incident review.

Quick Check: IR Lifecycle

During which IR phase would you isolate an infected system from the network to stop malware from spreading?

Lesson Recap

The IR lifecycle (NIST): Preparation, Identification, Containment, Eradication, Recovery, Post-Incident. Preparation is the most important phase — build the team, tools, and runbooks before incidents happen. Identification confirms an incident. Containment stops spread while preserving evidence. Document every action with timestamps.

Frequently asked questions

Is the “The IR Lifecycle: Prepare, Identify, Contain” lesson free?

Yes — the full text of “The IR Lifecycle: Prepare, Identify, Contain” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.

What will I learn in “The IR Lifecycle: Prepare, Identify, Contain”?

Walk through NIST's six incident response phases and understand each team's role. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Cyber Security Academy?

No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “The IR Lifecycle: Prepare, Identify, Contain” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Cyber Security Academy lesson?

Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. The IR Lifecycle: Prepare, Identify, Contain
  2. Evidence Collection and Chain of Custody
  3. Eradication, Recovery, and Lessons Learned
  4. Writing an Incident Report
← Back to Cyber Security Academy