An incident from first sign to containment
When a pan catches fire, the kitchen staff follow a drill: raise the alarm, send for the person in charge, smother the flames. Security incidents are handled by a drill in the same way, written and practised before anything happens. No background is assumed. A security professional prepares the plan and the team, recognises when an event has become an incident, and stops the harm spreading without destroying the evidence.
By the end of this unit you will be able to:
- Tell apart an event, an incident and a breach
- Name what must be in place before an incident: policy, plan, team, training and tools
- Put the seven steps of incident management in order
- Explain how detection, triage and the response team work in the first hour
- Choose a containment action that weighs evidence against keeping the service running
The files with a new ending
An illustrative example
At 08:40 on a Tuesday the receptionist at a veterinary practice cannot open the appointment book. Every file in the shared folder now ends in ".locked", and a note on the desktop demands payment.
The practice manager wants to switch off every computer at once. The IT contractor on the telephone asks her to wait. One computer still opens files normally, and the server's disk light is flashing without stop.
What should the practice do in the next ten minutes, and what should it leave until later?
Event, incident and breach are three different things
Thousands of things happen on a network every hour. Most are harmless. Incident management starts by sorting them.
- Event
- Any observable occurrence on a system or network: a sign-in, a software update, a file opened. An adverse event is one with a negative consequence, such as a crash or a run of failed sign-ins.
- Incident
- An occurrence that actually or imminently harms the , or of information or a system, or that breaks the law, a or an acceptable use policy.
- Breach
- An incident in which information is confirmed to have been exposed to, or taken by, someone not authorised. A personal data breach, in data protection law, is wider: it also covers destroyed, lost or altered.
Every incident begins as one or more events, and most events never become incidents. Every breach is an incident, but most incidents, such as a website knocked offline for an hour, expose no information.
The difference matters because each label starts different work. An event is logged. An incident activates the plan and the team. A breach can start legal clocks for telling a regulator and the people affected.
Ready before it happens: policy, plan, team and tools
Nothing in the seven steps works unless it was prepared beforehand. Preparation is not one of the seven steps. It comes before them and carries on between incidents.
- An incident response policy, approved by senior management. It defines an incident, gives the team its authority and says who must report what.
- An incident response plan, with or playbooks: written step-by-step instructions for common types, such as ransomware or a lost laptop.
- A computer security incident response team (CSIRT), with named members and deputies.
- Training for the team, and exercises such as a tabletop session in which the team talks through an invented incident.
- Tools and facilities: a jump kit (a ready case of laptops, cables, blank storage and forms), contact lists, a room to work from and locked storage for evidence.
- Out-of-band communication: telephones or a messaging service that do not depend on the network under attack.
A CSIRT is more than technical staff. Its core is an incident lead with security and IT staff. Around them sit the owners of the affected systems, legal counsel, human resources, communications, physical security and a senior manager who can authorise costly decisions. Some members are called in only when an incident needs them. Many organisations add a contracted provider for out-of-hours work or deep forensic skill.
Seven steps in a fixed order
The work of an incident runs in seven steps: detection, response, mitigation, reporting, recovery, remediation and lessons learned. In practice they overlap. Reporting may begin while mitigation continues, and new findings can send the team back to detection. Their order still decides what comes next when a question asks.
An incident runs through seven steps in order
Read this figure as text
The seven steps of incident management, read left to right in the order the unit gives them. Preparation is not one of the seven: it is drawn as a band beneath them, because it comes before them and carries on between incidents.
- Detection: signs from alerts, logs, public information and people are checked, and an incident is confirmed.
- Response: someone with authority declares the incident, a lead takes charge, the team is called and the incident is triaged for severity.
- Mitigation: the harm is limited by containment, such as isolating a computer, disabling a stolen account or blocking an address, without destroying evidence.
- Reporting: the people who must know, inside and outside, are told on time.
- Recovery: systems and data return to normal service from clean sources.
- Remediation: the root cause is found and fixed so the incident cannot happen again.
- Lessons learned: the incident is reviewed and the plans, controls and training are improved.
- Getting the attacker out, called eradication, is not a separate step: it begins in mitigation and is completed during recovery.
- Beneath every step runs preparation: an approved policy, a plan with playbooks, a trained team, and tools and facilities.
| Step | What it is for |
|---|---|
| Detection | Noticing signs and confirming that an incident has happened |
| Response | Activating the plan and the team, and triaging the incident |
| Mitigation | Limiting the harm: containing the incident and stopping it spreading |
| Reporting | Telling the people who must know, inside and outside, on time |
| Recovery | Returning systems and data to normal service from clean sources |
| Remediation | Finding and fixing the root cause so it cannot happen again |
| Lessons learned | Reviewing the incident and improving plans, controls and training |
Getting the attacker out, called eradication, is not a separate step in this list. Removing malware and disabling the attacker's accounts begins in mitigation and is completed during recovery. Remediation is the deeper fix of the weakness that let the attacker in. NIST's earlier incident handling guide, SP 800-61 Revision 2, grouped the same work into four phases: preparation, detection and analysis, containment with eradication and recovery, and post-incident activity. Revision 3 replaced it in April 2025.
Detection: noticing the signs and confirming them
Signs come from four kinds of source.
- Alerts from security tools, such as , anti-malware and the central log system.
- The logs themselves, read by an analyst.
- Public information, such as a warning about a new attack.
- People, such as a member of staff who clicked a link or a customer who received an odd email.
A sign that an incident may happen in future is a precursor, for example a public boast by a criminal group that it will attack a sector. A sign that one may have happened or is happening is an indicator, such as files suddenly renamed. Most incidents give no precursor at all.
An alert is not yet an incident. An analyst checks whether it is real or a false alarm, and gathers enough facts to decide. Staff must be able to report quickly, by more than one route, and without fear of blame, because people are often the first to notice.
The first person on the scene is a first responder. Their duties are narrow: keep the scene as it is, note what they see and when, stop further harm without destroying evidence, and call the incident team. They do not investigate on their own.
Response: declaring the incident and triaging it
Response begins when someone with authority declares an incident under the plan. An incident lead takes charge, the right members of the team are called, and a record of every action and decision starts at once.
Triage sorts incidents so that the worst are handled first, as a hospital's emergency department does with patients. The team the incident by type, such as malware, denial of service, lost equipment or misuse by staff. It then sets a severity, usually from three measures.
- Functional impact: how far the business can still deliver its services.
- Information impact: whether information has been exposed, altered or lost, and how sensitive it is.
- Recoverability: how much time and effort recovery will take, and whether recovery is possible at all.
Severity decides who is called, how quickly, and which playbook applies. A high-severity incident brings in senior management and legal counsel within the hour. Severity is reassessed as facts arrive, and an incident can move up or down.
Mitigation: stopping the spread without losing the evidence
Mitigation limits the damage. Its central act is containment: stopping the incident spreading to more systems, more accounts or more data. Examples are isolating a computer, disabling a stolen account and blocking an attacker's address.
Short-term containment is a quick action that stops the harm now, such as moving an infected server onto an isolated network. Long-term containment keeps the business running safely while recovery is prepared, such as a temporary server built clean while the old one is examined.
Choosing a strategy weighs six things, and strategies are agreed for each incident type in advance.
- The damage still possible.
- The need to keep evidence.
- The need to keep a service available.
- The time and resources the strategy needs.
- How complete the is.
- How long it must last.
Disconnecting a computer from the network usually beats switching it off. The contents of a computer's memory, which can hold the attacker's tools and keys, vanish when power is lost. Switching off is right when the harm cannot be stopped another way, such as malware files faster than isolation can be arranged, or a to someone's safety.
Common misconception
“Once an incident is found, the first priority is to restore the systems from backup.”
Restoring before containment lets the attacker reach the restored systems too, and can destroy evidence. Contain first. Recovery from clean sources comes later in the order.
Worked example: The veterinary practice's first hour
Files on the shared folder are being encrypted. The practice has a written plan, a contracted incident response provider and backups held offline.
- Detection. The receptionist reports the note by telephone. The contractor confirms on a call that files are being renamed and encrypted. This is an incident.
- Response. The practice manager declares an incident under the plan and becomes incident lead. She calls the provider and starts a written log of times and actions.
- Triage. Functional impact is high: appointments cannot be booked. Information impact is unknown: client records may have been copied. Severity is set to high.
- Mitigation. The server's network cable is pulled and the infected computers are taken off the wireless network. They stay switched on, because isolation has stopped the spread and memory may hold the key.
- The attacker's account found on the server is disabled. Staff move to paper appointment sheets, a long-term containment that keeps the practice open.
The spread stops within twenty minutes, and the evidence on the server survives. Reporting, recovery from the offline backups, remediation and the review follow in that order.
A question, worked through
An analyst at a building society confirms that ransomware is encrypting files on one file server and has begun on a second. The incident lead has been appointed and the playbook opened. Backups from last night are held offline. The board wants branches trading again by noon.
What should the incident team do NEXT?
Decide on your answer, then open the reasoning
- Detection and response are done: the incident is confirmed and a lead is in charge. The next step in order is mitigation.
- Rule out d. Finding the cause is remediation and the lessons-learned review, both later in the order.
- Rule out c. Nothing yet shows that data has left, and reporting follows mitigation once facts are known.
- Option b answers the board, but restoring while the ransomware is still spreading lets it reach the restored servers too.
- Isolating the servers stops the spread and keeps the evidence. The answer is a.
Answer: A. Isolate both affected servers from the rest of the network
Choosing between good answers
- A question asks what comes next in an incident
- find the step the scenario has reached and choose the next one in the order detection, response, mitigation, reporting, recovery, remediation, lessons learned.
- An incident is still spreading
- choose containment before restoring, investigating the cause or announcing anything.
- A compromised computer could be switched off or disconnected
- choose disconnecting it, which keeps the memory evidence, unless harm or danger cannot be stopped any other way.
- An alert has just appeared
- choose confirming and triaging it before declaring an incident or acting on the whole network.
- A question asks what must exist before an incident
- choose the approved policy, plan, trained team and tools. A plan written during the incident is too late.
Try it
Work a ransomware incident through detection, response and containment, and see what each choice costs in evidence and in time.
Loading the preview.
Check your understanding
5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 5
What to remember
- An event is anything observable, an incident harms or threatens information or breaks policy, and a breach exposes information to someone unauthorised.
- Preparation comes before the seven steps: an approved policy, a plan with playbooks, a CSIRT that includes legal, HR and communications, training, and tools.
- The seven steps run detection, response, mitigation, reporting, recovery, remediation, lessons learned.
- Detection confirms the signs; response declares the incident and triages it by functional impact, information impact and recoverability.
- Mitigation contains the incident, weighing damage against evidence and availability, and usually disconnects a computer rather than switching it off.
Say it from memory
What happens during detection, and where do the signs come from?
Signs come from security tool alerts, logs, public information and people. Precursors suggest a future incident; indicators suggest one has happened. An analyst confirms whether the signs are real before an incident is declared. A first responder preserves the scene and calls the team.
What does the response step involve?
Declaring an incident under the plan, appointing an incident lead, calling the CSIRT and starting a record. Triage classifies the incident by type and sets severity from functional impact, information impact and recoverability, which decides who is called and which playbook applies.
What is mitigation, and what does choosing a containment strategy weigh?
Mitigation limits the harm by containment, such as isolating systems or disabling accounts, short term then long term. The choice weighs further damage, evidence, service availability, time and resources, effectiveness and duration. Disconnecting usually beats switching off, which loses memory.
How do an event, an incident and a breach differ, and what does each label start?
An event is any observable occurrence and is logged. An incident actually or imminently harms confidentiality, integrity or availability, or breaks law or policy, and activates the plan and the team. A breach is an incident in which information is confirmed exposed to or taken by someone unauthorised, and can start legal clocks for notification.
What must be in place before an incident, and is preparation one of the seven steps?
No: preparation comes before the seven steps and carries on between incidents. It provides an approved incident response policy, a plan with playbooks, a CSIRT with named members and deputies, training and exercises, tools such as a jump kit, and out-of-band communication.
Give the seven steps of incident management in order, and say where eradication falls.
Detection, response, mitigation, reporting, recovery, remediation and lessons learned. Eradication is not a separate step: removing malware and disabling the attacker's accounts begins in mitigation and is completed during recovery.
Sources
- NIST SP 800-61 Rev. 3: Incident Response Recommendations and Considerations, NISTThe definitions of event, adverse event and incident, the roles involved in incident response including leadership, legal, public affairs, human resources, physical security and asset owners, and handlers on staff or on contract. Its replacement of Revision 2 in April 2025.
- NIST SP 800-61 Rev. 2: Computer Security Incident Handling Guide, NISTThe four-phase life cycle, precursors and indicators and their sources, functional impact, information impact and recoverability, jump kits, war rooms and secure evidence storage, and the criteria for choosing a containment strategy.
- Regulation (EU) 2016/679 consolidated text, European UnionA personal data breach as a breach of security leading to the destruction, loss, alteration, unauthorised disclosure of, or access to, personal data.
- RFC 3227: Guidelines for Evidence Collection and Archiving, RFC EditorNot shutting a system down until evidence has been collected, because volatile data is lost.