← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

ISO 27001 control 8.12: proving data leakage prevention

  • Compliance
  • 6 min read
  • Updated
Padlock on a grid of glowing blue and purple blocks, an image of a set of security controlsA dated test record, not a screenshot

Evidence for 8.12

  • No product is mandated; the auditor wants to see that the control works.
  • A register of dated tests, checked against your proxy and DLP logs, also feeds 8.16, clause 9.1 and the management review.

For ISO 27001 control 8.12, a DLP rule export is the thinnest evidence you can hand an auditor. It proves the control exists, not that a labelled file would be stopped at your web proxy, and the question you will get at audit is the second one: how do you know it works?

If your answer is three console screenshots, better to find out six months before the audit than on the day.

What ISO 27001 control 8.12 says

Control 8.12, “Data leakage prevention”, arrived with the 2022 revision and sits in the technological theme of Annex A. It asks for leakage prevention measures on the systems, networks and devices that process, store or transmit sensitive information, and the implementation guidance in ISO/IEC 27002:2022 sets out what that covers:

  • identifying and classifying sensitive information, which links directly to control 5.12 on classification;
  • monitoring exfiltration channels: email, file transfers, removable media, cloud services, the browser;
  • preventive actions: blocking, quarantine, alerting;
  • the balance with employee privacy and applicable law: in the UK, the UK GDPR, the Data Protection Act 2018 and employment law (the ICO publishes specific guidance on monitoring workers); in the EU, the GDPR and national employment law.

Configuration alone is weak evidence

A rule can be live and stop nothing. The connector lost coverage after an update, the channel was never in scope, or the exception made for one project was never taken out. These DLP false negatives leave nothing in the console. Clause 9.1 asks you to determine what is monitored and measured, and how effectiveness is evaluated; for 8.12 we see no credible answer without testing. The same record also serves the neighbouring controls: 8.15 (logging) and 8.16 (monitoring activities) for the alert you expected, 5.14 (information transfer) for the channel you tested.

The evidence an auditor expects to find

Policy, configuration and logs show that the control exists and sometimes reacts. Test records and the action plan show what it lets through and what you did about it.

Type of evidence Examples What it demonstrates
Policy Data leakage prevention policy, classification rules Intent and scope
Configuration Export of DLP rules, email filters, egress controls That measures exist
Logs Alerts, blocks, incidents handled That the tool reacts to certain real events
Test records Dated results of re-run scenarios, channel by channel What gets through, and what the measures block or detect (read from your logs), on the scenarios tested
Action plan Gaps found, priority, owner, fix date, retest Continual improvement (clause 10)

Building test records that stand up in an audit

A record that holds up answers five questions: what, by which path, when, with what result, and what happened next. It covers only the scenarios you ran, so the matrix has to show the auditor what is still untested.

Diagram · a record that stands up

A test record that stands up in an audit, control 8.12: five questionsTest record sheet. What: the type of synthetic data. Which path: the channel and the expected control. When: the date and the time to detection. Result: blocked, detected but not blocked, or not detected. Next: the action, the owner and the retest.TEST RECORD · CONTROL 8.12What?Which path?When?Result?Next?Type of synthetic dataChannel and expected controlDate and time to detectionAction, owner, retestBlockedDetected, not blockedNot detected

Five questions, one consistent format from one campaign to the next.
  1. Map the exfiltration channels. List the paths through which data can leave the organisation: outbound email, HTTPS web traffic, DNS, personal cloud storage such as Dropbox or WeTransfer, Teams or Slack, USB devices, SaaS applications, prompts to Copilot or another AI assistant. That is your coverage matrix: against each channel, note the control that should act (endpoint DLP, proxy, CASB, email gateway).
  2. Use synthetic data. Send real sensitive data in a test and you have caused the leak you were trying to prevent. Synthetic data that mimics real patterns (numbers in the right format, documents marked with your classification labels, for example “Confidential” in Microsoft Purview) lets you test in production with no real business data involved.
  3. Re-run the same scenarios over time. After an agent update, a migration or a rule change, the same scenario tells you whether the control still holds, and a regression shows up in your register before it shows up in an audit report. Enforcis tests eight network channels (HTTP, HTTPS, FTP, DNS, ICMP, GitHub Gist, Google Drive and DPaste), and you re-run a campaign whenever you need to; email, USB, Teams, Slack and AI prompts stay manual tests, logged on the same sheet. For how these approaches fit together, see the comparison of continuous validation, pentest and red team.
  4. Record the result for each scenario. For each scenario: date, channel, type of synthetic data, expected control, observed result (blocked, detected but not blocked, not detected) and, if an alert came, time to detection on the SOC side. Enforcis reports what was attempted, transmitted and collected. Whether each one was blocked, flagged or missed you work out from your own logs: take the timestamp of each upload and look for it in the proxy logs and in Activity explorer in Microsoft Purview. Illustrative example, made-up figures: 12 HTTPS uploads attempted, nine transmitted, nine collected. The proxy logs show three blocks, which account for the three missing uploads, and the DLP console has alerts on two of the nine that got through. Seven left with no trace anywhere: that is your gap.
  5. Link every gap to an action. In the gap register, the auditor reads the date it was opened, the owner, the retest date and the retest result. That is what clause 10 (nonconformity, corrective action and continual improvement) looks for.

The surveillance audit: a dated 8.12 gap and its fix

A manufacturer certified since 2024 is preparing for its surveillance audit, and the auditor samples control 8.12. The CISO brings the policy, the export of the Purview rules and three months of results across six channels, each scenario re-run weekly.

Hand-run tests through the mail gateway show it blocks attachments labelled “confidential”. Uploads to a personal Google Drive from an unmanaged browser are another matter: they went through without an alert four weeks running, in June and July. The file holds the fix ticket, the added rule and the retest.

The auditor records an observation, already closed by the retest, rather than a nonconformity: the control is monitored, the gap is dated and the fix has been checked.

Next step

A first dated result for your 8.12 register

Thirty minutes of guided demo on pre-built results shows what an 8.12 test produces: a campaign across the eight channels and its report, with nothing to install and no access to your environment. The POC, quick and usually free, runs one standard scenario with synthetic data from a machine on your network, through your real egress controls, and gives you a first dated line for the 8.12 register. A paid pilot then covers a limited part of your production.

8.12 checklist before the audit

  • Control 8.12 appears in the statement of applicability, with its justification.
  • Sensitive information is classified and the labels are used by the tools.
  • A channels / controls matrix exists and is up to date.
  • Tests have been run on every channel in the matrix, using synthetic data.
  • Your results are dated, retained and follow the same format.
  • Every gap has a priority, an owner, a deadline and a retest.
  • Tracking metrics are presented to top management at the management review.
  • The DPO has approved the safeguards around monitoring with regard to privacy.

If NIS2 applies to you as well, the same records do double duty; our article on NIS2 and evidence of protection measures shows how. The wider method is on the page about data exfiltration testing.

FAQ

Does control 8.12 require you to buy a DLP solution?

No. The standard requires measures appropriate to the risks, not a product. Native email, proxy or endpoint controls may be enough, provided you can show that they work.

Can control 8.12 be excluded from the statement of applicability?

An exclusion is possible if it is justified by the risk assessment. For an organisation that processes personal data or trade secrets, that justification will be hard to defend.

What is the link between control 8.12 and control 5.12?

Control 5.12 covers the classification of information. Control 8.12 builds on it: without reliable labels or categories, your prevention rules do not know what to protect. In an audit, we recommend presenting the two together.

Can test results also be used for clause 9.1?

Yes. They measure how well 8.12 works: feed them into your clause 9.1 metrics and take them to the management review (clause 9.3).

An 8.12 control, checked with decoys

We send decoys out through your real exit paths, and each scenario comes back dated as attempted, transmitted and collected, ready to check against your logs and to rank with you in the action plan.