Law firms hold exactly what attackers want: confidential client matters, deal information, personal data and access to client funds. Corporate clients increasingly send outside counsel security questionnaires that ask about independent penetration testing, and cyber insurers ask similar questions at renewal. A practical first test for a small or mid-sized firm covers the external perimeter and remote access, email and identity, the document management system and client portal, and an internal test from an ordinary staff laptop to see how far an attacker could reach.
Why law firms are targeted
Attackers target law firms for three reasons. Confidential information about mergers, litigation and intellectual property is valuable. Firms handle client money in trust accounts, which makes payment fraud through email compromise lucrative. And a single firm holds data for many clients, so one breach can expose many organisations at once. Ransomware groups also know that firms face professional and reputational pressure to restore service quickly.
What clients and insurers ask
Outside counsel guidelines and client security questionnaires commonly ask whether the firm has had an independent penetration test in the last year, whether high-risk findings were fixed, whether MFA is enforced, how client data is encrypted and segregated, and how incidents would be reported to the client. Cyber insurers ask overlapping questions. A recent test with a clean retest answers several of these at once.
Professional duties
In the US, the ABA Model Rules include a duty of technology competence in the commentary to Rule 1.1 and a duty in Rule 1.6(c) to make reasonable efforts to prevent unauthorised disclosure of client information, and ABA formal opinions have addressed lawyers' obligations around cybersecurity and data breaches. State rules vary. Testing is one way to show that reasonable efforts are being made and that they work.
What to test first
Scope the test around where client confidences live and how people reach them.
- External perimeter: firewall, VPN or remote desktop gateway and any public services.
- Email and identity: Microsoft 365 or Google Workspace configuration, MFA enforcement, conditional access and admin accounts.
- Document management system and any extranet or client portal, tested as a logged-in user for access between matters and clients.
- Practice management and billing systems, especially where they connect to trust accounting.
- Internal network: from a standard laptop, can an attacker reach file shares, backups and the document system?
- Wi-Fi in offices, especially where clients and guests connect.
Ethical walls and access between matters
Firms often rely on ethical walls to prevent lawyers on one matter from seeing documents on another. A useful test checks whether those walls are enforced technically in the document management system and file shares, not just by policy. Testing with accounts in different groups shows whether a user can reach matters they should not, which matters for both confidentiality and conflicts.
Payment fraud and email
Email compromise leading to diverted payments is one of the most common and costly incidents for law firms. Include email security in the test: phishing resistance of MFA, external forwarding rules, impersonation protection and SPF, DKIM and DMARC. Pair the technical test with a process check of how payment instructions are verified. Our BEC response guide covers what to do if it happens.
Running the test without disrupting work
Agree testing windows around court deadlines and closings, and keep a named contact available. Use test accounts and test matters rather than real client files where possible, and agree in the rules of engagement how any client data seen during testing is handled. Our post on rules of engagement covers the detail, and scoping a penetration test helps prepare.
A worked example
A 35-lawyer firm receives a questionnaire from a financial services client asking for an independent penetration test within the last year. The firm scopes an external test, a Microsoft 365 configuration review and an internal test from a standard laptop. The internal test shows that any user can open documents in every matter folder on the file share, despite ethical walls set in the document management system, because an old share was never locked down. The firm fixes the share permissions, enforces phishing-resistant MFA for partners and finance staff, and receives a retest letter it sends to the client with the questionnaire.
The same letter later answers similar questions from two other clients and the firm's cyber insurer.
Sharing results with clients
Clients rarely need the full report. A short attestation letter from the tester, stating the scope, dates, methodology and that high-risk findings were remediated and verified, usually satisfies questionnaires. Keep the full report confidential. See our law firm IT and security page and VAPT services.
Frequently asked questions
Do law firms need penetration testing?
What should a law firm's pentest cover?
Can a pentest check ethical walls?
Should we share the report with clients?
Answer your clients' security questions
We test the systems that hold client confidences and provide an attestation letter for questionnaires.

