Skip to Content
← All articles

Ransomware: how to defend and what to do when it strikes

Backups out of the attacker's reach, the first hour after an attack and the reporting deadlines under Act 264/2025 Coll. and the ÚOOÚ. According to CISA, Microsoft and No More Ransom.

Team Lumenax Jul 30, 2026 · 9 min read
Ransomware: how to defend and what to do when it strikes
July 30, 2026 by
Ransomware: how to defend and what to do when it strikes
Roman Jonas
Hand on an external drive connected to a laptop
Photo: Andrea Piacquadio, Pexels

Ransomware encrypts your data and the attacker demands a ransom for the key. The most effective way to recover is from backups that the attacker cannot reach and that you have already tried restoring. CISA, the FBI, the NSA and MS-ISAC say it plainly in their joint guide: keep backups offline and encrypted, and test regularly that you can restore from them. The rest rests on patches, MFA and a closed remote access. And when an attack comes, the first minutes decide.

Key takeaways
  • The most effective way to recover is backups out of the attacker's reach that you have already tried restoring.
  • The 3-2-1 rule: 3 copies, 2 types of media, 1 copy off the premises. Against ransomware CISA also wants an offline copy.
  • After an attack, disconnect the machine from the network but do not switch it off at once, or traces in memory are lost.
  • A regulated service sends NÚKIB its first report within 24 hours, personal data is reported to the ÚOOÚ where possible within 72 hours.
  • CISA, the FBI, the NSA and MS-ISAC do not recommend paying the ransom.

The ways in are ordinary: an unpatched server, a leaked password, remote access exposed to the internet. This text shows how ransomware gets in, what to back up, what to do in the first hour and whom to report to.

How ransomware gets in

In its October 2023 guide, CISA groups protection by six entry routes: flaws and badly configured systems that the whole internet can see, compromised passwords, phishing, earlier malware, advanced social engineering, and suppliers or IT administrators.

The attack also does not start with encrypted files. Microsoft described in 2020 that ransomware often runs weeks or months after the attackers began acting in the network. During that time they steal passwords, gain higher rights, and one group, according to Microsoft, deleted local backups to make recovery harder. CISA therefore warns that ransomware can be a trace of an earlier unresolved intrusion, and advises looking for the malware that prepared it before you restore. The first step is often phishing.

How to defend

There is no single button. Several layers work one behind the other, and each catches what the previous one lets through:

  • Backups. The classic 3-2-1 rule from the CISA document Data Backup Options says: 3 copies of an important file (the original and 2 backups), on 2 different types of media, 1 copy off the premises. Against ransomware CISA also wants an offline copy, and explains why: most attackers look for accessible backups and delete or encrypt them. Cloud backups alone may not be enough, because encrypted files can sync and overwrite the healthy ones.
  • Restore test. A backup you have never restored is only an assumption. CISA wants regular checks that a backup can be opened and that it is complete.
  • Patches. According to Microsoft, attackers use disclosed flaws in systems that nobody has fixed. CISA adds that this holds for backup software too.
  • MFA on e-mail, the VPN and accounts that reach critical systems. CISA recommends resistant MFA for all services.
  • No unprotected remote access from the internet. CISA: do not expose services such as remote desktop (RDP) on the web. If they must stay, add further safeguards.
  • Separate accounts and network. CISA advises keeping administrator accounts apart from user accounts and splitting the network into parts, so an attack does not spread everywhere.
  • A plan on paper. CISA wants the incident response plan to exist printed and offline too.
A cloud backup is not an offline copy. If encrypted files sync, they overwrite the healthy ones in the cloud. You need a copy the attacker cannot reach.
3copies of an important file: the original and 2 backups
2different types of media
1copy off the premises, plus an offline copy
24 hoursfirst report to NÚKIB for a regulated service

What a company of 20 does

This is our proposal based on the sources above, not a rule. For a company with one server and a few dozen computers, five steps are enough, and each can be done in an afternoon:

  1. List what the company cannot leave without operation: accounting, orders, shared files, e-mail. You order backups and recovery by it.
  2. Back up to two media and disconnect one copy from the network, for example a disk that connects only for the duration of the backup, or immutable storage at a provider. On immutable storage CISA adds that it should be used with caution, because it does not meet the conditions of some regulations and badly configured storage gets expensive.
  3. Once a quarter, restore one important system on a test machine and measure how long it takes. Then you know the duration instead of guessing.
  4. Turn on MFA for e-mail and the VPN and cancel direct remote access from the internet.
  5. Write one page: who calls whom, who shuts the network down, where the contact for the IT supplier and for NÚKIB is. And print it.
Four colleagues at a whiteboard in an office discussing a procedure
Write the one-page plan before you need it. Photo: RDNE Stock project, Pexels

Ransomware struck: the first hour

The procedure follows the CISA checklist. Steps one to three go in sequence.

  1. Isolate. Find out which systems are hit and disconnect them. If several machines or subnets are hit, shut the network down at the switch. Attackers may watch whether you have detected them, so call by phone, not by e-mail inside the hit network.
  2. Do not switch machines off right away. Disconnect them from the network and leave them on. CISA advises switching a machine off only when it cannot be disconnected, because switching off loses evidence kept in memory. No More Ransom advises the same: disconnect, do not switch off.
  3. Set the order of recovery. First what the company earns money with, from the list you prepared.
  4. Look for the cause. Go through the logs and look for earlier malware. If you restore from a backup into a network that is still compromised, the attacker returns.
  5. Find out whether a tool that unlocks the data exists. For some variants it is free at nomoreransom.org.
  6. Restore from offline backups. First make sure the backup contains no malware, reinstall the machines and only then connect them.

Then comes the reporting. If your service falls under Act No. 264/2025 Coll., you send NÚKIB a initial report without undue delay, within 24 hours of detecting the incident at the latest, through the Office's portal. For an incident with a significant impact, a notification is due within 72 hours and a final report within 30 days of it. Companies in the lower regime report to the National CERT only incidents with a significant impact. More about whom the act covers is in the article on NIS2 and the new act.

If the attack touched personal data, report it to the Office for Personal Data Protection (ÚOOÚ), where possible within 72 hours of the moment you learned of it. You have to tell the people whose data leaked when there is a high risk to their rights and freedoms. No More Ransom advises reporting the attack to the police too.

Deadlines after an attackAccording to Act 264/2025 Coll. and the ÚOOÚ.
  1. Right awayIsolateDisconnect the hit machines from the network and do not switch them off.
  2. Within 24 hoursFirst report to NÚKIBRegulated service, without undue delay, through the Office's portal.
  3. Within 72 hoursFurther report and the ÚOOÚFor a significant impact, a further report to NÚKIB. Personal data is reported to the ÚOOÚ where possible within 72 hours.
  4. Within 30 daysFinal reportDue within 30 days of submitting the second report.

To pay or not

CISA, the FBI, the NSA and MS-ISAC do not recommend paying the ransom. According to the guide, payment does not guarantee that you will decrypt the data, that the attacker will vanish from the network or that the data will not be published. No More Ransom, a project of Europol and partners, writes: the general advice is not to pay. The management of the company decides on payment, but we do not recommend it.

Mistakes that keep repeating

  • A backup on the same disk or in the same network. Ransomware finds it and encrypts it.
  • A backup without a restore test. You find out only when you need it.
  • Switching everything off at once. The traces in memory that show how the attacker got in are lost.
  • Recovery without looking for the cause. The same vulnerability stays open.
  • A plan that sits on the server. When the server is down, nobody can read it.

Common questions

We have backups, are we fine?

Only if the attacker cannot reach them and you have tested restoring. CISA writes that most attackers look for backups and delete or encrypt them, and that attackers collect passwords to get to backups.

Will antivirus handle it?

It catches part of the attacks, but not all. CISA recommends several layers: backups, patches, MFA, training against phishing, mail filters and a split network.

Is a cloud backup enough?

It may not be. CISA warns that an automatic cloud backup overwrites healthy files with encrypted ones if the encrypted files sync. Immutable storage or an offline copy helps.

Do we have to report the incident?

It depends on whether you fall under Act No. 264/2025 Coll., and on the regime. When personal data leaks, a separate 72-hour deadline applies at the ÚOOÚ. No More Ransom advises reporting the attack to the police in every case.

Will a penetration test help?

It will not remove an attacker, but it shows how one would get in, for example through exposed remote desktop or an unpatched server. You can read more on the page about penetration tests and on our cybersecurity page.

Sources

  • CISA, FBI, NSA, MS-ISAC, #StopRansomware Guide, October 2023: https://www.cisa.gov/sites/default/files/2025-03/StopRansomware-Guide%20508.pdf
  • CISA, Data Backup Options (Ruggiero and Heckathorn): https://www.cisa.gov/sites/default/files/publications/data_backup_options.pdf
  • Microsoft Threat Intelligence, Human-operated ransomware attacks: A preventable disaster, 5 Mar 2020: https://www.microsoft.com/en-us/security/blog/2020/03/05/human-operated-ransomware-attacks-a-preventable-disaster/
  • No More Ransom, Prevention advice for businesses, viewed 25 Oct 2026: https://www.nomoreransom.org/en/prevention-advice-for-businesses.html
  • Act No. 264/2025 Coll., sections 15 and 16, effective 1 Nov 2025: https://www.zakonyprolidi.cz/cs/2025-264
  • ÚOOÚ, Porušení zabezpečení osobních údajů (personal data breach), viewed 25 Oct 2026: https://uoou.gov.cz/profesional/poruseni-zabezpeceni-osobnich-udaju
Team Lumenax

We write about security, AI and software for Czech companies with 10 to 100 people.

Cyber security
Phishing: jak ho poznat a jak se bránit