恶意软件
此页面需较新浏览器(支持 SharedArrayBuffer)。请升级 Chrome、Edge、Firefox 或 Safari 至最新版本。
English
Malware = malicious software
- Malware is any program written to harm a computer or steal from it.
- The exam expects you to know the main types and how they differ. Here they are.

English
Spreading types
- Virus — attaches to a file; runs and spreads when you open that file.
- Worm — spreads by itself across a network, with no file to open. The Morris worm was one.
- Trojan horse — pretends to be useful software, but hides something harmful inside.
English
Stealing and spying types
- Spyware — secretly records what you do, such as the keys you type (your passwords).
- Adware — floods you with adverts; often bundled with free downloads.
English
Holding data hostage
- Ransomware — encrypts your files and demands payment for the key to unlock them.
- It has shut down hospitals and companies. The best defence is backups you can restore from.
Covers: IGCSE 5.3 (Cyber security threats), A-Level 6.1, AP CSP Big Idea 5.
English
Now you try
- First, read three behaviours and name the malware type each one describes.
- Then play defender: ransomware has struck, and you must count how many files your backup can restore.
English
Common mistakes
- A virus needs a host file to spread; a worm spreads by itself across a network.
- A Trojan hides inside useful-looking software.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Name the malware. Read each behaviour and set the variable to virus, worm 或 trojan.
点击“运行”查看此处输出。
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Ransomware has encrypted the laptop, but you kept a backup. Count how many of the files also appear in backup — that is how many you can restore. Print the count.
点击“运行”查看此处输出。
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Trojans often hide behind a fake extension, such as holiday.jpg.exe. Write looks_dangerous(filename), which returns True when the name ends in .exe, .bat 或 .scr (in any case), and False otherwise.
点击“运行”查看此处输出。