TExcelTAD
Home › Cybersecurity › Threats, Vulnerabilities & Attackers

Threats, Vulnerabilities & Attackers

Before you can choose defences you need a map of what you are defending against. This lesson gives you the vocabulary for who attacks, why, how they typically get in, and what a vulnerability really is. Later lessons zoom in on each area.

Threat actors

A threat actor is anyone (or anything) that could cause harm. They differ in motivation, skill and resources, and that changes which defences matter most.

Actor Motivation Capability Typical target
Opportunistic criminals Money Low–medium; automated tools Anyone with a known, unpatched weakness
Organised crime / ransomware groups Money (extortion) High; run like businesses Companies that can pay: hospitals, factories, councils
Nation-state groups Espionage, sabotage Very high; patient Governments, defence, telecoms, research
Hacktivists Publicity for a cause Low–medium Organisations they disagree with
Insiders Revenge, money, or plain mistakes Already have access Their own employer
Accidents & nature — — Fire, flood, a deleted table, a cut cable

Most organisations are not attacked because they are interesting but because they are reachable and weak. Automated scanning of the whole internet takes hours, so an exposed, unpatched server is found quickly whoever owns it.

Vulnerabilities

A vulnerability is a weakness that a threat could use. It is useful to sort them by where they come from:

  • Software flaws: bugs such as injection, memory corruption or broken access checks. Public ones get a CVE identifier (CVE-2021-44228 was Log4Shell).
  • Misconfiguration: default passwords, a storage bucket set to public, debug mode left on in production.
  • Weak processes: no patching schedule, no off-boarding when people leave, no backups tested.
  • People: being tricked into giving away a password or approving a payment.

A vulnerability only becomes a problem when a threat can reach it. An unpatched service that no one can connect to is much less urgent than the same service exposed to the internet. That idea, combining weakness with exposure, is the basis of prioritisation:

python · try it yourself
findings = [
    {"host": "web-01", "issue": "outdated CMS plugin", "severity": 8, "internet": True},
    {"host": "build-02", "issue": "outdated CMS plugin", "severity": 8, "internet": False},
    {"host": "vpn-01", "issue": "default admin password", "severity": 9, "internet": True},
    {"host": "hr-laptop", "issue": "no disk encryption", "severity": 5, "internet": False},
]

def priority(f):
    # exposure doubles the urgency of the same weakness
    return f["severity"] * (2 if f["internet"] else 1)

for f in sorted(findings, key=priority, reverse=True):
    where = "internet" if f["internet"] else "internal"
    print(f"{priority(f):>3}  {f['host']:<10} {where:<9} {f['issue']}")
 18  vpn-01     internet  default admin password
 16  web-01     internet  outdated CMS plugin
  8  build-02   internal  outdated CMS plugin
  5  hr-laptop  internal  no disk encryption

Attack vectors and the attack surface

An attack vector is the route an attacker uses to reach a vulnerability. The sum of all such routes is the attack surface. Shrinking it (closing ports, removing unused features, retiring old accounts) is one of the most effective things a defender can do.

Vector Example Main defences
Email Phishing link or malicious attachment Filtering, training, MFA
Exposed services Unpatched VPN, remote desktop on the internet Patching, closing ports, VPN with MFA
Web applications Injection, broken access control Secure coding, testing, WAF
Stolen or weak credentials Password reused from another breach MFA, unique passwords, breach monitoring
Supply chain A compromised software update or library Dependency pinning, signed updates, vendor review
Physical USB stick left in a car park, stolen laptop Disk encryption, device policies

The attack lifecycle

Real intrusions follow recognisable stages. Frameworks such as the Cyber Kill Chain and MITRE ATT&CK describe them so defenders can place detections at every stage. A simplified version:

  1. Reconnaissance: learning about the target (public websites, staff names).
  2. Initial access: phishing, an exposed service, stolen credentials.
  3. Execution & persistence: running code and making sure it survives a reboot.
  4. Privilege escalation & lateral movement: from one laptop to admin rights and other machines.
  5. Actions on objectives: stealing data, encrypting files, sabotage.

The key insight for defenders: the attacker must succeed at every stage, while you only need to detect or block one. This model maps defensive controls to the stages they cover and shows any gap:

python · try it yourself
stages = ["reconnaissance", "initial access", "persistence",
          "lateral movement", "objectives"]

controls = {
    "MFA": ["initial access"],
    "email filtering": ["initial access"],
    "EDR on endpoints": ["persistence", "lateral movement"],
    "network segmentation": ["lateral movement"],
    "offline backups": ["objectives"],
}

for stage in stages:
    covering = [name for name, covers in controls.items() if stage in covers]
    print(f"{stage:<17} {', '.join(covering) or 'NO CONTROL'}")
reconnaissance    NO CONTROL
initial access    MFA, email filtering
persistence       EDR on endpoints
lateral movement  EDR on endpoints, network segmentation
objectives        offline backups

Reconnaissance is hard to block (your website is public on purpose), so defenders mostly reduce what it reveals: limit public information about internal systems and staff roles.

Common mistakes

  • "We're too small to be a target." Automated attacks don't check company size.
  • Thinking only about outsiders. Mistakes by staff cause a large share of incidents.
  • Treating every vulnerability as equal. Use severity and exposure to prioritise.

Go further: A Map of the Attack Categories sorts attacks into eleven categories, each with its warning signs, impact and defence.

Test yourself

A storage bucket accidentally left public is an example of which kind of vulnerability?

  1. Software flaw
  2. Misconfiguration
  3. Physical weakness
  4. Zero-day

What is the attack surface?

  1. The number of past attacks
  2. All the routes by which an attacker could reach a system
  3. The firewall's outside interface
  4. The list of CVEs in a product

Why does the attack-lifecycle model favour defenders?

  1. Attackers must succeed at every stage, defenders need to stop only one
  2. Attackers can't automate any stage
  3. Each stage is illegal
  4. Defenders always see reconnaissance