Lesson 1 / 8
Module 1Lesson 1⏱ 45 min study

Lesson 1: The Anatomy of Modern Cyber Attacks: Ransomware, Trojans & The Malware Taxonomy

Deconstruct the complete malicious software spectrum, analyze the technical multi-stage execution of modern ransomware, and explore defense-in-depth mitigation strategies.

✦ Key Architectural Takeaways
  • •Malware (Malicious Software) is an umbrella term encompassing discrete technical categories: viruses, worms, trojans, spyware, keyloggers, rootkits, and ransomware.
  • •Trojans masquerade as legitimate software to deceive users into granting execution privileges, serving as primary initial access droppers.
  • •Ransomware executes a destructive multi-stage pipeline: dropper execution, Command-and-Control (C2) key exchange, shadow copy deletion, hybrid AES/RSA encryption, and ransom extortion.
  • •Automated volume shadow copy deletion via 'vssadmin delete shadows' prevents victims from restoring files using native Windows system restore points.
  • •Defense-in-depth security assumes individual controls will fail, stacking perimeter filtering, endpoint behavioral analytics, and immutable offline backups.

1. The Modern Malware Taxonomy

In cybersecurity engineering, malicious software is categorized according to its propagation mechanism and payload objective:

TEXTSYSTEM SCHEMATIC
+-------------------------------------------------------------+
|                      The Malware Spectrum                   |
+-------------------------------------------------------------+
| 1. Viruses      | Injects code into existing executable     |
|                 | files; requires host execution to spread. |
+-----------------+-------------------------------------------+
| 2. Worms        | Self-replicating autonomous programs      |
|                 | that propagate across networks (MS17-010).|
+-----------------+-------------------------------------------+
| 3. Trojans      | Disguised as legitimate utility software  |
|                 | to deliver unauthorized payload droppers. |
+-----------------+-------------------------------------------+
| 4. Spyware      | Covertly harvests telemetry, keystrokes,  |
|                 | webcam feeds, and credentials.            |
+-----------------+-------------------------------------------+
| 5. Ransomware   | Cryptographically locks user files via    |
|                 | strong asymmetric/symmetric encryption.   |
+-----------------+-------------------------------------------+
| 6. Rootkits     | Modifies operating system kernel hooks    |
|                 | to maintain stealthy administrative access.|
+-------------------------------------------------------------+
§

2. Dissecting the Ransomware Execution Lifecycle

Modern ransomware (such as LockBit, BlackCat, or WannaCry) is not a simple virus; it is an orchestrated multi-stage cryptographic attack:

TEXTSYSTEM SCHEMATIC
[ Stage 1: Initial Ingress ]
- Delivered via phishing attachment, malicious ad, or compromised RDP port.
              |
              v
[ Stage 2: Privilege Escalation & Defense Evasion ]
- Disables Windows Defender and event logging via PowerShell scripts.
              |
              v
[ Stage 3: Volume Shadow Copy Destruction ]
- Executes: vssadmin delete shadows /all /quiet
- Prevents the victim from restoring local snapshots or restore points.
              |
              v
[ Stage 4: Cryptographic Key Generation & Encryption ]
- Generates a dynamic symmetric AES-256 key per file.
- Encrypts the AES key using the attacker's public RSA-4096 key.
- Overwrites documents, photos, databases, and code repositories.
              |
              v
[ Stage 5: Extortion & Ransom Note Injection ]
- Replaces desktop wallpaper and injects README_DECRYPT.txt instructions.

Why Paying the Ransom Fails: Security agencies and cybersecurity professionals strongly advise against paying ransoms: 1. Payment provides zero cryptographic guarantee that the threat actor will supply a functioning decryption key. 2. Decryptors supplied by attackers frequently corrupt large databases and virtual disk images during the decryption loop. 3. Paying marks your organization as an easy target for recurring secondary extortion attacks.