Concepts / Incident response

Incident response

Incident response phases

Also called runbook, containment, eradication, recovery, lessons learned

The ordered runbook for handling a compromise: prepare, identify, contain, eradicate, recover, learn.

Contain before you eradicate
Contain before you eradicate

Preparation, identification, containment, eradication, recovery, lessons learned; NIST SP 800-61 Rev. 2 groups the same work into four phases. Contain first: cut the host off and keep its memory and disk, because wiping the implant before that warns the attacker and destroys the evidence. Lessons learned feed the next preparation.

Incident response follows set phases so nothing is skipped under pressure. Preparation builds the baseline and runbook; identification confirms and scopes the incident with evidence; containment cuts the attacker's channel while preserving the evidence; eradication removes the implant and its persistence; recovery restores service and proves it is clean; lessons learned records indicators and feeds them back into detection. The order matters: contain before you clean, and do not destroy evidence while stopping the bleeding.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab