Malware and Attack Types

Context: Information Security and Cryptography Β· the threats the security stack defends against Β· attacker techniques + the virus/worm/trojan taxonomy

Quick Revision

  • 🎯 Objective: classify the common attack + malware types βž” recognise the mechanism (deceive a human, encrypt for ransom, enslave a device, exhaust a service, or self-replicate).
  • ⚑ Key Constraint: β€œonly careless people get malware” is false β€” malware spreads without user interaction (e.g. Angler exploit kit in ads on BBC/NYT, 2016), and anti-virus only catches known threats.

πŸ“ Attack types

  • Phishing βž” fake login website + a lure (fake mail/SMS) β†’ victim types credentials β†’ attacker phishes them (banks, PayPal, enterprise access).
  • Ransomware βž” malware that encrypts all data (and IoT) and demands ransom (BitCoin) to restore access; increasingly also threatens to publish data. Advice: don’t panic, restore from backup, don’t pay (no guarantee + funds crime).
  • Social engineering βž” manipulate people rather than systems.
  • Denial of Service (DoS/DDoS) βž” prevent a service from working β€” from inside (virus/trojan) or outside via massive traffic from a botnet.

πŸ€– Bots & botnets

  • Bot βž” automated process on any compromised device; connects to a command-and-control centre; can gather info (camera, keystrokes), and run distributed attacks.
  • Botnet βž” many bots together β†’ the engine behind DDoS (cf. Dyn).

🦠 Virus vs worm vs trojan

  • Virus βž” inserts itself into another program/document; spreads when the host runs; may pull in more malware/rootkits.
  • Worm βž” standalone program; exploits a weakness or tricks the user; then self-spreads via network/file transfer.
  • Trojan βž” malware hidden in legitimate-looking software; creates backdoors, manipulates banking, activates other malware.

⚠️ Common Mistakes

  • πŸ’‘ Virus needs a host, a worm does not βž” the defining line: a virus attaches to another program; a worm is self-contained and self-propagating.
  • πŸ’‘ Anti-virus is not a cure-all βž” it stops known malware, is a prime malware target, can’t detect new malware, and may increase the attack surface β€” layer it with updates/backups/awareness.

🧠 Active Recall