Network Security · Cambridge syllabus 5.3 · Lesson 1 of 2
Security Threats
Malware is software designed to cause harm: viruses, worms, Trojan horses, spyware, adware and ransomware. Phishing and pharming deceive people into giving away information, brute-force attacks try every possible password, data interception captures data as it travels, hacking is gaining access to a system without permission, and a distributed denial of service (DDoS) attack floods a server with requests from many computers so it cannot respond.
By the end, you can
- Understand what malware is.
- Identify viruses, worms, Trojan horses, spyware, adware and ransomware.
- Explain how malware can affect computer systems.
- Understand phishing.
- Understand pharming.
- Understand brute-force attacks.
- Understand distributed denial of service (DDoS) attacks.
- Explain how users can protect themselves.
- Understand hacking and its aims.
- Understand data interception.
- Understand social engineering and its aims.
Malware
Malware is any software written to damage a system, steal from it or control it. The types are distinguished by how they spread and what they do.
A virus attaches itself to a program or file and runs when that file is opened, copying itself into others. It needs a user action to spread. A worm is self-replicating and spreads across a network by itself, needing no file to attach to and no user to help, which is why a worm can cross the world in hours.
A Trojan horse pretends to be something useful — a game, a free tool, a codec — and does its damage once installed. It does not replicate; it relies on the user choosing to install it. Ransomware encrypts the files on a machine and demands payment for the key. Spyware secretly records activity and sends it back, and a keylogger is spyware that records every keystroke, which is how passwords and card numbers are taken.
Adware forces unwanted advertising onto the screen and often tracks browsing.
The effects to quote are: files deleted, altered or encrypted; data stolen; the system slowed or made unusable; unauthorised access and control; and further spread to other machines. The defences are anti-malware kept updated, a firewall, prompt system updates, caution with attachments and downloads, and backups.
Worth remembering
- A virus attaches to a file and needs a user action; a worm spreads by itself.
- A Trojan horse is disguised as something useful; ransomware encrypts and demands payment.
- Spyware and keyloggers record activity and send it to an attacker.
Social engineering
Social engineering attacks the person rather than the computer, because persuading someone to give up a password is easier than breaking one. The techniques share a pattern: urgency, authority and a plausible story.
Phishing sends a message that appears to come from a legitimate organisation — a bank, a delivery company, a school — asking the recipient to click a link and enter details. The link leads to a convincing copy of the real site, and whatever is typed goes to the attacker. The clues are a sender address that is not quite right, a link whose real destination differs from its text, unexpected urgency, and requests for information a real organisation would never ask for.
Pharming is more dangerous because the user does nothing wrong. Malware on the machine or a poisoned DNS record redirects a correctly typed address to a fake site, so there is no bad link to notice. The defences are checking for https and a valid certificate, keeping the machine free of malware, and keeping router software updated.
A brute-force attack tries every possible password until one works, usually with a program trying millions of combinations. Its aim is to get into an account. Length and unpredictability defeat it, as do limits on failed attempts and two-step verification.
A distributed denial of service (DDoS) attack floods a server with more requests than it can answer, so genuine users cannot get through. The requests come from many computers at once, often ones infected with malware without their owners knowing, which makes the attack hard to block. It does not steal data; its aim is to make a service unavailable, and the damage is lost business and lost trust.
Worth remembering
- Phishing asks the user to click and type; pharming redirects them without any click.
- Brute force tries every combination, so password length and unpredictability matter.
- A DDoS attack floods a server from many computers so genuine users cannot be served.
Hacking and data interception
Hacking is gaining access to a computer system without permission. A hacker may exploit a weakness in software that has not been updated, guess or steal a password, or use malware to get in. The aims vary: to steal data such as personal details or card numbers, to change or delete data, to spy on a person or an organisation, or to damage a system.
Data interception is capturing data while it travels across a network. An attacker uses a program called a packet sniffer to copy the packets passing along a cable or through the air on a wireless network, and reads what is in them. Its aim is to steal information such as passwords and messages. It is easiest on an unsecured public wi-fi network, and it is defeated by encryption, because intercepted encrypted data cannot be understood.
Social engineering is manipulating people into breaking normal security practice, by giving away information or doing something unsafe. Instead of attacking the computer, the attacker tricks the person: pretending to be from the IT department and asking for a password, leaving an infected USB drive where someone will plug it in, or phoning with an urgent false story. Phishing and pharming are kinds of social engineering. Its aim is to get information or access that the attacker could not get by breaking in.
Each threat has a process and an aim, and exam questions often ask for both, so learn them together: how the attack is carried out, and what the attacker wants from it.
Worth remembering
- Hacking: gaining access to a system without permission, to steal, change or damage data.
- Data interception: capturing data in transit; encryption defeats it.
- Social engineering: tricking people into giving away information or access.
Worked example
A forged login message may direct a user to a deceptive page that collects their password.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
An attacker impersonates a trusted source to persuade a person to reveal sensitive information or perform an unsafe action.
Check your method, units and explanation against it.
Marked practice
Set 1 of 6 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.