Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Containment, Eradication and Recovery
Cyber Security

Containment, Eradication and Recovery

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Cyber Security

Containment, eradication and recovery are the operational phases used to stop an incident, remove the threat, and restore affected systems. Containment limits spread, eradication removes malicious presence, and recovery brings services back safely. Together they form the core remediation stage of incident handling.

What Containment Means in Incident Response

Containment is the decision to stop an incident from spreading further while preserving enough visibility to investigate what happened. It is usually about limiting blast radius, isolating affected hosts, accounts, sessions, or network paths, and avoiding premature actions that destroy evidence or let the attacker move elsewhere.

In practice, containment is not a single action but a control state. Teams may choose short-term containment to stabilize the environment first, or broader containment when the threat is active and expansion risk is high. The right choice depends on where the incident lives, how quickly it can propagate, and what business services can tolerate interruption.

Eradication as the Removal Phase

Eradication is the phase where responders remove the malicious presence and close the foothold that enabled the incident. That may include deleting malware, removing persistence, revoking stolen tokens, resetting credentials, disabling compromised accounts, replacing tampered artifacts, and fixing the initial weakness that allowed entry.

The key distinction is that eradication aims to eliminate the cause, not just the symptom. If the environment still contains persistence mechanisms, backdoors, rogue authorizations, or untracked copies of malicious tooling, the incident may reappear after recovery. Good eradication therefore depends on accurate scoping and on understanding how the intruder gained and maintained access.

Where identity systems are involved, eradication often extends beyond a device clean-up. Session revocation, credential rotation, certificate replacement, and service account review may be necessary if the compromise touched authentication material or delegated access paths.

Recovery and Safe Restoration

Recovery is the controlled return of services to a trusted operating state after the threat has been removed. It typically includes rebuilding systems, restoring data from known-good sources, validating integrity, and bringing services back in stages so that any lingering issue is detected before full resumption.

Recovery is not simply “turning things back on.” It should confirm that the restored system is clean, that logging and monitoring are working again, and that the original weakness is no longer present in production. In high-impact incidents, recovery may also require heightened monitoring during the return to service so that re-compromise is visible early.

Because recovery happens after a disruption, speed and assurance are always in tension. Fast restoration reduces operational downtime, but an unsafe restoration can reintroduce the same compromise or expose incomplete remediation.

How the Three Phases Work Together

Containment, eradication and recovery form a sequence, but they often overlap in real incidents. Teams may contain part of the environment while eradicating a different segment, or begin limited recovery on unaffected systems while deeper cleaning continues elsewhere. That sequencing is why incident handling is usually iterative rather than linear.

These phases also define the practical boundary between incident response and normal operations. They answer three separate questions: how do we stop the spread, how do we remove the threat, and how do we restore safely? That makes them the core remediation stage of incident handling, where technical response, evidence preservation, and business continuity meet.

Used well, the model prevents two common failures: restoring too early before the threat is gone, and over-containing so long that the organisation never recovers normal service.

Risk and Threat Considerations

These phases carry real operational and security risk because a weak containment decision can let an attacker persist, move laterally, or trigger repeated compromise. Recovery also creates a re-entry window if the original foothold, stolen credential, or misconfiguration is not fully removed before services resume.

Failure mechanism: responders isolate the wrong assets, miss persistence, or restore from a tainted baseline, which allows the same intrusion path to survive remediation and reappear after recovery.

Impact: the incident can spread further, business interruption can lengthen, logs and evidence can be lost, and the organisation may suffer repeated compromise instead of a single contained event.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IR-4 — Incident HandlingDefines incident containment, eradication, and recovery as core response handling.
IR-5 — Incident MonitoringSupports watchfulness during response and recovery to detect residual compromise.
IR-4(11) — Dynamic Isolation and SegmentationDirectly supports containment by limiting spread through isolation and segmentation.
Recommendation — Use IR-4 to structure containment, eradication, and recovery actions for an active incident. Use IR-5 to monitor for persistence or re-compromise during and after recovery. Apply IR-4(11) to isolate affected assets and constrain incident spread.
NIST CSF 2.0RS.MA-01 — Response ManagementFrames incident response as coordinated containment, mitigation, and restoration activity.
RC.RP-01 — Recovery Plan ExecutionCovers restoring services safely after incident eradication.
Recommendation — Coordinate containment and remediation steps through RS.MA-01. Execute RC.RP-01 to restore services in a controlled and validated way.

Practitioner Guidance

Why practitioners should care: this term is a decision point, not a slogan. The value of containment, eradication and recovery depends on whether teams can scope accurately, preserve evidence, and avoid restoring trust in anything that remains unverified.

What to watch for: signs of re-compromise after “cleanup,” inconsistent host state, unexplained session activity, and restoration steps that happen before the root cause has been removed. Those are usually indicators that one of the three phases was incomplete.

Practitioner takeaway: treat the phases as a controlled remediation loop, with containment buying time, eradication removing the cause, and recovery proving the environment is trustworthy again.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org