1. The Modern Malware Taxonomy
In cybersecurity engineering, malicious software is categorized according to its propagation mechanism and payload objective:
+-------------------------------------------------------------+
| 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:
[ 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.