RedTeam Nexus Labs
Module 11 · Lesson 04 // Incident Response Fundamentals

containment

Incident Response Fundamentals · Cybersecurity Fundamentals

Freereading · 10 min
On this page
LESSON

Overview

Containment is the phase that stops an incident from spreading and limits its damage while responders prepare to remove it. It is the first active countermeasure — the equivalent of stopping the bleeding before treating the wound.

Learning objectives

  • Explain the goal of containment.
  • Distinguish short-term from long-term containment.
  • Balance containment against evidence preservation.

Core concept

Containment limits the scope and impact of an incident. It is usually split into:

  • Short-term containment — immediate actions to halt spread: isolating an infected host from the network, disabling a compromised account, blocking a malicious IP or domain.
  • Long-term containment — more durable measures that let the business keep operating safely while eradication is planned: e.g. applying temporary patches or tighter monitoring, or rebuilding affected systems on a clean segment.

How it works

Containment strategy balances several factors: the need to stop damage quickly, the desire to preserve evidence for investigation (and possibly legal action), and the need to maintain critical services. Acting too crudely (e.g. shutting everything down) may destroy forensic evidence or halt the business; acting too slowly lets the attacker spread. Responders choose containment actions that fit the incident's scope (from analysis) and the organization's priorities.

Practical example

Analysis found malware on three hosts and a compromised admin account. Short-term containment: isolate the three hosts from the network (but keep them powered on to preserve memory evidence) and disable the admin account and its active sessions. Long-term containment: rebuild the affected hosts from clean images on an isolated segment while monitoring for any further attacker activity. Spread is stopped, evidence is preserved, and the business keeps running.

Cybersecurity relevance

Containment is a defining SOC skill and where the earlier concepts of corrective controls and network segmentation pay off. The evidence-preservation aspect connects to digital forensics and to the evidence-handling topic in the next module.

Common mistakes

  • Powering off a machine immediately, destroying volatile evidence (memory) that could be crucial.
  • Containing too narrowly (one host) while the attacker persists elsewhere.
  • Tipping off the attacker with clumsy actions, prompting them to accelerate or hide.

Key takeaways

  • Containment stops an incident from spreading and limits damage.
  • It has short-term (immediate isolation) and long-term (safe interim operation) forms.
  • It balances stopping damage, preserving evidence, and maintaining critical services.

Check your understanding

  • Give one short-term and one long-term containment action for a malware incident.
  • Why might responders keep an infected machine powered on rather than shutting it down?
FINISH THIS LESSON

Sign in to save your progress.