← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

Law firms and data leakage: protecting client confidentiality

  • Sector
  • 6 min read
  • Updated
Glowing padlock on a colourful circuit board, an image of the secrecy and confidentiality of case filesA single memo can be enough

Where firm files leak

  • A leak breaches the duty of confidentiality and may need reporting to the ICO.
  • DLP cannot tell the client from opposing counsel: misaddressed email needs other controls.
  • A decoy memo, sent down each path and checked against your logs, shows which controls hold.

Law firm data leakage starts at a fee earner’s desk far more often than at the perimeter, so that is where testing should start. The usual culprits are an autocompleted address, an exhibit dropped into personal cloud storage and a draft sent from a phone, and a firewall review will catch none of them.

A law firm is a target in its own right

On a handful of workstations, a firm holds information that most companies spread across entire systems: merger plans, litigation strategy, medical records in a personal injury claim, private client financial data, confidential exchanges with a chief executive.

Privilege protects a document from compelled disclosure; a leak breaches the duty of confidentiality, set out in paragraph 6.3 of the SRA Code of Conduct for Solicitors and, in the US, in ABA Model Rule 1.6(c). With personal data involved, Article 33 of the UK GDPR adds a report to the ICO within 72 hours where feasible. And the harm is not counted in records: one strategy memo can hurt a client.

Partners also have a lot of autonomy, associates travel, assistants do much of the sending, and clients insist on their own tools. The IT team, often small or outsourced, runs the document management system (iManage or NetDocuments) and the mail platform, not the client’s data room or the expert’s favourite transfer service.

The most common leakage paths

Diagram · the egress paths of a case file

The egress paths of a client fileA client file, with its pleadings, internal notes and exhibits, can leave the firm through four ordinary channels: email, with the wrong recipient; file sharing, with an open link or a data room; the laptop on the move, with a USB stick or a printout; generative AI, with a pasted excerpt.Client filePleadingsInternal notesExhibitsEmailwrong recipientFile sharingopen link, data roomLaptop on the moveUSB stick, printingGenerative AIpasted excerpt

The four ordinary channels, detailed below, through which a document leaves the firm.

Email, the first channel

Email is still where most of the work happens. Its risks are well known and rarely tested:

  • The wrong recipient through autocomplete, which sends pleadings to opposing counsel instead of the client.
  • Forwarding to a personal mailbox to “work on it this weekend”.
  • Large attachments replaced by a sharing link open to “anyone with the link”.
  • Metadata and comments left in a Word document sent to the opposing party.

DLP is a poor fit for two of these. The client and opposing counsel are both external recipients, and a DLP rule cannot tell them apart. Misaddressing is handled by switching off Outlook autocomplete, the external recipients MailTip in Exchange Online or a recipient-checking tool such as Egress Prevent; leftover metadata by Word’s Document Inspector or a scrubber on send, testable with a tracked-changes decoy. For forwarding to a personal mailbox, see how to test your email DLP rules.

File sharing and the tools imposed by clients

Data rooms, sharing platforms, the client’s collaborative workspaces, personal cloud to get around a size limit: every matter opens new paths. The associate in a hurry means no harm; they just want the fastest way to get 400 pages of exhibits out before the hearing. More on everyday leaks in our article on personal cloud and collaboration tools.

Laptops, USB sticks and printing

A USB stick handed to an expert, printing at home, a case folder synced to a personal computer: the lawyer’s laptop is often the least controlled way out of the firm.

Generative AI

Summarising a ruling, rewording a clause, translating an exhibit: it is tempting to paste an extract from a case file into a public assistant. ABA Formal Opinion 512 asks lawyers to understand how an AI tool uses client information before entering any. Test it like any other egress channel.

An acceptable use policy stops nothing

Most firms have an acceptable use policy, annual awareness training and Microsoft Purview DLP policies, sometimes alongside Exchange Online mail flow rules. None of it shows that a sensitive email or upload would be stopped.

A rule that matches internal matter numbers is useless once their format changes. Gaps like this are the ones described in our analysis of DLP false negatives: they fail silently. To find them, send a decoy and open Activity explorer in the Purview portal; no rule match means the rule saw nothing.

Testing law firm data leakage with decoys

No real client file ever leaves the firm. You build synthetic data that looks like the firm’s documents (fake pleadings, fake contracts, fictitious case numbers in the right format) and send it along the real egress paths. The wider approach is set out in our page on data exfiltration testing.

The decoy strategy memo

The security team prepares a fake strategy memo marked “Confidential, legally privileged”, containing a fictitious client name and a matter number in the internal format. The test then checks, channel by channel:

  1. Is sending it as an attachment to an external personal address blocked, flagged or merely logged?
  2. Is dropping the file on a personal storage service from the browser detected?
  3. Is copying to removable media prevented on a laptop outside the firm’s network?
  4. Does pasting the content into a public AI assistant trigger a control?
  5. Who receives the alert, and how long before someone handles it?

For each attempt, note what was sent, what left and what arrived, then check the mail trace, Purview and proxy logs. Illustrative example, made-up figures: of four attempts, two were transmitted and collected, the browser upload and the AI paste. The proxy logged the upload with no alert; nothing recorded the paste. The Gmail attachment was stopped, and its alert reached the outsourced service desk the next morning.

Prioritisation table by channel

Channel Typical risk in a law firm Control to check
Outbound email Wrong recipient, personal forwarding, leftover metadata External recipient warning, metadata scrubbing; DLP rule on marked documents for personal forwarding
Sharing links Public link on a sensitive exhibit Restriction of anonymous links, expiry
Personal cloud Getting around size limits Detection of uploads from the browser
Laptop on the move USB stick, personal synchronisation Control enforced outside the firm’s network
Generative AI Case file excerpt pasted into a prompt Control of content typed into unauthorised tools

The insider threat, without presuming bad intent

A partner or associate leaving for a rival firm is a sensitive moment. Testing for it casts no suspicion on anyone: you are checking that a bulk export from the DMS, or an unusual volume of downloads the day before a departure, would be noticed, and by whom. More on this in our article on the insider threat.

Next step

The browser upload path, tested from inside the firm

Our eight channels cover the network paths above, such as an HTTPS upload or a Google Drive drop; email, USB, printing and AI pastes stay with your own tests. A 30-minute guided demo on pre-built results comes first, with nothing to install and no access to your environment; a quick POC, usually free, then sends one standard scenario of synthetic data, never client material, from a machine on the firm’s network through your real egress controls. If the partners want more, a paid pilot covers a limited part of your production, with a report and the findings worked through with our team.

Checklist for partners and the IT director

  • Pick the three or four most sensitive document types and check how they are marked.
  • List the egress channels in daily use, including those clients impose.
  • Review DLP policy modes and exceptions, each with a named owner.
  • Rerun the decoy tests after every change of tool or policy.
  • Give every finding an owner and a fix date.

Frequently asked questions

Does a small firm need to test its leak prevention?

Yes, at its own scale. A ten-person firm handles information every bit as sensitive as a large one. A few scenarios on email and file sharing are a sound start.

Can you test without exposing client data?

Yes. The tests rely on decoys: fictitious documents that mimic the format of real case files. No real data leaves the firm.

Isn’t awareness training for lawyers enough?

It cuts errors down but never removes them. Technical controls catch some human error; a test shows which ones do.

How often should you test?

After every significant change (new tool, migration, new rule or exception), and at regular intervals in between: configurations drift quietly.

Client confidentiality, tested with decoy files

We push decoy case files out through your real exit paths, one scenario at a time, and show you what got through. We then work through the findings with you and agree which leak route the firm closes first.