GCSE · Computer Science · Edexcel · Spec 1CP2

Malware – Trojans

Forget the virus fighting past the walls. The sneakiest malware looks like a game or an update, and you hold the door open yourself.

Computer Science · Malware

What makes a trojan a trojan?

Tick which circle(s) each statement belongs in: Trojan, Virus or worm, both, or neither. Have a guess first. The notes after you check will teach you the rest.

  • A Trojan
  • B Virus or worm
  1. Created to damage, steal from or take control of a computer system without the user's permission
  2. Can arrive as an email attachment
  3. Can cause data loss, system failure or financial loss
  4. Self-replicating: it makes copies of itself
  5. Looks like something useful, such as a game or an update
  6. Its method of attack is disguising itself as something harmless to trick the user into allowing it in
  7. Can be hidden inside pirated or fake software
  8. A game you chose to install that only does what it says it does

Why is it called a trojan?

The Trojan Horse storyvsTrojan software

Read down the rows. Start at the first one: who opens the gate?

Focus

Who opens the gate?

The Trojan Horse story

The people being attacked let the horse inside

Trojan software

The user allows it onto their system

The insight

Nobody breaks the gate down. The target does the opening, and that is the whole idea of a trojan.

What it looks like

The Trojan Horse story

A wooden horse, something that does not look like a threat

Trojan software

Something that appears useful, such as a game or an update

What it really does

The Trojan Horse story

It was used to secretly get inside Troy

Trojan software

It hides inside software that appears to be useful, then gets into the system

Where the comparison stops

The Trojan Horse story

A story, told to explain the name

Trojan software

Real software that can cause real damage

Computer Science · Malware

Which of these are malware?

Is each thing a type of malware or not?

Still to sort

A type of malware (0)

Made to damage, steal from or take control of a system without permission

Where the line is: Types of malware include viruses, worms, trojans, ransomware, spyware and adware. Each type works differently, depending on what it is designed to do.

Not malware (0)

Software the user chose, which does what it says

Where the line is: What separates it from malware is permission and purpose, not how it looks.

6 of 6 still to sort.

A trojan is one type. Meet some others, then work out where the line is.

Computer Science · Malware

Which idea sounds like you?

A pupil is talking about a game that looks fine, a link they were sent, and something called a trojan.

Which of these is closest to what you think right now?
How sure are you?

Computer Science · Malware

Write it in your own words

Describe how a trojan gets onto a computer system. [2 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Some malware breaks in. A trojan gets invited in.

What you need to know

  • Malware (malicious software) is any program or file made to damage, steal from or take control of a system without permission.
  • Types of malware include viruses, worms, trojans, ransomware, spyware and adware, and each works differently depending on what it is designed to do.
  • Viruses and worms are both self-replicating: they make copies of themselves.
  • A trojan appears to perform a useful function, such as being a game or an update.
  • A trojan's method of attack is disguise: it tricks the user into allowing it onto their system.
  • Have a goYour friend Sam says: "It's a free game, so it's definitely safe." Answer Sam in one sentence.

    Looking like a harmless game is exactly how a trojan disguises itself.

    Sam treats 'looks useful' as proof of safe, but for a trojan the harmless look is the trick.

  • The name comes from the Trojan Horse story, where a wooden horse was used to secretly get inside Troy.
  • Types of malware often trick users into downloading or installing them.
  • Malware can arrive through unsafe websites, email attachments, fake apps, links on fake or hacked websites, and pirated or fake software.
  • Have a goSomeone offers you a free copy of a paid-for game from an unofficial site. Which route into your system could that be?

    Pirated or fake software, which can often contain hidden malware.

    Free does not mean safe: pirated or fake software is a named route, and 'often' means it is common, not guaranteed.

  • Once inside, malware can hide, spread and start doing damage.
  • That damage can be data loss, system failure or financial loss, on a single device or a whole network.
  • Have a goMalware deletes the files on every computer in a school. Which damage from the list is that, and how far did it reach?

    Data loss, across a whole network.

    Malware is not limited to one machine: it can infect a single device or a whole network.

The big picture

Malware is any program or file created to damage, steal from or take control of a computer system without the user's permission. Types include viruses, worms, trojans, ransomware, spyware and adware. Viruses and worms are self-replicating, whereas a trojan's method of attack is disguise: it appears useful and tricks the user into allowing it in. Once inside, malware can hide, spread and do damage such as data loss, system failure or financial loss.

Key points

1Malware is created to damage, steal from or take control of a system without permission.
2Viruses and worms are self-replicating; a trojan's method of attack is disguise that tricks the user into allowing it in.
3Malware can get in through unsafe downloads, email attachments, fake apps, fake or hacked websites and pirated or fake software, then hide, spread and cause damage.

Worked example

Problem

Aisha downloads a free 'game update' from a pop-up. It looks real, and she clicks install. Later, her coursework files are gone. Nothing suggests the program copied itself anywhere. What type of malware fits best, and why?

⚠ Watch out

Calling every kind of malware a 'virus' that forces its way in. Viruses and worms are self-replicating, but a trojan's method of attack is disguise: it tricks the user into letting it in.

🧠

Memory hook

The Trojan Horse never broke the gate. It was let in. A trojan works the same way: the door is opened from the inside.

✓

Check yourself

A friend installs a free 'update' for their favourite game and it turns out to be a trojan. Who allowed it onto the computer, and what made them do it?

Flashcards

(10)
What is malware?
Malicious software: any program or file created to damage, steal from or take control of a computer system without the user's permission.
Name six types of malware.
Viruses, worms, trojans, ransomware, spyware and adware. Each works differently depending on what it is designed to do.
Which two types of malware are self-replicating?
Viruses and worms.
What is a trojan's method of attack?
It disguises itself as something harmless or useful, such as a game or an update, to trick the user into allowing it onto their system.
Where does the name 'trojan' come from?
The Trojan Horse story: a wooden horse was used to secretly get inside Troy, just as a trojan hides inside software that appears useful.
Give three ways malware can get onto a system.
Any three of: infected files from unsafe websites, email attachments, fake apps, clicking a link on a fake or hacked website, pirated or fake software.
How do types of malware often get in?
They often trick users into downloading or installing them.
What three things can malware do once it is inside a system?
It can hide, spread and start doing damage.
Name three kinds of damage malware can cause.
Data loss, system failure and financial loss.
How far can malware reach?
It can infect a single digital device or a whole network.

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 posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)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 21 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.