Risk Assessment: Likelihood and Impact
A small business has a budget for one security project this year. The developer wants a web application firewall, IT wants MFA on email, and the owner read about ransomware and wants new backups. Everyone is right that their problem is real. Risk assessment is the method for deciding which problem to fix first, writing the reasons down, and checking later whether the decision still holds.
The on-ramp's CIA Triad & Risk introduced the formula and the four treatments. This lesson builds the risk register that the rest of this course, and your mini project, reuses: the columns, the scoring bands, the matrix and the money view.
Intuition: two questions per risk
For every risk ask: how likely is it to happen in the next year? and how bad would it be if it did? A meteor hitting the office is catastrophic and very unlikely; a laptop left on a train is likely and usually mild once the disk is encrypted. Multiply the two and you get one number to sort by. It is a crude number, but it forces the conversation that matters: why do we think this is likely, and what exactly would we lose?
Definitions
| Term | Meaning |
|---|---|
| Likelihood | how probable it is that the threat uses the vulnerability within a period, scored 1 (rare) to 5 (almost certain) |
| Impact | how much harm one occurrence does to confidentiality, integrity or availability, in money, safety, law or reputation, scored 1 (negligible) to 5 (severe) |
| Inherent risk | the risk before any (new) control |
| Residual risk | the risk left after the controls; it is never zero |
| Risk appetite | how much risk the organisation is willing to carry, set by its leadership |
| Risk owner | the person accountable for the decision on one risk, usually someone who owns the asset, not the security team |
| Risk register | the table of risks with their scores, treatment and owner |
The qualitative score is
with these bands throughout this track: low 1 to 4, medium 5 to 9, high 10 to 19, critical 20 to 25. Organisations choose their own bands; what matters is that everyone uses the same ones.
The risk register
Each row links an asset, a threat and a vulnerability (the three ingredients from the vocabulary lesson), then scores, a treatment and an owner. The program below is a register for a fictional ten-person shop; the scores are the team's judgements.
def level(score):
if score >= 20: return "critical"
if score >= 10: return "high"
if score >= 5: return "medium"
return "low"
COLUMNS = ["id", "asset", "threat", "vulnerability", "likelihood", "impact", "treatment", "owner"]
rows = [
("R1", "web shop", "criminal group", "SQL injection in search", 4, 5, "reduce", "dev lead"),
("R2", "staff mailboxes", "phishing crew", "no MFA on webmail", 4, 4, "reduce", "IT"),
("R3", "file server", "ransomware", "backups on the same network", 3, 5, "reduce", "IT"),
("R4", "office laptops", "thief", "disks not encrypted", 2, 4, "reduce", "IT"),
("R5", "web shop", "DDoS for hire", "single small server", 2, 3, "transfer", "CEO"),
("R6", "old FTP server", "opportunist", "unpatched, internet-facing", 3, 3, "avoid", "IT"),
("R7", "printer", "insider", "web UI without password", 2, 1, "accept", "office mgr"),
]
register = [dict(zip(COLUMNS, r)) for r in rows]
for risk in register:
risk["score"] = risk["likelihood"] * risk["impact"]
risk["level"] = level(risk["score"])
register.sort(key=lambda r: (r["score"], r["impact"]), reverse=True)
print(f"{'id':<3} {'asset':<16}{'vulnerability':<29}{'L':>2}{'I':>3}{'score':>6} {'level':<9}{'treatment':<10}owner")
for r in register:
print(f"{r['id']:<3} {r['asset']:<16}{r['vulnerability']:<29}{r['likelihood']:>2}{r['impact']:>3}{r['score']:>6} "
f"{r['level']:<9}{r['treatment']:<10}{r['owner']}")
counts = {lv: sum(r["level"] == lv for r in register) for lv in ("critical", "high", "medium", "low")}
print("levels:", counts)id asset vulnerability L I score level treatment owner
R1 web shop SQL injection in search 4 5 20 critical reduce dev lead
R2 staff mailboxes no MFA on webmail 4 4 16 high reduce IT
R3 file server backups on the same network 3 5 15 high reduce IT
R6 old FTP server unpatched, internet-facing 3 3 9 medium avoid IT
R4 office laptops disks not encrypted 2 4 8 medium reduce IT
R5 web shop single small server 2 3 6 medium transfer CEO
R7 printer web UI without password 2 1 2 low accept office mgr
levels: {'critical': 1, 'high': 2, 'medium': 3, 'low': 1}
Sorting by score puts R3 (15) just under R2 (16) even though R3's impact is higher; impact only breaks ties between equal scores. There are none in this register, but two different risks often share a score, and the worse impact then goes first on purpose. The answer to the opening question is in the first three rows: fix the SQL injection, then MFA, then backups.
The 5 by 5 matrix
The same bands drawn as a grid make the picture readable for people who will never look at a table. Each cell shows its band letter and score, and the register's risks are placed in their cells:
# The 5 x 5 matrix: which band each cell falls into, and where the register's risks sit.
def level(score):
if score >= 20: return "C"
if score >= 10: return "H"
if score >= 5: return "M"
return "L"
placed = {(4, 5): "R1", (4, 4): "R2", (3, 5): "R3", (2, 4): "R4", (2, 3): "R5", (3, 3): "R6", (2, 1): "R7"}
print(f"{'impact ->':<14}" + " ".join(f"{i:<6}" for i in range(1, 6)).rstrip())
for likelihood in range(5, 0, -1):
cells = []
for impact in range(1, 6):
s = likelihood * impact
cells.append(f"{level(s)}{s:>2}{placed.get((likelihood, impact), ''):<3}")
print((f"likelihood {likelihood} " + " ".join(cells)).rstrip())impact -> 1 2 3 4 5
likelihood 5 M 5 H10 H15 C20 C25
likelihood 4 L 4 M 8 H12 H16R2 C20R1
likelihood 3 L 3 M 6 M 9R6 H12 H15R3
likelihood 2 L 2R7 L 4 M 6R5 M 8R4 H10
likelihood 1 L 1 L 2 L 3 L 4 M 5
Notice the corners: a rare event with severe impact (likelihood 1, impact 5) scores 5, medium, the same as a frequent nuisance (5, 1). Multiplication treats them alike; people usually don't, which is why many organisations add a rule such as "impact 5 is never below high".
The quantitative view: annualised loss
When figures exist, risk can be put in money. The classic formulas:
A control is worth buying when it lowers the ALE by more than it costs per year. Risk R3, with invented figures:
# Quantitative view of risk R3 (ransomware on the file server); all figures in US dollars, invented.
asset_value = 200_000 # AV: cost to rebuild data and lost work if the server is lost
exposure_factor = 0.6 # EF: share of the value lost in one incident
aro_before = 0.3 # ARO: expected incidents per year (about one in three years)
sle = asset_value * exposure_factor
ale_before = sle * aro_before
print(f"SLE = {asset_value:,} x {exposure_factor} = {sle:,.0f}")
print(f"ALE before = {sle:,.0f} x {aro_before} = {ale_before:,.0f} per year")
# Control: offline, tested backups. Incidents still happen, but each one costs far less.
control_cost = 9_000 # per year: storage, licences, staff time for restore tests
ef_after = 0.1
ale_after = asset_value * ef_after * aro_before
print(f"ALE after = {asset_value * ef_after:,.0f} x {aro_before} = {ale_after:,.0f} per year")
print(f"risk reduction {ale_before - ale_after:,.0f} - control cost {control_cost:,} = net benefit {ale_before - ale_after - control_cost:,.0f} per year")SLE = 200,000 x 0.6 = 120,000
ALE before = 120,000 x 0.3 = 36,000 per year
ALE after = 20,000 x 0.3 = 6,000 per year
risk reduction 30,000 - control cost 9,000 = net benefit 21,000 per year
The backups don't change the likelihood (ARO stays 0.3); they cut the exposure factor from 0.6 to 0.1, because a restore replaces a rebuild. The numbers look precise, but every input is an estimate; the quantitative view is most useful for comparing two options with the same assumptions, not for predicting next year's losses.
Treatment
| Treatment | What it means | In the register |
|---|---|---|
| Reduce (mitigate) | add or improve controls so likelihood or impact falls | R1 parameterised queries, R2 MFA, R3 offline backups, R4 disk encryption |
| Avoid | stop the activity that causes the risk | R6: switch the FTP server off |
| Transfer (share) | move part of the impact to someone else by contract or insurance | R5: a DDoS-protection service or cyber insurance |
| Accept | the risk owner signs that the residual risk is within appetite, with a review date | R7 |
After treatment you score again. With parameterised queries, R1's likelihood drops to 1 while the impact of a breach of the shop stays 5: residual score , medium. Risk assessment is a cycle: identify, analyse, evaluate, treat, monitor, repeat when something changes. Standards that describe it include ISO/IEC 27005 and NIST SP 800-30; STRIDE threat modelling is a good way to find the rows in the first place.
How bad assessment is detected
- Every row has the same score (all 3 and 3): nobody really discussed them.
- Risks without an owner, or "accepted" without a signature and a review date.
- A register untouched for a year while the systems changed; incidents that hit risks not in the register at all.
- Scores that never move after a control is added: either the control did nothing, or the register isn't maintained.
Pitfalls
- False precision. "Likelihood 3.7" from a workshop is still a guess. Keep the scale coarse.
- Scoring the threat, not the scenario. "Ransomware: 5" says nothing; "ransomware encrypts the file server because backups are reachable" can be scored and fixed.
- Impact on one property only. A breach of the shop is confidentiality (customer data), integrity (prices changed) and availability (shop down). Score the worst realistic case.
- Security owning every risk. The owner of the asset decides; security advises.
Practice
- Add risk R8: the CEO's phone (asset) is a target of SIM swapping (threat) because SMS is the second factor for the bank (vulnerability), likelihood 2, impact 5. What is the score and band, and where does it sort?
- R2 after MFA: likelihood falls to 2, impact stays 4. New score and band?
- Disk encryption for R4 costs 600 a year. Each lost laptop costs 30,000 without encryption (EF 1.0 on AV 30,000) and 1,500 with it; about 0.2 laptops are lost per year. Is it worth it?
Answers
- : high. It sorts after R3 (15) and before R6 (9).
- : medium.
- ALE before , after . Reduction 5,700 against a cost of 600: a net benefit of 5,100 a year, and the confidentiality impact (customer data on the disk) isn't even counted.
Test yourself
A risk has likelihood 3 and impact 4. Which band is it in, with the bands of this track?
- low
- medium
- high
- critical
Which treatment is switching off the unneeded FTP server?
- Reduce
- Avoid
- Transfer
- Accept
An asset is worth 50,000, one incident destroys 40 % of it, and incidents happen about once every five years. What is the ALE?
- 4,000
- 10,000
- 20,000
- 100,000
Why did the offline backups lower R3's ALE without changing its ARO?
- They make ransomware less likely
- They reduce how much one incident costs (the exposure factor)
- They transfer the risk to an insurer
- They change the asset value
Who should accept a residual risk on the web shop?
- Any developer
- The security team alone
- The risk owner, accountable for the shop, with a review date
- Nobody: all risks must be reduced to zero