Incident Response: The NIST Lifecycle and CERT-In Reporting
What is incident response?
Incident response is the organised process an organisation follows to prepare for, detect, contain and recover from security incidents such as malware infections, data breaches and account takeovers. A good process limits damage and downtime, preserves evidence, meets legal reporting duties, such as CERT-In reporting in India, and feeds lessons back into stronger defences.
Events, incidents and the people involved
An event is any observable occurrence, such as a login or a blocked connection. An incident is an event, or a group of events, that violates security policy or threatens the confidentiality, integrity or availability of systems and data. Most alerts turn out to be harmless events; analysis decides which ones are incidents.
- Incident response team (IRT or CSIRT): the people who handle incidents, often including security, IT operations, legal, communications and management.
- Incident handler: the person who coordinates technical work on a specific incident.
- Playbook: a written, step-by-step procedure for a common incident type, such as phishing or ransomware.
- Indicator of compromise (IoC): evidence of an attack, such as a malicious IP address, file hash or domain.
The NIST SP 800-61 incident response lifecycle
NIST Special Publication 800-61 is the most widely referenced incident handling guide. Revision 2 describes a four-phase lifecycle, which is still the standard teaching model. Revision 3, published in 2025, reorganises the guidance around the NIST Cybersecurity Framework 2.0 functions, but the same activities remain.
| Phase | Main activities |
|---|---|
| 1. Preparation | Policy, team roles, contact lists, playbooks, logging, tools, training and exercises |
| 2. Detection and analysis | Monitor alerts, validate them, decide scope and severity, start documentation |
| 3. Containment, eradication and recovery | Stop the spread, remove the cause, restore and monitor systems |
| 4. Post-incident activity | Lessons-learned review, report, update controls and playbooks |
The lifecycle loops: detection often leads back to more analysis, and post-incident lessons improve preparation.
Preparation, detection and analysis
Preparation is the work done before anything goes wrong. It includes an approved incident response policy, an up-to-date contact list (internal teams, legal counsel, CERT-In and key vendors), centralised logging with synchronised clocks, tested backups and playbooks for likely scenarios such as phishing and malware.
Detection comes from alerts (EDR, IDS, SIEM), user reports and outside notifications. Analysis answers four questions: is this real, what is affected, how did it start, and how severe is it? Record every action with the time in UTC from the first minute; this log becomes the backbone of the final report.
# Quick triage on a Linux host (run from trusted tools, save output off the host)
date -u
who; last -n 20
ps auxf
ss -tanp
sudo journalctl --since "2 hours ago" -p warning
sudo find / -xdev -type f -mmin -120 2>/dev/null | head -n 50 Containment, eradication and recovery
Containment stops the incident from spreading. Short-term options include isolating a host from the network through the EDR tool or a switch port, disabling a compromised account, revoking tokens and blocking malicious addresses at the firewall. Collect volatile evidence before powering anything off, unless the damage is spreading too quickly.
Eradication removes the cause: deleting malware, closing the exploited vulnerability, removing attacker accounts and persistence mechanisms, and resetting credentials that may have been exposed. Rebuilding from a known-good image is often safer than cleaning a compromised server.
Recovery returns systems to normal service: restore from clean backups, patch, harden, bring systems back in stages and watch them closely for signs that the attacker has returned.
Evidence preservation and chain of custody
Evidence may be needed for root-cause analysis, insurance, regulators or the police, so it must be collected carefully. Follow the order of volatility described in RFC 3227: capture the most short-lived data first.
- Memory contents, running processes and network connections.
- Temporary files and system state.
- Disk contents, captured as a forensic image.
- Logs held on remote systems, such as the SIEM, firewall and cloud audit logs.
- Backups and archived media.
Hash every evidence file, for example with sha256sum disk.img > disk.img.sha256, store copies on write-protected media and work only on copies. A chain of custody form records who collected each item, when, where it was stored and every hand-over.
Reporting incidents to CERT-In
CERT-In (the Indian Computer Emergency Response Team) issued directions in April 2022 that apply to service providers, intermediaries, data centres, body corporates and government organisations. Key requirements include:
- Report specified cyber incidents to CERT-In within 6 hours of noticing them or being told about them.
- Covered incident types include targeted scanning, compromise of systems, unauthorised access, website defacement, malware and ransomware attacks, data breaches and data leaks, among others.
- Enable logs of ICT systems and keep them securely for a rolling period of 180 days within Indian jurisdiction.
- Synchronise system clocks with the NTP servers of the National Informatics Centre (NIC) or the National Physical Laboratory (NPL), or with servers traceable to them.
- Nominate a point of contact to interface with CERT-In.
Reporting details and forms are published on the CERT-In website; check it for the current procedure. Personal data breaches may also carry duties under the Digital Personal Data Protection Act, 2023, so involve legal counsel early.
Practical exercise: run a tabletop drill
A tabletop exercise walks a team through a scenario without touching live systems. Use this one: a staff member reports that files on a shared drive have been renamed with a strange extension and a ransom note has appeared.
- Write a one-page playbook covering the four NIST phases for ransomware.
- List who must be called in the first hour, including who decides about CERT-In reporting.
- Decide the first three containment actions and who is authorised to take them.
- List the evidence to collect, in order of volatility.
- Draft the facts you would need for a CERT-In report within 6 hours.
- Hold a 30-minute review and record three improvements.
You are done when the playbook, contact list and lessons-learned notes fit on three pages and a colleague can follow them. Detection and response labs are part of the Advanced Networking course.
Common mistakes
- Wiping and rebuilding a compromised machine before any evidence has been captured.
- Investigating with tools from the compromised system itself, which an attacker may have altered.
- Missing the CERT-In 6-hour window because nobody knew who was responsible for reporting.
- Restoring from backups without checking that the backups are clean.
- Skipping the lessons-learned review once systems are back online.
Frequently asked questions
Does the 6-hour clock mean the investigation must be finished?
No. The initial report is due within 6 hours of noticing the incident; further details can follow as the investigation progresses. Check the CERT-In website for the current reporting format.
What is the difference between incident response and disaster recovery?
Incident response handles security incidents, including investigation and evidence. Disaster recovery restores IT services after any major outage, such as a fire or hardware failure. The two plans overlap during recovery.
Should small organisations have an incident response plan?
Yes. Even a short plan with contacts, roles and two or three playbooks makes a large difference, and CERT-In directions apply to many small businesses too. The cybersecurity basics guide is a good starting point.