Short- and Long-Term Containment Strategies
Stopping the attack without losing evidence
Short-term containment seeks to stop the attacker's progress immediately, while long-term containment prepares a stable environment that makes it possible to keep operating securely while the investigation and eradication are completed, and confusing the two can lead to rushed decisions that make the situation worse. In practice, a typical short-term containment is isolating a compromised device from the network without shutting it down, thus preserving volatile memory for forensic analysis, while a long-term measure might be temporarily segmenting part of the network or forcing a credential change across the whole organization. A constant dilemma in this phase is balancing the speed of containment against the need to collect evidence, since hastily shutting down systems destroys key volatile data, but waiting too long gives the attacker time to move laterally or destroy evidence on their own. Defining clear criteria in advance for deciding when to isolate versus when to observe reduces the indecision that usually costs valuable time at the critical moment.