1timeline = []2def log(time, step):3 timeline.append((time, step))4log("09:00", "detect")5log("09:12", "triage")6log("09:20", "contain")7log("09:35", "evidence")8log("11:40", "eradicate")9log("15:00", "recover")10log("day 3", "lessons")PLAYBOOKEVIDENCEOFFLINETIMELINE: THE LIST, ONE ENTRY PER log() CALLINTERNETdetecttriagecontainevidenceeradicaterecoverlessons
Back: the Python timeline, monitoring, the taken-over account and the file serverMiddle and front: playbook, evidence, backup, the timeline cells and the attackerTokens: the attacker's session, an alert, the cause, a lock, evidence, clean files, a playbook updateAn attacker has stolen a staff member's password and signed in. The response team works from its playbook and logs each action in a Python list, so the timeline grows by one entry per phase. They detect and triage the alert, contain the account, keep the evidence, remove the cause, restore clean files from the offline backup, and feed the lessons back into the playbook. The incident and its times are made up to show the order of the work. Real incidents can take hours or months, and teams often go back and forth between analysis, containment and eradication as they learn more.

Before the incident

  1. An incident is an event that harms, or is about to harm, the confidentiality, integrity or availability of data or systems, or breaks security policy. Here a criminal has a staff member's password and is signed in to their account.

Detect and analyse

Contain, eradicate, recover

Learn and improve

What happens

;; step 1/10 · incident
incident   an event that harms (or is about to harm)
           confidentiality, integrity or availability,
           or breaks the rules (security policy)
here       a stolen password: the attacker is signed in
           as a staff member, near the company files
response   the planned work of stopping and fixing it

The incident and its times are made up to show the order of the work. Real incidents can take hours or months, and teams often go back and forth between analysis, containment and eradication as they learn more. The phase names follow NIST SP 800-61 Rev. 2 and CISA's playbooks. Rev. 3 (2025) keeps the same work but files it under the six CSF 2.0 functions instead of one life cycle.