O Level Computer Science 2210 · Area 1 · Computer systems

Cyber security threats and solutions

This page covers the threats the syllabus names, how each one actually works and what the attacker is trying to achieve, then the solutions that answer them, from access levels and authentication to firewalls, proxy servers and SSL. Marks are lost by describing what an attack is without saying what it is for, and by listing a defence without explaining what it prevents. Every threat here is matched to at least one solution, so learn them in pairs.

Not started

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.

Threats, and what answers themA solution is only worth a mark when it is matched to the threat the question names.ThreatSolution that answers itphishingcheck the URL, never follow a link in an emailpharmingHTTPS and certificatesbrute-force attackstrong passwords and two-step verificationDDoSa proxy server and a firewallmalwareanti-malware software, kept updatedunauthorised accessuser access levels and authentication
A two-column table of cyber security threats on the left and the solutions that answer each one on the right: phishing, pharming and social engineering met by checking messages, links and privacy settings; brute force and hacking met by strong authentication, two-step verification and access levels; malware met by anti-malware and automated updates; data interception met by SSL; and DDoS met by firewalls and proxy servers.

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.

For every threat, write two things: the process, meaning how it is carried out, and the aim, meaning what the attacker gets from it. Most mark schemes award those separately.

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.

ThreatProcessAim
HackingGaining unauthorised access, often through unpatched software, a weak or leaked password, or an exposed serviceTo steal or alter data, or to take control of the system
Brute-force attackTrying every possible combination of characters, or a list of likely passwords, until one worksTo gain access to an account or system
Data interceptionCapturing data in transit by tapping a cable, intercepting a wireless signal or sitting on the routeTo read or steal the data being transmitted
Brute force targets the password, data interception targets the traffic, hacking is the general term for unauthorised access. Keep the three separate in an answer.

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.
Do not answer that a DDoS attack steals data. It denies access. If data is taken, that is hacking or data interception.

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.

TypeHow it worksAim
VirusAttaches to a file or program and runs when the host is opened or executed; spreads as the infected file is sharedTo corrupt or delete data and spread to other machines
WormA standalone program that copies itself and spreads across a network by itself, with no host file and no user actionTo spread, and often to consume bandwidth and processing power until the network slows
Trojan horsePresents itself as a legitimate or useful program, so the user installs it, then carries out hidden malicious actionsTo open a way in for the attacker or to take control of the machine
SpywareRuns secretly, recording keystrokes, screenshots and activity, and sends the results to the attackerTo gather confidential information without being noticed
AdwareDisplays unwanted adverts, often by altering the browser or injecting adverts into pages, and may track browsingTo generate advertising income, and sometimes to collect data
RansomwareEncrypts the victim's files and demands payment for the decryption keyTo extort money by making the data unusable
Separate them by how they spread: a virus needs a host and a user, a worm needs neither, a Trojan is installed willingly because it looks useful. Then give each one's aim.

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 reachedAim
PhishingA message imitating a trusted organisation, asking the user to click a link or open an attachmentCredentials, card details or malware installed by the user
PharmingThe name-to-address lookup is interfered with, so the correct address leads to a fake siteThe same data as phishing, obtained without the user clicking a link
Social engineeringDirect contact that builds trust and asks for information or accessConfidential information or physical or system access
The difference in one line: phishing asks you to click, pharming redirects you without asking, social engineering talks you into it.

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.
Access levels limit what a logged-in user can reach; authentication controls whether they get in at all. A question can ask for either, so keep the two ideas apart.

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.

SolutionHow it protects dataThreat it mainly answers
Anti-malware, including anti-virus and anti-spywareScans files and running programs for known patterns and suspicious behaviour, then removes or quarantines what it findsVirus, worm, Trojan horse, spyware, adware, ransomware
Automating software updatesInstalls patches without depending on the user, closing known vulnerabilitiesWorms and hacking that exploit unpatched software
FirewallFilters the traffic entering and leaving against rules, allowing only what is requiredHacking, worms spreading across a network, unwanted incoming connections
Proxy serverMakes requests on the user's behalf, hides internal addresses, logs and blocks sites centrallyData interception, and access to malicious sites
SSL security protocolEncrypts the connection between browser and server so intercepted traffic is unreadableData interception, phishing on a fake page that cannot present a valid certificate
Match the defence to the threat in the same sentence. 'A firewall is used' earns little; 'the firewall filters incoming traffic against rules, so unauthorised connections to the server are blocked' earns the mark.

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.
The two habits cost nothing and answer the threats that no firewall can see: check the message, and check the link.

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.

A school's student records

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.

An email about a parcel

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.

A shop's website during a busy weekend

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 laptop on public wireless

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.

A call to the finance office

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.

Q1What is hacking?
Gaining unauthorised access to a computer system, usually to steal or alter data or to take control of it.
Q2How does a brute-force attack work and what is its aim?
It tries every possible combination of characters, or a list of likely passwords, until one is found. The aim is access to an account or system.
Q3What is 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.
Q4How does a DDoS attack work and what is its aim?
Many compromised computers send requests to one server at the same time, exhausting its capacity. The aim is to make the service unavailable to genuine users.
Q5How do a virus and a worm differ?
A virus attaches to a file or program and runs when that host is opened, needing a user action. A worm is standalone, copies itself and spreads across a network without a host or any user action.
Q6What is a Trojan horse?
A program that appears legitimate or useful so the user installs it, then performs hidden malicious actions such as opening access for an attacker.
Q7What is the difference between spyware and adware?
Spyware secretly records activity and sends the information to the attacker. Adware displays unwanted advertisements and may also track browsing.
Q8What does ransomware do?
It encrypts the victim's files and demands payment for the key needed to decrypt them.
Q9What is the difference between phishing and pharming?
Phishing sends a message that persuades the user to click a link or enter details on a fake page. Pharming alters the name-to-address lookup so the correct address leads to a fake site without the user clicking anything.
Q10What is 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.
Q11How do access levels and authentication differ?
Authentication decides whether a user gets in. Access levels decide what that user is allowed to read or change once inside.
Q12What is two-step verification and which threat does it answer?
Authentication requiring two different kinds of evidence, such as a password plus a code sent to a phone. It answers a stolen or phished password, because the password alone is not enough.
Q13What does a firewall do?
It examines the traffic entering and leaving a network or computer against rules and blocks connections that are not permitted.
Q14What does a proxy server do?
It makes requests on users' behalf, hiding their internal addresses and allowing requests to be logged and unsuitable or malicious sites to be blocked centrally.
Q15What does the SSL security protocol protect against?
Data interception: it encrypts the connection between browser and server, so captured traffic cannot be read.
Q16Why check the spelling and tone of a message?
Phishing messages often contain errors, odd phrasing or false urgency. Checking them is a defence that needs no software and catches messages that imitate a trusted organisation.
0 of 16 marked as known

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.

DefineAO11 mark
Define what is meant by a distributed denial of service (DDoS) attack.

Mark scheme — tick each point you actually made

Examiner tip: One sentence, but it needs three elements: many computers, simultaneous requests, and genuine users unable to reach the service.
StateAO12 marks
State two differences between a virus and a worm.

Mark scheme — tick each point you actually made

Examiner tip: Answer in pairs, one feature for each type in the same sentence. Describing only the virus leaves the comparison half finished.
DescribeAO14 marks
Describe the processes involved in, and the aim of, a brute-force attack and a phishing attack.

Mark scheme — tick each point you actually made

Examiner tip: Two marks per threat: process, then aim. Answers that give four facts about how phishing looks but never say what the attacker wants lose half the marks.
ExplainAO24 marks
A company stores customer records on a network. Explain how access levels and two-step verification together help keep these records safe.

Mark scheme — tick each point you actually made

Examiner tip: Explain each solution separately, then say what the pair achieves. Both parts need a consequence, not just a description.
ExplainAO25 marks
A student receives an email claiming to be from their bank and asking them to confirm their account details through a link. Explain three ways the student could recognise that this is a phishing attempt.

Mark scheme — tick each point you actually made

Examiner tip: Take the checks in a sensible order: the message itself, then the link, then what is being asked for. Each point needs the sign and why it is suspicious.
EvaluateAO36 marks
A small business is choosing how to protect its data. It can afford either anti-malware software with automated updates, or a firewall and proxy server. Evaluate both options and suggest which the business should choose.

Mark scheme — tick each point you actually made

Examiner tip: Evaluate both options on what each does and what it misses, then commit to one with a reason tied to this business. A balanced list with no decision cannot reach the top mark.

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

A student wroteA student wrote: 'A DDoS attack is when a hacker steals data from a website by flooding it with requests.'
Why it loses marksFlooding is right, stealing is wrong. A DDoS attack targets availability: the attacker wants the service to stop working for everybody else. Data theft is the aim of hacking, spyware or data interception, and mixing the two loses the aim mark.
The answer that scoresIn a distributed denial of service attack, a large number of compromised computers send requests to the same server at the same time, consuming its bandwidth and processing capacity so that genuine users cannot reach it. The aim is to make the service unavailable, not to obtain data from it.
A student wroteA student wrote: 'Phishing and pharming are the same thing, because both send you to a fake website.'
Why it loses marksBoth can end at a fake site, but the route is different, and the difference is what the question tests. Phishing relies on a message that persuades the user to click; pharming interferes with the lookup that turns a domain name into an IP address, so the user can type the correct address and still arrive at the fake site.
The answer that scoresPhishing is a message imitating a trusted organisation that persuades the recipient to click a link or enter details on a fake page. Pharming is a technical redirection: the name-to-address lookup is altered, for example through a hosts file or a poisoned DNS, so the correct domain name resolves to the attacker's server without any message being sent.
A student wroteA student wrote: 'A virus spreads across a network by itself, while a worm needs a file to be opened.'
Why it loses marksThe two have been swapped. Independence is the worm's defining feature; dependence on a host and on a user action is the virus's. This is the single most common mix-up in the malware list.
The answer that scoresA virus attaches itself to a file or program and can only run when that host is opened or executed, so it needs a host and usually an action by the user. A worm is a standalone program that copies itself and spreads across a network by itself, without a host file and without the user doing anything.
A student wroteA student wrote: 'Two-step verification means using two passwords.'
Why it loses marksTwo passwords are still one kind of evidence, something the user knows, and a phished or reused password can supply both. Two-step verification requires two different kinds, such as a password plus a code sent to a phone, so compromising one is not enough.
The answer that scoresTwo-step verification requires two different kinds of evidence: something the user knows, such as a password, together with something the user has, such as a code sent to their phone, or something they are, such as a fingerprint. A password that has been phished or guessed is therefore useless on its own.
A student wroteA student wrote: 'A firewall stops viruses from getting into the computer.'
Why it loses marksA firewall filters network traffic by rules; it does not inspect files for malicious code. Malware can arrive in an email attachment, on a USB stick or in a download over an allowed connection, all of which pass through a firewall unchallenged.
The answer that scoresA firewall examines the traffic entering and leaving a network or computer against a set of rules and blocks connections that are not permitted, which helps against hacking and against worms spreading between machines. Removing malicious software that is already present, or arriving inside allowed traffic, is the job of anti-malware software.
A student wroteA student wrote: 'Access levels stop people from logging in.'
Why it loses marksAccess levels do not control whether somebody can log in; authentication does. Access levels control what a user is allowed to do once they are in, which limits the damage if an account is compromised.
The answer that scoresAccess levels set the permissions for each account, so a user can only read or change the files and settings their role needs. Authentication decides whether the user gets in at all. Using both means an attacker who obtains one password reaches only the small part of the system that account was permitted to use.

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.