Trojan horse

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Trojan horse

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A student downloads a free game from an unknown website. While they play, it secretly steals their saved passwords. What type of malware is this?
A Firewall
B Trojan horse
2. Which statement about how a Trojan horse gets onto a computer is correct?
A It copies itself across the network on its own
B The user installs it, thinking it is safe
3. True or false: A Trojan horse replicates itself and spreads to other computers.
A False
B True
4. Which is a common aim of a Trojan horse?
A Open a back door so a hacker can get in
B Make the computer run faster
5. Which describes the main difference between a Trojan horse and a virus?
A A Trojan pretends to be useful software but does not copy itself
B A Trojan copies itself into other files but a virus does not

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Trojan horse AA Trojan's aim: open a hidden way in so an attacker can access the computer or steal data later
2backdoor = True BA Trojan horse must be disguised as useful or harmless software. With no disguise, the user would not install it willingly.
3A Trojan horse does not replicate itself, unlike a virus, so it relies on users choosing to install it Cinstall("free_game.exe")
4A Trojan is disguised as a free app or file that the user willingly installs Dtrojan.copies_itself = False
5trojan.copies_itself = True EA Trojan horse does not replicate itself. Saying it copies itself confuses it with a virus or worm.
6trojan.disguise = "none" FMalware disguised as useful or harmless software that the user installs willingly, then secretly does harm

Definitions

Trojan horse

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
A ____________ looks like a free app
2.
A Trojan horse does not _________ itself
3.
Trojan aim: open a _________ or steal data
4.
A Trojan needs the user to _______ it
5.
virus.replicates = TRUE Trojan.replicates = _____

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A file ← "free_wallpaper.exe"
B looks_useful ← FALSE
C user_installs ← TRUE
D hidden_action ← "open back door"
Question 2
A app ← "free PDF converter"
B replicates ← TRUE
C hidden_aim ← "steal data"
Question 3
A type ← "Trojan horse"
B installed_by ← "attacker"
C aim ← "open a back door"
Question 4
A malware ← "Worm"
B spreads_alone ← FALSE
C needs_user_to_install ← TRUE
Question 5
A IF software = "Trojan" THEN
B disguised ← TRUE
C replicates ← FALSE
D aim ← "speed up the PC"
E ENDIF

Answer Key

Trojan horse
Section A: Quick Questions
Q1
B — Trojan horse
Q2
B — The user installs it, thinking it is safe
Q3
A — False
Q4
A — Open a back door so a hacker can get in
Q5
A — A Trojan pretends to be useful software but does not copy itself
Section B: Match the Pairs
Q1
Trojan horse → Malware disguised as useful or harmless software that the user installs willingly, then secretly does harm
Q2
backdoor = True → A Trojan's aim: open a hidden way in so an attacker can access the computer or steal data later
Q3
A Trojan horse does not replicate itself, unlike a virus, so it relies on users choosing to install it → trojan.copies_itself = False
Q4
A Trojan is disguised as a free app or file that the user willingly installs → install("free_game.exe")
Q5
trojan.copies_itself = True → A Trojan horse does not replicate itself. Saying it copies itself confuses it with a virus or worm.
Q6
trojan.disguise = "none" → A Trojan horse must be disguised as useful or harmless software. With no disguise, the user would not install it willingly.
Section C: Definitions
Q1
Trojan horse — Malware disguised as useful or harmless software. The user installs it willingly, then it secretly does harm, such as opening a back door or stealing data. It does not replicate itself.
Section D: Fill in the Blanks
Q1
A Trojan horse looks like a free app
Q2
A Trojan horse does not replicate itself
Q3
Trojan aim: open a back door or steal data
Q4
A Trojan needs the user to install it
Q5
virus.replicates = TRUE Trojan.replicates = FALSE
Section E: Spot the Error
Q1
B — A Trojan horse is disguised as useful or harmless software, so looks_useful should be TRUE. Users only install it because it looks genuine.
Q2
B — A Trojan horse does not replicate itself. This is a key difference from a virus or worm, so replicates should be FALSE.
Q3
B — The user installs a Trojan horse willingly, because they think it is useful. It should be installed_by ← "user".
Q4
A — The program describes a Trojan horse: it does not spread alone and needs the user to install it. A worm replicates itself, so the type should be "Trojan horse".
Q5
D — A Trojan horse carries out a hidden harmful action, such as stealing data or opening a back door. It does not help the computer. It should be aim ← "steal data".