KS3 · Computer Science
Defending against cyber threats
Locking your front door is sensible, but not if a window is wide open. Defences work like that: each one closes one gap.
Computer Science · Cyber defences
Which defence deals with which attack?
Pick an attack attempt, then choose the defence that deals with it.
Which defence is built to deal with this?
Still to sort
Firewall (0)
Checks incoming and outgoing traffic against rules.
Where the line is: It looks at data packets: IP addresses, port numbers and protocols. It does not scan files for malicious code. That's anti-malware.
Anti-malware (0)
Compares the code in a file with a list of definitions.
Where the line is: It deals with code that matches a known-malicious definition. It does not filter network traffic by rules. That's the firewall.
Software updates (0)
Close weaknesses in software that is not up to date.
Where the line is: Updates fix the weakness itself. Other measures try to block or catch an attack that is aimed at it.
User authentication (0)
Helps prove it is you who is logging in.
Where the line is: Passwords, biometrics and two-factor authentication prove who you are. They don't decide what you can open once you're in. That's access rights.
Access rights (0)
Different users get different permissions.
Where the line is: Access rights limit what a signed-in user can reach or change. They don't prove who the user is. That's authentication.
User training (0)
Teaches everyone who uses the system to reduce human error.
Where the line is: Training changes what people do, like not clicking suspicious links. It doesn't filter traffic or scan files.
One measure that stops every attack (0)
Is there one?
Pick an attack, then pick the defence built for it. Read why. Then switch the rule and sort the same attacks again.
Computer Science · Algorithms
Trace table — dry run the code
An example rule table for one network (the addresses, ports and rules are made up). Before you press Next, decide: will this one be allowed or blocked?
Ready when you are — step through one line at a time.
Computer Science · Anti-malware
What happens to a file when anti-malware scans it?
Pick a branch to see what happens to the file.
Compare the code with the list of definitions
2 routes a scanned file can take.
One condition decides the route: does the code match a definition? Walk both branches.
WannaCry, 2017
Reason it through
How did WannaCry spread so far, and how was it stopped?
First link · your turn
What did WannaCry need before it could get into computers?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Every defence is built for one kind of threat. Find out which, and why none of them is enough on its own.
What you need to know
- A cyber threat can harm your computer or give access to your personal data; a vulnerability is a weakness it can exploit.
Have a goRavi says, "My laptop's software is out of date, so that's my cyber threat." Is he right? Decide whether it's the threat or the vulnerability.
It's a vulnerability, not the threat.
Out-of-date software is a weakness that could be exploited; the threat is the thing that could harm the computer or reach the data.
- A firewall checks incoming and outgoing traffic against rules, using things like IP addresses, port numbers and protocols.
- Anti-malware compares the code in a file with a list of definitions, and quarantines the file if it matches.
Have a goA classmate says, "The firewall checks every file for viruses." Which defence actually compares a file's code with known definitions?
Anti-malware software.
A firewall checks traffic against rules; matching code to a list of definitions is anti-malware's job.
- Software updates close weaknesses, and auto-updates either alert you or install the update automatically.
- User authentication helps prove it's you logging in, using secure passwords, biometrics or two-factor authentication.
- A maximum number of sign-in attempts is a separate measure against hackers. It isn't a way of proving who you are.
- Access rights give different users different permissions, such as certain network drives only, or read-only files.
- Training reduces human error and social engineering attacks such as phishing.
- No measure stops every attack, so organisations combine measures and aim to make attackers give up and find an easier target.
Have a goPriya says, "We've bought the best firewall there is, so we're completely safe." What would you say back?
No system on a network is completely safe, so a firewall needs other measures alongside it.
Each measure reduces a particular risk, and new threats can sometimes bypass even the best defences.
- A risk analysis matrix places a threat by probability (rare to almost certain) and impact (minimal to disaster), and where it sits depends on the organisation's vulnerabilities.
The big picture
Each cyber defence is built for a particular kind of threat or weakness: firewalls filter traffic by rules, anti-malware compares code with definitions, updates close weaknesses, authentication helps prove who you are, access rights limit what users can reach and training reduces human error. No single measure stops every attack, so organisations combine them, and plan what to do when an attack still gets through.
Key points
Worked example
Problem
A small company has three problems: the software on its laptops isn't up to date, every employee can open every network drive, and one employee often clicks links from unknown senders. Which measures should it use, and is it then completely safe?
⚠ Watch out
Thinking one good defence, such as a firewall or a strong password, keeps a system completely safe, or that a firewall scans files for viruses. Each measure reduces a particular risk, and no system on a network is completely safe.
Memory hook
Weakness first, then ask: what closes THIS gap? Firewall = rules for traffic. Anti-malware = code against definitions. Updates = fix the weakness. Authentication = prove it's you. Access rights = what you can reach. Training = fewer human mistakes.
Check yourself
A friend says their network is completely safe because it has a firewall. Name two things they've mixed up or missed, and one other measure you'd suggest.
Flashcards
(14)What is a cyber threat?
What is a vulnerability? Give one example.
What does a firewall use to decide what can go in or out?
What does anti-malware do with a file whose code matches a definition?
Why should software updates always be completed?
Name three examples of user authentication.
Is a maximum number of sign-in attempts a way of proving who you are?
What are access rights?
Why does regular cybersecurity training help?
What are the three parts of the CIA triad?
What does a pen tester do?
Which two axes does a risk analysis matrix use?
Why do organisations use combinations of measures?
How was the WannaCry attack stopped?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore KS3 Computer Science topics
How this lesson was checked. This KS3 Computer Sciencelesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 10 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.