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
"I'm careful, so I won't get malware" β why is this reasoning unsafe?
Answer
- Short answer: malware can infect without any user interaction β e.g. malvertising via the Angler exploit kit served through ads on mainstream sites (BBC, NYT, 2016) infects simply by loading the page.
- Why: Drive-by compromise β active content exploits browser/plugin vulnerabilities directly, so defence relies on security updates, backups, and scanning, not just careful behaviour.