• 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 words and answers
Clue in the questionLikely answer
Attaches to a file and spreads when the file is openedVirus
Spreads over a network on its ownWorm
Looks useful but hides harmful codeTrojan horse
Secretly collects what you do and sends it awaySpyware
Records every key pressedKeylogger
Files locked, payment demandedRansomware
Unwanted pop-up advertisementsAdware
Fake email asking you to click and log inPhishing
Fake call from a 'bank officer'Vishing
Fake SMS with a linkSmishing
Website overloaded by huge numbers of requestsDoS or DDoS
Trying thousands of passwords one after anotherBrute force
Attacker secretly sits between two partiesMan-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.

— Remember

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. 1. A program spreads across a network by itself, without a host file. It is a

    1. Virus
    2. Keylogger
    3. Adware
    4. 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. 2. Software that looks like a game but secretly steals data is a

    1. Worm
    2. Firewall
    3. Trojan
    4. Patch
    Show answer

    Answer: C. Hiding harmful code behind a useful-looking program is the mark of a Trojan horse.

  3. 3. An SMS with a link asks you to 'confirm your account today'. This is

    1. Vishing
    2. Smishing
    3. Brute force
    4. DDoS
    Show answer

    Answer: B. Phishing done through SMS is smishing. Vishing uses voice calls.

  4. 4. A site becomes unreachable because thousands of devices send requests at once. This is a

    1. DDoS attack
    2. Phishing attack
    3. Keylogger
    4. Spyware
    Show answer

    Answer: A. Overloading a service with requests from many machines is a distributed denial of service attack.

  5. 5. Which action best protects against ransomware damage?

    1. Keeping a recent offline backup
    2. Opening attachments from anyone
    3. Using one password for all sites
    4. 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.

Privacy · Terms · Refunds · Delivery