Performing Ransomware Response
When to Use
- Ransomware has been detected executing or file encryption is actively occurring
- Users report inability to open files with unfamiliar extensions appended
- A ransom note is discovered on one or more systems
- EDR detects mass file modification patterns consistent with encryption behavior
- Threat intelligence warns of an imminent ransomware campaign targeting the organization
Do not use for general malware incidents that do not involve file encryption or extortion; use malware incident response procedures instead.
Prerequisites
- Ransomware-specific incident response playbook reviewed and approved by executive leadership
- Tested and verified offline backup strategy with air-gapped or immutable copies
- Incident retainer with a specialized ransomware response firm (e.g., Mandiant, CrowdStrike Services, Kroll)
- Legal counsel pre-engaged for OFAC sanctions screening and regulatory notification
- Cyber insurance carrier contact information and policy coverage details
- Bitcoin/cryptocurrency analysis capability or third-party engagement for payment tracing
Workflow
Step 1: Detect and Confirm Ransomware
Validate that the incident is ransomware and determine the variant:
- Identify the ransomware by analyzing the ransom note filename, extension appended to encrypted files, and note content
- Upload the ransom note and a sample encrypted file to ID Ransomware (id-ransomware.malwarehunterteam.com)
- Check NoMoreRansom.org for available free decryptors
- Determine the ransomware deployment method from EDR/SIEM logs
- Identify the ransomware group (e.g., LockBit, BlackCat/ALPHV, Royal, Akira, Play)
Ransomware Identification:
━━━━━━━━━━━━━━━━━━━━━━━━━
Variant: LockBit 3.0 (Black)
Extension: .lockbit3
Ransom Note: README-LOCKBIT.txt
Tor Site: lockbit[redacted].onion
Deployment: Group Policy Object pushing ransomware.exe to all domain-joined systems
Initial Access: VPN credential compromise (no MFA)
Dwell Time: 12 days
Data Exfiltration: Yes - 47GB uploaded to MEGA via rclone prior to encryption
Step 2: Immediate Containment
Stop ransomware propagation before assessing damage:
- Priority 1: Disconnect affected network segments from core infrastructure (pull the network cable, not shutdown)
- Priority 2: Isolate all domain controllers immediately if GPO-based deployment is suspected
- Priority 3: Disable the compromised accounts used for deployment
- Priority 4: Block lateral movement protocols (SMB TCP/445, RDP TCP/3389, WinRM TCP/5985-5986)
- Priority 5: Preserve at least one encrypted system live (do not power off) for memory forensics
- Do NOT: Shut down encrypted systems; keep them powered on to preserve encryption keys in memory
Step 3: Assess Damage and Scope
Quantify the impact to inform recovery and business decisions:
- Count the number of encrypted systems (workstations, servers, domain controllers)
- Determine which business-critical systems and data are affected
- Verify backup integrity: check that backups were not encrypted, deleted, or corrupted
- Assess whether data exfiltration occurred (check for rclone, WinSCP, MEGA, cloud storage activity)
- Determine the ransom demand amount and payment deadline
- Check OFAC sanctions lists to verify the ransomware group is not a sanctioned entity (paying is legally risky)
Impact Assessment:
Encrypted Systems: 187 of 340 endpoints (55%)
Encrypted Servers: 12 of 28 (43%) - includes 2 file servers, 1 database server
Domain Controllers: 2 of 3 encrypted
Backup Status: Veeam repository intact (offline copy verified clean)
Data Exfiltration: Confirmed - 47GB to MEGA (file listing under analysis)
Ransom Demand: $2.5M in Bitcoin (72-hour deadline)
OFAC Screening: LockBit - not currently sanctioned entity (verify with counsel)
Step 4: Recovery Decision Matrix
Evaluate recovery options in consultation with legal, executive leadership, and cyber insurance:
| Option |
Pros |
Cons |
Recommended When |
| Restore from backup |
No payment, no legal risk |
Recovery time may be days |
Clean backups available |
| Free decryptor |
No payment, fast |
Rare availability |
Variant has published decryptor |
| Negotiate and pay |
Potentially faster |
No guarantee, legal risk, funds threat actors |
No backups, business survival at stake |
| Rebuild from scratch |
Clean environment |
Longest timeline, data loss |
Backups compromised, willing to accept data loss |
Step 5: Execute Recovery
Implement the chosen recovery strategy:
If restoring from backup:
- Build a clean isolated network segment for recovery operations
- Rebuild domain controllers first from clean media (do NOT restore DC backups older than the dwell time)
- Reset ALL user and service account passwords before joining any system to the new domain
- Restore servers in priority order: authentication, DNS, DHCP, then business-critical applications
- Restore workstations via reimaging, not file-level restore
- Restore data from verified clean backups to rebuilt file servers
- Reconnect to production network only after validation
If using a decryptor:
- Test the decryptor on a non-critical system first
- Decrypt in order of business priority
- Scan all decrypted systems for residual malware before reconnection
Step 6: Post-Ransomware Hardening
Implement controls to prevent recurrence:
- Enforce MFA on all remote access (VPN, RDP, cloud portals)
- Implement 3-2-1-1-0 backup strategy (3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors)
- Deploy application whitelisting on servers
- Implement network segmentation between workstation and server VLANs
- Enable Protected Users security group for privileged accounts
- Disable NTLM authentication where possible
- Deploy LAPS (Local Administrator Password Solution) for local admin accounts
Key Concepts
| Term |
Definition |
| Double Extortion |
Ransomware tactic combining file encryption with data exfiltration and threat to publish stolen data |
| Immutable Backup |
Backup storage that cannot be modified or deleted for a defined retention period, protecting against ransomware targeting backups |
| OFAC Sanctions |
U.S. Office of Foreign Assets Control restrictions that may prohibit ransom payments to sanctioned entities or jurisdictions |
| Dwell Time |
Days the attacker was present before deploying ransomware; critical for determining which backups are clean |
| Ransomware-as-a-Service (RaaS) |
Criminal business model where ransomware developers lease their malware to affiliates who conduct attacks |
| Rclone |
Legitimate cloud sync tool commonly abused by ransomware operators for data exfiltration before encryption |
| 3-2-1-1-0 Backup Rule |
Backup strategy requiring 3 copies, 2 media types, 1 offsite, 1 immutable/air-gapped, and 0 errors in recovery testing |
Tools & Systems
- ID Ransomware: Online service to identify ransomware variant from ransom note or encrypted file sample
- NoMoreRansom.org: Europol-backed project providing free decryption tools for certain ransomware families
- Veeam / Commvault: Enterprise backup platforms with immutable repository and instant VM recovery capabilities
- KAPE: Rapid forensic triage collection from encrypted systems to determine initial access and dwell time
- Cado Response: Cloud-native forensics platform for investigating ransomware that affects cloud infrastructure
Common Scenarios
Scenario: LockBit 3.0 via Compromised VPN
Context: Attackers compromised VPN credentials (no MFA), spent 12 days performing reconnaissance, disabled antivirus via GPO, exfiltrated 47GB of data, and deployed LockBit 3.0 across the domain via GPO at 2:00 AM on a Sunday.
Approach:
- Disconnect all network segments at the core switch level
- Verify offline backup integrity (Veeam repository on immutable storage)
- Preserve two encrypted servers powered on for memory forensics
- Engage incident response retainer and cyber insurance carrier
- Begin recovery in isolated network: rebuild DCs, reset all passwords, restore in priority order
- Conduct forensic investigation in parallel to determine initial access and full adversary activity
Pitfalls:
- Restoring from backups that were created during the 12-day dwell time (may contain backdoors)
- Paying the ransom without OFAC screening and legal counsel review
- Reconnecting recovered systems to the production network before full password reset
- Not checking for data exfiltration, leaving the organization exposed to the extortion threat
Output Format
RANSOMWARE INCIDENT REPORT
===========================
Incident: INC-2025-1892
Ransomware Family: LockBit 3.0 (Black)
Date Detected: 2025-11-17T06:45:00Z
Initial Access: VPN credential compromise (no MFA)
Dwell Time: 12 days
IMPACT SUMMARY
Encrypted Systems: 187 endpoints, 12 servers
Business Impact: Full operations disruption
Data Exfiltrated: 47GB (finance, HR, legal documents)
Ransom Demand: $2.5M BTC (72-hour deadline)
Backup Status: Veeam immutable repository - CLEAN
RECOVERY APPROACH
Decision: Restore from backup (no ransom payment)
Recovery Start: 2025-11-17T10:00:00Z
DC Rebuild: Complete - 2025-11-17T18:00:00Z
Critical Systems: Restored - 2025-11-18T12:00:00Z
Full Recovery: Estimated 2025-11-21
CONTAINMENT TIMELINE
06:45 UTC - Ransomware detected by SOC analyst
07:00 UTC - Network segments disconnected
07:15 UTC - Incident commander activated IR plan
07:30 UTC - Backup integrity verification started
08:00 UTC - Memory forensics initiated on 2 live systems
10:00 UTC - Recovery operations commenced in clean room
POST-INCIDENT ACTIONS
1. MFA enforced on all VPN and remote access
2. 3-2-1-1-0 backup architecture implemented
3. Network segmentation between workstation/server VLANs
4. LAPS deployed for local administrator passwords
5. Regulatory notifications filed (GDPR 72-hour, state AG)
1---2name: performing-ransomware-response3description: 'Executes a structured ransomware incident response from detection through4 containment, forensic analysis, decryption assessment, recovery, and post-incident5 hardening, covering ransom negotiation, backup integrity verification, and regulatory6 notification. Use when actively responding to a ransomware outbreak or crypto-ransomware7 infection, or deciding on ransom payment and containment steps.89 '10domain: cybersecurity11subdomain: incident-response12tags:13- ransomware14- encryption-recovery15- backup-restoration16- ransom-negotiation17- CISA-guidance18mitre_attack:19- T148620- T149021- T107022- T107823- T148924mitre_f3:25 version: '1.1'26 tactics:27 - monetization28 - stealth29 - initial-access30 techniques:31 - id: F101832 name: Convert to Cryptocurrency33 tactic: monetization34 source: f335 - id: F101736 name: Conversion to Physical Monetary Instruments37 tactic: monetization38 source: f339 - id: F1025.00340 name: 'Electronic Funds Transfer: Wire Transfer'41 tactic: monetization42 source: f343 - id: T107044 name: Indicator Removal45 tactic: stealth46 source: attack47 - id: F100648 name: Account Takeover49 tactic: initial-access50 source: f351version: 1.0.052author: mahipal53license: Apache-2.054nist_csf:55- RS.MA-0156- RS.MA-0257- RS.AN-0358- RC.RP-0159metadata:60 source: https://skillmd.com/skills/26zl/performing-ransomware-response61---6263# Performing Ransomware Response6465## When to Use6667- Ransomware has been detected executing or file encryption is actively occurring68- Users report inability to open files with unfamiliar extensions appended69- A ransom note is discovered on one or more systems70- EDR detects mass file modification patterns consistent with encryption behavior71- Threat intelligence warns of an imminent ransomware campaign targeting the organization7273**Do not use** for general malware incidents that do not involve file encryption or extortion; use malware incident response procedures instead.7475## Prerequisites7677- Ransomware-specific incident response playbook reviewed and approved by executive leadership78- Tested and verified offline backup strategy with air-gapped or immutable copies79- Incident retainer with a specialized ransomware response firm (e.g., Mandiant, CrowdStrike Services, Kroll)80- Legal counsel pre-engaged for OFAC sanctions screening and regulatory notification81- Cyber insurance carrier contact information and policy coverage details82- Bitcoin/cryptocurrency analysis capability or third-party engagement for payment tracing8384## Workflow8586### Step 1: Detect and Confirm Ransomware8788Validate that the incident is ransomware and determine the variant:8990- Identify the ransomware by analyzing the ransom note filename, extension appended to encrypted files, and note content91- Upload the ransom note and a sample encrypted file to ID Ransomware (id-ransomware.malwarehunterteam.com)92- Check NoMoreRansom.org for available free decryptors93- Determine the ransomware deployment method from EDR/SIEM logs94- Identify the ransomware group (e.g., LockBit, BlackCat/ALPHV, Royal, Akira, Play)9596```97Ransomware Identification:98━━━━━━━━━━━━━━━━━━━━━━━━━99Variant: LockBit 3.0 (Black)100Extension: .lockbit3101Ransom Note: README-LOCKBIT.txt102Tor Site: lockbit[redacted].onion103Deployment: Group Policy Object pushing ransomware.exe to all domain-joined systems104Initial Access: VPN credential compromise (no MFA)105Dwell Time: 12 days106Data Exfiltration: Yes - 47GB uploaded to MEGA via rclone prior to encryption107```108109### Step 2: Immediate Containment110111Stop ransomware propagation before assessing damage:112113- **Priority 1**: Disconnect affected network segments from core infrastructure (pull the network cable, not shutdown)114- **Priority 2**: Isolate all domain controllers immediately if GPO-based deployment is suspected115- **Priority 3**: Disable the compromised accounts used for deployment116- **Priority 4**: Block lateral movement protocols (SMB TCP/445, RDP TCP/3389, WinRM TCP/5985-5986)117- **Priority 5**: Preserve at least one encrypted system live (do not power off) for memory forensics118- **Do NOT**: Shut down encrypted systems; keep them powered on to preserve encryption keys in memory119120### Step 3: Assess Damage and Scope121122Quantify the impact to inform recovery and business decisions:123124- Count the number of encrypted systems (workstations, servers, domain controllers)125- Determine which business-critical systems and data are affected126- Verify backup integrity: check that backups were not encrypted, deleted, or corrupted127- Assess whether data exfiltration occurred (check for rclone, WinSCP, MEGA, cloud storage activity)128- Determine the ransom demand amount and payment deadline129- Check OFAC sanctions lists to verify the ransomware group is not a sanctioned entity (paying is legally risky)130131```132Impact Assessment:133Encrypted Systems: 187 of 340 endpoints (55%)134Encrypted Servers: 12 of 28 (43%) - includes 2 file servers, 1 database server135Domain Controllers: 2 of 3 encrypted136Backup Status: Veeam repository intact (offline copy verified clean)137Data Exfiltration: Confirmed - 47GB to MEGA (file listing under analysis)138Ransom Demand: $2.5M in Bitcoin (72-hour deadline)139OFAC Screening: LockBit - not currently sanctioned entity (verify with counsel)140```141142### Step 4: Recovery Decision Matrix143144Evaluate recovery options in consultation with legal, executive leadership, and cyber insurance:145146| Option | Pros | Cons | Recommended When |147|--------|------|------|-----------------|148| Restore from backup | No payment, no legal risk | Recovery time may be days | Clean backups available |149| Free decryptor | No payment, fast | Rare availability | Variant has published decryptor |150| Negotiate and pay | Potentially faster | No guarantee, legal risk, funds threat actors | No backups, business survival at stake |151| Rebuild from scratch | Clean environment | Longest timeline, data loss | Backups compromised, willing to accept data loss |152153### Step 5: Execute Recovery154155Implement the chosen recovery strategy:156157**If restoring from backup:**1581. Build a clean isolated network segment for recovery operations1592. Rebuild domain controllers first from clean media (do NOT restore DC backups older than the dwell time)1603. Reset ALL user and service account passwords before joining any system to the new domain1614. Restore servers in priority order: authentication, DNS, DHCP, then business-critical applications1625. Restore workstations via reimaging, not file-level restore1636. Restore data from verified clean backups to rebuilt file servers1647. Reconnect to production network only after validation165166**If using a decryptor:**1671. Test the decryptor on a non-critical system first1682. Decrypt in order of business priority1693. Scan all decrypted systems for residual malware before reconnection170171### Step 6: Post-Ransomware Hardening172173Implement controls to prevent recurrence:174175- Enforce MFA on all remote access (VPN, RDP, cloud portals)176- Implement 3-2-1-1-0 backup strategy (3 copies, 2 media types, 1 offsite, 1 immutable, 0 errors)177- Deploy application whitelisting on servers178- Implement network segmentation between workstation and server VLANs179- Enable Protected Users security group for privileged accounts180- Disable NTLM authentication where possible181- Deploy LAPS (Local Administrator Password Solution) for local admin accounts182183## Key Concepts184185| Term | Definition |186|------|------------|187| **Double Extortion** | Ransomware tactic combining file encryption with data exfiltration and threat to publish stolen data |188| **Immutable Backup** | Backup storage that cannot be modified or deleted for a defined retention period, protecting against ransomware targeting backups |189| **OFAC Sanctions** | U.S. Office of Foreign Assets Control restrictions that may prohibit ransom payments to sanctioned entities or jurisdictions |190| **Dwell Time** | Days the attacker was present before deploying ransomware; critical for determining which backups are clean |191| **Ransomware-as-a-Service (RaaS)** | Criminal business model where ransomware developers lease their malware to affiliates who conduct attacks |192| **Rclone** | Legitimate cloud sync tool commonly abused by ransomware operators for data exfiltration before encryption |193| **3-2-1-1-0 Backup Rule** | Backup strategy requiring 3 copies, 2 media types, 1 offsite, 1 immutable/air-gapped, and 0 errors in recovery testing |194195## Tools & Systems196197- **ID Ransomware**: Online service to identify ransomware variant from ransom note or encrypted file sample198- **NoMoreRansom.org**: Europol-backed project providing free decryption tools for certain ransomware families199- **Veeam / Commvault**: Enterprise backup platforms with immutable repository and instant VM recovery capabilities200- **KAPE**: Rapid forensic triage collection from encrypted systems to determine initial access and dwell time201- **Cado Response**: Cloud-native forensics platform for investigating ransomware that affects cloud infrastructure202203## Common Scenarios204205### Scenario: LockBit 3.0 via Compromised VPN206207**Context**: Attackers compromised VPN credentials (no MFA), spent 12 days performing reconnaissance, disabled antivirus via GPO, exfiltrated 47GB of data, and deployed LockBit 3.0 across the domain via GPO at 2:00 AM on a Sunday.208209**Approach**:2101. Disconnect all network segments at the core switch level2112. Verify offline backup integrity (Veeam repository on immutable storage)2123. Preserve two encrypted servers powered on for memory forensics2134. Engage incident response retainer and cyber insurance carrier2145. Begin recovery in isolated network: rebuild DCs, reset all passwords, restore in priority order2156. Conduct forensic investigation in parallel to determine initial access and full adversary activity216217**Pitfalls**:218- Restoring from backups that were created during the 12-day dwell time (may contain backdoors)219- Paying the ransom without OFAC screening and legal counsel review220- Reconnecting recovered systems to the production network before full password reset221- Not checking for data exfiltration, leaving the organization exposed to the extortion threat222223## Output Format224225```226RANSOMWARE INCIDENT REPORT227===========================228Incident: INC-2025-1892229Ransomware Family: LockBit 3.0 (Black)230Date Detected: 2025-11-17T06:45:00Z231Initial Access: VPN credential compromise (no MFA)232Dwell Time: 12 days233234IMPACT SUMMARY235Encrypted Systems: 187 endpoints, 12 servers236Business Impact: Full operations disruption237Data Exfiltrated: 47GB (finance, HR, legal documents)238Ransom Demand: $2.5M BTC (72-hour deadline)239Backup Status: Veeam immutable repository - CLEAN240241RECOVERY APPROACH242Decision: Restore from backup (no ransom payment)243Recovery Start: 2025-11-17T10:00:00Z244DC Rebuild: Complete - 2025-11-17T18:00:00Z245Critical Systems: Restored - 2025-11-18T12:00:00Z246Full Recovery: Estimated 2025-11-21247248CONTAINMENT TIMELINE24906:45 UTC - Ransomware detected by SOC analyst25007:00 UTC - Network segments disconnected25107:15 UTC - Incident commander activated IR plan25207:30 UTC - Backup integrity verification started25308:00 UTC - Memory forensics initiated on 2 live systems25410:00 UTC - Recovery operations commenced in clean room255256POST-INCIDENT ACTIONS2571. MFA enforced on all VPN and remote access2582. 3-2-1-1-0 backup architecture implemented2593. Network segmentation between workstation/server VLANs2604. LAPS deployed for local administrator passwords2615. Regulatory notifications filed (GDPR 72-hour, state AG)262```