Go to the service: Incident response
Ransomware: what to do – the first steps
Ransomware: what to do when files are encrypted. First steps for SMEs: isolate devices, don't rush to pay, preserve evidence and restore from clean backups.
This article is currently under expert review.
What is it about?
Ransomware is malicious software that encrypts your data and then demands a ransom. The BSI notes that attackers may also threaten to publish data they have stolen. The question “ransomware – what to do?” usually arrives without warning: files won’t open any more and a ransom note appears on screen.
An everyday comparison: someone changes every lock in your premises overnight and leaves a note with a phone number. If you keep a spare key somewhere safe, you can still get back in. With ransomware, that spare key is a clean backup kept separate from your network.
So the right steps start long before an emergency. The BSI describes regular backups as effective ransomware prevention, because they let you recover data without paying a ransom. Being prepared means you can decide more calmly when it counts.
Why does it matter for your business?
Ransomware doesn’t only hit large corporations. Small organisations can be affected too, for instance through a single opened email or an out-of-date system. The BSI sums it up: there is usually no shortage of security measures – the gap is in putting them into practice.
- Law firms and accountants: encrypted client files jeopardise deadlines, and leaked data raises data protection and confidentiality issues.
- Trades and construction: without access to orders, plans and accounts, the business grinds to a halt.
- SMEs in general: a single infected computer can spread to servers and shared folders if the network isn’t segmented.
Ransomware – what to do in the first hour
The first steps decide how bad it gets. Based on guidance from the BSI and the US Cybersecurity and Infrastructure Security Agency (CISA):
- Isolate: disconnect affected devices from the network immediately – unplug the cable, turn off Wi-Fi. If the infection is widespread, the whole network can be taken offline.
- Don’t rush to switch off: CISA recommends powering down only if you cannot disconnect the network any other way, as traces in memory would otherwise be lost.
- Don’t use administrator accounts on infected devices, so credentials aren’t exposed.
- Report internally and externally: tell management, your IT provider and your data protection officer. The BSI recommends reporting the attack to the police.
- Check reporting duties: if personal data is affected, the European Commission explains that the supervisory authority must be notified within 72 hours of becoming aware at the latest (Article 33 GDPR). No legal advice – please check with your data protection officer or legal adviser.
On the ransom itself: the BSI stresses that paying offers no guarantee of getting your data back.
An everyday example
Example: At a fictional plumbing business, the accounts team can’t open any files on Monday morning. A ransom demand is displayed on screen. The employee unplugs the network cable, leaves the computer running and calls the managing director, just as the emergency card says.
The IT provider disconnects the server, secures the logs and checks which devices are affected. Management informs the data protection officer and reports the attack to the police. The weekend backup sits on separate storage and is clean. Once the affected systems have been rebuilt, the data is restored and every password is changed. The business loses time, but no data – and pays nothing.
How we approach it
In a ransomware incident we follow the approach of our incident response service: contain, clean up, restore, document. Our article on the incident response process describes the general flow.
- Stop the spread: isolate affected devices and network areas, and block suspicious accounts.
- Understand the situation: which systems are encrypted? Was data taken? Are there signs of further attacker access?
- Preserve evidence: logs and, where needed, forensic copies before clean-up – important for a police report and your reporting assessment.
- Rebuild cleanly: infected systems are treated as fully compromised and rebuilt. All credentials are changed.
- Restore: from verified backups, following a set order of your most important systems.
- Close the gaps: find the entry point, strengthen protection and deliver a plain-language report.
For prevention, the most valuable steps are a backup following the 3-2-1 rule and an emergency plan you have actually practised.
What you can do right away
- Check that at least one backup is offline or separated from your network.
- Test restoring a real file – not just whether the backup shows “green”.
- Display an emergency card: unplug the cable, don’t switch off, report immediately.
- Update operating systems and software promptly.
- Train your team to spot suspicious email attachments.
Key terms
- Ransomware
- Malicious software that encrypts data and demands a ransom to release it, often combined with a threat to publish stolen data.
- Encryption
- Converting data so that it can only be read again with the right key.
- Offline backup
- A backup that is disconnected from the network after it is made, so attackers cannot reach it.
- Isolate
- Cutting a device or part of the network off from the rest of the network and the internet so an attack cannot spread.
- Compromised
- A system or account is compromised when attackers had, or may have had, access to it.
Frequently asked questions
Should we pay the ransom?
The German Federal Office for Information Security (BSI) points out that paying offers no guarantee that your data will be released. Restoring from clean backups is the sounder basis. Don't decide alone or under pressure – involve specialists and law enforcement.
Should I switch the computer off?
Disconnect it from the network first: unplug the cable, turn off Wi-Fi. The US agency CISA advises powering devices down only if you cannot disconnect the network any other way, because traces in memory are lost when you do.
Do we have to report the attack?
Often, yes. According to the BSI, attackers may also threaten to publish stolen data. If personal data is affected, the GDPR – as the European Commission explains – generally requires notifying the supervisory authority within 72 hours at the latest. The BSI also recommends reporting the attack to the police. No legal advice – please check your obligations with your data protection officer or legal adviser.
Is a backup on an external hard drive enough?
Only if the drive is disconnected from the computer and the network after each backup. A drive that stays plugged in can be encrypted too. It is just as important to test restores regularly.
Sources
Official sources, consulted when the article was written.

