Free tech learning for everyone, from basics to pro

Incident ResponseCyber SecurityBeginner

The incident response lifecycle (NIST SP 800-61)

In short: Incident response is a planned way to handle security incidents so damage is limited and the organisation recovers quickly. NIST SP 800-61 describes it as a cycle from preparation through detection, containment, eradication and recovery to lessons learned.

What incident response is

A security incident is an event that actually or potentially harms the confidentiality, integrity or availability of systems or data, or breaks security policy. Examples include ransomware, a stolen laptop with unencrypted data, or an attacker reading the finance director's email. Incident response (IR) is the organised way you handle it.

The best-known guide is NIST Special Publication 800-61 from the US National Institute of Standards and Technology. Revision 2 (2012) set out the four-phase lifecycle most courses teach. Revision 3 (2025) reorganises the guidance around the six functions of the NIST Cybersecurity Framework (CSF) 2.0: Govern, Identify, Protect, Detect, Respond and Recover. The core ideas are the same, and many exams still use the classic phases. ISO/IEC 27035 is the international equivalent.

Incident response lifecyclePreparationplans, tools,trainingDetection andanalysisconfirm and scopeContainmentstop the spreadEradicationremove the causeRecoveryrestore and monitorLessons learnedimprove
Figure 1. The classic incident response lifecycle; lessons learned feed back into preparation.

The phases in practice

  • Preparation: an approved plan, a trained team, contact lists, logging, EDR, backups, and tested playbooks. Most of the outcome is decided here, before any incident.
  • Detection and analysis: an alert, user report or third party notice arrives. Confirm it is real, decide severity, and work out the scope: which systems, accounts and data are involved.
  • Containment: stop the harm spreading while keeping evidence.
  • Eradication: remove the attacker's access and tools, close the vulnerability they used, and reset compromised credentials.
  • Recovery: restore systems from clean sources, return them to service in stages and watch closely for signs the attacker is back.
  • Lessons learned: a blameless review within a couple of weeks, with actions, owners and dates.

NIST Revision 2 groups containment, eradication and recovery into one phase, because in real incidents you often loop between them as you discover more.

Containment choices

Short-term and long-term containmentShort-termIsolate host or segmentDisable compromised accountsBlock attacker IPs and domainsMinutes to hoursLong-termRebuild or patch systemsReset credentials widelyTighten rules and monitoringDays to weeks
Figure 2. Short-term containment stops immediate harm; long-term containment keeps the business running safely while you prepare to eradicate.

Containment always involves trade-offs. Isolating a server stops the attacker, but also stops the service. Acting too early can warn the attacker before you know how far they have spread; acting too late lets them do more damage. Decide in advance who can approve which action, and record each decision with the time and reason.

Common mistakes

MistakeBetter practice
Wiping the infected machine immediatelyPreserve evidence (memory and disk) first if the incident may need investigation
Resetting one password and declaring victoryScope fully: other accounts, persistence and access methods
Restoring from backups that are also infectedCheck restore points and scan before reconnecting
Skipping the lessons-learned meetingTreat it as mandatory and track the actions
Working only in chat with no recordKeep a timestamped incident log from the start

Tip: in exams, name the standard correctly (NIST SP 800-61) and show you know containment, eradication and recovery overlap in practice.

Real-world example: a compromised server at a small accountancy firm

A fictional accountancy firm with 25 staff has a short incident response plan. Preparation paid off: logs were centralised and backups tested. One Monday, the IT provider's monitoring detects a file server making outbound connections to an unknown address at night. Analysis shows a remote desktop account with a weak password had been used. For containment, the provider blocks the address, disables the account and removes the server from the network. Eradication means rebuilding the server and resetting all admin passwords; recovery restores files from Sunday's backup and monitors closely for a week. The lessons learned meeting leads to MFA on all remote access and closing remote desktop to the internet.

Practice

In which phase would you build contact lists and test backups?
Preparation.
Why might you delay containment briefly in some incidents?
To understand the full scope so you can remove the attacker everywhere at once without tipping them off, provided the risk of waiting is acceptable.
What is the purpose of the lessons-learned phase?
To review what happened and how the response went, then assign actions that improve preparation and controls.

Key takeaways

  • NIST SP 800-61 is the standard reference for incident response.
  • Classic phases: preparation, detection and analysis, containment, eradication, recovery, lessons learned.
  • Revision 3 aligns IR with the NIST CSF 2.0 functions.
  • Containment is a trade-off; agree approval rules in advance.
  • Preserve evidence, scope fully and always hold a lessons-learned review.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.