Cambridge IGCSE · Topic 5.3
IGCSE Computer Science 0478 / Topic 5 / IGCSE

Know your attacker.

Some attacks target computers: guessing passwords, flooding servers, planting malware. Others target people: a convincing email or a friendly phone call. For each threat you need to describe how it is carried out and what the attacker is trying to achieve.

The key idea

A cyber security threat is any attempt to damage, steal or gain unauthorised access to data or computer systems. For every threat, an exam answer needs the process (how the attack is carried out) and the aim (what the attacker wants). Some threats attack the technology: brute-force attacks, data interception, DDoS attacks, hacking and malware. Others attack people or redirect them: phishing, pharming and social engineering.

a distributed denial of service (DDoS) attack botbotbotbot web server real user × a botnet floods the server with requests
Fig. 1: in a DDoS attack, many infected computers flood one server so real users cannot get through
Section 01

Getting in.

These three threats are about getting at data without permission. In the lab, pick each threat to see how it works, then try the password tester to see how fast a brute-force attack cracks short passwords.

ThreatProcessAim
Brute-force attackSoftware tries every possible combination of characters (or a list of common passwords) until the right password is foundTo find a password and gain access to an account or system
Data interceptionData is captured as it is transmitted, e.g. a packet sniffer reads packets on a network, or a hacker picks up an unsecured wireless signalTo steal data such as passwords, card numbers or personal details
HackingGaining unauthorised access to a computer system, often by exploiting weaknesses in its securityTo steal, delete, change or corrupt data, or to damage the system
Worked example Brute-force arithmetic
A password is 6 lowercase letters. Software tries 1 million passwords a second. What is the longest a brute-force attack could take?
  1. Each position has 26 possibilities, so there are 266 = 308 915 776 combinations.
  2. At 1 000 000 guesses a second: 308 915 776 ÷ 1 000 000 ≈ 309 seconds.
  3. 309 seconds is about 5 minutes.
Answer: About 5 minutes. Adding the digits 0 to 9 gives 366 = 2 176 782 336 combinations, about 36 minutes; longer passwords grow much faster.
Examiner trap

"Hacking is when someone gets your data" is too vague. Say unauthorised access to a computer system, and give an aim such as stealing or deleting data.

Section 02

Flooding and malware.

A DDoS attack stops a service working; malware is software written to cause harm. The syllabus names six types of malware, and you must be able to tell them apart.

MalwareProcessAim
VirusAttaches itself to another program or file; replicates when the infected file is runTo delete or corrupt files, or make the computer malfunction
WormA standalone program that replicates itself and spreads across a network on its own, with no user actionTo spread to as many computers as possible, using up bandwidth and often carrying other malware
Trojan horseDisguised as useful, legitimate software; once installed it runs harmful code, often opening a backdoorTo install other malware or give the attacker access to the computer
SpywareSecretly monitors the user's activity, e.g. logs keystrokes, and sends the data to a third partyTo steal passwords, bank details and other personal data
AdwareFloods the user with unwanted adverts and pop-ups, and may redirect the browser to advertising sitesTo make money from adverts; can also slow the computer
RansomwareEncrypts the user's files so they cannot be opened, then displays a demand for paymentTo extort money in exchange for the decryption key
Examiner trap

A virus needs a host file and is spread when that file is run; a worm is standalone and spreads itself across networks. Do not use "virus" as the word for all malware.

Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What is a brute-force attack?

Quick check+10 XP

In the lab's password tester, what happens to the cracking time as the password gets longer?

Quick check+10 XP

Which malware replicates itself across a network without any user action?

Quick check+10 XP

Which threat redirects a user to a fake website even when they type the correct URL?

Section 03

Tricking people.

These attacks aim at the user rather than the hardware. The lab's phishing email lets you practise spotting the warning signs.

ThreatProcessAim
PhishingThe attacker sends an email or message that appears to come from a trusted organisation, with a link to a fake website where the user is asked to enter detailsTo steal personal data such as login details or bank details
PharmingMalicious code installed on the user's computer, or on a DNS server, redirects the user to a fake website even when they type the correct URLTo steal personal data entered into the fake website
Social engineeringManipulating people into breaking normal security procedures, e.g. a phone call pretending to be IT support, or leaving an infected USB stick for someone to plug inTo obtain confidential information or get access to a system
Examiner trap

Phishing needs the user to click a link in a message. Pharming needs no click: the user types the right address and is still redirected by malicious code.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 1 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

What is the main aim of a DDoS attack?

Exam style+20 XP

Which malware is disguised as legitimate software?

Exam style+20 XP

A user receives an email that appears to be from their bank, asking them to click a link and confirm their password. What is this?

Exam style+20 XP

Which malware records a user's keystrokes and sends them to a third party?

Skill unlocked

Cyber security threats, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
The process and aim of brute-force attacks, data interception, DDoS, hacking, six types of malware, phishing, pharming and social engineering.