Syllabus coverage
- Describe the processes involved in, and the aim of carrying out, a range of cyber security threats: brute-force attack, data interception, distributed denial of service (DDoS) attack, hacking, malware (virus, worm, Trojan horse, spyware, adware, ransomware), pharming, phishing and social engineering
- Explain how access levels and authentication, including a username and password, biometrics and two-step verification, help keep data safe
- Explain how anti-malware, including anti-virus and anti-spyware, and automating software updates help keep data safe
- Explain how firewalls, proxy servers and the secure socket layer (SSL) security protocol help keep data safe
- Explain how privacy settings, checking the spelling and tone of communications and checking the URL attached to a link help keep data safe
Part of the O Level Computer Science syllabus 2210.
What a cyber security threat is
A cyber security threat is any attempt to get at data or a system without permission, to damage what is there, or to stop it working for the people who need it. Three different aims sit behind that one sentence: confidentiality, keeping data from being read by the wrong people; integrity, keeping it correct and unaltered; and availability, keeping the service reachable when it is wanted.
Naming the aim matters because it decides the defence. An attack on confidentiality, such as spyware or data interception, is answered by encryption and by detecting the software. An attack on availability, such as a DDoS attack, is answered by filtering traffic. An attack on integrity, such as ransomware encrypting files, is answered by backups and by stopping the software from running at all.
The threats split into two families. Some attack the technology: they exploit a weakness in software, a password or a network. Others attack the person: they persuade somebody to hand over access or to click something they should not. The technical defences do nothing against the second family, which is why the syllabus spends as much time on checking messages as it does on firewalls.
Hacking, brute force and data interception
Hacking is gaining unauthorised access to a computer system. The aim is usually to steal data, to alter it, or to take control of the system so that it can be used for something else, such as sending spam or hosting illegal material. A hacker may get in through a weakness in unpatched software, through a password that was guessed or leaked, or through a misconfigured service left open to the internet.
A brute-force attack is a way of getting past a password rather than around it. Software tries every possible combination of characters in turn until the correct one is found, or works through a list of likely passwords and common substitutions. The aim is access to an account or system. It succeeds because people choose short passwords and words from a dictionary; length and a mix of character types make the number of combinations so large that the attack becomes impractical.
Data interception is capturing data while it is travelling. The attacker does not need to break into the server at all: they place themselves on the route, whether by tapping a cable, intercepting a wireless signal, or sitting between the user and the network. The aim is to read or steal whatever passes, such as login details, card numbers or messages. It is the reason traffic on a public wireless network should be treated as readable, and the reason HTTPS exists.
These three often work together. Data interception yields a password, the password gives access, and the access allows data to be taken without anyone noticing that a break-in occurred.
| Threat | Process | Aim |
|---|---|---|
| Hacking | Gaining unauthorised access, often through unpatched software, a weak or leaked password, or an exposed service | To steal or alter data, or to take control of the system |
| Brute-force attack | Trying every possible combination of characters, or a list of likely passwords, until one works | To gain access to an account or system |
| Data interception | Capturing data in transit by tapping a cable, intercepting a wireless signal or sitting on the route | To read or steal the data being transmitted |
Distributed denial of service
A distributed denial of service (DDoS) attack aims to make a service unavailable. The attacker first builds a collection of compromised computers, often ordinary home machines and servers infected with malware without their owners' knowledge. These are then instructed, all at the same moment, to send requests to one target.
The target is overwhelmed. Its network connection, its processing time or its memory is consumed by the flood of requests, so it has nothing left for genuine users. The site slows to a crawl or stops answering, and customers cannot buy, students cannot log in and staff cannot work. The requests are often crafted to look like ordinary traffic, which makes them hard to filter without also blocking real visitors.
Two things distinguish a DDoS attack from the other threats. First, the aim is availability rather than data: nothing needs to be stolen for the attack to succeed, and the attacker often gains nothing directly. Second, the attack comes from many sources at once, which is what the word distributed means; blocking a single address does almost nothing. Motives range from extortion to damaging a rival, and sometimes simply to demonstrate that it can be done.
- Many compromised computers are used together, which is what makes the attack distributed.
- They all send requests to the same target at the same time.
- The target's bandwidth, processing capacity or memory is exhausted.
- Genuine users cannot reach the service: the aim is unavailability, not theft.
- Defences include filtering traffic and placing proxy servers or content distribution in front of the service.
Malware and its named types
Malware is software written to cause harm: to damage a system, to steal from it or to give an attacker control of it. It usually arrives attached to something the user opens, such as an email attachment, a downloaded program or a link to a malicious site. The syllabus names six types, and each behaves differently enough to be worth a mark of its own.
A virus attaches itself to a file or a program and can only run when that host is opened or executed, so it needs both a host and, usually, an action by the user. It spreads as the infected file is copied or shared, and it may corrupt or delete data. A worm needs neither a host nor a user: it is a standalone program that copies itself and travels across a network by itself, exploiting weaknesses in services that are reachable, which is why a worm can spread through an organisation in minutes and consume so much bandwidth that the network slows down.
A Trojan horse disguises itself as something useful or legitimate, so the user installs it deliberately, believing it is a game, a utility or an update. Once running, it opens a way in for the attacker or carries out whatever it was built to do. Spyware runs quietly and records behaviour: keystrokes, screenshots, the sites visited, the credentials typed. It sends what it collects back to the attacker, and its aim is information rather than disruption.
Adware displays unwanted advertising, often by changing the browser's home page or injecting adverts into pages, and it may track browsing in order to target them; its aim is advertising income. Ransomware encrypts the victim's files and demands payment for the key that would decrypt them, which attacks availability and integrity at once, and it is the type most likely to stop an organisation completely.
| Type | How it works | Aim |
|---|---|---|
| Virus | Attaches to a file or program and runs when the host is opened or executed; spreads as the infected file is shared | To corrupt or delete data and spread to other machines |
| Worm | A standalone program that copies itself and spreads across a network by itself, with no host file and no user action | To spread, and often to consume bandwidth and processing power until the network slows |
| Trojan horse | Presents itself as a legitimate or useful program, so the user installs it, then carries out hidden malicious actions | To open a way in for the attacker or to take control of the machine |
| Spyware | Runs secretly, recording keystrokes, screenshots and activity, and sends the results to the attacker | To gather confidential information without being noticed |
| Adware | Displays unwanted adverts, often by altering the browser or injecting adverts into pages, and may track browsing | To generate advertising income, and sometimes to collect data |
| Ransomware | Encrypts the victim's files and demands payment for the decryption key | To extort money by making the data unusable |
Threats aimed at the person
Phishing is a message, usually email but sometimes a text or a direct message, that pretends to come from an organisation the recipient trusts: a bank, a delivery company, a workplace IT department. It gives a reason to act quickly, a problem with an account or a parcel that cannot be delivered, and a link to a page that copies the real login screen. The aim is to get the recipient to type a password, a card number or a one-time code into the fake page, or to open an attachment that installs malware. It is sent to many people at once because only a few need to believe it.
Pharming does not need the user to click anything. The attacker interferes with the name-to-address lookup so that a correct domain name resolves to a fake server, either by altering the hosts file on the victim's machine or by poisoning the DNS so that many users are sent to the same imitation. The user types the right address, sees the padlock if the attacker has obtained a certificate for a similar name, and lands on a page that is not the real one. The aim is the same as phishing, credentials or card details, but the technique is technical rather than persuasive.
Social engineering is the direct approach: manipulating a person into giving information or access by gaining their trust. Someone telephones the finance office as the IT department and asks for a password to fix an urgent problem, or holds a door open for a stranger carrying boxes because it would be rude not to. The aim is to bypass the technology entirely by getting an authorised person to hand over what the attacker needs. It is the cheapest attack available, because no software has to be written and no weakness has to be found.
All three exploit the same fact: it is easier to persuade a person than to break a system. That is why the defences in the last section include habits rather than only software.
| How the user is reached | Aim | |
|---|---|---|
| Phishing | A message imitating a trusted organisation, asking the user to click a link or open an attachment | Credentials, card details or malware installed by the user |
| Pharming | The name-to-address lookup is interfered with, so the correct address leads to a fake site | The same data as phishing, obtained without the user clicking a link |
| Social engineering | Direct contact that builds trust and asks for information or access | Confidential information or physical or system access |
Solutions 1: controlling who gets in
Access levels decide what each account is allowed to do. A student account can read its own work but not change other people's marks; a teacher account can enter marks for their classes; an administrator account can manage users. The point is that a compromised account exposes only what that role needed, so one stolen password does not hand over the whole system. Giving every user full rights 'because it is simpler' removes the protection entirely.
Authentication checks that a user is who they claim to be, and it comes in three broad forms. Something the user knows, such as a username and password. Something the user is, such as a fingerprint or a recognised face, which is biometrics; it cannot be written on a note and cannot be guessed, though it cannot be changed if it is copied. Something the user has, such as a code generated on a phone.
Two-step verification combines two of those. The password is the first step and a code sent to the user's phone is the second, so a password that has been phished, guessed by brute force or reused from another site is not enough on its own. That is precisely the attack it defeats: the attacker has the password and still cannot log in.
Passwords themselves should be long, should mix character types so a brute-force attack has far more combinations to try, and should not be reused across sites, because a breach at one service then exposes accounts everywhere the same password was used.
- Access levels give each user only the permissions their role needs, limiting the damage a compromised account can do.
- Authentication can use something known (password), something inherent (biometrics) or something held (a device or code).
- Two-step verification requires two different kinds of evidence, so a stolen password alone fails.
- Long, varied and unreused passwords make brute force and credential reuse far harder.
Solutions 2: protecting the system and the traffic
Anti-malware software, including anti-virus and anti-spyware, scans files, memory and downloads for the patterns of known malicious software and removes or quarantines what it finds. It also watches running programs for behaviour that looks wrong, such as a document trying to encrypt a folder. It is only as good as its definitions, which is why regular updates are part of using it properly rather than an optional extra.
Automating software updates closes the weaknesses that malware and hackers rely on. When a vulnerability is published, an attacker can use it against every unpatched machine, and the update is the fix. Automating the process means machines are patched without waiting for a user to notice a prompt and postpone it, which is exactly the prompt most people postpone.
A firewall sits between a network or computer and the outside world and examines the traffic passing through it against a set of rules. It can allow the services that are needed and block the rest, and it can stop a machine inside the network from making unexpected connections out. It is a filter, not a cure: it cannot remove malware that is already inside, and it cannot stop a user from typing a password into a convincing fake site.
A proxy server stands between users and the internet, so requests go to the proxy and the proxy makes them on the users' behalf. That hides the internal addresses of the machines behind it, logs what is requested, and allows unsuitable or known-malicious sites to be blocked centrally rather than on every machine. The secure socket layer (SSL) security protocol encrypts the connection between a browser and a server, so data intercepted in transit is unreadable; it is what turns HTTP into HTTPS and is the direct answer to data interception.
| Solution | How it protects data | Threat it mainly answers |
|---|---|---|
| Anti-malware, including anti-virus and anti-spyware | Scans files and running programs for known patterns and suspicious behaviour, then removes or quarantines what it finds | Virus, worm, Trojan horse, spyware, adware, ransomware |
| Automating software updates | Installs patches without depending on the user, closing known vulnerabilities | Worms and hacking that exploit unpatched software |
| Firewall | Filters the traffic entering and leaving against rules, allowing only what is required | Hacking, worms spreading across a network, unwanted incoming connections |
| Proxy server | Makes requests on the user's behalf, hides internal addresses, logs and blocks sites centrally | Data interception, and access to malicious sites |
| SSL security protocol | Encrypts the connection between browser and server so intercepted traffic is unreadable | Data interception, phishing on a fake page that cannot present a valid certificate |
Solutions 3: the user's part
Checking the spelling and tone of communications is a defence anyone can apply without software. Phishing messages and fake invoices are frequently translated badly or assembled from a template: wrong spellings, odd punctuation, a greeting that is too formal or too familiar, and a sudden urgency that a real organisation would not use. A message that claims to be from a bank but is full of errors is not from the bank. The same check applies to a phone call: a genuine IT department does not ask for your password.
Checking the URL attached to a link matters because the words displayed for a link need not match where it goes. A link reading `www.mybank.example/login` can be pointed at an entirely different address, and on a phone the true address is often hidden until the link is pressed and held. Hovering over the link, or reading the address bar after arriving, reveals the real domain, and a near-miss spelling such as a doubled letter or a different ending is the giveaway. This is the specific defence against phishing and against a pharming page reached by a link.
Privacy settings control what a user shares and with whom: who can see a profile, whether a phone number is public, whether an account can be found by search. The defence is indirect but real, because social engineering and phishing both begin with information. An attacker who cannot see an employer, a birthday or a list of contacts has far less to work with when constructing a believable message.
None of these solutions is sufficient alone. A firewall does not stop a password being typed into a fake page, and a careful user does not stop a worm exploiting an unpatched server. Data is kept safe by layers, each one covering a different route in, which is why exam answers that list a single defence for a whole system rarely reach full marks.
- Check the spelling, grammar and tone of any message that asks for information or action; errors and urgency are warning signs.
- Check the actual URL behind a link before clicking, and read the address bar after arriving.
- Use privacy settings to limit what is publicly visible, which gives an attacker less to work with.
- Layer the defences: access control, anti-malware, patching, filtering, encryption and user habits together.
Key terms you must be able to define
- Cyber security
- The practice of protecting systems, networks and data from threats to their confidentiality, integrity and availability.
- Hacking
- Gaining unauthorised access to a computer system, usually to steal or alter data or to take control of it.
- Brute-force attack
- An attempt to find a password by trying every possible combination of characters, or a list of likely ones, until one works.
- Data interception
- Capturing data while it is being transmitted, for example by tapping a cable or intercepting a wireless signal, in order to read or steal it.
- Distributed denial of service (DDoS) attack
- Flooding a service with requests from a large number of compromised computers at the same time, so that genuine users cannot reach it; the aim is to make it unavailable.
- Malware
- Software written to damage a system, steal from it or give an attacker control. The named types are virus, worm, Trojan horse, spyware, adware and ransomware.
- Virus
- Malware that attaches to a file or program and runs when that host is opened or executed, spreading as the infected file is shared.
- Worm
- A standalone program that copies itself and spreads across a network by itself, with no host file and no action by the user.
- Trojan horse
- A program that appears legitimate or useful so that the user installs it, then carries out hidden malicious actions such as opening access for an attacker.
- Spyware
- Software that runs secretly, recording keystrokes, screenshots or browsing and sending the information to the attacker.
- Adware
- Software that displays unwanted advertisements, often by altering the browser, and may also track the user.
- Ransomware
- Malware that encrypts the victim's files and demands payment for the key needed to decrypt them.
- Phishing
- Sending a message that imitates a trusted organisation and asks the recipient to click a link, open an attachment or enter details on a fake page, in order to obtain credentials or install malware.
- Pharming
- Interfering with the name-to-address lookup so that a correct domain name leads to a fake server, without the user being asked to click anything.
- Social engineering
- Manipulating a person into giving out confidential information or access by gaining their trust, for example by pretending to be from an IT department.
- Access levels
- The permissions assigned to each account, so that a user can only read or change what their role requires.
- Authentication
- Checking that a user is who they claim to be, using something they know, something they are, or something they hold.
- Biometrics
- Authentication using a physical characteristic such as a fingerprint or a recognised face.
- Two-step verification
- Authentication requiring two different kinds of evidence, such as a password plus a code sent to the user's phone, so a stolen password alone is not enough.
- Anti-malware
- Software, including anti-virus and anti-spyware, that scans for malicious software and suspicious behaviour and removes or quarantines what it finds.
- Firewall
- Hardware or software that examines the traffic entering and leaving a network or computer against a set of rules and blocks what is not permitted.
- Proxy server
- A server that makes requests on behalf of users, hiding their internal addresses and allowing requests to be logged and filtered centrally.
- Secure socket layer (SSL)
- A security protocol that encrypts the connection between a browser and a server, so data intercepted in transit cannot be read.
- Privacy settings
- Controls that decide what a user shares and who can see it, limiting the personal information an attacker can gather.
In context
2210 sets its questions inside systems a student already uses - a school network, a phone, a supermarket till, a vending machine, a website. These show how the theory is applied to a context you have not seen before, then you answer for the system you are given.
Teachers can enter marks for their own classes and read the records of students they teach; the office can update contact details; only the network manager can create accounts. That is access levels at work. Staff log in with a username and password, and the manager's account also needs a code from a phone, so a phished password does not open the records. Anti-malware runs on every machine and updates itself overnight, and a firewall blocks connections from outside the school network to the records server.
A message arrives claiming a parcel is held and asking for a small redelivery fee. The logo is right; the grammar is not, and the sender's address is a misspelling of the courier's domain. Hovering over the button shows a URL on a completely different site. Two checks, one on the spelling and tone and one on the URL behind the link, are enough to identify it as phishing, and no software was needed to do it.
Requests arrive from thousands of addresses at once and the shop's server stops answering. Nothing has been stolen; the site is simply unavailable, which is the aim of a DDoS attack. A proxy server and filtering in front of the site absorb and discard much of the flood, so the web server keeps serving real customers, and the firewall rules are tightened to drop the traffic pattern rather than individual addresses.
A student logs in to a revision site from a cafe. On plain HTTP the password crosses the wireless network as readable text, and anyone listening on the same network can capture it; that is data interception. Because the site uses SSL, the traffic is encrypted, so what is captured is useless. The lesson generalises: on a network you do not control, assume anything unencrypted can be read.
Someone rings claiming to be from IT support and asks for the payments password to fix an urgent fault. There is no software weakness involved and no link to click: this is social engineering, and the defence is a rule that credentials are never given over the phone, plus a callback to a number the office already holds rather than one the caller provides.
Flashcards
Click a card to flip it. Mark honestly — the tracker uses this.
Exam-style questions
6 questions, 22 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Mark scheme — tick each point you actually made
Exam technique for this topic
- Learn each threat as a pair: the process and the aim. Mark schemes usually award them separately, so 'a DDoS attack floods a server' earns half of what 'floods a server with requests from many compromised computers so genuine users cannot reach it' earns.
- Use the syllabus names exactly. Writing 'a hacker virus' or 'a phishing virus' blurs two different threats and loses the identification mark before the description begins.
- For malware, learn the spreading mechanism first: virus needs a host and a user, worm needs neither, Trojan is installed by the user because it looks useful. Then add the aim for each.
- For solutions, always finish the sentence with what is prevented. A firewall filters traffic against rules so unauthorised connections are blocked; anti-malware detects and removes malicious software so it cannot run.
- Two-step verification is the answer to a stolen password, so say that explicitly. Access levels are the answer to the damage a compromised account could do, which is a different point and often worth its own mark.
Why students lose marks here
Where this fits in O Level Computer Science 2210
This page is one topic of Cambridge O Level Computer Science 2210. O Level Computer Science 2210 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Computer Science 2210 syllabus page.