← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

Data leak incident response: the first 24 hours

  • Incident response
  • 6 min read
  • Updated
Edge of a red warning triangle above an electronic circuit board, an image of an incident to contain72 h to notify, 24 h to prepare

Clocks and first moves

  • Clocks: 72 hours under the UK GDPR and EU GDPR; shorter ones under NIS2, DORA and SEC rules.
  • Evidence: copy logs before they rotate; capture memory before any power-off.
  • Afterwards: rerun the channel with synthetic data to check the fix holds.

Data leak incident response runs against a fixed clock. Article 33 of the UK GDPR and the EU GDPR gives you 72 hours from becoming aware of a personal data breach to report it, unless it is unlikely to put anyone at risk. The first 24 hours decide whether that report is on time and accurate.

For the wider method, see Data exfiltration testing: definition and method.

Exfiltration is a different kind of incident

Exfiltration rarely shows on screen. It surfaces late, through a proxy volume alert, a call from a third party or a post on a leak site. The instinct is to hunt for malware. Start instead with which data left, by which route, and whether that route is still open.

In double extortion, the data leaves before the encryption starts and becomes the blackmail lever; see Ransomware and double extortion: exfiltration is the step to test.

The first 24 hours step by step

Diagram · the first 24 hours

The first 24 hours in four stagesFrom H0 to H2, declare and timestamp the incident. From H2 to H6, contain the egress channel. From H6 to H12, establish what got out. From H12 to H24, assess the risk to individuals. All of it prepares the notification to the regulator, due within 72 hours.H0 to H2Declare,timestampH2 to H6Containthe channelH6 to H12Establishwhat leftH12 to H24Assessthe riskPrepare the notification within 72 h

H0 to H2: declare and timestamp

  • Open the incident formally with a written time of awareness. That timestamp, rather than the time of the attack, starts the 72-hour clock.
  • Assemble the core team: CISO or SOC manager, DPO, CIO, legal, with comms on standby. One person owns the incident log.
  • Choose an out-of-band communication channel if email or the directory may be compromised.
  • Notify the cyber insurer if the policy sets a short notification window.
  • Start the other clocks if they apply: NIS2 early warning within 24 hours (Article 23); DORA initial notification within four hours of classifying the incident as major, at most 24 hours after becoming aware; for US public companies, Form 8-K Item 1.05 within four business days of determining materiality.

H2 to H6: contain without destroying evidence

Containment starts with the exit route. Block the identified destinations at the proxy and firewall for every user, and isolate the affected laptops from the network without powering them off: switching off wipes memory, often the only trace of the process that sent the files.

Preserve evidence at the same time, one owner per item: a memory capture through the EDR’s live-response feature (SOC or IR retainer); proxy, DNS and firewall logs copied before rotation, with retention extended (network team); the Microsoft 365 unified audit log or a Google Workspace audit export (platform admin); a litigation hold on the mailbox (legal).

H6 to H12: establish what got out

The SOC rebuilds the timeline from proxy, DNS, firewall, SaaS audit, endpoint and email gateway logs, around three questions:

  1. What: which categories of data (personal, health, trade secrets, customer data) and roughly what volume.
  2. How: which channel (HTTPS to cloud storage, DNS, email, removable media, collaboration tool).
  3. Since when: the first known exit, often well before detection. If it predates your oldest logs you will not see it; say so in the report rather than concluding there was a single exit.

Without data classification, the SOC opens files one by one to see what they hold. We explain the link in Why DLP depends on data classification. For the detection method itself, see Detecting exfiltration: the SOC method and how to measure time to detection.

H12 to H24: assess the risk and prepare the notification

The DPO assesses the risk to the data subjects: nature of the data, volume, possibility of identification, possible consequences. Write the assessment down even if you conclude there is no risk: the breach still goes in the internal register.

Breach notification deadlines: UK GDPR, GDPR and beyond

Obligation Text Deadline or condition
Notify the regulator (the ICO in the UK) GDPR, Article 33 Without undue delay and, where feasible, not later than 72 hours after becoming aware of it, unless the breach is unlikely to result in a risk to the rights and freedoms of individuals
Justify a delay GDPR, Article 33 A notification made after 72 hours must be accompanied by the reasons for the delay
Notify in stages GDPR, Article 33 The information may be provided in phases if not everything is known
Inform the individuals GDPR, Article 34 When the breach is likely to result in a high risk
Document every breach GDPR, Article 33 Internal register, including for breaches that were not notified

Use phased notification: a first report at H48, topped up later, beats an exhaustive one at H90. The ICO takes breach reports online or by phone. A processor must alert the controller without undue delay: if the leak occurs at a service provider, see Data leakage at third parties and processors.

Several regimes can apply to one incident, each with its own authority; US state breach laws add more deadlines. Agree in advance who notifies whom.

CRM export to personal cloud storage: the first day

An invented case, not a client’s. A proxy volume alert fires mid-afternoon: an unusual upload from a sales rep’s laptop to a consumer storage service. The SOC confirms a CRM export with customer names, email addresses and phone numbers (MITRE ATT&CK T1567.002, Exfiltration to Cloud Storage).

  • 4:30 pm: incident opened, time of awareness recorded.
  • 6 pm: sessions revoked, storage domain blocked at the proxy for all users, laptop isolated; HR and legal briefed before anyone speaks to the sales rep.
  • Day 2, 10 am: timeline built from the proxy’s bytes out per destination; one upload, close to the size of the CRM export; data categories known.
  • Day 2, 3 pm: the DPO concludes there is a risk to individuals; initial notification drafted.

The review then faces the awkward question: why did the DLP rule meant to stop this file going to personal cloud storage do nothing? This case is typical of the everyday leaks described in Personal cloud, Teams, Slack: the everyday data leaks.

Next step

Check that the route your leak took is shut

If the leak went out over HTTPS, Google Drive or another of the 8 channels we cover, start with a 30-minute guided demo on pre-built results, with nothing to install and no access to your environment. To check the fix from inside your network, a quick POC, usually free, sends synthetic data in one standard scenario from one of your machines through your real egress controls. If the post-incident review needs wider evidence, a paid pilot covers a limited part of your production, and we work through the findings with your team.

From lessons learned to tests

Most lessons-learned reports are read once and filed. Turn each finding into a scenario you can rerun with synthetic data instead.

Turning findings into tests

  • Write the channel up as a testable scenario (data type, destination, user context).
  • The fix applied has a verifiable expectation: blocked, alerted, or logged.
  • The scenario is rerun right after the fix, from the same kind of laptop and network path as the incident.
  • It is run again at regular intervals, because an agent or policy update can break it silently.
  • Close variants (another format, service or machine) join the test set.

Illustrative example, made-up figures: with the domain blocked, you rerun the upload of 20 decoy files from a sales laptop. Result: 20 attempted, 0 transmitted, 0 collected. The proxy log should hold 20 timestamped denials; if it holds 12, the other eight failed for another reason and the block is not yet proven.

Frequently asked questions

Does the 72-hour deadline start from the attack or from detection?

From the moment the controller becomes aware of it: for the EDPB (guidelines 9/2022), a reasonable degree of certainty that personal data has been compromised. Timestamp each step so you can defend your start time.

Do you have to notify the regulator if the exfiltrated data was encrypted?

Not necessarily. If the data is unintelligible and the key is not compromised, the breach may be unlikely to result in a risk, and notification may not be required. Document it internally all the same.

What if you still do not know what was stolen at H72?

Notify with what you have, then add to it. Article 33(4) provides for information in phases.

Should compromised machines be switched off?

As a general rule, no: isolate them and capture memory first. Powering off destroys the in-memory traces that show how the data left.

Test the leak route before someone else does

We send decoys out through your real exit paths, one scenario at a time, so the route behind an incident is tested before the next one: you see what was attempted, transmitted and collected. Your incident team and ours then rank the fixes.