Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

Eradication

← Back to Glossary
By NHI Mgmt Group Updated October 25, 2026 Domain: Threats, Abuse & Incident Response

Eradication is the complete removal of a threat, identity, or vulnerability from an environment so it cannot be used again. In cybersecurity, it follows containment and cleanup by eliminating malicious code, compromised accounts, exposed secrets, persistence mechanisms, and related weaknesses across systems, identity controls, and affected assets.

What Eradication Means in Incident Response

Eradication is the point in the response process where responders move from stopping the blast radius to removing the thing that caused it. That can include malicious binaries, web shells, persistence tasks, rogue services, abused accounts, planted keys, backdoors, and the specific weakness that let the compromise stick.

It is not the same as containment. Containment isolates the incident so damage stops spreading; eradication removes the threat's foothold so the same compromise path cannot simply be reused. If you skip this step or do it only partially, recovery can succeed briefly while the original access path remains intact.

What Has to Be Removed

In practice, eradication is usually broader than deleting malware. A complete response often requires removing persistence mechanisms, invalidating stolen credentials, rotating exposed secrets, closing vulnerable services, and fixing the control gap that made reinfection possible. If the attacker used multiple footholds, every known one has to be treated as part of the same eradication problem.

The scope should follow the compromise chain, not just the visible symptom. A compromised endpoint may require removal of autoruns and scheduled tasks; a compromised identity may require disabling the account, revoking sessions, and replacing tokens or keys; a vulnerable application may require removing the exploitable condition before the environment is trusted again.

For incident handling, Incident Response Guide is the most direct reference for the containment, eradication, and recovery sequence.

Why Eradication Is Hard to Get Right

Eradication fails when teams treat the visible artifact as the whole problem. Attackers often leave behind alternate persistence, borrowed credentials, planted access paths, or configuration changes that survive a simple cleanup. In that sense, eradication is as much about trust restoration as it is about removal.

The hardest cases are environments with shared credentials, repeated deployment templates, or many similar systems. One compromised identity or host can be cleaned while the same weakness remains in dozens of others. That is why eradication decisions often depend on scope analysis, not just on whether the original alert is quiet.

Good response practice also depends on understanding how the compromise maps to the broader control environment. NIST SP 800-53 Rev 5 Security and Privacy Controls gives a useful control-language view of the access, integrity, audit, and configuration problems that eradication is meant to eliminate.

Eradication and Recovery After a Compromise

Recovery should not begin until the known malicious components are removed and the environment is no longer using trusted-but-compromised material. If an account was abused, the remaining session state, tokens, and dependent integrations have to be reviewed before the account is allowed back into service. If a secret leaked, the secret itself is no longer just sensitive, it is also contaminated.

Eradication also has a post-incident verification role. Teams should confirm that indicators of persistence are gone, that affected systems do not still phone home, and that reintroduced services are not restoring the same compromise conditions. This is where eradication and detection overlap, because the absence of one indicator does not prove the absence of the threat.

Where the issue involves keys or credentials, NIST SP 800-57 Key Management helps frame the lifecycle question of when replacement, invalidation, and destruction are part of true cleanup.

What “Complete Removal” Really Requires

Complete removal means the original threat object cannot be reused, reactivated, or reintroduced through a surviving dependency. That can require more than one action at once: removing malware, resetting trust material, closing the exploited flaw, and confirming that backups, images, or automation do not re-seed the problem.

In mature incident handling, eradication is therefore a proof step, not a guess. The goal is to leave no durable attacker control, no residual malicious code, and no surviving shortcut back into the environment. Only then does recovery become durable instead of temporary.

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 provides the primary governance reference for this term.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SI-3 — Malicious Code ProtectionEradication removes malicious code and related system integrity threats.
IA-5 — Authenticator ManagementEradication often requires replacing compromised credentials, tokens, and secrets.
CM-5 — Access Restrictions for ChangeEradication depends on removing unauthorized persistence and restoring controlled configurations.
Recommendation — Use SI-3 to eliminate malicious code remnants and verify integrity after cleanup. Apply IA-5 to invalidate and rotate exposed authenticators during cleanup. Use CM-5 to remove unauthorized configuration changes and persistence paths.

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 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org