Unit 1: The response lifecycle · Lesson 2 of 4 · 18 min

The lifecycle in NIST SP 800-61r3

Map the company's response activities to the CSF 2.0 functions that NIST now uses to describe incident response.

mission

You are
The responder who will run the case.
Situation
Your manager wants every action in this case logged against the company's IR plan, which is tagged with NIST CSF 2.0 categories.
Goal
Read the plan, see how it maps to the CSF functions and find where containment and lessons learned live.
Hand in
The plan activity for containment and the CSF category for lessons learned.

Response on top, preparation underneath

NIST SP 800-61 Revision 3 (April 2025) replaced the old four-phase circle (prepare; detect and analyse; contain, eradicate and recover; post-incident) with the six functions of the Cybersecurity Framework 2.0. Govern, Identify and Protect are preparation. Detect, Respond and Recover are the response itself. Lessons learned go into Improvement (ID.IM), a category inside Identify, and feed every function.

01

Read the plan

The activity register lists every activity with its CSF category in the second column.

analyst@ir-ws01
cat ir-plan.txt
Harbourline incident response plan, activity register (IR-POL-001, v5)
Each activity is tagged with the NIST CSF 2.0 category it supports.

ID     CSF    Activity
A-01   GV.RR  Name an incident commander and back-up for every on-call week
A-02   GV.PO  Keep this plan and the severity matrix approved and current
A-03   ID.AM  Keep the asset inventory with owner and criticality for every host
A-04   ID.RA  Rate new vulnerabilities on internet-facing and critical systems
A-05   PR.AA  Require MFA and named accounts for server access
A-06   PR.PS  Keep event logging on servers and endpoints for 90 days
A-07   PR.DS  Keep tested, offline backups of critical data
A-08   DE.CM  Monitor firewall flows, DNS and endpoint telemetry
A-09   DE.AE  Triage alerts, decide whether an event is an incident
A-10   RS.MA  Declare the incident, rate severity, open the case log
A-11   RS.AN  Collect and analyse evidence, build the timeline, find scope
A-12   RS.CO  Keep stakeholders informed, notify legal and regulators as required
A-13   RS.MI  Contain affected systems and accounts, eradicate attacker access
A-14   RC.RP  Restore systems from known-good sources and verify them
A-15   RC.CO  Tell staff and customers when services are back
A-16   ID.IM  Hold the lessons-learned review and track the improvements
cat
Prints the contents of one or more files. Built into Linux and macOS.
02

Count activities per function

awk '{print $2}' keeps the second column. cut -d. -f1 keeps what comes before the dot. sort | uniq -c counts each value.

analyst@ir-ws01
awk 'NR>4 {print $2}' ir-plan.txt | cut -d. -f1 | sort | uniq -c
      2 DE
      2 GV
      3 ID
      3 PR
      2 RC
      4 RS

you should see Four activities sit under Respond (RS) and two under Recover (RC).

awk
Splits each line into fields and prints or counts the ones you ask for. Built into Linux and macOS.
cut
Keeps only chosen columns or characters from each line. Built into Linux and macOS.
sort
Sorts lines of text. Built into Linux and macOS.
uniq
Collapses repeated neighbouring lines. With -c it counts them. Built into Linux and macOS.
03

Find containment and lessons learned

grep -E matches either pattern.

analyst@ir-ws01
grep -E 'RS.MI|ID.IM' ir-plan.txt
A-13   RS.MI  Contain affected systems and accounts, eradicate attacker access
A-16   ID.IM  Hold the lessons-learned review and track the improvements

you should see Containment and eradication are A-13 under RS.MI. Lessons learned are A-16 under ID.IM.

grep
Prints the lines of text that match a pattern. Built into Linux and macOS.

CSF 2.0 categories you will log against

CommandWhat it does
DE.AEAdverse event analysis: deciding an event is an incident
RS.MAIncident management: declare, rate, coordinate
RS.ANIncident analysis: evidence, timeline, scope
RS.COReporting and communication, including regulators
RS.MIMitigation: containment and eradication
RC.RPRecovery plan execution: restore and verify
ID.IMImprovement: lessons learned for every function

What a defender takes away

  1. 1SP 800-61r3 describes response with CSF 2.0 functions, not a four-step circle.
  2. 2Detect, Respond and Recover are the response. Govern, Identify and Protect prepare for it.
  3. 3Lessons learned belong to ID.IM and should change every function, not just the IR plan.

Questions

0 of 3 solved

Answer each one from what you find on your lab machine.

  1. Show hint

    Count the RS rows.

  2. Show hint

    RS.MI

  3. Show hint

    ID.IM