Cybersecurity from the Ground Up · Course book
Chapter 3: Threats, Vulnerabilities and Risk
No organisation can defend against everything at once. Money, time and attention are limited, so security teams must decide which dangers deserve action first. Making that decision well requires a shared vocabulary and a way of comparing very different problems, such as an unpatched server, a careless email habit and a flood-prone server room. This chapter introduces the language of threats, vulnerabilities and risk, describes the main kinds of attacker and the routes they use, surveys the families of malicious software, and then shows how risk is measured, both with a simple likelihood-and-impact matrix and with a worked financial calculation. It ends with the four ways an organisation can respond to a risk once it has been measured.
Threats, vulnerabilities and risk
Three words are often used loosely in the news, but security professionals keep them distinct. An asset is anything of value: data, devices, systems, reputation or people's time. A threat is anything that could cause harm to an asset, such as a criminal group, a disgruntled employee, a fire or a software bug. A vulnerability is a weakness that a threat could exploit, such as an outdated program, a weak password policy or an unlocked door. Risk exists where a threat and a vulnerability meet an asset that matters, and it combines how likely harm is with how bad it would be.
This distinction shows where action is possible. Organisations can rarely remove threats; criminals will exist whatever a company does. They can, however, reduce vulnerabilities by patching, training and configuring systems carefully, and they can reduce the impact of harm by keeping backups and planning their response. A vulnerability with no threat able to reach it, such as an old program on a computer that is never connected to any network, carries little risk. A minor vulnerability on a system exposed to the whole internet may carry a great deal.
Two further terms are useful. An exploit is a technique or piece of code that takes advantage of a specific vulnerability. A zero-day vulnerability is one that the software's makers do not yet know about, so no fix exists; defenders then rely on other layers of protection until a patch is released. Most successful attacks, however, use vulnerabilities that have been publicly known, with fixes available, for months or years.
Threat actors and attack vectors
A threat actor is the person or group behind an attack. Understanding their motives helps predict what they will target and how hard they will try.
| Threat actor | Typical motive | Resources and skill | Common targets |
|---|---|---|---|
| Organised cyber-criminals | Money, through ransom, fraud or selling data | Moderate to high; often buy ready-made tools | Any organisation that can pay; individuals' accounts |
| Nation-state groups | Espionage, disruption, strategic advantage | Very high; patient and well funded | Governments, defence, infrastructure, research |
| Hacktivists | Publicity for a political or social cause | Low to moderate | Organisations linked to the cause they oppose |
| Insiders | Grievance, money, or simple carelessness | Legitimate access already granted | Their own employer's data and systems |
| Opportunists | Curiosity, reputation, small gains | Low; use freely available tools | Poorly protected systems found by scanning |
An attack vector is the route an attacker uses to reach a target. The most common include email, through phishing messages and malicious attachments; the web, through compromised or fake websites; exposed services on the internet, such as remote access systems with weak passwords or missing patches; removable media such as memory sticks; the supply chain, in which attackers compromise a supplier or a software update so that it carries their code into many customers at once; and people themselves, through phone calls or in-person deception. The total set of vectors available against an organisation is called its attack surface. Every new internet-facing system, every new supplier connection and every new staff member who handles sensitive data enlarges it, which is why reducing unnecessary exposure is one of the cheapest forms of defence.
Families of malicious software
Malware, short for malicious software, is any program written to harm or exploit a device, network or user. Malware is usually classified by how it spreads and what it does.
A virus attaches itself to a legitimate file or program and spreads when that file is shared and opened. A worm spreads by itself across networks, exploiting vulnerabilities without any user action, which is why worms can infect huge numbers of machines within hours. A Trojan disguises itself as something useful, such as a free game or a fake software update, and relies on the user to install it. Once inside, malware may carry different payloads. Spyware and keyloggers secretly record what the user does or types. Ransomware encrypts files and demands payment for the key, and modern criminal groups often steal data first and threaten to publish it as well. A botnet is a network of infected devices, often including poorly secured cameras and routers, controlled remotely and used to send spam or overwhelm websites. A rootkit hides deep in the operating system to conceal other malware and keep the attacker's access.
The defences against malware are layered. Keeping software updated closes the vulnerabilities that worms and exploit kits rely on. Anti-malware tools detect known malicious files and suspicious behaviour. Least privilege limits what malware can do if it runs. Email filtering removes many malicious attachments before they reach users, and training helps people recognise the lures that Trojans use. Backups make ransomware an inconvenience rather than a catastrophe.
Measuring risk
Once threats and vulnerabilities have been identified, each risk can be scored. The simplest method is a risk matrix. Likelihood and impact are each rated, often on a scale from 1 to 5, and multiplied. A risk that is likely (4) and severe (5) scores 20 and demands urgent attention; one that is rare (1) and minor (2) scores 2 and may simply be accepted.
Where money values can be estimated, risk can be measured financially. The single loss expectancy (SLE) is the expected cost of one incident: the value of the asset multiplied by the exposure factor, the fraction of that value lost. The annual rate of occurrence (ARO) is how many times per year the incident is expected. Multiplying them gives the annualised loss expectancy (ALE), the average yearly cost of the risk.
The inputs to such calculations are estimates, and different people may reasonably choose different values. The real benefit is that the method forces assumptions into the open, where they can be questioned, and lets very different risks be compared in a common unit.
Responding to risk
Once a risk has been measured, there are four broad responses. Mitigate it by adding controls that reduce likelihood or impact, as the shop did with backups and training. Transfer it, partly, to someone else, for example through cyber insurance or by contracting a specialist provider, though the organisation keeps responsibility for its customers' data. Avoid it by stopping the risky activity altogether, such as no longer storing card numbers and using a payment provider instead. Accept it when the cost of action exceeds the expected loss, recording the decision so that it can be reviewed.
Controls themselves are often grouped by type. Preventive controls, such as firewalls and MFA, try to stop incidents. Detective controls, such as logging and alerts, reveal incidents in progress. Corrective controls, such as backups and incident response plans, limit damage and restore normal operation. A strong defence includes all three, because no preventive control is perfect. Risks are not assessed once and forgotten; a risk register lists each risk, its score, its owner and the chosen response, and is reviewed whenever systems, threats or the business change.
Check your understanding
- Explain the difference between a threat and a vulnerability, giving one example of each for a school's computer network.
- Why might an insider be more dangerous than an outside attacker, even with fewer technical skills?
- Distinguish between a virus, a worm and a Trojan.
- A risk has likelihood 3 and impact 4. What is its score in a 5 × 5 matrix, and which colour band would it fall in?
- A laptop worth $1,500 holds data worth $20,000. Theft would lose the laptop and 25% of the data's value, and theft is expected once every five years. Calculate the SLE and ALE.
- Give one example each of mitigating, transferring, avoiding and accepting a cyber risk.
This course book is available to read online only at chrysolites.org.