Incident response is the structured process an organisation uses to handle a security incident: preparing in advance, detecting and analysing the incident, containing it, removing the cause, restoring normal operations and learning from it afterwards. Frameworks such as NIST SP 800-61 and the SANS model describe these phases. The goal is to limit damage and recovery time, preserve evidence and meet legal reporting duties.
What is incident response?
Incident response (IR) describes what an organisation does when something has gone wrong in security: a compromised account, malware on a server, leaked data or a ransomware attack. It covers the technical work, such as isolating systems and analysing logs, and the organisational side: who decides, who communicates, who informs authorities and customers.
The term is also used in operations and site reliability engineering for handling outages. Many practices overlap, such as clear roles, a timeline and a postmortem. Security incidents add specific concerns: an active adversary who may react to your actions, evidence that must be preserved, and legal reporting duties. In this article, incident response means security incident response; for incidents in general see incident.
The phases of incident response
The best-known models are from NIST and SANS. They divide the same work slightly differently:
| NIST SP 800-61 Rev. 2 | SANS (PICERL) | What happens |
|---|---|---|
| Preparation | Preparation | Plan, roles, tools, contacts, logging and training before anything happens |
| Detection and analysis | Identification | Recognise the incident, confirm it, assess scope and severity |
| Containment, eradication and recovery | Containment | Stop the spread, for example by isolating hosts or disabling accounts |
| Eradication | Remove malware, backdoors and the root cause, close the entry point | |
| Recovery | Restore systems and data, monitor closely for a return of the attacker | |
| Post-incident activity | Lessons learned | Review, improve controls and detections, update the plan |
In 2025, NIST published Revision 3 of SP 800-61, which no longer uses its own lifecycle but maps incident response recommendations to the functions of the NIST Cybersecurity Framework 2.0 (Govern, Identify, Protect, Detect, Respond, Recover). The phases above remain a common way to structure the work in practice.
The incident response plan
A plan is only useful if it exists before the incident. It typically contains:
- Scope and definitions: what counts as a security incident and how severity levels are assigned.
- Roles: incident lead (often called incident commander), technical leads, communications, legal and data protection, management contact.
- Contacts: internal escalation, external forensic support, hosting and cloud providers, authorities, insurers.
- Playbooks for frequent scenarios such as phishing, compromised credentials, ransomware or a leaked secret in a repository.
- Communication rules: which channel is used, how to communicate if email or chat are compromised, who speaks to customers.
- Evidence handling: what to preserve, how to document it and who may access it.
- Reporting duties with their deadlines.
Example: playbook for a compromised account
1. Confirm: check sign-in logs (source IP, country, device, time)
2. Contain: revoke sessions and tokens, reset password, enforce MFA
3. Scope: list actions of the account since the first suspicious login
(data access, new keys, role changes, mail forwarding rules)
4. Eradicate: remove attacker-created keys, rules and accounts
5. Recover: restore changed data and permissions, inform the user
6. Report: assess personal data impact and reporting duties
7. Learn: add a detection for the entry path, update this playbook
Reporting duties
Incident response has a legal dimension. Under the GDPR, a personal data breach must generally be reported to the supervisory authority within 72 hours of becoming aware of it. Entities covered by NIS2 must send an early warning within 24 hours, an incident notification within 72 hours and a final report within one month for significant incidents. Financial entities fall under the DORA regulation, which has its own reporting rules. A good plan states who assesses whether a duty applies and who files the report, because the clocks start when you become aware, not when the analysis is finished.
Measuring incident response
Common measures are mean time to detect (MTTD), mean time to acknowledge (MTTA) and mean time to recover (MTTR), plus attacker dwell time, the period between initial compromise and detection. Read them as trends over many incidents, not as targets for a single case. Recovery targets such as RTO and RPO come from business continuity planning and define how fast systems and data must be back.
Common mistakes
- No plan or an untested plan. Tabletop exercises reveal missing contacts, unclear roles and outdated playbooks before a real incident does.
- Destroying evidence: reinstalling a server immediately removes the traces needed to understand the scope.
- Containing too early or too loudly in a targeted attack, which can warn the adversary before all footholds are known.
- Containing too late because nobody is authorised to take a system offline.
- Missing timeline: without timestamps for detection, decisions and actions, reports and reviews become guesswork.
- Skipping the lessons learned, so the same entry point is used again.
- Short log retention, which makes it impossible to find out when the attacker first got in.
Best practices
- Keep the plan short enough to use under stress, with playbooks as separate, scenario-specific checklists.
- Name a single incident lead per incident and record every decision with a timestamp.
- Agree on an out-of-band communication channel in case the normal tools are compromised.
- Centralise security-relevant logs and keep them long enough to look back past the likely start of an attack.
- Run a tabletop exercise at least once a year and after major changes to systems or teams.
The observability perspective
Every phase of incident response depends on data. Detection needs alerts on logs, metrics and security events. Analysis needs to search those signals across systems and reconstruct who did what and when. Recovery needs to see that services work again and that the attacker's activity has stopped. Observability data from production adds context that pure security tools often lack: which services a compromised host talks to, which deployment changed a configuration, and whether customer-facing errors rose during the incident. A SIEM correlates the security signals, and a shared incident record keeps decisions and evidence together.
How Obseria helps
Obseria supports detection, investigation and coordination; it is not an incident response service or a SOC, and it does not isolate hosts or block activity. Cloud SIEM raises findings from detection rules, creates security incidents with owner and status and can start playbooks on the trigger "Security Alert", for example for summaries or lookups of related activity. Incident management records status, owners, a traceable timeline and communication, and status pages inform customers. The Security Investigator searches all security data to determine scope, case management tracks follow-up tasks to completion, and runbooks keep step-by-step instructions for specific alerts. The audit trail records who changed what in Obseria. Obseria does not include on-call scheduling, escalation policies or automatically generated postmortems; alerts reach on-call tools such as PagerDuty or Opsgenie through notification channels.