Ransomware is malware whose primary objective is to deny victims access to their data or systems and then demand payment (usually cryptocurrency) for recovery. Modern ransomware families often combine data encryption with data theft and public shaming (so-called “double extortion”) to increase pressure on victims.
Typical attacker goals & business model
-
Goals: quickly monetize access (ransom), maximize leverage (encrypt + steal data), and avoid attribution.
-
Business model: many groups operate as Ransomware-as-a-Service (RaaS) — core developers provide ransomware and admin panels; affiliates perform access operations and share revenue. This commoditizes ransomware and increases scale. Recent campaigns commonly use affiliate models and double extortion.
High-level attack lifecycle (kill chain)
-
Initial access — phishing (malicious attachments/links), credential theft, exposed RDP, vulnerable internet-facing services, or supply-chain compromise.
-
Establish foothold / payload execution — loaders, droppers, or living-off-the-land (LOTL) tools execute the ransomware binary.
-
Privilege escalation — exploit vulnerabilities or use credential theft (LSASS dumps, Mimikatz-style behaviors) to gain higher privileges.
-
Discovery & lateral movement — enumerate network shares, AD, and connected hosts; use SMB, PsExec, WMI, remote PowerShell, or valid credentials to move laterally.
-
Data exfiltration (optional but common) — compress and exfiltrate sensitive data to attacker-controlled storage before encryption to enable double extortion.
-
Encrypt for impact — encrypt targeted files, sometimes partially to be fast; often combine symmetric + asymmetric crypto (see next).
-
Cleanup & extortion — delete shadow copies/backups where possible, leave ransom note(s), publish stolen data on leak sites if payment not made.
(MITRE ATT&CK maps many of these behaviors to discrete techniques.)
Encryption & key management
Modern ransomware almost always uses a hybrid encryption design:
-
Symmetric encryption for file data: a fast symmetric cipher (e.g., AES-256, ChaCha20) encrypts file contents because it is computationally efficient for large volumes of data.
-
Asymmetric wrapping for keys: the symmetric keys (per-file or per-host) are encrypted (“wrapped”) using an attacker-held asymmetric key pair (e.g., RSA or ECC). Only the attacker has the corresponding private key needed to unwrap symmetric keys and therefore recover files.
-
Key lifecycle: many strains generate a unique symmetric key per file or per machine, then encrypt those keys with the attacker’s public key. Some also use session keys and rotate them to resist partial recovery. Partial encryption (encrypting important portions of files rather than entire files) is used to speed operations while still rendering files unusable.
Important defensive implication: if the private key is never revealed and backups/networks were compromised, recovery without decryption keys may be impossible; thus prevention and segmented, immutable backups are primary defenses.
Common technical tactics for stealth & persistence
-
Loaders / droppers: run a small stub that fetches and decrypts the main payload to evade static detection.
-
Process injection & living-off-the-land (LOTL): inject into legitimate processes or use system tools (PowerShell, certutil, bitsadmin) to blend in.
-
Credential theft / reuse: harvest domain credentials to move laterally and access backup targets.
-
Backup/restore sabotaging: remove VSS (shadow copies) and attempt to delete or encrypt backups that are reachable.
-
Evasion: obfuscation, packing, polymorphism, multithreading, partial encryption; network traffic over TOR, proxies, or domain fronting for C2.
These are behaviors defenders map to MITRE ATT&CK techniques to detect and respond.
Extortion models & modern twists
-
Classic single extortion: encrypt files, demand payment for decryption keys.
-
Double extortion: exfiltrate data and encrypt it; threaten to publish data if ransom not paid. This increases pressure and frequency of payments.
-
Triple extortion / additional pressure: threaten customers/partners with data release, or DDoS the victim, or contact regulators/media.
-
Data-leak sites & negotiation platforms: attackers post victim data and countdowns — widely used in recent campaigns.
Indicators of Compromise (IoCs) & detection signals defenders monitor
-
Network: unusual outbound connections to TOR nodes or unknown cloud storage, large uploads, abnormal SMB/remote desktop activity.
-
Endpoint: rapid file I/O across many files; creation of files with ransom-note patterns; deletion of VSS snapshots; new services or scheduled tasks; suspicious child processes of explorer/PowerShell.
-
Identity: unusual logins, authentication anomalies, privileged account usage at odd times.
-
Telemetry sources: EDR/NGAV alerts, SIEM correlations, Windows Event logs (e.g., process creation events), network flow anomalies. Mapping telemetry to MITRE ATT&CK helps prioritize responses.
Defensive & mitigations (practical, non-actionable guidance)
These are accepted best practices promoted by security agencies and industry:
-
Backups: follow 3-2-1 principle (three copies, two media types, one offsite / air-gapped or immutable). Regularly test restores.
-
Network segmentation & least privilege: limit lateral movement by separating critical assets and applying least privilege for accounts.
-
Patch & vulnerability management: prioritize internet-facing services, VPNs, RDP, and third-party software.
-
Multi-factor authentication (MFA): for remote access, VPNs, and privileged accounts.
-
Endpoint detection & response (EDR) + logging: deploy EDR with behavioral detection, centralized logging, and SIEM for correlation.
-
Email security & user training: phishing-resistant controls (sandboxing attachments, link rewriting) plus realistic phishing training.
-
Disable unused services & harden backups: ensure backups are not accessible via the same credentials used to access production.
-
Threat hunting & tabletop exercises: practice incident response and validate playbooks for ransomware incidents.
CISA, NIST, and other authorities publish detailed guidance and playbooks with prioritized controls for organizations.
Incident response (high-level checklist)
If a ransomware incident is suspected, standard response actions (summarized) include: contain to prevent further spread; preserve forensic evidence; identify scope (hosts, accounts, exfiltrated data); activate IR/legal/PR teams; consult law enforcement; restore from known-good backups after forensic capture; communicate with stakeholders. Agencies like CISA provide specific playbooks for ransomware response. (Again: I’m not providing step-by-step hacking instructions, only defensive IR concepts.)
Legal, ethical, and policy considerations
-
Paying ransom: law enforcement generally discourages paying because it funds criminal activity, may not guarantee recovery, and could have legal or regulatory implications. Report incidents to authorities (FBI/CISA or local equivalents).
-
Regulatory obligations: data breach notification laws or sector-specific rules may require disclosure of exfiltration/breach. Consult counsel early.
Recent observable trends (short list with examples)
- Rise in double extortion where data is stolen before encryption.
- Growth of RaaS affiliate models increasing scalability of attacks.
- Increased targeting of critical sectors (healthcare, education, government) and supply-chain attacks.
- Emphasis by governments/agencies on coordinated guidance — e.g., updated STOPRANSOMWARE guidance from CISA and NIST profiles for ransomware risk management.
