Library Computer Science 0478 Cyber Security
O Level · Computer Science 0478

Cyber Security

Revise Cyber Security for Computer Science 0478 (O Level) — revision notes and instant AI marking. Free to start.

📖 Revision notes · preview
Cambridge IGCSE · Computer Science

Cyber Security

The big idea: attackers look for the weakest point in a system — often a person, not a computer — so cyber security is really about layering defences (technical + human) so that no single mistake gives an attacker everything.

Chapter Summary

  • Eight main threats: brute-force, data interception, DDoS, hacking, malware, pharming, phishing, social engineering.
  • Malware has six flavours — virus, worm, trojan, spyware, adware, ransomware — each doing damage a slightly different way.
  • Defence comes in layers: access levels, anti-malware, authentication (passwords/CAPTCHA/biometrics), automatic updates, firewalls, proxy servers, SSL, and privacy settings.
  • Humans are frequently "the weak point" — social engineering exploits trust, not code.
  • Checking URLs and communication tone are simple, low-tech ways to catch phishing/pharming.

1. Cyber Security Threats

Brute-Force Attack

Imagine someone has a padlock with a 4-digit code, and you don't know the combination. The dumbest — but sometimes effective — way to open it is to just try every single combination: 0000, 0001, 0002... all the way to 9999. That's a brute-force attack: an attacker automates guessing, trying huge numbers of password combinations per second until one works.

A smarter cousin of this is the dictionary attack. Instead of trying every possible combination, it only tries words and phrases people actually use as passwords — password, 1234, qwerty. Because so many real people pick predictable passwords, this shortcut cracks accounts far faster than a pure brute-force search.

Why this matters The longer and more random a password is, the more combinations exist, and the longer a brute-force attack takes. A 4-digit PIN has only 10,000 combinations (fast to crack); a long password with upper/lowercase, numbers and symbols has billions+ (impractically slow to crack).
Q: Why is "P@ssw0rd123" still a weak password even though it contains symbols and numbers?

Data Interception & Theft

Data travelling across a network is like a postcard, not a sealed envelope — if it isn't encrypted, anyone who can "see" the traffic can read it. A packet sniffer is a tool (hardware or software) that captures data packets moving across a network, letting a thief read usernames, passwords, and other sensitive information as it travels.

This is especially dangerous on public Wi-Fi, where an attacker on the same network can sniff traffic between your device and the router.

DDoS Attack

Picture a small shop with one till. Now imagine a thousand people crowd the entrance at once, not to buy anything, but just to block real customers from getting in. That's a Distributed Denial of Service (DDoS) attack — a server gets flooded with requests from many different devices at once until it can't keep up, and genuine users can't access the service.

The word "Distributed" is key: the flood comes from many devices spread across the internet (often infected computers called bots, controlled remotely without their owners knowing). This makes it very hard to trace the attack back to one person, because the traffic looks like it's coming from thousands of innocent machines.

Effect Server becomes unusable → company loses money, can't operate normally, and suffers reputational damage.
Q: Describe what is meant by a DDoS attack. [4 marks]

Hacking

Hacking is the umbrella term for identifying and exploiting weaknesses in a system to gain unauthorised access. It's not one specific technique — it's the goal (getting in without permission), and hackers use whatever weakness is available: unpatched software, out-of-date anti-malware, weak passwords, and so on.

Once in, the motive varies: stealing data, installing malware, or simply disrupting operations.

Malware — The Six Types

Malware (malicious + software) is any software deliberately created to cause harm. Think of it as a family of six related but distinct threats — the exam loves to test whether you can tell them apart, so focus on the one detail that makes each one unique.

TypeDefining featureWhat it does
VirusNeeds a host file/program to attach to and a user action to spreadReplicates, corrupts/deletes files, stops apps running properly
WormSpreads itself across networks — no user action neededInfects other computers via websites, IM, email, network connections
TrojanDisguises itself as legitimate softwareHides malicious code inside something that looks harmless/useful
SpywareSecretly watches the userRecords screen activity, logs keystrokes to steal passwords
AdwareBombards with advertsLittle/no user control over ads; can redirect clicks to unsafe sites
RansomwareHolds your files hostageEncrypts files, demands payment for the decryption password (no guarantee you get data back!)
Memory trick Virus = needs a host (like a real virus needs a cell). Worm = wriggles across the whole network by itself. Trojan = the Trojan Horse — looks like a gift, hides danger. Spyware = spies on you. Adware = floods you with ads. Ransomware = demands a ransom.
Q: A user downloads a free game. It looks fine, but secretly it installs code that lets an attacker access the user's files later. Which type of malware is this, and why?

Pharming

Pharming is sneakier than phishing because the user doesn't even have to click a suspicious link in the moment — they type a completely normal, correct web address, and still end up on a fake site. How? The attacker has already tampered with the "directory" that translates web addresses into IP addresses (DNS settings), or changed the browser's settings, or planted malware earlier via a link the user clicked.

The pharming chain 1. User clicks a link that secretly downloads malware onto their computer.
2. Later, the user types a normal web address (e.g. their bank).
3. The malware / altered DNS settings redirect the request to a fake look-alike website.
4. User unknowingly types in sensitive info (passwords) on the fake site.
Protecting against pharming Keep anti-malware software up to date • Check URLs regularly • Make sure the padlock icon is visible in the browser.

Phishing

Phishing is "fishing" for victims: fraudulent emails or SMS messages sent to a huge number of people at once, pretending to be from a bank, company, or trusted source, trying to trick the user into clicking a link and handing over login details.

Phishing vs Pharming — don't mix these up Phishing = a fraudulent message tricks you into clicking a bad link.
Pharming = you type the correct address yourself, but get silently redirected to a fake site (via malware/DNS tampering).
Phishing needs you to take the bait; pharming can happen even when you do everything "right."

Social Engineering

Every technical defence in the world is useless if a person can simply be talked into giving away the keys. Social engineering exploits weaknesses in a system by targeting the people who use or have access to it — not the code.

  • Fraudulent phone calls: pretending to be someone else to get account details.
  • Pretexting: a fake message pretending to be from the government or HR, tricking someone into giving out confidential data.

People become "the weak point" through everyday carelessness: not locking server room doors, not logging off unattended devices, sharing passwords, not encrypting data, not keeping software updated.

2. Keeping Data Safe

Access Levels

Not everyone on a network should be able to see or touch everything. Access levels make sure users can only reach what they actually need, based on their role, responsibility, or clearance level.

LevelWhat it allows
Full accessOpen, create, edit & delete files
Read-only accessOpen files only — no editing or deleting
No accessFile is hidden from the user entirely
School network example Administrators → unrestricted (all areas)  |  Teaching staff → partially restricted (all student data, not other staff data)  |  Students → restricted (only their own files)

Anti-Malware

"Anti-malware" isn't one program — it's a combination of software types working together: anti-virus, anti-spam, and anti-spyware. Together they scan email attachments, websites, and downloaded files for problems.

The key mechanism: anti-malware keeps a list of known malware signatures (a bit like a "wanted poster" of known criminals) and blocks anything matching one immediately. That's exactly why it needs to check for updates regularly — new malware appears constantly, and a database of "known criminals" from six months ago won't catch today's threats.

Authentication

Authentication is about proving you are who you say you are — this matters because bots can submit data into online forms just as easily as humans can, so a system needs a way to tell them apart.

  • Usernames and passwords — the classic method.
  • Multi-factor authentication (MFA) — a second proof, e.g. a code sent to your phone.
  • CAPTCHA — a task easy for a human but hard for a bot (e.g. "select all squares with a wind turbine").

Biometrics

Biometrics authenticate using unique physical characteristics — fingerprints, facial recognition, iris scans. These are considered more secure than passwords for very concrete reasons:

Why biometrics beat passwords Cannot be guessed • Very difficult to fake • Cannot be recorded by spyware (unlike keystrokes) • Cannot be "shoulder surfed" (someone watching you type it in)
Q: Explain why a biometric password is harder for an attacker to steal than a typed password, even if the attacker is secretly recording everything the user does on-screen.

Automating Software Updates

Software updates often exist specifically to patch security flaws that attackers already know how to exploit. Automatic updates remove the human "I'll do it later" failure point, ensuring fast deployment as soon as a fix is released — closing the window of vulnerability as quickly as possible.

Communication & URL Checking

Sometimes the best defence isn't technical at all — it's simply reading carefully. Phishing scams tend to give themselves away through:

  • Rushed quality — mass fraudulent messages prioritise quantity over quality, so they often have spelling/grammar errors.
  • Urgency — a panicked or pressuring tone is a classic red flag.
  • Lack of professionalism — genuine companies proofread their communications.

Checking the actual URL behind a link is equally important — hackers register look-alike domains such as http://amaz.on.co.uk/ instead of http://amazon.co.uk/. Always check the real address before clicking.

Firewalls

A firewall is like a security guard standing at the door of a network, checking every piece of traffic (incoming and outgoing) against a rulebook, and only letting through what's legitimate.

Hardware vs Software firewalls Hardware firewall — protects the whole network, prevents unauthorised traffic at the entry point.
Software firewall — protects individual devices, monitoring data going to/from that specific computer. They're often used together for layered protection.

Prevents: hackers, malware, and unauthorised access to the network.

Privacy Settings

Privacy settings control how much personal information is shared online. They're a key defence against identity theft and other online fraud — and they should be reviewed regularly, since default settings often share more than users realise.

Proxy Servers

A proxy server sits between the user and the internet, hiding the user's IP address and location — making it harder for hackers to track them. It can also act as a firewall, filtering web traffic against set criteria and blocking malicious content (with a warning sent to the user), directing threats away from the actual server.

SSL (Secure Socket Layer)

SSL is the security protocol that makes secure online transactions possible — it's why you look for the padlock icon when entering card details. It encrypts data transmitted over the internet, preventing eavesdropping and interception.

How it works, step by step 1. Server sends a digital certificate to the user's browser.
2. The certificate contains a public key, used for authentication.
3. Once the certificate is authenticated, the encrypted transaction begins.
Q: Identify one security solution for each of: computer virus, hacking, spyware (each must be different) — then briefly explain how each works.

What to Memorise

Brute-force attackRepeatedly trying combinations to guess a password/PIN.
Dictionary attackBrute-force using common words/phrases instead of random combos.
Packet snifferDevice/software that collects data travelling across a network.
DDoS attackCoordinated flood of requests from multiple devices (bots) to overwhelm a server.
HackingIdentifying and exploiting weaknesses to gain unauthorised access.
MalwareAny software created with malicious intent — virus, worm, trojan, spyware, adware, ransomware.
PharmingTyping a correct web address, but being redirected to a fake site via DNS/browser tampering.
PhishingFraudulent mass emails/SMS tricking users into revealing details via a bad link.
Social engineeringExploiting people, not code — e.g. fraudulent calls, pretexting.
Access levelsFull / read-only / no access, based on role or clearance.
Anti-malwareAnti-virus + anti-spam + anti-spyware; scans and blocks known malware signatures.
AuthenticationProving identity — passwords, MFA, CAPTCHA.
BiometricsFingerprint/facial/iris ID — can't be guessed, faked, recorded, or shoulder-surfed.
FirewallMonitors & filters incoming/outgoing traffic against rules; hardware (whole network) or software (single device).
Proxy serverHides IP/location, filters traffic, blocks malicious content.
SSLEncrypts internet data using a digital certificate + public key for authentication.

Concepts Checklist

Exam Tips

Common mistake: mixing up phishing and pharming Examiners specifically test this distinction. Phishing = fraudulent message + user clicks a bad link. Pharming = correct URL typed, but redirected via tampered DNS/malware. If a question mentions a fake message being sent, it's phishing; if it mentions DNS settings being changed or a correct address leading somewhere wrong, it's pharming.
Common mistake: confusing virus and worm A virus needs a host file and typically needs a user action (like opening an attachment) to spread. A worm actively spreads itself across a network with no user action required. If the question says it "spreads to other computers on the network," think worm, not virus.
What examiners look for For "describe" questions on threats (like DDoS), mark schemes reward specific technical detail — mention "bots," "multiple/distributed devices," and the resulting effect ("server unable to respond / times out"), not just a vague "it crashes the website."
Common mistake: firewall vs anti-malware A firewall controls what traffic is allowed in/out of a network based on rules — it does NOT scan files for known malware signatures. Anti-malware software scans and removes/quarantines malicious files. Don't mix up their jobs in exam answers — many questions ask you to match a threat to the correct solution.
Two-mark description pattern When asked to "describe how [X] protects the computer," mark schemes usually want: (1) what the mechanism actually does, and (2) the resulting effect/benefit. E.g. Firewall: "monitors traffic in/out" (mechanism) + "blocks traffic that doesn't meet the rules" (effect).
Don't forget the human factor Many mark schemes award marks for social engineering and human error points (not locking doors, sharing passwords, not logging off) even in questions that seem purely "technical." Security is layered — always consider both technical AND human solutions.
Cyber Security — IGCSE Computer Science Revision Guide · Built for offline studying
🔓 Read the full Cyber Security note — free You're seeing the preview · free account, no card needed
Also in the full note
  • Data Interception & Theft
  • Communication & URL Checking
What's inside
📖 Revision notes 🎯 Learn mode ✦ AI flashcards ✓ Instant AI marking 🧊 3D explorers 🧪 Experiments & simulations 📈 Progress tracking
📄 Practise Cyber Security with Computer Science 0478 past papers Every paper with its mark scheme — answer online, marked instantly. Open →

Read the full Cyber Security notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →

More Computer Science topics