How to conduct an effective security audit for law firms
By Jonathan D. Steele | August 15, 2025
How to conduct an effective security audit for law firms?
Quick Answer: Before: many firms operated with sprawling, poorly inventoried data stores, permissive cloud sharing, legacy authentication and inconsistent legal/evidence controls—leaving privileged client information exposed to phishing, credential theft and stealthy exfiltration with slow or ad hoc detection and recovery. After a targeted, legally-aware security audit that enforces scope and SLAs, deploys immediate controls (MFA, disable legacy auth, patching), tightens DMS sharing, implements SIEM/EDR visibility, tests IR playbooks and immutable backups, and tracks measurable KPIs (e.g., ≥90% critical remediations, 100% partner MFA, faster MTTD/MTTC), the firm can detect and contain attacks rapidly, preserve forensics, and materially reduce business and regulatory risk.
— Jonathan D. Steele, Esq. (Security+, ISC2 CC, CEH)
Introduction: Why law firms need targeted security audits now
This guide expands the typical audit checklist into a practical, step-by-step approach with concrete examples, measurable outcomes and technical detection/remediation advice that you can use during and after the engagement.
Define scope and objectives
Step 2: Set objectives. Before testing begins, document clear, measurable goals. Example objectives:
- Assess the effectiveness of data protection controls: DLP rules, encryption-at-rest and in transit, access controls, and backup isolation.
- Verify incident detection and response capability: logging coverage, SIEM alerts, EDR telemetry, and escalation paths.
Define success metrics up front (for example: percent of critical findings remediated within SLA, phishing click-rate reduction) and limit the scope to specific networks, IP ranges, and systems you will test. Include a list of out-of-scope assets (e.g., active litigation storage with court protection) to avoid legal exposure.
Prepare legally and ethically
Because client privilege and chain-of-custody are paramount, complete these preparatory steps before any technical work:
- Define and sign non-disclosure agreements and an evidence-handling procedure that preserves metadata and audit logs (hashes for captured files, secure transfer and storage of artifacts).
- Coordinate with ethics and compliance officers before interviewing attorneys or accessing privileged content; use role-based access and minimize exposure to privileged documents during tests.
- Document legal constraints (jurisdictional, client privilege) and, if necessary, engage outside counsel to approve the audit plan.
Inventory assets and map data flows
Step-by-step:
- Enumerate data locations: on-prem file servers, DMS (e.g., iManage, NetDocuments), local workstations, email archives (Exchange/Office365), backup targets (tape, cloud), cloud storage (SharePoint, OneDrive, Google Drive) and SaaS apps with client data.
- Label data sensitivity (e.g., public, internal, confidential, privileged) and map retention policies and encryption status for each store.
Use the inventory to prioritize high-impact systems — for example, a DMS that stores active case files and is synchronized to cloud clients should be treated as critical for both protection and recovery testing.
Threat modeling for legal practice areas
Customize the threat model to the firm’s specialties and business processes. Examples with concrete attack vectors:
- Corporate M&A: attackers may target board materials stored in SharePoint or confidential workspaces. Threats include stolen credentials to access pre-deal documents or man-in-the-middle attacks against remote collaboration tools.
- Litigation: adversaries value e-discovery datasets and privileged strategy emails. Look for unsecured discovery drops (FTP or cloud links), excessive case-level sharing links and inadequate redaction processes.
- IP firms: patent filings and source code. Prioritize detection on large file uploads/downloads, restrict external sharing, and monitor developer tooling and build artifact repositories.
Key point: Attackers are motivated by extortion and access to privileged information; build threat scenarios that map attacker goals to specific firm assets and user behaviors.
Legal Protection Matters: Cybersecurity incidents often have significant legal implications. Our sister firm Steele Family Law helps Illinois families navigate complex legal situations with the same commitment to protection and discretion we bring to cybersecurity.
Technical assessment: scans, tests, and audits
Combine automated scanning, manual review and controlled exploitation. Suggested phases and concrete actions:
1. Passive discovery and vulnerability scanning: Use authenticated scans (Nessus, Qualys) against internal ranges and external internet-exposed assets. Record CVE references and risk scores, and prioritize authenticated scan results for internal servers and applications.
2. Manual configuration review: Review settings in DMS, Exchange/Office365, IdP (Azure AD/Ping), VPN and firewalls. Look for:
- Permissive sharing links (anonymous or organization-wide) in SharePoint/OneDrive or DMS.
- Legacy protocols enabled (IMAP/POP/Basic Auth) that bypass modern MFA.
- Over-permissive OAuth app consents or admin-consented third-party apps.
- Misconfigured conditional access or missing device compliance checks.
3. Penetration testing: Conduct internal and external pentests focused on phishing, credential harvesting, lateral movement and privilege escalation. Use a controlled blast radius and document exploit steps. Examples:
- Phishing with credential capture targeted at partners, followed by detection of successful logins from new IPs.
- Exploitation of a file server with weak SMB settings to demonstrate lateral spread to the DMS.
4. Secure code and third-party checks: For custom apps, perform code reviews and run SAST/DAST. For vendors, request SOC 2 Type II reports, penetration test summaries and conduct configuration reviews of vendor consoles (e.g., e-discovery platforms).
Human and process assessments
Technical controls rely on people and processes. Key activities and actionable checks:
- Structured interviews: speak with partners, IT, records managers, privacy/compliance officers and paralegals to document real-world workflows (how files are shared externally, typical remote access patterns, use of personal devices).
- Privilege management checks: review access reviews for partners and staff, ensure separation of duties, and check for standing admin accounts that are not regularly audited.
Incident response and tabletop exercises
Assess detection, response and recovery with technical verification and practice runs:
- Playbook review: map common scenarios (ransomware, credential compromise, data exfiltration) to runbooks with owners, communications templates and legal notification triggers.
- Logging and monitoring validation: verify SIEM ingests logs from key sources (EDR, mail logs, DMS audit trails, VPN, IdP). Example: confirm Office365 Unified Audit Logs and Azure AD SignIn logs are retained at appropriate granularity and accessible to the SOC.
- Tabletop exercise: run at least one simulation (e.g., ransomware encrypting the DMS). Measure time-to-detect (MTTD), time-to-contain (MTTC), decision-making (pay vs. restore), forensic evidence collection and client notification path.
- Backup testing: perform restores from isolated environments and verify integrity. Include offline/immutable backups for the DMS and Exchange, and document RTO/RPO for critical case data.
Real attack scenario and audit detection steps
Scenario: A partner receives a convincing spear-phishing email with a weaponized attachment. Malware executes, harvests Outlook credentials, and the attacker exfiltrates privileged case files via the firm’s cloud sync to an external account.
Audit detection steps (concrete checks and signals):
- EDR telemetry: hunt for anomalous process parents (WinWord spawning PowerShell), encoded command-lines, unsigned executables, or suspicious child processes. Query EDR for processes invoking network connections soon after document open.
- Endpoint behaviors: check for abnormal persistence mechanisms (new scheduled tasks, registry Run keys) and mass file access consistent with data staging.
- Mail server logs: review Exchange/Office365 sign-in logs for impossible travel, sign-ins from new geolocations or device IDs, and OAuth consent events indicating app token grants. Example query: search Azure AD sign-ins for new IP + refresh token activity around the compromise window.
- DMS and cloud storage audit trails: check for large downloads, many file exports, creation of external share links, or new external collaborators added. Look for spikes in read/download events tied to the compromised account.
- Network telemetry: review proxy and firewall logs for unusual file transfers (SFTP, cloud API uploads) and long-running outbound connections to uncommon hosts. Check TLS SNI and DNS queries for known exfil domains.
- MFA and conditional access validation: determine whether MFA challenged, and if conditional access blocked access from unknown devices. If OAuth tokens were used, revoke refresh tokens and reissue credentials.
- Containment steps: isolate infected endpoints, disable compromised accounts, force re-authentication and revoke OAuth consents, and snapshot affected machines for forensic analysis.
Remediation plan and prioritization
Convert findings into an actionable remediation roadmap with owners, SLAs and verification steps. Use prioritization tiers with concrete tasks:
- Immediate (Critical – within 7 days): isolate compromised accounts, deploy emergency MFA to all partner/admin accounts, apply critical OS/EDR/AD patches, and restore from verified immutable backups if necessary.
- Short-term (High – within 30 days): disable legacy authentication, implement conditional access policies, tighten DMS sharing defaults (no anonymous links), and enforce strong password/SSO policies.
- Medium-term (30–90 days): roll out organization-wide EDR if missing, deploy DLP policies for sensitive repositories, implement automated deprovisioning workflows, and conduct focused awareness training for partner-level roles.
- Long-term (90+ days): adopt data classification and automated labeling, integrate CASB for cloud activity monitoring, and mature incident response with regular tabletop and live-fire drills.
For each item, include acceptance criteria (e.g., “MFA enforced for all admin roles — verify via IdP logs and test accounts”), remediation owner, required resources and a verification step (re-scan, re-test, or evidence provided).
Measurable outcomes and KPIs
Choose KPIs that are measurable and tied to audit objectives. Include both technical and human metrics and how to measure them:
- Vulnerability remediation: target ≥90% of critical findings remediated within SLA. Measure by comparing initial scan results to a follow-up authenticated scan.
- MFA coverage: target 100% for partners and administrators within 30 days. Verify via IdP reports and test sign-ins.
- Phishing resilience: reduce simulated phishing click-rate by ≥70% in six months. Track by role and simulation type; report credential submission and OAuth grant rates separately.
- Detection and response times: define baseline MTTD/MTTC from the tabletop and aim to reduce by 50% after remediation. Measure using SIEM incident records and EDR alerts.
- Backup reliability: ≥95% successful restores in quarterly tests, with RTO/RPO meeting business requirements for critical systems.
- Access review cadence: 100% of privileged accounts reviewed quarterly with documented recertification outcomes.
Reporting and follow-up
- Executive summary: top risks in plain language, business impact, prioritized remediation roadmap with owners and timelines, and recommended immediate actions (e.g., force reset of privileged accounts).
- Technical appendix: detailed findings with evidence (log snippets, hash values, PoC steps), reproducible remediation steps, verification checks and test results from scans and pentests.
- Continuous monitoring recommendations: list SIEM rules to implement (e.g., repeated OAuth grant events, mass DMS downloads, EDR detections for suspicious child processes), regular vendor reassessments and an annual re-audit schedule or after material changes.
Schedule a follow-up remediation review within 90 days, and a full reassessment annually or after significant changes (M&A, major cloud migrations, or high-profile incidents).
Resources and frameworks
Recommended frameworks and guidance:
- NIST Cybersecurity Framework — for risk management and control selection.
- NIST SP 800-115 — technical guide to penetration testing and assessments.
- American Bar Association cybersecurity resources — guidance specific to legal practice ethics and client data protection.
Final checklist
Before closing the audit, confirm:
- Written authorization and evidence handling documented and stored securely (with checksums and a secure audit trail).
- All critical findings have owners, remediation deadlines and verification steps logged in a tracking system (ticketing or GRC tool).
- Tabletop exercise lessons are integrated into updated incident response playbooks and communicated to leadership.
- A communications plan exists to notify clients and regulators if a breach occurs, aligned with legal obligations and pre-approved messaging templates.
- Restore tests completed for critical systems and immutable backups verified to meet RTO/RPO targets.
Conducting a security audit with legal sensitivity, technical depth and measurable goals reduces exposure and strengthens the firm’s ability to protect privileged client information. Implement immediate wins (MFA, disable legacy auth, tighten sharing defaults), followed by medium- and long-term projects (DLP, CASB, automated IAM) to build a sustainable security posture.
---
Related Articles
Stop hoping you won't get breached.
Get the 15-point Security Audit Checklist that attackers don't want you to have. Plus weekly intel briefs - no fluff, no vendor pitches.
No spam. Unsubscribe anytime. We don't sell your data - we protect it.