- Practice
- About 12 min
- 5 practice questions
Name the threat: scenario drills for malware and attacks
Use clue words to match a short scenario to the right malware or attack, with a step-by-step method and four worked cases.
If something looks wrong, please tell us.
Exam questions on cyber security often describe a situation in two or three lines and ask you to name the threat. You do not need to memorise stories. You need a fast method: find the clue words, decide whether the harm comes from a program or from tricking a person, and then pick the closest name.
The three-step method
- Step 1: Spot the clue. Look for words such as 'copies itself', 'pretends', 'locks files', 'fake email', 'many requests', 'guessing passwords'.
- Step 2: Program or person? If the trouble starts with software that runs on the device, think malware. If it starts with a message, call or website that fools someone, think phishing or social engineering.
- Step 3: Choose the most specific name. If both 'malware' and 'Trojan' fit, the more specific one is usually the expected answer.
Clue-word table
| Clue in the question | Likely answer |
|---|---|
| Attaches to a file and spreads when the file is opened | Virus |
| Spreads over a network on its own | Worm |
| Looks useful but hides harmful code | Trojan horse |
| Secretly collects what you do and sends it away | Spyware |
| Records every key pressed | Keylogger |
| Files locked, payment demanded | Ransomware |
| Unwanted pop-up advertisements | Adware |
| Fake email asking you to click and log in | Phishing |
| Fake call from a 'bank officer' | Vishing |
| Fake SMS with a link | Smishing |
| Website overloaded by huge numbers of requests | DoS or DDoS |
| Trying thousands of passwords one after another | Brute force |
| Attacker secretly sits between two parties | Man-in-the-middle |
Worked examples
Example 1. A student downloads a free photo-editing tool from an unknown site. It works, but a week later her saved browser passwords are used by someone else. Which threat? The tool looked useful but hid a harmful function, so it was a Trojan. It may also have contained spyware, but Trojan is the best first name because of the disguise.
Example 2. In a small office, one computer is infected. Within minutes every computer on the network shows the same strange file, though nobody opened anything. Which threat? A worm, because it spreads by itself over the network. A virus would need a user to run an infected file.
Example 3. An SMS says, 'Your account will be blocked today. Click this link to update your details.' The link opens a page that looks like the bank's login page but has a slightly different address. Which attack? Smishing (phishing by SMS). The clues are urgency, a link and a look-alike page. The correct action is to ignore the message and contact the bank through its official app or number.
Example 4. A shopkeeper's computer files are all renamed, and a note on screen asks for money to restore them. Name the threat and the best protection. It is ransomware. The best protection is regular backups kept on a separate device, so the files can be restored without paying.
Find the clue, decide program or person, then choose the most specific name.
Common traps
- Calling every harmful program a 'virus'. Exams separate virus, worm and Trojan.
- Thinking a worm needs a host file. It does not; a virus does.
- Mixing up phishing (fake message) with brute force (guessing passwords).
- Forgetting that DoS is about making a service unavailable, not about stealing data.
Key takeaways
- Use the clue-word table for quick matching.
- Virus needs a host, worm spreads alone, Trojan disguises itself.
- Phishing, vishing and smishing differ only in the channel: email, call or SMS.
Check your understanding
-
1. A program spreads across a network by itself, without a host file. It is a
- Virus
- Keylogger
- Adware
- Worm
Show answer
Answer: D. Self-spreading over a network with no host file describes a worm. A virus needs an infected file to be run.
-
2. Software that looks like a game but secretly steals data is a
- Worm
- Firewall
- Trojan
- Patch
Show answer
Answer: C. Hiding harmful code behind a useful-looking program is the mark of a Trojan horse.
-
3. An SMS with a link asks you to 'confirm your account today'. This is
- Vishing
- Smishing
- Brute force
- DDoS
Show answer
Answer: B. Phishing done through SMS is smishing. Vishing uses voice calls.
-
4. A site becomes unreachable because thousands of devices send requests at once. This is a
- DDoS attack
- Phishing attack
- Keylogger
- Spyware
Show answer
Answer: A. Overloading a service with requests from many machines is a distributed denial of service attack.
-
5. Which action best protects against ransomware damage?
- Keeping a recent offline backup
- Opening attachments from anyone
- Using one password for all sites
- Turning off all software updates
Show answer
Answer: A. With a separate, recent backup you can restore your files without paying. The other choices increase risk.
Sign in to keep track of the lessons you finish.