In this lesson
The Big Idea
Even with encryption, authentication and defence in depth, a security incident can still happen: data leaks, files are tampered with, or a service goes down. So an organisation needs an organised plan to respond: stop the problem spreading, remove the threat, bring the service back, then learn from what happened and improve its protection. The book presents this as a simplified six-stage teaching model whose activities may overlap or repeat. And because a team cannot deal with every risk at once, it assesses risks to set priorities, using a simple rule: risk score = impact score × likelihood score.
From Prevention to Response
The previous two lessons focused on prevention: how to stop attacks or make them less likely. But no system is perfectly protected. Even a well-protected system can have an incident. The difference between an organisation that comes out with minor damage and one that collapses is often simple: did it have a plan? And did it follow that plan calmly instead of panicking?
So this lesson brings together two ideas:
- Incident response: how to act, step by step, when an incident happens.
- Risk management: how to decide which risks to deal with first, before and after they happen.
What Is a Security Incident?
According to the Arabic edition, a security incident is an event that affects the confidentiality, integrity or availability of information, seriously threatens them, or violates a security policy.
Notice that this definition does not require actual damage; a serious threat or a breach of security policy is enough. Let's be clear about the three properties:
- Confidentiality: only authorised people can see the information.
- Integrity: the information is not changed without permission.
- Availability: the information and services are there when needed.
Typical security incidents
| Type | Description | Property affected | |---|---|---| | Information leakage | Personal or secret information gets out | Confidentiality | | Data tampering | Data inside a system is changed without permission | Integrity | | Service outage | A service becomes unavailable, for example because of an attack on the server | Availability |
By contrast, a software update that adds new features is a normal, planned event. It does not affect the three properties or break a security policy, so it is not a security incident.
The Six Stages of Incident Response
The book presents a simplified six-stage teaching model:
| Stage | What happens | |---|---| | ① Preparation | Set up response procedures and structures in advance, before any incident | | ② Detection | Find the incident and confirm it has happened | | ③ Containment | Limit the scope of the impact so the damage does not spread further | | ④ Eradication (removing the threat) | Remove the threat and its causes, such as deleting malware and fixing the exploited vulnerability | | ⑤ Recovery | Return systems and services to a safe, normal operating state, which may include restoring from a clean backup | | ⑥ Lessons learned and improvement | Analyse what happened, document the lessons, and improve controls to reduce the chance and impact of it happening again |
The stages on a real incident: ransomware at a school
Let's follow the stages through one incident: ransomware hits a school's student-records system. The files are encrypted and staff can no longer log in.
- Preparation (before the incident): does the school have a written plan? Who is in charge of the response? Are there clean backups stored away from the network? This stage decides how fast everything else goes.
- Detection: staff notice the ransom message and that files will not open; the team confirms this is a real incident, not an ordinary fault, and identifies the infected machines.
- Containment: disconnect the infected machines from the network so the ransomware cannot spread to other machines or to the backups.
- Eradication: delete the malware, find out how it got in, and fix the exploited weakness, such as a weak password or an unpatched system.
- Recovery: bring the systems back into safe operation, restore the files from a clean backup, then monitor the systems to make sure they are clean.
- Lessons learned and improvement: what did we learn? Perhaps switch on 2FA, update systems regularly and test backups now and then; then document it and update the plan.
A general sequence, and going back is possible
The order helps you understand the general sequence, but a real response may involve overlap or repetition between some activities. The book's example: recovery may reveal leftovers of the threat, such as a malicious file that was missed or a compromised account still open, so you need to go back to containment or eradication before carrying on with recovery.
Risk Assessment: Impact × Likelihood
What is a risk?
A risk is the possibility that an event causing harm will happen, taking into account both how likely it is and how big its effect would be. So a risk has two sides, and neither is enough on its own:
- Impact: how much damage there would be if the event happened.
- Likelihood: how likely it is that the event happens at all.
The lesson's simplified rule
The lesson uses a simplified way to estimate a risk score:
Risk score = impact score × likelihood score
A common way to apply it is to give each level a score: low = 1, medium = 2, high = 3. The lowest possible risk score is then 1 and the highest is 9. With these scores, the cells of the book's risk evaluation matrix line up with the product:
| Impact / Likelihood | Low | Medium | High | |---|---|---|---| | High | Medium | High | Very high | | Medium | Low | Medium | High | | Low | Very low | Low | Medium |
Worked example
A small hospital assesses three risks:
| Risk | Impact | Likelihood | Score | Level | |---|---|---|---|---| | Patient files leak because of weak passwords | High (3) | High (3) | 3 × 3 = 9 | Very high | | The online booking server fails | High (3) | Medium (2) | 3 × 2 = 6 | High | | A short power cut at reception | Low (1) | Medium (2) | 1 × 2 = 2 | Low |
The order is: the file leak first, then the server failure, then the power cut. And remember the book's rule: risks with high impact and high likelihood are among the top priorities in this simplified model.
When the scores are equal
Sometimes two risks get the same score. For example:
- A risk with large impact and low likelihood: 3 × 1 = 3.
- A risk with small impact and high likelihood: 1 × 3 = 3.
Both are "medium" in the matrix, and the score alone cannot decide which comes first. Here the book says the order of other cases depends on the matrix scores, the context and the controls available. An organisation might start with the risk it can fix quickly and cheaply, or with the one that could affect people's safety or sensitive data. What matters is that you state the tie and explain your decision.
Try It Yourself
Common Mistakes
"We have a backup, so we start with recovery straight away"
Recovering before removing the cause may leave the malware or the vulnerability in place, so the incident happens again.
Containment first, then eradication, then recovery from a clean backup, going back a stage if leftovers of the threat appear.
"A risk is measured only by how much damage it causes"
A risk with huge damage that almost never happens may be a lower priority than a medium one that happens often.
Risk score = impact × likelihood; both factors together.
"The six stages are rigid and you can never go back"
The Arabic edition presents the stages as a general sequence to keep you organised.
Activities may overlap or repeat; recovery, for example, may reveal leftovers that require going back to containment or eradication.
"An event is only a security incident if actual damage happens"
That is close to the English edition's definition, not the Arabic one.
A security incident affects confidentiality, integrity or availability, or seriously threatens them, or violates a security policy.
"If two risks have the same score, either order is fine without explanation"
A tie means the score alone is not enough to set the order.
State the tie, then justify your decision using the context and the controls available.
Key Points
- A security incident is an event that affects the confidentiality, integrity or availability of information, seriously threatens them, or violates a security policy. Examples: information leakage, data tampering, service outage.
- The six stages: preparation, detection, containment, eradication (removing the threat), recovery, lessons learned and improvement.
- Containment limits the spread of damage and comes before eradication, which removes the cause and the vulnerability.
- Recovery returns systems to safe, normal operation, possibly from a clean backup.
- The sequence is general: activities may overlap or repeat, and recovery may reveal leftovers that require going back.
- A risk combines likelihood and impact: risk score = impact score × likelihood score.
- High-impact, high-likelihood risks are among the top priorities; in a tie, context and available controls decide.
FAQ
What are the six stages of incident response, in order?
Preparation, then detection, then containment, then eradication (removing the threat), then recovery, then lessons learned and improvement. Remember that the Arabic edition presents them as a general sequence in which some activities may overlap or repeat.
What is the difference between containment and eradication?
Containment limits the spread of damage, for example by disconnecting an infected computer from the network. Eradication removes the threat and its causes, for example by deleting the malware and fixing the exploited vulnerability. The first stops the spread; the second removes the cause.
How do I work out a risk score in the exam?
Give each level a score (low 1, medium 2, high 3), then multiply the impact score by the likelihood score. The highest score is 9 and the lowest is 1. Rank the risks from highest to lowest, and if two scores are equal, say so and explain your decision using the context.
Is a software update a security incident?
No, not if it is a planned update that adds features; it does not affect the confidentiality, integrity or availability of information or break a security policy. Files encrypted by ransomware, leaked customer data or a service taken down by an attack are security incidents.