# The containment step of incident response

Steps, read 16 November 2026

**The short answer.** Containment stops an incident from spreading while keeping evidence. SANS splits it into short-term containment, a forensic system back-up and long-term containment. CISA lists isolating systems, blocking access and rotating credentials. This page, read on 16 November 2026, gives the choices and what to weigh.

## What is containment in incident response?

Containment is the step that prevents further damage by removing the adversary's access or limiting the spread. CISA says its objective is to prevent further damage and reduce the immediate impact. NIST CSF outcome RS.MI-01 is: incidents are contained.

The right approach depends on the scenario; CISA notes that containing an active adversary using fileless malware differs from containing ransomware.

## What are the three parts of containment in the SANS handbook?

Short-term containment limits damage fast, for example by isolating a network segment or moving traffic to failover servers. System back-up takes a forensic image before any system is wiped. Long-term containment lets affected systems stay in production while clean ones are built, by removing attacker accounts and backdoors and patching.

| Part | Example action | Why |
| --- | --- | --- |
| Short-term | Isolate a network segment; disconnect a device | Limit the damage at once |
| System back-up | Forensic image of the affected system | Preserve evidence of what happened |
| Long-term | Remove attacker accounts and backdoors; patch neighbors | Keep the business running while rebuilding |

What are the three parts of containment in the SANS handbook?

## What does CISA list as containment activities?

CISA lists isolating impacted systems and network segments, capturing forensic images, updating firewall filtering, blocking unauthorized access and malware sources, closing specific ports and servers, and changing administrator passwords and rotating private keys and service account secrets where compromise is suspected.

It also says defenders should avoid "tipping off" the adversary, and that if new signs of compromise are found the response returns to technical analysis to re-scope.

## What should you weigh before each action?

CISA tells responders to consider adverse impacts on mission operations and availability of services, the duration and effectiveness of containment, and the effect on evidence. The NCSC warns against over-reacting: it can cause more damage than the incident, and an attacker may bury deeper.

Record who approved each action and when. Template section 7 has the decision table, on the [home page](/).

## Related pages

- [Incident response steps: the order and who does what](/steps/)
- [Free incident response plan template](/)
- [Incident response steps: NIST vs SANS compared](/steps/incident-response-steps-nist-vs-sans/)
- [What is the correct order of incident response steps?](/steps/correct-order-of-incident-response-steps/)
- [Incident response plan in 6 steps: the SANS model](/steps/incident-response-plan-6-steps/)
- [Incident response plan: what it contains and how to build one](/plans/)
- [Incident response playbook: what it is and how to build a library](/playbooks/)

## Sources

- SANS Institute, Incident Handler's Handbook (21 February 2012): https://www.sans.org/white-papers/33901/ (read 16 November 2026)
- CISA, Cybersecurity Incident & Vulnerability Response Playbooks (November 2021): https://www.cisa.gov/sites/default/files/2024-08/Federal_Government_Cybersecurity_Incident_and_Vulnerability_Response_Playbooks_508C.pdf (read 16 November 2026)
- NCSC, 10 Steps to Cyber Security: Incident management (11 May 2021): https://www.ncsc.gov.uk/collection/10-steps/incident-management (read 16 November 2026)
- NIST CSF 2.0 Reference Tool download, with ISO/IEC 27001:2022 informative references: https://csrc.nist.gov/extensions/nudp/services/json/csf/download?olirids=all (read 16 November 2026)

Last reviewed 16 November 2026. Canonical: https://incidentresponseplantemplates.com/steps/containment-step/
