Cybersecurity Threats and Defences
Why Cybersecurity Matters
Every connected device is a potential target. Attackers have financial, political or personal motivations to steal data, disrupt services or hold organisations to ransom. Understanding how attacks work is the first step towards defending against them. Your exam expects you to describe specific threats, explain how each works, and match it with appropriate defences.
Malware
Malware (malicious software) is a broad term covering any software designed to harm a system or its users. Key types include:
- Virus — attaches itself to a legitimate file and spreads when that file is shared. It requires a host file and user action to propagate.
- Worm — spreads automatically across a network without needing a host file or user action, exploiting security vulnerabilities.
- Trojan — disguises itself as legitimate software to trick users into installing it. Once active, it can open a backdoor for an attacker.
- Ransomware — encrypts a victim’s files and demands payment (a ransom) for the decryption key.
- Spyware — secretly monitors user activity, capturing keystrokes, passwords and browsing habits, and sends this data to an attacker.
Phishing and Social Engineering
Phishing attacks impersonate trusted organisations — banks, delivery companies, employers — using convincing but fraudulent emails or websites. The goal is to steal login credentials, financial details or personal information.
Social engineering is the broader category that phishing belongs to. Social engineering exploits human psychology rather than technical vulnerabilities. Variants include:
- Spear phishing — a targeted phishing attack aimed at a specific individual, using personal information to appear more convincing.
- Pretexting — the attacker invents a scenario (e.g. pretending to be IT support) to gain the victim’s trust and extract information.
- Baiting — leaving infected storage devices (e.g. USB sticks) in public places, hoping a curious person will plug one in.
Phishing uses deceptive emails or websites that impersonate trusted organisations to trick users into submitting passwords or financial details. It is a form of social engineering — it exploits human trust rather than technical flaws.
Brute-Force Attacks
A brute-force attack systematically tries every possible password or key until the correct one is found. Modern computers can try billions of combinations per second, making short or simple passwords easy to crack. Dictionary attacks are a faster variant that uses common words and passwords first rather than every character combination.
Denial of Service (DoS) and Distributed DoS (DDoS)
A Denial of Service (DoS) attack overwhelms a server with requests until it can no longer respond to genuine users. A Distributed Denial of Service (DDoS) attack uses a botnet — thousands of infected devices controlled by the attacker — to send traffic simultaneously, making it far harder to block because the traffic comes from many sources.
DoS/DDoS attacks target availability: the victim’s website or service becomes inaccessible. Financial services, gaming platforms and news sites are common targets.
Data Interception
Data interception (sometimes called a man-in-the-middle attack) occurs when an attacker secretly captures data travelling between two parties. On unsecured Wi-Fi networks, an attacker can intercept packets and read unencrypted data such as login credentials sent over HTTP. Using a rogue access point — a fake Wi-Fi hotspot — is one method attackers use to position themselves between a victim and the internet.
SQL Injection
SQL injection targets web applications that use databases. Many websites use SQL (Structured Query Language) to retrieve data — for example, when a user logs in, the application queries the database for matching credentials. If the input is not properly validated, an attacker can insert SQL commands into a form field to bypass authentication, extract data or delete records.
For example, entering ' OR '1'='1 as a username can trick a poorly written login query into returning all user records, granting access without a valid password.
The seven main threats you must know are: malware (malicious software), phishing (deceptive emails and websites), social engineering (psychological manipulation), brute-force attacks (exhaustive password guessing), DoS/DDoS (flooding a server), data interception (capturing network traffic), and SQL injection (manipulating database queries via input fields).
Defences fall into two categories: technical (software and hardware controls) and procedural (policies and user behaviour).
Anti-malware software scans files and network traffic for known malware signatures and suspicious behaviour. It must be kept up to date because new malware variants are released constantly.
Firewalls monitor incoming and outgoing network traffic and block packets that do not meet defined security rules. A firewall can block traffic from suspicious IP addresses and prevent unauthorised access to internal systems. Firewalls are the first line of defence against DoS attacks and many forms of intrusion.
User access levels limit what each user account can see and do. Principle of least privilege — granting users only the permissions they need for their role — reduces the damage if an account is compromised.
Strong passwords and two-factor authentication (2FA) defend against brute-force attacks. Long, complex passwords take vastly longer to crack; 2FA requires a second verification step (such as a code sent to a mobile device) even if the password is stolen.
Encryption protects data in transit (e.g. HTTPS/TLS) and at rest (e.g. encrypting stored files). Even if data is intercepted or a device is stolen, encrypted data cannot be read without the decryption key.
Penetration testing involves authorised security professionals deliberately attempting to break into a system to identify vulnerabilities before a real attacker does. The findings are used to patch weaknesses before they can be exploited.
Network forensics is the process of capturing and analysing network traffic logs after a security incident to determine how an attack occurred, what data was accessed and who was responsible. It supports incident response and legal proceedings.
Exam questions often ask you to match a defence to a specific threat. Use this table as a revision reference:
| Threat | Key defence(s) |
|---|---|
| Malware | Anti-malware software, user access levels, email filtering |
| Phishing / social engineering | User education and training, email filters, 2FA |
| Brute-force | Strong passwords, account lockout policies, 2FA |
| DoS / DDoS | Firewall (traffic filtering), rate limiting, cloud-based mitigation |
| Data interception | Encryption (HTTPS/TLS), VPN, avoid unsecured Wi-Fi |
| SQL injection | Input validation / sanitisation, parameterised queries, penetration testing |