← Back to subjects
0
AQA GCSE Computer Science (8525) · Cyber security
Mini-Lesson

Cyber security

This mini-lesson covers AQA 3.6 — Cyber security: the main threats (malware, social engineering, phishing, SQL injection, brute force, denial of service, data interception) and the protection methods used to defend against them (firewalls, encryption, authentication, user access levels, anti-malware and penetration testing).

threats the human weakness protection cyber security = protecting systems and data from attack

Work through each screen, answer the questions as you go (some are wordy, some are quick calculations) and collect ⭐ stars. Press Start when you're ready.

Threats · malware

Malware

Malware (malicious software) is any program written to harm or gain unauthorised access to a computer system. AQA expects you to know the common types:

  • Virus — attaches itself to a file; runs and spreads when that file is opened.
  • Worm — self-replicating malware that spreads across a network on its own, without needing a host file.
  • Trojan — disguised as a legitimate, useful program; once run it lets attackers in.
  • Spyware — secretly records what you do (e.g. keystrokes) and sends it to an attacker.
  • Ransomware — encrypts (locks) your files and demands a payment to unlock them.

Definition to memorise: malware is malicious software designed to damage, disrupt or gain unauthorised access to a computer or its data.

Quick check

Name that threat

?You get a fake email that looks like it's from your bank, asking you to click a link and enter your password. This is an example of...?
Threats · social engineering

Social engineering — the human weakness

Social engineering means manipulating people into giving away information or access, rather than attacking the technology directly. People are often the weakest link in security. Common forms:

  • Phishing — fake emails or messages pretending to be from a trusted source (a bank, a boss) to steal login details or money.
  • Blagging (pretexting) — inventing a convincing scenario (a "pretext") to persuade someone to hand over information, e.g. phoning and pretending to be IT support.
  • Shouldering (shoulder surfing) — watching over someone's shoulder as they type a PIN or password.

Key idea: social engineering attacks the person, not the machine — which is why staff training is a vital defence.

Threats · technical attacks

SQL injection, brute force & denial of service

Beyond malware and social engineering, AQA lists several technical attacks:

  • SQL injection — typing SQL code into a website's input box (like a login field) to attack, read or damage the database behind it.
  • Brute force attack — trying huge numbers of password combinations until one works.
  • Denial of service (DoS / DDoS) — flooding a server with so many requests that it can't respond to legitimate users.
  • Data interception and theft — capturing data as it travels across a network (e.g. on unsecured Wi-Fi).
  • Poor network policy — weak rules (e.g. no password rules, no updates) that leave a system open to attack.
# SQL injection: text typed into a login box ' OR '1'='1' # if unprotected, this can make the query always true

Preventing SQL injection: use input validation and parameterised queries so user input can't be run as SQL commands.

Calculate

Your turn — brute force

1A brute force attack tries every possible PIN. A PIN uses 4 digits, each 0–9. How many possible PINs are there? (That's 10 to the power 4.)
Hint: 10 choices per digit, 4 digits → 10 × 10 × 10 × 10 = 10⁴.
Protection · firewalls

Firewalls

A firewall controls the traffic coming in and out of a network according to a set of rules. It sits between the network and the outside world, blocking anything that doesn't meet the rules.

Internet 🧱firewall Network only traffic that meets the rules is allowed through

Remember: a firewall filters traffic by rules — it does not remove viruses already on a machine (that's anti-malware's job).

Protection · encryption

Encryption

Encryption scrambles data using a key so that anyone who intercepts it sees only meaningless text. Only someone with the correct key can decrypt (unscramble) it back into readable form.

HELLO 🔑key X9%kQ intercepted data is unreadable without the key

Key point: encryption doesn't stop data being intercepted — it makes intercepted data useless to the attacker.

Quick check

What does encryption do?

?How does encryption protect data that is being sent across a network?
Calculate

Your turn — password strength

2A password uses 2 characters, each chosen from the 26 lowercase letters. How many possible passwords are there? (That's 26 squared.)
passwords
Hint: 26 choices for each character, 2 characters → 26 × 26 = 26².
Protection · authentication

Authentication & user access levels

Authentication means confirming that a user really is who they claim to be before granting access. AQA covers several methods:

  • Passwords — kept strong with a password policy (minimum length, mix of letters/numbers/symbols).
  • Biometrics — using a fingerprint, face or iris to confirm identity.
  • Two-factor authentication (2FA) — needing a second proof, e.g. a code texted to your phone as well as your password.
  • User access levels / permissions — giving each user only the access they need, so a low-level account can't reach sensitive data.

Strong passwords: longer passwords with a wider mix of characters have far more combinations, making brute force attacks much slower to succeed.

Quick check

Name the attack

?Entering SQL code into a website's input box to attack or read the database behind it is called...?
Protection · anti-malware & testing

Anti-malware, MAC filtering & penetration testing

More defences AQA expects you to know:

  • Anti-malware software — scans for and removes viruses and other malware, and blocks known threats.
  • MAC address filtering — only lets devices with approved hardware (MAC) addresses join the network.
  • Penetration testing — deliberately testing a system's security (attacking your own system) to find vulnerabilities before real attackers do, so they can be fixed.
your own security team attack the system to find weaknesses fix them before criminals find them
Penetration testing: attack yourself first, then patch the holes.

Layered defence: no single method is enough — real systems combine firewalls, encryption, authentication, anti-malware and testing.

Sort it

Threat or protection?

Tap an item, then tap the box it belongs to.

⚠️ A threat/attack

🛡️ A protection method

🦠 Malware

Match it

Match term to meaning

Tap a description on the left, then its matching term on the right.

Description
Term
Quick check

Test yourself first

?Deliberately attacking your own system to find weaknesses before criminals do is called...?
Recap

The big ideas to know

Malware: viruses · worms · trojans · spyware · ransomware — malicious software that harms or breaks into a system

Social engineering: phishing · blagging · shouldering — attacking the person, not the machine

Other attacks: SQL injection (attack a database) · brute force (guess passwords) · denial of service (flood a server) · data interception

Protection: firewalls (filter traffic) · encryption (scramble data) · authentication & 2FA · user access levels · anti-malware

Testing: penetration testing finds weaknesses before attackers do; prevent SQL injection with input validation & parameterised queries

You've covered all of AQA 3.6 — the main threats and the ways to protect systems and data. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Cyber security for AQA GCSE Computer Science. 🎉

Your stars: 0 / 0

Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects