In short
When ransomware hits a law firm, three problems run in parallel: deadlines must be met without the practice management software, the electronic court mailbox must stay reachable from a clean device, and possible theft of client data engages professional secrecy and the GDPR at the same time. Isolate first and rebuild the deadline position from independent sources, then have databases, document storage and backups examined without writing to them. This page sets out the steps and contacts, with a focus on German law firms; it is not legal advice.
What makes a law firm different
Technically, ransomware hits a law firm much like any other office: servers, workstations, NAS devices and backups are encrypted, often after data has been copied out first. The consequences are what differ. Three features dominate the first days:
- Deadlines keep running. The deadline calendar usually lives in the practice management software. When that software is down, the overview disappears exactly when it is needed most.
- Electronic filing is mandatory. In Germany, lawyers have been required to file pleadings electronically since 1 January 2022, in practice through the beA (besonderes elektronisches Anwaltspostfach), the secure electronic mailbox that the German Federal Bar (BRAK) operates for every admitted lawyer.
[6] [15] An IT outage at the firm only suspends this duty temporarily. - The data is privileged. Files contain client data, information about opposing parties and third parties, health and financial details, and litigation strategy. Under section 43a(2) of the Federal Lawyers' Act (BRAO), the duty of confidentiality covers everything a lawyer learns in the course of practice;
[2] unauthorised disclosure is a criminal offence under section 203(1) no. 3 of the German Criminal Code (StGB). [4] Data theft is therefore never only a data protection issue.
Most German firms run practice management software (for example RA-MICRO, Advoware or DATEV Anwalt) on their own server or in a hosted environment. The typical set-up combines a central database for matters, parties, deadlines and fees with document storage in the file system, holding pleadings, exhibits, scans and saved beA messages. Both are attractive targets, and both must match when the system is restored.
The first hour: five priorities
1. Isolate, do not clean up
- Disconnect affected computers and servers from the network. Pull the cable, switch off Wi-Fi.
- Power off only if encryption is visibly continuing. Memory and running processes are valuable for forensics.
[1] - Block remote access: VPN, remote desktop, the IT provider's remote maintenance tools.
- Isolate NAS and backup servers. Do not reboot them.
- Photograph the ransom note. Do not contact the attackers.
- Start an incident log now: time, observation, action, person.
That log will matter for forensics, the insurer, the data breach notification and any need to substantiate the outage to a court. How to preserve evidence properly is covered in forensic evidence preservation after a cyberattack.
2. Secure the deadline position
Before anyone works on the IT, the firm needs a list of deadlines for the next two to three weeks that does not depend on the practice software. Sources:
- printed deadline and follow-up lists, deadline books, calendar printouts,
- paper files and incoming post with receipt stamps,
- the beA mailbox itself: messages and the message journal can be retrieved there, independently of the local copy in the practice software,
- calendars in Microsoft 365 or on mobile devices, provided they are not compromised,
- enquiries with clients, correspondent lawyers and court registries.
Keep the list on paper or on a demonstrably clean device, and note the source of each deadline. Non-extendable deadlines and deadlines for grounds of appeal take priority.
3. Check beA access
The beA is operated centrally; encrypting a workstation at the firm does not encrypt the mailbox. What is affected locally is the client software, card reader drivers, software tokens and the interface to the practice software.
- Set up a clean workstation for beA access: a freshly installed device, outside the compromised network, with its own internet connection (a mobile connection, for example).
- Check that all beA cards and software tokens are accounted for.
- If a card is missing, the certification authority of the Federal Chamber of Notaries, which issues beA cards, says it must be revoked without delay. Remote signature certificates linked to the card are not revoked automatically.
[11] - If there are signs that PIN and software token may have been captured, for example by infostealer malware on a workstation, clarify revocation with the certification authority and beA support.
4. Bring in service providers, with a confidentiality agreement
IT providers, the software vendor's support team, the incident response team and data recovery specialists will inevitably see privileged material. Section 203(3) StGB permits disclosure to persons who contribute to the lawyer's work, to the extent necessary for their involvement.
In practice, sign the agreement before anyone accesses files and databases, even if it feels like paperwork at that moment. Many providers have templates ready. If the firm has cyber insurance, first check which providers the insurer prescribes or approves; see cyber insurance in a ransomware incident.
5. Do not reinstall over the data
The urge to rebuild the office server and restore the software from the last backup is understandable. It carries two risks: unencrypted remnants of the database and deleted original files get overwritten, and traces of the attack path are lost. Restore onto new or securely wiped hardware, never onto the original drives.
Which route fits your situation?
Deadlines, substitute filing and reinstatement
The following is an overview of the German rules and of guidance from BRAK and beA support, for readers who practise in Germany. Assessing a specific case remains your call.
Substitute filing under section 130d sentences 2 and 3 of the Code of Civil Procedure (ZPO). If electronic transmission is temporarily impossible for technical reasons, filing by conventional means remains permissible. The temporary impossibility must be substantiated at the time of the substitute filing or immediately afterwards, and an electronic document must be supplied on request.
Substantiation. beA support lists, among other things, a sworn statement by the IT administrator, a lawyer's assurance, screenshots of error messages and confirmations from service providers.
"Temporary" has limits. The Higher Administrative Court in Münster held that a five-week internet outage was no longer temporary and pointed to reasonable alternatives.
Reinstatement under section 233 ZPO. This requires that the deadline was missed without fault.
| Situation | Obvious route | What to document |
|---|---|---|
| Deadline expires today or tomorrow, beA unreachable | Substitute filing (fax, courier, post) | Time of outage, error messages, IT confirmation, lawyer's assurance |
| beA reachable from a clean device, file unavailable | File via beA, request extension if needed | Reconstruction of the file, source of the deadline calculation |
| Deadline already missed | Consider reinstatement | Chronology, cause, protective measures, reasons for not using substitute filing |
| Outage continues | Build a clean beA workstation | Date electronic filing was restored |
Where the firm's data lives and how it comes back
Recovery depends on knowing which data sat where and what state it is in. The practice software only works again if the database and document storage match, meaning they come from the same point in time.
| Damage pattern | Recovery path | Further reading |
|---|---|---|
| Office server encrypted, practice software database files unreadable | Take images, reconstruct the database at application level, involve the vendor for consistency checks | Recovering databases after ransomware |
| Document storage, scans and pleadings on a file server or NAS encrypted | Reconstruct volumes and file systems from images, search for original fragments | NAS data recovery after ransomware |
| Backups exist, condition unclear | Check the backup chain, test restores in isolation, not on original hardware | Restoring backups after ransomware |
| Veeam backup server also attacked | Secure repositories, analyse restore points | Veeam backups after ransomware |
| Firm uses DATEV software | Coordinate data sets and vendor-supported restart | DATEV after ransomware |
| Email and calendar in Microsoft 365 | Check cloud accounts, look for forwarding rules and unauthorised access | Ransomware in Microsoft 365 |
Practice management databases
Databases are large files that stay open during operation. Some ransomware families encrypt such files only in sections to work faster. Readable pages, tables and records, such as matter master data, parties, deadlines and postings, can then be reconstructed. Whether that works in a given case only becomes clear through analysis. The technical background is on the ransomware data recovery page; DATA REVERSE offers dedicated database recovery (in German) (external link).
For law firms in particular: have a reconstructed database checked for consistency by the vendor or reseller of the practice software before going live. Otherwise missing postings or deadlines only surface weeks later.
Document storage on a server or NAS
Many smaller firms keep their document storage on a NAS, often together with scans and backups. If the NAS is encrypted, both layers are frequently affected. No firmware updates, no re-initialisation, no RAID rebuild until every drive has been imaged. Device specifics are covered in the NAS guide for ransomware incidents; physical and logical NAS recovery is handled by NAS data recovery at DATA REVERSE (in German) (external link).
Order of the restart
- Establish a clean environment with the attack path closed (incident response).
- Provisionally secure the beA workstation and deadline control.
- Restore and verify the practice software database.
- Restore document storage to match the database state.
- Reconcile against the paper deadline list and beA receipts since the last consistent state.
Client confidentiality and data theft
In current ransomware attacks, data is frequently copied before encryption and the attackers threaten to publish it. For a law firm, that is often the more serious part of the incident. Whether and which data left the network can only be established forensically; indicators and log sources are explained in how to detect data exfiltration.
In professional terms, section 2(2) of the Rules of Professional Practice (BORA) requires the organisational and technical measures needed to protect client confidentiality that are appropriate to the risk and reasonable for the legal profession.
Data protection: Articles 33 and 34 GDPR, section 29 BDSG
- Notifying the supervisory authority: without undue delay and, where feasible, within 72 hours of becoming aware, if the breach is likely to result in a risk. Every breach must be documented.
[12] - Notifying data subjects: where a high risk is likely, under Article 34 GDPR.
[13] Data subjects are not only clients but also opposing parties, witnesses and other third parties named in the files. - A rule specific to professional secrecy: under section 29(1) sentence 3 BDSG, the duty to notify data subjects does not apply to the extent that notification would disclose information that must be kept secret, in particular because of the overriding legitimate interests of a third party. The duty revives where the data subject's interests prevail, especially in view of impending harm. Section 29(3) BDSG also limits certain investigative powers of the supervisory authorities in relation to professional secrecy holders.
[14]
The duty to notify the authority itself is unaffected. Process, risk assessment and phased notification are covered in ransomware and GDPR data breaches.
Communicating with clients, the bar and insurers
- Clients: irrespective of any data protection duty, many firms choose to inform clients with active matters, not least because hearings and inputs are affected. Agree on the message before individual lawyers communicate on their own.
- Regional bar association (Rechtsanwaltskammer): the point of contact for questions of professional law, such as confidentiality or organising the practice during the outage.
- Professional indemnity insurance: if missed deadlines or client claims are possible, check the notification obligations in the policy.
- Cyber insurance: first-party losses such as recovery, forensics and business interruption fall here; notify promptly and before instructing service providers.
Situations and contacts at a glance
| Situation | First contact | Involve in parallel |
|---|---|---|
| Encryption running, attackers possibly in the network | Incident response | IT provider, cyber insurer |
| Practice software will not start, database encrypted | Database data recovery | Vendor or reseller of the practice software |
| NAS or file server with case files encrypted | NAS and server data recovery | Incident response to establish the attack path |
| beA card missing or PIN possibly captured | Certification authority of the Federal Chamber of Notaries | beA support |
| Deadline at risk | Firm management, responsible lawyers | IT provider for substantiation |
| Signs of data theft or leak threat | Incident response, forensics | Data protection officer, supervisory authority |
| Clients asking questions | Firm management with an agreed statement | Data protection officer |
| Ransom demand received | Firm management, incident response | Cyber insurer, police (state cybercrime units, ZAC) |
Ransom, forensics and restart
Paying neither removes the attackers' access nor the copy of client data. For holders of professional secrets that point is decisive: a criminal's promise to delete data cannot be verified. The trade-offs, including sanctions and compliance questions, are discussed in should you pay the ransom?.
Either way, the order the BSI, Germany's Federal Office for Information Security, describes for serious IT security incidents applies: first understand and contain the situation, then restore in a cleaned environment.
Comparable situations with a different focus are covered on ransomware at a tax advisory firm and ransomware at a medical practice, both also professions bound by secrecy, reliant on specialist software and on deadlines or appointments.
What firms should settle in advance
- Keep a daily deadline list outside the practice software as well (printout or separate system)
- Prepare a fallback workstation for beA; store card readers and credentials separately
- Keep beA card revocation passwords safe and outside the IT environment
- Review contracts with IT providers against section 43e BRAO; have a template ready for emergency providers
- Back up the practice software database and document storage consistently, with at least one copy offline or immutable
- Keep emergency contacts (IT, vendor, insurer, data protection officer) on paper
Ransomware by sector
Frequently asked questions
Does a ransomware attack on the firm's IT allow a substitute filing under section 130d ZPO?
According to the beA support service run for the German Federal Bar, faults on the lawyer's side, such as an unreachable office server or defective devices, can amount to a temporary technical impossibility. It must be substantiated at the time of the substitute filing or immediately afterwards, and it must be temporary. If the outage lasts for days, set up a clean beA workstation promptly rather than relying on paper filings.
Do I need to revoke my beA card because my computer was encrypted?
Not automatically. Encryption of a computer does not affect the card itself. It is different if a card or software token is missing, or if there are signs that PIN and token were captured, for example by infostealer malware on a workstation. In that case, clarify revocation with the certification authority of the Federal Chamber of Notaries; remote signature certificates have to be revoked separately.
May I give a forensic investigator or data recovery provider access to client data?
Section 43e of the Federal Lawyers' Act (BRAO) permits the use of service providers to the extent necessary. The contract must be in text form and include, among other things, a confidentiality undertaking with notice of the criminal consequences of a breach. Put this agreement in place before anyone accesses files and databases, even under time pressure.
Do I have to notify every client if data may have been stolen?
Article 34 GDPR requires notification of data subjects where a breach is likely to result in a high risk to them. Section 29(1) of the German Federal Data Protection Act (BDSG) contains an exception for information that must be kept secret, which in turn does not apply where the data subject's interests prevail. Whether and how clients are informed is a case-by-case assessment that should be documented and, where appropriate, agreed with the data protection officer or a specialist colleague.
Can practice management databases be recovered without a backup?
Sometimes, in part. Some ransomware families encrypt large database files only in sections, so readable pages and tables may still be reconstructed. Whether that applies can only be judged after analysing images of the affected drives. The precondition is that nothing has been reinstalled or overwritten since the attack.
When must the data protection supervisory authority be notified?
Under Article 33 GDPR without undue delay and, where feasible, within 72 hours of the firm becoming aware of the breach, unless it is unlikely to result in a risk to individuals. The notification can be supplemented in phases. Every breach must be documented internally, whether or not it is notified.
Related ransomware profiles
- Akira
.akira - Lockbit 3.0
.lockbit - Qilin (Agenda)
- Phobos
.phobos - 8base
.8base
Read next
Sources and further reading
- [1]BSI (German Federal Office for Information Security) – Ransomware: first aid for a serious IT security incident (German) bsi.bund.de
- [2]Section 43a BRAO – Basic duties (confidentiality) (German) gesetze-im-internet.de
- [3]BRAK – Rules of Professional Practice (BORA), English version as of 1 December 2025 brak.de
- [4]Section 203 StGB – Violation of private secrets (German) gesetze-im-internet.de
- [5]Section 43e BRAO – Use of services (German) gesetze-im-internet.de
- [6]Section 130d ZPO – Mandatory electronic filing for lawyers and public authorities (German) gesetze-im-internet.de
- [7]beA support (BRAK) – Substitute filing in the event of technical faults (German) portal.beasupport.de
- [8]BRAK – Federal Court of Justice: substitute filing must be justified without delay (IX ZB 17/22) (German) brak.de
- [9]BRAK – Federal Court of Justice: reinstatement only for a computer fault not caused by fault (XII ZB 228/22) (German) brak.de
- [10]Section 233 ZPO – Reinstatement of the status quo ante (German) gesetze-im-internet.de
- [11]Federal Chamber of Notaries, certification authority – FAQ (revocation after loss, remote signature certificates) (German) zertifizierungsstelle.bnotk.de
- [12]Art. 33 GDPR – Notification of a personal data breach to the supervisory authority gdpr-info.eu
- [13]Art. 34 GDPR – Communication of a personal data breach to the data subject gdpr-info.eu
- [14]Section 29 BDSG – Data subject rights and supervisory powers where secrecy obligations apply (German) gesetze-im-internet.de
- [15]BRAK – Electronic legal communication: mandatory active use since 1 January 2022 (German) brak.de
- [16]BRAK – Higher Administrative Court Münster: beA obligation even during a longer internet outage (16 B 413/22) (German) brak.de