KS3 · Computer Science
Malware and how it spreads
Picture a school network where nobody has clicked anything, yet every computer is slowing down. What kind of malware spreads with no help at all?
Computer Science · Malware
Which malware is it?
Pick a description, then choose the type of malware it matches. Once you've sorted them all, switch the rule and sort the same six by what the attacker is after.
Which type of malware does this behaviour describe?
Still to sort
Virus (0)
Spreads between computers and interferes with how they work.
Where the line is: A virus needs a user to run an infected file, download or program. A worm does not.
Worm (0)
Replicates, but attaches to no file.
Where the line is: A worm spreads through the network itself. A virus is passed on by a user running something.
Trojan (0)
Disguised as something harmless.
Ransomware (0)
Locks or encrypts files, then demands payment.
Spyware (0)
Hides on a computer to monitor and gather information.
Adware (0)
Downloads or displays adverts or pop-ups.
These are example descriptions to practise on. Read what each one does, commit to a type, then read why.
Predict, then check
Back to that quiet school network. Commit to an answer before you read on.
Malicious code lands on one computer in a school network. Nobody opens or runs any file. Which of these happens?
Computer Science · Anti-malware
Follow a file through anti-malware
Anti-malware scans a file that can execute code. Which route does it take?
Does the code match a definition?
2 possible results of the scan.
Choose a branch to see what happens to the file.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Six kinds of malicious software, how they spread, and why one defence is never enough.
What you need to know
- Malware is malicious software, designed to gain access to a computer and cause problems in how it works.
- Attackers can have different aims: disabling hardware, data theft, forced advertising, sending email spam or extorting money.
- A virus needs a user to run an infected file, download or program. Then it inserts code into other programs.
- A worm attaches to no file. It spreads through the network itself and can slow the network by using up bandwidth.
- A trojan is disguised as something harmless, like a game, movie or software update, and may open a back door.
Have a goSam says: "That 'free software update' can't be malware. It says update right on the label!" What would you tell Sam?
A trojan is disguised as something harmless, so looking harmless proves nothing.
The whole point of a trojan is the disguise, such as a game, movie or software update, with something malicious hidden inside.
- Ransomware locks or encrypts your files, and the attacker demands a ransom before they decrypt them.
Have a goEvery file on a laptop is locked and the attacker wants payment to unlock them. Which aim from the list is that?
Extorting money.
Ransomware is the type that locks files and demands a ransom, and demanding payment is extorting money, not stealing data.
- Spyware hides on your computer to gather information such as browsing history. Adware displays adverts or pop-ups while you're online.
- A botnet is a large collection of infected devices called zombies. A bot herder chooses when to wake them for a DDoS attack.
- Anti-malware compares files that can execute code with a list of definitions, and quarantines any file that matches.
Have a goA file's code matches nothing on anti-malware's list of definitions. Will it be quarantined?
No. Only a file whose code matches a definition is quarantined.
Quarantine is triggered by a match, so code that isn't on the list isn't flagged by this check.
- Combine anti-malware, an active firewall, software updates and user training. No measure makes a system completely safe.
The big picture
Malware is software designed to cause problems on a computer, and it comes in distinct types that behave differently. You'll sort six types by what they do, work out why a worm can spread without anyone's help, compare two real ransomware attacks, see how a botnet is used, and learn why combining defences lowers the risk without removing it.
Key points
Worked example
Problem
Jo's laptop keeps showing adverts and pop-ups while she's online. Jo says: "I've got a virus!" Use what you know to decide which type of malware the behaviour really matches, and what it is for.
⚠ Watch out
Calling every piece of malware 'a virus'. A virus is just one type. Worms, trojans, ransomware, spyware and adware each behave differently, so match the behaviour to the type.
Memory hook
A virus waits for you to run it. A worm walks the network by itself. A trojan wears a disguise. And ransomware, spyware and adware are named for the ransom, the spying and the adverts.
Check yourself
A friend says: "I've installed anti-malware, so I can click any link I like." Give them two reasons that's a risky plan.
Flashcards
(15)What is malware?
Give four aims an attacker might have when using malware.
Which six categories of malware should you know?
What does a virus need before it can infect a system?
How is a worm different from a virus?
Why is a trojan named after the Trojan horse?
What does ransomware do?
What do spyware and adware each do?
How did WannaCry spread without any human action?
How was WannaCry stopped?
How is LockBit deployed, as the Oak lesson describes it?
What are a botnet, a zombie and a bot herder?
How does anti-malware decide to quarantine a file?
Apart from downloading a file, name three other ways malware can get in.
Which measures combine to reduce malware risk?
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.