Skip to content
Pixel
العربية

2-3Unit 2 · Cybersecurity

Incident Response and Risk Management

11 min readStart exercises
In this lesson
  1. The Big Idea
  2. From Prevention to Response
  3. What Is a Security Incident?
  4. The Six Stages of Incident Response
  5. Risk Assessment: Impact × Likelihood
  6. Try It Yourself
  7. Common Mistakes
  8. Key Points
  9. FAQ

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:

  1. Incident response: how to act, step by step, when an incident happens.
  2. 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.
A security incident: what is affected? At the top, the definition of a security incident: an event that affects the confidentiality, integrity or availability of information, seriously threatens them, or violates a security policy. Below, three columns, each a property and an example incident: confidentiality, with information leakage of personal or secret data to the outside; integrity, with data tampering, meaning changing data without permission; availability, with a service outage caused by an attack on the server. Security incident: an event that affects confidentiality, integrity or availability, seriously threatens them, or violates a security policy Confidentiality only authorised people see it Information leakage personal data gets out Integrity not changed without permission Data tampering unauthorised grade edits Availability there when you need it Service outage an attack takes the site down Property on top, an incident that hits it below
Each typical incident hits one of the three properties.

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 six stages of incident response Six boxes in a row joined by arrows: 1 Preparation, procedures ready in advance. 2 Detection, find and confirm the incident. 3 Containment, stop the damage spreading. 4 Eradication, remove the threat and its causes. 5 Recovery, back to safe, normal operation. 6 Lessons learned and improvement, improve controls to reduce recurrence. A dashed arrow returns from recovery to containment and eradication, labelled: if leftovers of the threat appear, go back to an earlier stage. At the top: a general sequence; some activities may overlap or repeat. A general sequence: some activities may overlap or repeat 1 Preparation procedures ready in advance 2 Detection find and confirm it 3 Containment stop the damage spreading 4 Eradication (remove threat) remove malware, fix the hole 5 Recovery back to safe, normal running 6 Lessons learned & improvement improve controls to cut recurrence Recovery reveals leftovers of the threat? Go back to containment or eradication Recovering before removing the cause can leave the malware or the hole behind
A general sequence that keeps you organised, with the option of going back a stage.

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.

  1. 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.
  2. 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.
  3. Containment: disconnect the infected machines from the network so the ransomware cannot spread to other machines or to the backups.
  4. Eradication: delete the malware, find out how it got in, and fix the exploited weakness, such as a weak password or an unpatched system.
  5. 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.
  6. 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:

Risk evaluation matrix A three by three matrix. Vertical axis, impact: low 1, medium 2, high 3. Horizontal axis, likelihood: low 1, medium 2, high 3. Risk score equals impact times likelihood. High-impact row: medium 3, high 6, very high 9. Medium-impact row: low 2, medium 4, high 6. Low-impact row: very low 1, low 2, medium 3. Footer: risks with high impact and high likelihood are among the top priorities. Risk score = Impact × Likelihood Impact High (3) Medium 3 × 1 = 3 High 3 × 2 = 6 Very high 3 × 3 = 9 Medium (2) Low 2 × 1 = 2 Medium 2 × 2 = 4 High 2 × 3 = 6 Low (1) Very low 1 × 1 = 1 Low 1 × 2 = 2 Medium 1 × 3 = 3 Low (1) Medium (2) High (3) Likelihood High impact + high likelihood = among the top priorities
Each cell combines an impact level with a likelihood level; the top corner is the most dangerous.

| 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

Try
Put the response stages in order
Arrange the six stages of incident response in the book's general sequence.
1. Containment: stop the damage spreading
2. Detection: find the incident and confirm it
3. Eradication: remove the threat and its causes
4. Preparation: set up response procedures in advance
5. Recovery: return systems to safe, normal operation
6. Lessons learned and improvement: analyse what happened and improve controls
Use the up and down buttons to move each step, then press Check.
Try
Work out a risk score: pick impact and likelihood
Impact
Likelihood
risk score = impact × likelihood
3 × 2 = 6
Risk levelHigh
Risk evaluation matrix · or tap a cell in the matrix
Impact \ LikelihoodLowMediumHigh
High
Medium
Low
Try
Ransomware in the student-records system
The situation
On a school morning, the school's team discovers that the student-records files are encrypted and a ransom message has appeared, while other machines on the network are still running. The school has a recent backup. What is the most suitable next step?
What would you do? You can try more than one choice.

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.

Done reading? Test yourself