← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

Double extortion: why you should test exfiltration before encryption

  • Ransomware
  • 6 min read
  • Updated
Glowing padlock crossed by red data flows on a circuit board, an image of data locked and then stolenBackups do not bring the data back

In short

  • Backups answer the encryption; the stolen copy needs an egress test of its own.
  • Start from a file server, with decoys, once small and once at several gigabytes.
  • Read the outcome in your own logs: blocked, alerted, or seen by nobody.

In MITRE ATT&CK, the two halves of a double extortion attack sit under different tactics. Encryption is T1486, Data Encrypted for Impact; copying the data out belongs to Exfiltration, TA0010. Your backups and restore drills are built for the first. Nothing in them tests the second.

Double extortion turns ransomware into a data breach

Once the files are out, you are handling a breach with a publication threat on top; IBM’s Cost of a Data Breach Report 2026 counts publication and leaks to the media among the threats ransomware victims face. Often the attacker tells you first: Mandiant’s M-Trends 2026 found that 44% of ransomware intrusions came to light that way.

The question for your team is narrow: could someone already inside move several gigabytes off a file server without being blocked or spotted?

Diagram · two levers, two responses

Double extortion: two levers, two responsesAn attacker already inside steals the data first, then encrypts the systems. Backups deal with the encryption by letting you restore. Only preventing exfiltration deals with the theft, and that has to be tested.Attackerinside1. Stealthe data2. Encryptthe systemsRESPONSEPrevention,to be testedBackups,restores

What backups cover, and what they do not

Consequence of the attack Do backups help? Control to check
Systems encrypted, business halted Yes, if they are isolated and tested Recovery plan, restore tests
Data copied out No Egress filtering, DLP, SOC detection
Threat of publication No Logs that show what left and what did not
Regulatory notification No An inventory of the data exposed

Boards tend to miss the last two rows. If the attacker claims to hold your engineering share and your logs cannot say what left, you end up notifying as if all of it did.

Exfiltration leaves the most network evidence

In a double extortion attack the copy comes before the encryption, often by hours or days. The attacker stages and compresses the files (T1560, Archive Collected Data), then moves them with ordinary tools: rclone to MEGA or a rented S3 bucket (T1567.002, Exfiltration to Cloud Storage), WinSCP over SFTP (T1048, Exfiltration Over Alternative Protocol), or a group’s own tool, such as LockBit’s StealBit. It is the one stage that has to push gigabytes across your perimeter, so it leaves traces, if anyone is looking.

T1567.002 and T1048 sit under Exfiltration, covered in the TA0010 tactic explained for defenders; T1560 belongs to Collection (TA0009), the step just before. To check for yourself: where TLS is inspected, search the proxy logs for rclone’s default user agent, which starts with “rclone/v”. Then total the bytes each server sent over 24 hours, per destination: a file server pushing several hundred megabytes to a consumer file host deserves a question.

Start with these four paths:

  • encrypted web traffic to storage or sharing services, where TLS inspection often leaves exceptions (see the blind spots of TLS inspection);
  • infrastructure protocols allowed by default, such as DNS;
  • personal cloud accounts and collaboration tools;
  • direct connections from servers that should never talk to the Internet.

Version 1.0 of Enforcis covers eight channels: HTTP, HTTPS, FTP, DNS, ICMP, GitHub Gist, Google Drive and DPaste. An rclone upload to MEGA or an SFTP push to an attacker’s server is not among them, so test those with your own tooling.

Every control in place, and the data still left

Assume a mid-sized manufacturer that restores its backups every quarter, runs DLP on laptops and email, and filters risky web categories at the firewall.

Through a contractor’s VPN account, an attacker stages the engineering share on a file server, packs it into split archives and pushes them overnight to a consumer storage service over HTTPS.

How to test the exfiltration stage without exposing any real data

Decoys do the job: synthetic files with the formats, classification labels and patterns your DLP looks for, and none of the content. More in our article on synthetic data in production.

The preparation steps

  1. Choose the data that matters. The files whose publication would hurt most: customer personal data, drawings, contracts, HR records.
  2. Map the starting points. File servers and databases first, then workstations and cloud environments: wherever an attacker would gather data.
  3. List the egress channels. Web, DNS, email, cloud storage, collaboration tools.
  4. Define the expected result and the volume. Blocked, detected, or both, and how fast. Run it once with a few megabytes and once with several gigabytes over a night, or your volume alert never gets tested.
  5. Set up a white team. The SOC lead or the on-call manager knows the time window and the source IP, so an alert does not turn into a crisis. Level 1 analysts are not told, or you stop measuring detection.

What you should have at the end

For each scenario: a status read from your logs (blocked, detected or unnoticed), the time between the first decoy leaving and the alert reaching the SOC, and a short list of fixes ranked by impact, not a 60-page report.

Illustrative example, made-up figures: an HTTPS scenario to Google Drive from the file server is set up with 40 decoy files, 2 GB in all. 40 are attempted, 31 transmitted, 31 collected at the destination. The logs show the proxy let all 31 through, network DLP logged none of them and the SOC volume alert fired without anyone working it. The nine files that never arrived have no deny entry in the proxy logs either, so the scenario is run again before anyone reads anything into the gap.

Fixing a proxy exception that opens a channel to every server is worth more than ten rule adjustments on workstations. Our article on prioritising DLP remediation details the method.

Next step

Test the copy-out stage before anyone encrypts

Put the POC machine on your file server segment, where a double extortion crew would start: a standard scenario with synthetic data goes through your real egress controls, fast and usually free. Before that, a 30-minute guided demo on pre-built results shows a campaign across the eight channels, with nothing to install and no access to your environment. A paid pilot then repeats the test on a limited part of your production, starting with the file shares.

Re-test exfiltration after every egress change

A proxy exception goes in for a project and never comes out. An application moves to the cloud. A new contractor arrives with a VPN account like the one in the scenario above. Each of these can reopen a path your last test found closed, so run the file server scenario again after each one. If an incident happens anyway, knowing which paths let a decoy out, and at what volume, helps you write the 72-hour breach notification that Article 33 of the GDPR and the UK GDPR require (to the ICO, in the UK).

Frequently asked questions

What is double extortion in cybersecurity?

A two-stage ransomware attack: the data is stolen, then the systems are encrypted, so the victim is pushed to pay twice, once to get access back and once to keep the data unpublished.

Do immutable backups protect against double extortion?

They protect availability, not confidentiality: you can restart without paying, but the attacker keeps whatever was already copied.

Can exfiltration be tested without any risk to real data?

Yes. The decoys are synthetic files built to trigger your detection rules, with no real business data in them. They still raise alerts at the SOC or MSSP, so agree the machines, time window and white team in writing first.

Who should lead this type of test?

Usually the CISO, with the SOC for the detection side and the DPO for choosing which sensitive data to simulate. In a mid-sized company without a dedicated CISO, the head of IT can take it on.

Know what could leave before the ransom note

We run controlled exfiltration scenarios, mapped to MITRE ATT&CK, with synthetic data through your real egress controls, show you what was attempted, transmitted and collected, and go through the findings with you to decide what to close before a ransomware crew finds it.