
When an incident hits, sequence matters. Pull the plug too early and an intruder may pivot or go quiet. Wait too long and damage grows. That’s why mature frameworks separate containment (stop the bleeding) from eradication (remove the cause).
Snapshot: Containment vs. Eradication
| Phase | Primary Goal | Timing | Owner(s) | Key Outputs |
|---|---|---|---|---|
| Containment | Halt spread | Immediate | IR lead, network/endpoint ops | Isolated hosts, blocked IOCs |
| Eradication | Remove root cause | After scoping | IR lead, platform owners | Patched systems, rotated creds |
What Is Containment?
Containment is about freezing the attack so it can’t move or escalate while you investigate.
Core moves
- Isolate infected hosts or segments
- Disable compromised accounts/tokens
- Block malicious IPs/domains/hashes
- Preserve volatile data for forensics
- Stand up a clean jump box for analysis
Quick Containment Tactics (by layer)
| Layer | Tactic |
|---|---|
| Network | Quarantine VLAN; block C2 ranges |
| Endpoint | EDR isolate; kill malicious process |
| Identity | Disable user; revoke refresh tokens |
| Quarantine campaign; purge messages | |
| Cloud | Lock down role; restrict region/API |
What Is Eradication?
Eradication removes the cause: the exploited bug, persistence, and any stolen or abused credentials.
Core moves
- Patch vulnerable software/configs
- Remove malware and persistence
- Rotate passwords/keys/certs
- Clean or re‑image affected systems
- Validate no new indicators appear
Common Eradication Tasks (by platform)
| Platform | Task |
|---|---|
| Endpoints | Re‑image; verify EDR clean state |
| Servers | Patch; remove backdoors; reboot window |
| Identity | Reset high‑value creds; force MFA |
| Cloud | Remove rogue apps/roles; rotate access keys |
| Remove inbox rules; revoke OAuth grants |
Hand‑Off: When to Move from Containment to Eradication
Only switch once you’ve scoped the blast radius and captured the evidence you need.
Readiness checklist
- Confirm no ongoing lateral movement
- Backups and forensic images secured
- IOC list agreed and blocked
- Stakeholder approval (legal/compliance/exec)
- Eviction plan documented with timing and roles
Go/No‑Go Signals
| Signal | Go | No‑Go |
|---|---|---|
| Lateral movement | None observed | Active beacons/spread |
| Evidence capture | Images complete | Gaps in chain of custody |
| Credential rotation plan | Approved | Unplanned/high risk accounts |
| Business impact window | Scheduled | Peak/critical operations |
Use Playbooks to Time the Eviction
CISA’s Eviction Strategies Tool helps you translate observed behaviors into a step‑by‑step eviction plan. It pairs a next‑gen playbook with a catalog of atomic countermeasures so the team knows what to do, when, and in what order. Use it to avoid tipping off the adversary and to keep containment and eradication cleanly separated.
Key Takeaway
Containment buys time; eradication removes the threat. Get the order wrong and you risk alerting attackers or leaving backdoors behind. Nail the sequence and you cut dwell time, data loss, and cleanup costs.
Bonus: 60‑Minute Containment Starter (Use and adapt)
| Minute | Action |
|---|---|
| 0–10 | Triage alert; declare incident; page IR lead |
| 10–20 | Isolate hosts; block known IOCs |
| 20–30 | Disable suspected accounts/tokens |
| 30–45 | Snapshot disks/memory; preserve logs |
| 45–60 | Draft eviction plan; brief stakeholders |
FAQs
What’s the key difference between containment and eradication?
Containment stops the attack from spreading; eradication removes the root cause so it can’t return.
Why does containment come before eradication?
Isolating the threat first prevents lateral movement, giving responders time to plan a clean removal without tipping off the attacker.
How long should the containment phase last?
Only as long as needed to confirm scope, capture forensics, and prepare a safe eradication plan—typically hours, not days.
Can I skip eradication if I restore from backups?
No. Backups won’t close exploited vulnerabilities; you still need to patch, rotate credentials, or wipe malware to prevent reinfection.
Which tools help automate containment?
Network segmentation via firewalls, EDR quarantine features, and CISA’s Eviction Strategies Tool all speed up containment actions.
How does CISA’s Eviction Strategies Tool improve timing?
It maps observed attacker behaviors to a step‑by‑step plan, showing exactly when to move from containment to eradication.
Does NIST require a written containment plan?
Yes. NIST SP 800‑61 Rev. 3 recommends documenting containment procedures as part of an overall incident‑response playbook.





