- Home
- SIEM use cases
- How to detect double extortion ransomware
How to detect double extortion ransomware
In this page
Threat snapshot
Double extortion ransomware changed the calculus of ransomware defense. When encryption alone was the threat, organizations with reliable backups could restore without paying. When attackers began exfiltrating data before encrypting it, even a full restoration from backup left the victim exposed to a second threat: publication of the stolen data on a leak site. That exposure creates regulatory breach notification obligations, reputational damage with customers and partners, and in healthcare and financial services contexts, direct legal liability that exists regardless of whether the ransom is paid.
The defining characteristic of a double extortion attack is the sequence: data staging and exfiltration first, encryption second. This sequence is also the detection opportunity. Data staging, the compression of large file sets into archives before exfiltration, generates detectable signals. Exfiltration to external cloud storage, tunneling services, or custom infrastructure generates network-level signals. The combination of these signals with the encryption-phase signals from the Mass File Encryption use case gives a SOC team a much wider detection window than encryption alone would provide.
Log360 covers double extortion detection across T1567 (Exfiltration Over Web Service), T1486 (Data Encrypted for Impact), and T1048 (Exfiltration Over Alternative Protocol) with 37 detection rules spanning Windows process creation events, network connection monitoring, and cloud audit logs. This page focuses on the exfiltration phase, since the encryption phase is covered separately in the Mass File Encryption use case.
Double extortion detection, at a glance
| Severity | Critical |
| Category | Ransomware & Extortion |
| MITRE ATT&CK tactic | TA0010 Exfiltration, TA0040 Impact |
| MITRE techniques | T1567 Exfiltration Over Web Service, T1486 Data Encrypted for Impact, T1048 Exfiltration Over Alternative Protocol |
| Detection vectors | Archive compression of dump files, tunneling service connections, cloud storage upload activity, DNS exfiltration, SMTP on non-standard ports |
| Platforms covered | Windows, Network |
| Log360 detection rules | 37 rules |
| SOC maturity level | Level 3 - Incident Response |
| Compliance mapping | NIST CSF PR.DS-5, PCI-DSS 12.10, HIPAA Section 164.312(e)(2)(ii), ISO 27001 A.13.2.3, GDPR Article 33 |
How double extortion attacks work
Double extortion operations follow a consistent pattern that separates them from single-extortion ransomware. Understanding the specific sequence allows SOC teams to identify the attack during the exfiltration phase, before encryption begins.
Data discovery and targeting
Before staging data for exfiltration, attackers enumerate the environment to identify the highest-value data. They search for files matching patterns associated with sensitive content: spreadsheets, database backups, HR files, legal documents, customer data, and source code repositories. This enumeration generates process creation events for search utilities (Get-ChildItem, findstr, dir /s) running across network shares or specific directories with file extension filters.
Data compression and staging
Once target files are identified, they are compressed into archives for efficient exfiltration. WinRAR and 7-Zip are the most commonly used tools, often with password protection to prevent interception or inspection during transit. The compression of dump files (LSASS dumps, NTDS.dit, database exports) is a specific sub-pattern that Log360 tracks because it combines credential theft artifacts with exfiltration staging. Archive creation of large file sets outside of normal backup windows is the primary staging signal.
Exfiltration via tunneling services
A growing proportion of double extortion operators route their exfiltration through legitimate tunneling services: Ngrok, Cloudflared, and Microsoft DevTunnels are the most commonly observed. These services provide encrypted tunnels over HTTPS, making the traffic appear as standard web traffic to network monitoring tools that do not perform deep packet inspection or DNS-based blocking. The process creation events for these tools and their DNS resolution patterns are detectable even when the traffic itself is encrypted.
Exfiltration via cloud storage APIs
Ransomware operators also exfiltrate directly to cloud storage services using their native APIs or sync clients. Dropbox API calls, rclone configured for cloud targets, and direct HTTP PUT requests to attacker-controlled storage are the primary patterns. The volume of outbound data and the specific API endpoint domains are the detection signals at the network layer.
DNS-based exfiltration
Some operators use DNS tunneling to exfiltrate data through a channel that is rarely inspected by perimeter security tools. Data is encoded and transmitted as DNS query strings to an attacker-controlled resolver. This generates an anomalous volume of DNS queries with long or randomized subdomains that have no legitimate business purpose. DNS exfiltration tools run as processes with specific behavioral signatures.
Real-world campaigns
Cl0p: structured exfiltration before encryption
Cl0p operations follow a particularly well-documented double extortion pattern. After obtaining domain admin credentials, they use rclone configured for remote cloud storage to exfiltrate data, then deploy their encryptor. The rclone configuration file creation and the rclone.exe process creation with cloud storage target arguments are detectable process creation events. Cl0p also specifically targets file shares containing contract documents, financial records, and customer databases, which means file access events on those specific share paths in the context of an unusual account are a secondary signal.
BlackCat/ALPHV: exfiltration via custom infrastructure with Ngrok relay
BlackCat affiliates have been documented using Ngrok tunnels to relay exfiltrated data through Ngrok's infrastructure to their collection servers, obscuring the ultimate destination. The Ngrok client process creation and its connection to Ngrok relay domains is detectable. BlackCat also maintains a leak site and has threatened to notify victims' customers and regulators directly, increasing the pressure to pay regardless of backup availability.
LockBit: StealBit custom exfiltration tool
LockBit affiliates use StealBit, a custom-built exfiltration tool designed specifically for high-speed data theft before encryption. StealBit is not a repurposed legitimate tool, so process name and hash-based detection rules are more effective against it than against operators using legitimate tools like rclone or 7-Zip. StealBit creates archive files with specific naming patterns and transmits them to LockBit-controlled infrastructure.
Business impact
- Backup-based recovery does not address the extortion threat: An organization that restores fully from backup still faces the threat of data publication. The attacker retains a copy of the stolen data regardless of whether the victim pays the ransom or restores independently. This fundamentally changes the cost-benefit calculation for ransom payment.
- Regulatory breach notification obligations are triggered by the exfiltration, not the encryption: Under GDPR, HIPAA, and most state-level breach notification laws, the obligation to notify affected individuals and regulators is triggered when personal data is accessed or exfiltrated by an unauthorized party. The notification clock starts at exfiltration, not at encryption. Early detection of exfiltration is therefore directly relevant to notification deadline compliance.
- Large data volumes increase both the ransom demand and the regulatory exposure: Double extortion groups calibrate their ransom demand based in part on the sensitivity and volume of data they have exfiltrated. Detecting the exfiltration phase early limits the amount of data the attacker obtains, which directly reduces the leverage they have and the regulatory exposure the organization faces.
- Customers and partners may be notified by the attacker before the organization is ready: Several major ransomware groups have a documented practice of contacting victims' customers, regulators, or media outlets directly if the victim does not engage with their ransom demand. This removes the organization's control over the breach disclosure narrative.
Detecting double extortion with Log360
The detection rules below focus on the exfiltration phase. For network-layer detection to work, Log360 must be receiving firewall, proxy, and DNS logs. Process creation events require Event 4688 with command-line capture or Sysmon Event 1. Cloud storage connection detection relies on DNS resolution and proxy logs capturing the destination domains.
| Rule name | Severity | Platform | MITRE technique | What it detects |
|---|---|---|---|---|
| 7Zip Compressing Dump Files | Trouble | Windows | T1560.001 | 7-Zip compressing LSASS dump files, NTDS.dit exports, or other credential dump artifacts before exfiltration. This specific combination, a compression tool targeting dump files, is a high-confidence indicator of credential theft plus exfiltration staging. |
| Compress Data and Lock With Password for Exfiltration With 7-ZIP | Trouble | Windows | T1560.001 | 7-Zip invoked with password protection flags on a large file set, the standard pattern used by ransomware operators to create encrypted archives for exfiltration that cannot be inspected in transit. |
| Password Protected Compressed File Extraction Via 7Zip | Attention | Windows | T1560.001 | 7-Zip extraction of a password-protected archive, which may indicate receipt of attacker tooling delivered as a protected archive, or preparation of already-compressed data for further staging. |
| WinRAR Compressing Dump Files | Trouble | Windows | T1560.001 | WinRAR compressing credential dump files. The same data staging pattern as the 7-Zip rule above, covering operators who prefer WinRAR as their compression tool. |
| WinRAR Execution in Non-Standard Folder | Trouble | Windows | T1560.001 | WinRAR executed from a temp directory, user AppData folder, or other non-standard installation path, indicating a portable or freshly dropped WinRAR binary rather than a standard user installation. |
| Communication To Ngrok Tunneling Service Initiated | Trouble | Windows | T1567 | Process initiating a network connection to Ngrok relay domains, indicating the Ngrok client is running and establishing a tunnel. Ngrok is used extensively by ransomware affiliates to relay exfiltrated data through Ngrok's infrastructure. |
| Network Connection Initiated To Cloudflared Tunnels Domains | Trouble | Windows | T1567 | Connection to Cloudflare Tunnel (cloudflared) relay domains, another tunneling service used for covert exfiltration. Cloudflared provides an encrypted tunnel over HTTPS that bypasses most perimeter controls. |
| Network Connection Initiated To DevTunnels Domain | Trouble | Windows | T1567.001 | Connection to Microsoft DevTunnels domains, a legitimate development tunneling service that has been co-opted by threat actors for covert exfiltration because its traffic appears as standard Microsoft HTTPS traffic. |
| Network Connection Initiated To Visual Studio Code Tunnels Domain | Trouble | Windows | T1567 | Connection to VS Code remote tunnel infrastructure, used by some threat actors to establish covert command-and-control and exfiltration channels through Microsoft's infrastructure. |
| Network Connection Initiated To BTunnels Domains | Trouble | Windows | T1567 | Connection to BTunnels service domains, a lesser-known tunneling provider used by some ransomware affiliates as an alternative to Ngrok to avoid Ngrok-specific detection rules. |
| DNS Exfiltration and Tunneling Tools Execution | Trouble | Windows | T1048.001 | Process creation events for DNS tunneling utilities (iodine, dnscat2, dns2tcp), which encode data in DNS query strings for exfiltration through a channel that bypasses most perimeter DLP and firewall controls. |
| SMTP on Port 26/TCP | Trouble | Network | T1048 | Outbound SMTP traffic on port 26 rather than the standard port 25, used by some ransomware operators to exfiltrate data via email through a non-standard port that may not be blocked by perimeter controls. |
| Suspicious Dropbox API Usage | Trouble | Windows | T1105 | Process or browser-based API calls to Dropbox endpoints that deviate from normal usage patterns, used by some ransomware operators to exfiltrate data to a Dropbox account they control. |
| NTDS Exfiltration Filename Patterns | Trouble | Active Directory | T1003.003 | File system events for files matching NTDS.dit exfiltration naming patterns, indicating the Active Directory database has been copied for offline credential extraction and exfiltration. |
| Suspicious Process Patterns NTDS.DIT Exfil | Trouble | Active Directory | T1003.003 | Process creation patterns associated with NTDS.dit exfiltration, covering the methods used to copy the AD database from a live domain controller without using Volume Shadow Copy. |
Attack chain visibility
| Step | Log source and event | What it indicates | Time offset |
|---|---|---|---|
| 1 | Windows Event 4688 / Sysmon Event 1 - search utility (Get-ChildItem, findstr) running against file shares with file extension filters | Data discovery phase. Attacker is identifying high-value files for exfiltration. This activity generates high volumes of file read events on the targeted share but does not yet involve any data movement. | T+0 (may occur days before encryption) |
| 2 | Windows Event 4688 / Sysmon Event 1 - 7-Zip or WinRAR executed against large file sets or dump files | Data staging. 7Zip Compressing Dump Files or WinRAR Compressing Dump Files rule fires. Archive files being created in temp or non-standard directories. The combination of compression target (dump files, sensitive directories) and destination (temp folder) is the staging signal. | T+hours after step 1 |
| 3 | Process creation for Ngrok, cloudflared, or DNS tunneling tool; network connections to tunnel service domains | Exfiltration channel establishment. Tunneling service detection rules fire. The attacker is establishing the covert channel through which data will be transferred. At this point exfiltration has not necessarily begun but the infrastructure is in place. | T+minutes to hours after step 2 |
| 4 | High-volume outbound traffic to tunnel service or cloud storage domains; DNS query volume anomaly | Active exfiltration. Data is moving. Outbound data volume anomaly combined with the tunnel connection events from step 3 confirms exfiltration is in progress. This is the last point at which limiting additional data transfer is possible. | T+concurrent with or shortly after step 3 |
| 5 | Shadow copy deletion events; BCDEdit recovery disabling; bulk file modification events | Encryption phase begins. At this point the attacker has completed data exfiltration and is proceeding to the encryption phase. The double extortion leverage is already established. Refer to Shadow Copy Deletion and Mass File Encryption playbooks for response from this step. | T+hours to days after step 4 |
Investigation playbook
Step 1: Establish the data staging scope
- Query Log360 for all 7-Zip and WinRAR process creation events in the alert window. Identify the specific files or directories being compressed, the output archive path, and whether password protection was used. The compression target tells you what category of data the attacker is staging.
- If dump files are being compressed (NTDS Exfiltration Filename Patterns or 7Zip Compressing Dump Files alerts fired), treat this as a confirmed credential exfiltration scenario. All credentials in the environment must be assumed compromised regardless of whether the archive was successfully exfiltrated.
- Identify the account running the compression commands. Query this account's recent activity across all hosts for the prior 48 hours to establish the full scope of the staging operation.
Step 2: Determine whether exfiltration has occurred
- Query firewall and proxy logs for outbound connections to tunneling service domains (ngrok.io, trycloudflare.com, devtunnels.ms, tunnel.btunnel.com) from the affected host in the alert window. High outbound data volume to these domains confirms data has been transferred.
- Query DNS logs for the affected host for anomalous query patterns: high volume of queries to a single domain, queries with long or randomized subdomains, or queries to domains that do not resolve to known legitimate services. These patterns indicate DNS tunneling or unusual cloud storage activity.
- Check for SMTP traffic on port 26 in firewall logs from the affected host. This non-standard port is specifically used to bypass perimeter SMTP controls and indicates email-based exfiltration.
- Estimate the volume of data transferred based on the size of the compressed archives created in step 1 and the outbound traffic volume in step 2. This estimate is required for breach notification scope assessment.
Step 3: Assess notification obligations
- If personal data, customer records, financial data, or health information was accessible in the directories staged for exfiltration, initiate the breach notification assessment process immediately. The notification obligation is triggered by confirmed or suspected exfiltration, not by encryption.
- Document the timeline of the exfiltration with specific timestamps from Log360 events. The exact time the exfiltration began and the latest confirmed exfiltration event are required for breach notification filings.
- Preserve all relevant Log360 events and alert records as evidence. These records are required for regulatory filings, insurance claims, and any subsequent legal proceedings.
Response and remediation
Immediate actions
- Block tunneling service domains at the firewall and DNS level immediately: Once a tunneling service connection is confirmed, block the relevant domains (ngrok.io, trycloudflare.com, devtunnels.ms) at both the DNS resolver and firewall layers. This stops in-progress exfiltration and prevents the attacker from re-establishing the tunnel after an interruption.
- Isolate the host performing the compression and exfiltration: Network isolation stops active exfiltration. Every additional minute of connectivity means additional data transferred. Isolation does not destroy the forensic evidence of what has already been exfiltrated.
- Do not delete the staging archives: The compressed archive files created during staging are forensic evidence of exactly what data the attacker intended to exfiltrate. Preserve them for forensic review and breach notification scope assessment before any cleanup.
- Initiate breach notification assessment in parallel with technical response: The breach notification process should begin as soon as exfiltration is confirmed, not after the technical response is complete. Notification deadlines under GDPR (72 hours from awareness of the breach) and similar regulations do not pause while the incident response is ongoing.
False positive tuning
| False positive source | Rules affected | Tuning strategy |
|---|---|---|
| Legitimate developer use of DevTunnels or VS Code remote tunneling | Network Connection Initiated To DevTunnels Domain, Network Connection Initiated To Visual Studio Code Tunnels Domain | Allowlist specific developer workstations and service accounts with documented legitimate use of these services. Alert on any tunnel connection from a host not in the developer allowlist, or from any server-class host (these services have no legitimate server-side use). |
| IT team using Ngrok for legitimate webhook testing | Communication To Ngrok Tunneling Service Initiated | Ngrok legitimate use is almost exclusively on developer workstations during active development sessions. Allowlist specific developer hosts and require documented approval for any production or server-class host. Tunnel connections on weekends or outside business hours from allowlisted hosts should still generate low-severity alerts. |
| Authorized backup software creating password-protected archives | Compress Data and Lock With Password for Exfiltration With 7-ZIP, WinRAR Compressing Dump Files | Allowlist the specific backup service account and the expected archive destination path. Any compression of dump files (as opposed to general data files) should continue to alert regardless of the account, as there is no legitimate backup scenario that requires compressing LSASS dumps or NTDS exports. |
| Security team running authorized penetration tests | Multiple rules across all stages | Require advance written notification for penetration tests and create time-bounded exceptions for the test scope. Any rule firing outside the documented test scope or after the test window ends should be treated as a real incident. |


