GCSE · Computer Science · AQA · Spec 8525
Malicious code (malware)
Picture a laptop that looks perfectly normal: fast, quiet, no warnings. Now picture it quietly sending your passwords to a stranger. That’s malware at its sneakiest.
Spot the threat
Which one is it?
Read each story, pick the threat it describes, and see the reason.
Still to sort
Virus (0)
Copies itself into other files.
Trojan (0)
Pretends to be useful.
Spyware (0)
Secretly watches and reports.
Social engineering (not malware) (0)
Targets a person, not a system, and uses no malicious code.
Where the line is: If a person is being persuaded and no program is attacking, it isn’t malware.
Why secret matters
Reason it through
Why is spyware so harmful when the user can’t see it doing anything?
First link · your turn
How does spyware get onto a computer in the first place?
How it gets in
Three routes in. What decides the ending?
Pick a route in, then follow the choices to see where it ends up.
Route in → What the user does → Protection in place
9 possible endings.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
What they share, what makes each one different, and what isn’t malware at all.
What you need to know
- Malware is software written to cause harm to a computer system or its users.
- That harm can be damaging or deleting data, stealing information, or gaining unauthorised access to or control of a system.
- Social engineering is a different cyber security threat. It targets people, while malware attacks through code.
Have a goSam says: ‘Someone from ‘tech support’ talked me into giving them my password, so I must have caught malware.’ Is Sam right?
No. That was social engineering, not malware.
A person was persuaded and no malicious code attacked anything, and malware only counts when it attacks through code.
- A virus inserts copies of itself into other programs or files, and spreads when an infected file is run or opened and passed on.
- A Trojan is disguised as legitimate, useful software. You install it willingly, it does harm in the background, and it does not replicate itself.
Have a goA free ‘homework timer’ that Mia chose to install really does time her homework. It also quietly harms her files, and it never copies itself. Virus or Trojan?
Trojan.
It was useful-looking software she installed willingly, and a virus would need to insert copies of itself into other files.
- Spyware secretly monitors your activity, for example recording key presses, and sends details like passwords to a third party without your knowledge.
- Malware typically arrives by infected email attachments, downloaded files or software, or infected removable storage.
Have a goA pupil plugs in a USB stick from a friend’s bag and opens a file on it. Which typical route in is that?
Infected removable storage.
A USB stick is removable storage, one of the typical routes, and opening the file is what lets the malware in.
- Anti-malware software, automatic software updates and careful behaviour, such as not opening untrusted files or links, reduce the risk of infection.
The big picture
Malware is software written to cause harm to a computer system or its users. A virus copies itself into other files, a Trojan pretends to be useful software, and spyware secretly watches and reports. Social engineering is a different threat because it targets people, not systems, through code. Malware typically arrives through email attachments, downloads or removable storage, and anti-malware software, automatic updates and careful behaviour reduce the risk.
Key points
Worked example
Problem
Aisha downloads a free ‘homework planner’ from a site she has never used before. It works nicely as a planner. Without her noticing, it also starts damaging her files. Is this malware, and if so, which form? How could she have reduced the risk?
⚠ Watch out
Assuming every cyber attack is malware, and that malware always shows itself. Social engineering attacks people rather than systems, and spyware and Trojans are designed to work without the user noticing.
Memory hook
Virus = copies. Trojan = costume. Spyware = spy.
Check yourself
Without looking back: what single thing do all three forms of malware have in common, and what is the one behaviour that defines each of virus, Trojan and spyware?
Flashcards
(11)What is malware?
Name three kinds of harm malware can cause.
How does malware attack, compared with social engineering?
What is the defining behaviour of a virus?
How does a virus spread?
What is a Trojan?
Who installs a Trojan, and does it copy itself?
What is spyware?
What does spyware do with what it records?
Give three typical ways malware reaches a system.
What three things reduce the risk of malware infection?
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 AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson 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 8 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.