In short
A useful decoy looks real to your rules (format, check digit, label, volume), carries a unique marker you can search for in your logs, and is never built from a production export.
Yes, you can test exfiltration in production if the files you push out are synthetic: decoys generated from scratch (fake IBANs, contracts marked “confidential”) that trigger your DLP like the real thing but belong to nobody. The test still runs through the endpoints, proxies and policies you rely on.
Pre-production will not tell you what production does
A rule that passes in the test environment can fail in production for mundane reasons. Someone adds an exception on the production proxy to unblock a business tool and never mirrors it in pre-production, so a whole category of storage sites goes through untouched. Or the endpoint DLP agent reached the pilot group but never the HR build. Pre-production shows neither; real machines, with their own image, accounts and egress paths, show both. The wider method is in our guide to data exfiltration testing.
How synthetic data changes the risk
With a real customer file, every upload is a potential breach for the DPO to assess. With a decoy, what leaves is worthless, where it lands barely matters and only the SOC needs to know. The risk that remains is operational: a badly tuned scenario can flood the SOC with alerts or slow an HR laptop on payroll day.
| Risk | Test with real data | Test with synthetic data |
|---|---|---|
| Actual leak | Potential personal data breach, to be assessed | No real personal data, business data or secrets used as payload |
| Uncontrolled destination | Residual copy whose deletion cannot be guaranteed | Worthless copy, traceable by its marker |
| Notification obligations | Analysis with the DPO, notification to the supervisory authority (the ICO in the UK) within 72 hours if the breach poses a risk to individuals (Article 33 of the GDPR and the UK GDPR) | No real personal data involved |
| Internal acceptance | Hard to get approved | The discussion turns to payload and scope |
Designing good decoys
A decoy your DLP does not recognise tests nothing: if it gets through, you cannot tell a gap in the rule from a rule that ignored implausible data. Before a campaign, drop each decoy into a location your DLP watches and check that the target rule fires. If it stays silent, fix the decoy first.
Diagram · anatomy of a good decoy
Match the formats your rules detect
The decoy must reproduce the structures your rules look for:
- Identifiers with a check digit: a fake IBAN (ISO 13616 standard, 22 characters for a UK account, check digits calculated modulo 97) or a fake NHS number (10 digits, the last one a modulus 11 check digit) must carry a valid check digit, or a well-written rule will ignore it. A National Insurance number has no check digit, but it does have prefix rules: two letters, six digits and a suffix from A to D; the first letter is never D, F, I, Q, U or V, the second never D, F, I, O, Q, U or V, and prefixes such as BG, GB, NK, KN, TN, NT and ZZ are not allocated. Test the decoy against the detector you expect to fire, in Purview the U.K. national insurance number (NINO) sensitive information type. A well-formed number may belong to a real person, so check first whether that detector fires on an unallocated prefix such as ZZ or BG. If it does, use only those; if not, keep valid prefixes, attach no other real attribute and record the choice with the DPO.
- Payment card numbers: the published test numbers, such as 4111 1111 1111 1111 (Visa) or 5555 5555 5555 4444 (Mastercard), pass the Luhn check and match no real account. Some engines and gateways recognise and skip them, and you end up blaming a rule that only ignored a known test number. Generate a varied set of Luhn-valid numbers instead.
- Business documents: in the Python Faker library, Faker(‘en_GB’) gives you plausible British names, addresses and postcodes. Drop them into a fake Word contract or a fake PDF payslip that copies the layout and vocabulary of your real documents.
- Classification labels: if your rules rely on labels or metadata, the decoy must carry them. Without consistent data classification, some of your rules never fire, and the test should show it.
- Exact data match and fingerprinting: EDM (Purview Exact Data Match, Symantec EDM) and document fingerprinting only fire on values or files you have registered. A synthetic decoy will never trigger them unless you load the decoy values into the EDM schema or fingerprint the decoy templates.
- Plausible volumes: a 10-line file and a 50,000-line export do not stress your thresholds in the same way.
Give every decoy a traceable marker
Each decoy carries an identifier unique to its scenario and run, such as ENF-TEST-2026-031, in the file name, the document properties and the content. Proxies log a URL, a size, sometimes a file name, rarely the content: a marker buried in the body only turns up in the match excerpt of a DLP incident. The register holds each marker with its date, channel, result and the file’s SHA-256 hash (Get-FileHash on Windows), which finds the file, even renamed, in logs that keep hashes. For a blocking test, a test notice in the properties stops a stray decoy opening a real incident. To measure detection, use a neutral marker only your point of contact knows: an analyst who reads TEST closes the alert, and a rule that excludes the word stays quiet. Search for the marker and you know whether the upload was seen, which tool caught it and how long that took: the raw material for a time-to-detect metric.
Never derive from real data
Payroll file to personal cloud: a worked scenario
A hospital IT team wants to check that a payroll file cannot leave an HR laptop for a personal cloud storage account. The first run is manual, with the team’s own decoy.
- You generate a 200-row synthetic Excel spreadsheet: invented names, fake National Insurance numbers on the unallocated ZZ prefix (assuming your detector fired on it during calibration), fictitious salaries, an “HR Confidential” label.
- You record it in the register with its marker.
- From a real Windows laptop in scope, signed in as a standard user, you upload the file to a personal Google Drive account. In MITRE ATT&CK terms that is T1567.002, Exfiltration to Cloud Storage.
- You search the DLP, proxy and SIEM logs for the marker: was the upload blocked, was an alert raised, did anyone pick it up, and when?
- Illustrative example, made-up figures: one file attempted, none transmitted, none collected on the Google Drive side. The endpoint DLP agent blocked the upload, and the alert reached the SIEM 40 minutes later, where nobody picked it up. The block held; the alerting path needs work.
That spreadsheet is your manual test. Enforcis 1.0 covers the same route (Google Drive is one of its 8 channels) with its own synthetic payloads and configurable volumes, read against your logs the same way.
Next step
From a homemade decoy to a POC on your network
Before you build a decoy library of your own, 30 minutes of guided demo on pre-built results shows a campaign across the 8 channels and its report, with nothing installed and no access to your environment. The POC, quick and usually free, runs a standard scenario with synthetic data from a machine on your network, through your real egress controls, and the destinations agreed at scoping become the list in your DPO note. A paid pilot then sends decoys across a limited part of your production and measures what gets out.
Answering the “too risky in production” objection
A reluctant DPO will want it in writing, and one page does it. The data: generated decoys only, never derived from production. The destinations, listed in advance; with Enforcis, they are agreed with you when scoping the POC or the pilot. The scope, signed off by IT: named workstations, accounts, channels and a time slot, say 10 am to noon on Tuesdays.
Then decide who is told. If you are measuring blocking, warn the whole SOC and the on-call team 48 hours ahead; if you are measuring detection, tell one point of contact. Name someone who can suspend a scenario in under five minutes, and share the marker register with the DPO. Once that page is signed, production is open to the test, and so are the DLP false negatives that pre-production never shows, such as an endpoint agent that never reached the HR build.
What decoys cannot test
Decoys test whether your controls recognise structures you already know about. Sensitive data you have never described in a rule stays invisible to them. They also age: when legal issues a new contract template, no decoy copies it until someone updates the library, so tie that update to the template release.
FAQ
Can synthetic data trigger a notification to the ICO?
No, provided it contains no real personal data and is not derived from production: its exfiltration is not a personal data breach under Article 4(12) of the GDPR or the UK GDPR. Keep a record of the approach, agreed with your DPO.
Can you test exfiltration in production without any risk?
No. Decoys remove the data risk, not the operational one: an alert storm or a slowed machine.
Are decoys enough to test the whole DLP?
They cover rules based on content, formats and labels. Combine them with a review of classification and of the channels covered to test your DLP thoroughly.
Can we use real card numbers, masked?
No. A masked number is still tied to a real account, and masking often breaks your rules’ format checks.

