OCR H446, section 1.3.3 (c)
A network holds valuable data and services, so it needs protecting from threats. You need to know the main threats and the defences, including firewalls, proxies and encryption.
Threats to networks
Malware
Malware is malicious software.
| Type | What it is |
|---|---|
| Virus | Attaches itself to a legitimate file and spreads when the file is run or shared. Needs a user to run it |
| Worm | A self-contained program that copies itself across networks by itself, with no user action |
| Trojan | Pretends to be useful software, but contains something harmful. The user is tricked into installing it |
| Ransomware | Encrypts the victim's files and demands payment for the key |
| Spyware | Secretly records what the user does (keystrokes, passwords) and sends it away |
| Adware | Shows unwanted adverts, and may track browsing |
Social engineering and phishing
- Phishing: fake emails or messages that trick people into giving away passwords or payment details, or clicking on a bad link, often pretending to be a bank or colleague.
- Social engineering: manipulating people, instead of the technology, to gain access, for example pretending to be IT staff.
- The weakest link is often people.
Attacks on the network
- Denial of service (DoS) / distributed denial of service (DDoS): the attacker floods a server or network with traffic so that real users can't get through. In a DDoS the traffic comes from thousands of infected computers (a botnet).
- Man-in-the-middle: the attacker secretly intercepts (and may change) the communication between two parties.
- Eavesdropping / packet sniffing: capturing data as it crosses the network, especially on unencrypted WiFi.
- Brute force and password attacks: trying huge numbers of passwords until one works.
- SQL injection: entering database commands into a web form to read or damage the data.
- Exploiting software weaknesses: using bugs in unpatched software to gain access.
- Unauthorised access (hacking).
Other threats
- Insider threats: staff who misuse access, by accident or deliberately.
- Weak or reused passwords.
- Lost or stolen devices, and unsecured wireless networks.
Defences
Firewalls
A firewall sits between a network and the Internet (or between parts of a network), and filters traffic according to rules. It can be hardware, software, or both.
- Packet filtering: examines each packet's header (source and destination address, port number, protocol), and allows or blocks it according to the rules. For example, block all traffic to a port that isn't needed.
- Stateful inspection: remembers the state of connections, and only lets in packets that are part of a conversation that an internal device started. It blocks unexpected incoming packets.
A firewall blocks unauthorised access and unwanted traffic, but it can't stop a user from running a malicious attachment, or an attack that is allowed through an open port.
Proxy servers
A proxy server is a go-between. Users' requests go to the proxy, which makes the request on their behalf and passes back the response.
- Hides the internal network: outside servers only see the proxy's address.
- Can filter content (block certain sites or harmful downloads), and log use.
- Can cache popular pages to speed up access.
- Can scan the traffic for malware.
Encryption
Scrambling data so that it can't be read without the key (see 1.3.1 (c)).
- HTTPS (TLS) encrypts web traffic.
- WPA2 or WPA3 encrypts WiFi traffic.
- VPNs (virtual private networks) encrypt the connection across the Internet.
- Encrypting stored files and disks protects data if a device is stolen.
Other defences
| Defence | How it helps |
|---|---|
| Strong, unique passwords | Resist guessing and brute force |
| Multi-factor authentication | Needs more than one proof of identity (password plus a code on a phone) |
| Access levels and permissions | Users only have the access they need (least privilege) |
| Anti-malware software | Detects and removes malicious software |
| Software updates (patching) | Fixes known weaknesses that attackers use |
| Network monitoring and intrusion detection | Spots unusual activity |
| Backups | Allow recovery from ransomware and data loss |
| Penetration testing | Ethical hackers test the network and find weaknesses before attackers do |
| User education and policies | Teaches staff to spot phishing and use good practice |
| Input validation | Stops attacks such as SQL injection |
| Physical security | Locks, access cards and secure server rooms |
Worked example
Task: a school network has been slowed down by a flood of traffic from many computers, and a teacher has had their password stolen after clicking a link in an email. Identify the threats and suggest defences.
- The flood of traffic is a DDoS attack. Defences: a firewall and filtering to block the unwanted traffic, network monitoring to spot it, and working with the ISP to absorb the attack.
- The stolen password came from phishing. Defences: staff training to recognise suspicious emails, multi-factor authentication (so a stolen password alone isn't enough), anti-malware and email filtering, and changing the password.
- In addition: keep software patched, use encryption for the WiFi, and keep backups.
Exam tip: match each threat to a sensible defence, and explain how it helps. Remember that people are often the weak point, so training matters too. Describe what a firewall does (filters packets by address and port) and what a proxy does (acts for users and hides the network).
Check yourself
What is the difference between a virus and a worm?
A virus attaches to a file and needs a user to run it. A worm is self-contained and spreads across networks by itself without any user action.
What is a DDoS attack?
A distributed denial of service attack floods a server or network with traffic from many computers, so that genuine users can't get through.
What does a firewall do?
It filters network traffic according to rules (for example by address and port), blocking unauthorised access and unwanted traffic.
How can a proxy server improve security?
It hides the internal network from outsiders, can filter and block harmful content or sites, and can scan traffic for malware.