Cyber threats · Learn

What is data exfiltration?

Data exfiltration is the theft stage of a breach: where an attacker copies your data out to somewhere they control. Here is what it looks like, the channels attackers use, and how to make it hard.

Cyber threats · LearnSecurity services Download PDF
TL;DR

Data exfiltration is the unauthorised copying or transfer of data out of your environment to a place an attacker controls. It is the goal of most targeted attacks and usually the final stage, after an intruder has gained access and found what is worth taking. It can be fast and loud or slow and stealthy, and it is defended by controlling where data lives, who can reach it, and what is allowed to leave your network.

By Shubham Kandhare, Delivery Manager, SecureLayer7Updated

How does data exfiltration happen?

Exfiltration is rarely the first step. It is the end of a chain: an attacker gets in (often through phishing or a stolen credential), escalates privileges, finds where the valuable data sits, collects it, and then moves it out. The moving-out part is the exfiltration.

That last stage is where defenders have a real chance, because the data has to cross a boundary to leave. If you know what normally leaves your network and to where, an unusual transfer stands out. If you do not, gigabytes can walk out disguised as ordinary traffic.

The channels attackers use

Data leaves by whatever path is open and least watched:

  • Web traffic (HTTPS) to a server the attacker controls, blending in with normal browsing.
  • DNS tunnelling, encoding data into DNS lookups that firewalls rarely inspect.
  • Cloud storage and personal accounts, uploading to a personal drive or a bucket the attacker owns.
  • Email, forwarding or attaching sensitive files to an outside address.
  • Removable media, copying to a USB drive, which is common for insiders.
  • Legitimate tools, using the same file-transfer and admin utilities your team uses, so nothing looks out of place.

Why it is hard to catch

Modern exfiltration is built to hide. The traffic is usually encrypted, so its contents cannot be read in flight. It often goes out slowly, in small chunks over days, to stay under volume alarms. And it rides normal channels, so it looks like the HTTPS, DNS, and cloud uploads your business does all day.

This is why simply having a firewall is not enough. Catching exfiltration takes knowing your normal baseline, watching the paths data leaves by, and alerting on the anomalies rather than the payload.

Exfiltration by insiders

Not all exfiltration is an outside intruder. A departing employee emailing customer lists to a personal account, or copying source code to a USB drive, is exfiltration too, using access they were legitimately given.

Insider exfiltration is harder to spot because the access is expected. The signals are behavioural: someone touching data they do not usually touch, large downloads before a resignation, or transfers to personal accounts. Least privilege, access reviews, and monitoring of sensitive data are the practical defenses.

How to reduce the risk

You cannot make exfiltration impossible, but you can make it hard and noisy:

  • Know where your sensitive data lives and cut down how many places hold it. Less spread is less to steal.
  • Enforce least privilege so a single compromised account can reach only a slice of the data.
  • Control egress: restrict outbound traffic and destinations, and watch DNS.
  • Deploy data-loss prevention (DLP) on the paths data actually leaves by (email, file sharing, endpoints).
  • Monitor and baseline so an unusual transfer raises an alert while it is happening.

And because attackers chain their way to the data, a penetration test is the honest way to check whether they could reach it at all.

References

  1. [1]Exfiltration (Tactic TA0010)(MITRE ATT&CK)
  2. [2]Cyber Threats and Advisories(CISA)
  3. [3]Data Breach Investigations Report(Verizon)
Related terms

Exfiltration is the moment a security problem becomes a business problem. The best time to stop it is before it starts, by keeping data scarce, access tight, and the exits watched.

Common questions

Data exfiltration, asked often

Scope an engagement

Find out whether an attacker could reach, and remove, your data.

We run penetration tests that follow the real path to your data, from first foothold to exfiltration, and hand your team the route that worked and a fix a developer can implement.