Skip to content

Incident response

noun · also IR · NIST SP 800-61 Rev. 3

The organized process of detecting, analyzing, containing, eradicating and recovering from a security incident, then learning from it.

Incident response (IR) is what an organization does from the moment it suspects a security incident until normal operations are restored and the lessons are written down. Doing it well means deciding in advance who does what, so that nobody improvises under pressure.

An incident is not the same as an alert. An alert is a signal that something might be wrong; an incident is a confirmed event that threatens the confidentiality, integrity or availability of systems or data. Most alerts never become incidents, which is why alert triage sits at the front door of every IR process.

The lifecycle

The classic lifecycle, from NIST SP 800-61 Rev. 2 (2012), has four phases:

  1. Preparation: plans, contacts, tools, logging and training in place before anything happens.
  2. Detection and analysis: recognizing that an incident is happening and understanding its scope.
  3. Containment, eradication and recovery: stopping the spread, removing the attacker's access and restoring systems safely.
  4. Post-incident activity: reviewing what happened and improving defenses.

Rev. 3, published in April 2025, replaced that cycle with the functions of the NIST Cybersecurity Framework 2.0. Preparation now lives in Govern, Identify and Protect; the response itself in Detect, Respond and Recover; and lessons learned feed back into the whole program as continuous improvement. The message is that incident response is part of everyday risk management, not an emergency procedure kept in a drawer. The four phases above are still the most useful mental model for an analyst in the middle of an investigation.

What each phase looks like in a SOC

  • Preparation is unglamorous and decides everything else. Are sign-in, endpoint and email logs actually collected, and for how long? Is there an up-to-date contact list for legal, HR and the business owners? Can the SOC isolate a device or disable an account without waiting for another team? An emergency access account and tested backups belong here too.
  • Detection and analysis is where most analysts spend their day. You confirm the alert is a true positive, find patient zero, list every affected user, device and mailbox, and estimate when the attacker first got in. The output is a scope, not a guess.
  • Containment buys time. Short-term containment stops the bleeding: isolate the endpoint, revoke sessions, block the sender or the IP. Long-term containment keeps the business running while you prepare the clean-up, for example by moving a server to a restricted network segment.
  • Eradication removes every foothold: malware, persistence such as scheduled tasks or inbox rules, malicious OAuth apps, backdoor accounts and stolen credentials. Missing one is how attackers come back a week later.
  • Recovery restores systems from known-good sources and watches them closely afterwards, because a reinfection in the first days is common.
  • Post-incident activity turns the incident into improvements: a new detection rule, a blocked legacy protocol, a changed process. A blameless review works better than looking for someone to blame.

Example

Ransomware is detected on two file servers. The team isolates the servers from the network (containment), finds and removes the attacker's remote access tool and the compromised service account (eradication), restores data from offline backups and monitors the servers for a week (recovery), and then meets to review why the initial phishing email was not blocked and why the service account had domain admin rights (post-incident activity).

A smaller, more common case is a single compromised mailbox. The business email compromise walkthrough shows the same phases at that scale: confirm the suspicious sign-in, revoke sessions and reset credentials, delete the attacker's forwarding rule, and warn the finance team about the fraudulent payment request.

Common mistakes

  • Containing before scoping. Disabling one account while the attacker holds three others tells them they have been seen, and they change tactics.
  • Destroying evidence. Reimaging a laptop before collecting what you need erases the timeline. When in doubt, isolate first and involve DFIR.
  • Not writing things down. Notes reconstructed from memory at the end of a long day are never complete.
  • Skipping the review. Without post-incident activity, the same gap causes the next incident.

Why it matters for a SOC analyst

Every alert you triage is the start of a potential incident. Knowing the phases helps you act in the right order: understand the scope before you contain, and contain before you clean up, so you do not tip off the attacker or destroy evidence. Write down every action with a UTC timestamp, who did it and why; the final report, any legal follow-up and the lessons learned all depend on that log. The Defender XDR triage tutorial puts this into practice on a real incident queue.

Articles that use this term

  1. Certifications · · 3 min read

    SC-200 study plan for SOC beginners

    A six-week plan to prepare for Microsoft's Security Operations Analyst exam: what to study each week, how to practice for free, and the KQL you need to know.

  • Digital forensics and incident response

    The combined discipline of investigating security incidents with forensic methods while containing and recovering from them.

  • Security operations center

    The team, processes and tools that monitor an organization around the clock, investigate alerts and coordinate the response to incidents.

  • SOAR

    Tools that connect security products and run automated playbooks, so routine response steps happen in seconds instead of being done by hand.

  • Threat hunting

    The proactive search for attackers who are already inside the environment but have not triggered any alert, usually starting from a hypothesis.

  • Data breach

    A confirmed incident in which protected data, such as personal or confidential information, was accessed, disclosed or stolen without authorization.

  • False positive

    An alert that fires on activity that is not actually malicious, because the detection logic matched something legitimate.