Ransomware Emergency: Respond in a Structured Way

Ransomware Reverse Editorial TeamLast technical review:

In short

In an active ransomware attack, isolate affected systems, leave evidence and original data untouched, keep backups off the network and bring in an incident response team early. Whether to power systems down depends on the situation. Incident response (containment, forensics) and data recovery (restoring encrypted data) are two separate tasks.

The situation in 30 seconds

Files won't open. A ransom note appears on desktops or in folders. Files carry a new extension. These are the classic signs of a ransomware attack.

What matters now is structure, not speed at any cost. Three principles almost always apply:

  • Stop the spread: isolate affected systems from the network.
  • Destroy nothing: leave original data, logs and evidence untouched.
  • Separate the tasks: containment and forensics (incident response) are different from restoring encrypted data (data recovery).

Immediate actions: 10 steps

The order is a guide. In practice, several steps run in parallel.

1. Disconnect affected systems from the network

Unplug network cables, disable Wi-Fi, block affected switch ports or VLANs. For virtualised workloads, disconnect the virtual network adapters. The goal is to interrupt encryption and lateral movement.[1][2]

2. Don't power down hastily – but don't wait either

Whether to shut a system down depends on the scenario:

  • Encryption visibly still running: isolate immediately and, if necessary, shut down to limit data loss – for example if the system cannot be disconnected from the network.[2]
  • Encryption finished, system isolated: leave it running. Volatile artefacts in memory (processes, network connections, possibly key material) can be valuable for forensics.[1][2]
  • Unclear: isolate first, then decide with specialists.

3. Don't modify encrypted original data

Don't rename, move or delete files. Don't format or re-initialise drives. Encrypted data is the basis for any later decryption or data recovery.

4. No clean-up tools on original systems

Antivirus remediation, "repair" utilities or reinstalls destroy evidence and can overwrite data. Clean-up comes after preservation and analysis.

5. Document the ransom note and file extensions

Take photos or screenshots of the ransom note, note its file name, the new extension, the attackers' contact addresses or Tor links, and when the incident was discovered. These markers help identify the ransomware family – for example via the ransomware database.

6. Preserve logs and security events

Export firewall, VPN, proxy, EDR and Windows event logs before they rotate or attackers wipe them. Domain controllers and remote access gateways are especially important.[2]

7. Keep backups away from compromised systems

Don't connect backup storage, offline media or snapshots to a network where attackers may still be active. First check that backups are intact and free of malicious code.[1][2] See Backup recovery after ransomware.

8. Engage an incident response team

An experienced team coordinates containment, forensics, root cause analysis and restart. The earlier, the more evidence is still usable.[1][4] The Incident Response page explains how this works.

9. Assess recoverability separately

In parallel with containment, clarify: Are there clean backups? Is there a known decryptor? Are RAID, NAS, SAN or virtual machines affected? If there is no reliable restore path, consider ransomware data recovery.

10. Set up communication and escalation paths

Form a crisis team: management, IT lead, data protection, legal, communications. Notify your cyber insurer early and clarify reporting obligations. If email or messaging may be compromised, switch to an out-of-band channel.[1]

Who handles what? Decision matrix

SituationPrimary contact
Attack still running / systems compromisedCybernotfall24 – Incident Response
Root cause unknown / entry point unclearCybernotfall24 – Incident Response
Servers or clients need forensic assessmentCybernotfall24 – Incident Response
Data encrypted or storage damagedDATA REVERSE – Data Recovery
RAID, NAS, server storage or virtual machine affectedDATA REVERSE – Data Recovery
Backup restore failsdepends on cause: incident response (backup compromised) or DATA REVERSE (backup storage damaged)
Looking for a decryptorIdentify the ransomware type, check reputable decryptor sources: Ransomware decryption
Restart planningIncident response and recovery together
Decision path after a ransomware attack1. Is the attack still running or the attack path unknown? Yes: Incident response – Contain the attack, preserve evidence – Cybernotfall24. No: continue. 2. Is there a clean, verified backup? Yes: Recover in a controlled way – Check the backup in isolation, restore only after IR sign-off. No: continue. 3. Is a reputable decryptor known for the variant? Yes: Test the decryptor on copies – Check the source, e.g. No More Ransom. No: continue. Data recovery: Assess recoverability of drives, RAID/NAS and VMs – DATA REVERSE. After containment continue with question 2. 1Is the attack still running or the attack pathunknown?Incident responseContain the attack, preserve evidence –Cybernotfall24YesNo2Is there a clean, verified backup?Recover in a controlled wayCheck the backup in isolation, restore only after IRsign-offYesNo3Is a reputable decryptor known for thevariant?Test the decryptor on copiesCheck the source, e.g. No More RansomYesNoData recoveryAssess recoverability of drives, RAID/NAS and VMs– DATA REVERSEAfter containment continuewith question 2 © 2026 ransomware-reverse.de
Decision path after a ransomware attack1. Is the attack still running or the attack path unknown? Yes: Incident response – Contain the attack, preserve evidence – Cybernotfall24. No: continue. 2. Is there a clean, verified backup? Yes: Recover in a controlled way – Check the backup in isolation, restore only after IR sign-off. No: continue. 3. Is a reputable decryptor known for the variant? Yes: Test the decryptor on copies – Check the source, e.g. No More Ransom. No: continue. Data recovery: Assess recoverability of drives, RAID/NAS and VMs – DATA REVERSE. After containment continue with question 2. 1. Is the attack still running or the attack pathunknown?YesIncident responseContain the attack, preserve evidence –Cybernotfall24No2. Is there a clean, verified backup?YesRecover in a controlled wayCheck the backup in isolation, restore onlyafter IR sign-offNo3. Is a reputable decryptor known for thevariant?YesTest the decryptor on copiesCheck the source, e.g. No More RansomNoData recoveryAssess recoverability of drives, RAID/NAS and VMs –DATA REVERSE © 2026 ransomware-reverse.de
Decision path after a ransomware attack. Contain first, then recover. Data recovery comes in when neither a clean backup nor a decryptor works.

Many incidents need both paths: incident response makes the environment safe again, data recovery brings back data for which no clean backup exists.

Which route fits your situation?

What not to do

Responders see these mistakes again and again. Many of them cannot be undone.

  • Rebuilding systems before evidence is preserved. Traces of the attack path disappear – and often the chance of data recovery with them.
  • Running unknown "decryptors" from forums. Dubious tools can permanently damage data or be malware themselves.
  • Formatting encrypted drives or re-initialising a RAID. This makes reconstruction much harder or impossible.
  • Restoring backups right away. Without root cause analysis, attackers may strike again through the same gap or existing access.[1]
  • Negotiating with attackers on your own. Contact, payment and communication have legal and insurance consequences. More in Should you pay the ransom?
  • Continuing to use compromised accounts. If admin or domain accounts may be affected, communicate over a clean channel and coordinate password resets.[1]
  • Keeping the incident quiet. Deadlines such as the GDPR breach notification (Article 33, generally within 72 hours) start when you become aware.[1]

What information to preserve now

Incident response and data recovery teams almost always need this information. Collect it as far as possible without altering systems.

About the attack

  • Ransom note (photo/copy) and its file name
  • New file extension and a sample encrypted file
  • Time of discovery, first anomalies
  • List of affected systems (servers, clients, hypervisors, storage)
  • Attacker contact addresses and leak site references

About the infrastructure

  • Network diagram, sites and remote access points
  • Domain controllers and privileged accounts
  • Backup design: software, storage locations, last successful backup
  • Storage details: RAID level, NAS/SAN model, hypervisor (e.g. VMware ESXi, Hyper-V)

About traces and logs

  • Firewall, VPN and proxy logs
  • EDR/antivirus alerts from recent weeks
  • Windows event logs from relevant servers
  • Memory captures where appropriate (trained staff only)

About the organisation

  • Contacts with decision-making authority
  • Contact details for cyber insurer, data protection officer and legal counsel
  • External IT providers with access to the environment

The next hours and days

After the immediate actions comes structured handling. Typical phases:

  1. Containment: close attacker access, disable compromised accounts, segment the network.
  2. Investigation: establish initial access, persistence, lateral movement and possible data exfiltration.
  3. Eradication: remove malware, backdoors and tampered configurations.
  4. Recovery: rebuild systems from clean sources; restore data from verified backups, via decryptor or through data recovery.
  5. Post-incident review: lessons learned, hardening, stronger cyber resilience.

For a detailed walk-through of the first hour, read Ransomware: the first 60 minutes. The full process is covered in The ransomware incident response process.

Can the ransomware be decrypted?

Free decryptors exist for some ransomware families, for example via the No More Ransom project. However, not every type of ransomware has a solution.[3] Identify the type from the file extension and ransom note first. Test decryptors only on copies, never on your only original data.

If no decryptor is available, the options are a clean backup or professional data recovery. The differences are explained in Decryption vs. data recovery.

Data recovery by system

Ransomware by sector

Frequently asked questions

What should I do immediately after a ransomware attack?

Disconnect affected systems from the network without cleaning or reinstalling them. Document the ransom note, file extensions and timestamps, preserve logs and keep backups offline. Then bring in an incident response team to coordinate containment and forensics.

Should I shut down the affected server?

It depends on the scenario. Powering down destroys volatile evidence in memory that can matter for forensics. If encryption is still running or the attack is spreading, immediate isolation or shutdown may be necessary. When in doubt, cut the network connection first and decide together with incident response specialists.

Should we pay the ransom?

Authorities such as Germany's BSI and initiatives like No More Ransom advise against paying. Payment guarantees neither a working key nor that stolen data will stay unpublished. The decision has legal and insurance implications that should be clarified with specialist counsel and your insurer.

Can backups be affected too?

Yes. Attackers often deliberately target backup servers, snapshots and repositories to delete or encrypt them. Verify backups before connecting them to cleaned systems. A backup may also already contain malware or attacker backdoors.

When do I need incident response, and when data recovery?

Incident response is needed while the attack is ongoing, the entry point is unknown or systems need forensic assessment. Data recovery makes sense when data is encrypted or drives, RAID, NAS, SAN or virtual machines are damaged and no clean backup exists. In many cases both run in parallel.

Do we have to report the incident?

If personal data may be affected, organisations subject to the GDPR may need to notify the supervisory authority within 72 hours under Article 33. Certain sectors have additional reporting duties. Clarify this promptly with your data protection officer, legal counsel and insurer. Reporting the crime to the police is always an option.

Related ransomware profiles

Read next

Sources and further reading

  1. [1]BSI (German Federal Office for Information Security) – Ransomware: first aid for a serious IT security incident (German) bsi.bund.de
  2. [2]CISA – #StopRansomware Guide (Response Checklist) cisa.gov
  3. [3]No More Ransom – Decryption tools and guidance nomoreransom.org
  4. [4]BSI (German Federal Office for Information Security) – I have an incident. What should I do? bsi.bund.de