Ransomware Emergency

Ransomware Attack: What to Do in the First 60 Minutes

Ransomware Reverse Editorial TeamLast technical review: 11 min read

In the first hour of a ransomware attack, isolate affected systems from the network rather than powering them off by reflex, protect backups and domain controllers, preserve logs and the ransom note, and bring in an incident response team through an independent communication channel. Data recovery, restoration and notification duties are prepared in parallel but only executed once the attack is contained.

Key takeaways

  • Isolate affected systems from the network instead of hastily shutting them down, because powering off destroys volatile evidence such as memory contents.
  • Disconnect backup servers from the production network immediately, pause running backup jobs and protect at least one intact domain controller per domain.
  • Organise the crisis team over an independent channel, because email, chat and the phone system may be compromised or monitored.
  • Do not delete encrypted files or reinstall anything, because the original data and traces are needed for data recovery and forensics.
  • Do not make a payment decision under time pressure, and do not contact the extortionists on your own initiative.

The situation in a nutshell

A ransom note appears on screens, files carry unfamiliar extensions, servers stop responding. At this point, speed alone is not what counts – structured action is. The first 60 minutes determine how far the damage spreads, which evidence survives and which recovery options remain open later.

This guide is written for IT staff and executives alike. It does not replace an incident response plan or professional support, but it gives you a reliable sequence for the first hour. If you are in the middle of an incident right now, jump straight to the checklists or the ransomware emergency page.

The first minutes: stay calm, assess the situation

Before you start pulling cables, take two minutes to answer three questions:

  1. What is visibly affected? Individual endpoints, a file server, the virtualisation platform, everything?
  2. Is encryption still running? Are files changing right now, is load on storage systems spiking?
  3. Who knows? Who discovered the incident, and who has already been told?

Start documenting from minute one: time, observation, action taken, person responsible. A simple log on paper or in a document outside the affected environment is enough. Photograph the ransom note, on-screen messages and file extensions with a smartphone. This information will later help you identify the ransomware strain and is relevant for insurers, authorities and forensic investigators.

Isolation: power off or isolate?

The most common question in an emergency: pull the plug or not? There is no blanket answer. Both the US agency CISA and Microsoft's incident response team generally recommend disconnecting affected systems from the network; Microsoft explicitly says to isolate them "but don't turn them off".[2][4] CISA lists shutting down as an option when disconnection is not possible.[2]

CriterionIsolate (disconnect, keep running)Power off / hard shutdown
Volatile evidence (RAM, processes, network connections, possibly key material)preservedlost
Ongoing encryption of local datamay continue locallystopped
Spread across the networkpreventedprevented
Risk on restartnonemalware with persistence may start again on boot; file systems may be inconsistent
Appropriate when …the system can be cleanly disconnecteddisconnection is not possible or heavy local encryption is under way

Rule of thumb: isolation is the default. Shutting down is a deliberate trade-off when isolation cannot happen fast enough, or when a critical storage system is visibly being encrypted. If you do shut down, do not restart – any later boot belongs in the hands of forensic or data recovery specialists.

Network, Wi-Fi and VPN

Isolation means more than one unplugged network cable:

  • Wired network: disable the relevant switch ports or place systems in network quarantine via your EDR. For widespread infection, separate segments at the core switch or firewall – CISA recommends taking the network offline at the switch level if several systems or subnets appear impacted.[2]
  • Wi-Fi: an unplugged cable achieves nothing if the laptop stays connected over Wi-Fi. Disable Wi-Fi on the device or temporarily shut down affected SSIDs.
  • VPN and remote access: VPN gateways, remote desktop and remote support tools are common entry points. Temporarily block external access, terminate active sessions – and export the logs first.
  • Internet egress: if there are signs of active remote control or data exfiltration, cutting internet access at the firewall can make sense. Microsoft describes disabling all inbound and outbound internet communication as a typical rapid measure when an attack is caught early, with an operational impact usually much smaller than a successful ransomware deployment.[4]

Keep in mind that your own administrators and external responders will need access too. A properly secured emergency access path beats improvised remote support.

Active Directory and identities

In Windows environments, Active Directory is a central target: attackers often use domain controllers as a staging point to spread ransomware network-wide.[2] Anyone holding domain admin rights can push ransomware to every system via Group Policy or management tools.

Immediate actions within the first hour:

  • Disable compromised accounts, especially suspicious admin and service accounts.
  • Reduce privileged access: keep only a small number of known admin accounts active.
  • Protect at least one (ideally two) known-good domain controllers per domain – disconnect or shut them down so a trustworthy foundation for rebuilding survives.[4]
  • Avoid rushed mass password resets from a potentially compromised system. Far-reaching steps such as resetting the krbtgt account – Microsoft recommends two resets in rapid succession – should be planned together with the incident response team.[4]

Cloud and Microsoft 365

Cloud services are affected too once identities are compromised. Synced storage such as OneDrive or SharePoint can pick up encrypted files.

  • Preserve sign-in logs in Entra ID and the unified audit log before retention periods expire.
  • Revoke suspicious sessions, disable affected accounts, review newly registered MFA methods.
  • Stop sync on affected endpoints.
  • Do not empty versioning or recycle bins in SharePoint/OneDrive – they may support recovery later.
  • Check and protect emergency (break-glass) cloud admin accounts.

Protecting backups

Backups are your most important recovery asset – which is exactly why attackers go after them. Many ransomware variants search for accessible backups in order to delete or encrypt them.[2][4] Attackers also delete snapshots or change retention policies.

  • Disconnect backup servers and repositories from the production network immediately.
  • Pause running backup jobs so encrypted data does not overwrite clean versions.
  • Change backup software credentials – from a clean system.
  • Do not connect offline or immutable copies to the compromised environment.

Logging and evidence preservation

Much of the evidence only exists for a limited time. Event logs rotate, firewall logs get overwritten, and attackers deliberately disable logging or cover their tracks.[4]

  • Export firewall, VPN, proxy and DNS logs.
  • Preserve Windows event logs from domain controllers and affected servers.
  • Export EDR and antivirus alerts from the past days and weeks.
  • Copy the ransom note, sample files and file extensions unaltered.
  • Record times including time zone – timeline correlation is critical in the analysis.

Forensics: what you need to preserve

Forensics answers the questions that later shape restoration and liability: How did the attackers get in? How long have they been inside? Was data exfiltrated? Are they still there?

That requires unaltered systems. Do not run clean-up tools, antivirus remediation or reinstallations on affected systems before evidence has been secured. Memory captures and disk images – CISA recommends them at least for a sample of affected devices – should be created by specialists.[2]

Out-of-band communication

Assume that email, chat and the phone system may be compromised or monitored. CISA recommends out-of-band communication such as phone calls to avoid tipping off the attackers that they have been discovered.[2]

  • Run the crisis team over an independent channel: personal mobile phones, a separate messenger account, an external conference bridge.
  • Keep the contact list available offline: executives, IT, data protection, legal counsel, insurer, service providers.
  • Brief staff briefly and clearly: what to do, what not to do, who to contact.
  • External communication (customers, press) only after alignment – no speculation.
  • Do not contact the attackers on your own initiative.

Incident response and data recovery: two different jobs

In a ransomware incident, incident response and data recovery are two distinct tasks. Incident response contains the attack, investigates the intrusion path and makes sure the attackers have left. Recovery focuses on safely restoring affected systems and data. Free decryptors for individual ransomware families are collected by the No More Ransom project.[5]

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.
SituationPrimary path
Attack still running, scope unclearIncident response
Intrusion path and credentials unclearIncident response
Data encrypted, backup missing or damagedRansomware data recovery
RAID, NAS, SAN or VM storage affectedData recovery
Looking for a decryptorRansomware decryption
Restoration planningIncident response and recovery together

What happens after the first hour is covered in the ransomware incident response process. Whether decryption or data recovery is the better route is explained in ransomware decryption vs. data recovery.

Which route fits your situation?

Executive decisions in the first hour

Leadership does not need to act technically, but it does need to decide early:

  • Convene a crisis team and name one person with decision-making authority.
  • Approve external support – incident response, data recovery if needed, legal counsel. The BSI advises involving IT security experts and service providers early.[1]
  • Notify your cyber insurer. Many policies require early notification and have rules about which providers may be engaged.
  • Make operational calls: which processes are shut down, which run in contingency mode?
  • No ransom decision under time pressure. Whether to pay is not a first-hour question. See should you pay the ransom? for background.

Reporting obligations at a glance

The following points are general and not legal advice. Agree on the approach with your data protection officer, legal counsel and insurer.

  • Data protection: if personal data is affected – including through possible exfiltration – the GDPR (Art. 33) may require notifying the competent supervisory authority – without undue delay and, where feasible, within 72 hours of becoming aware of the breach, unless it is unlikely to result in a risk to the individuals concerned.[6] Outside the EU, comparable rules may apply.
  • Regulated organisations: operators of critical infrastructure and entities in scope of NIS2 implementations may have their own reporting duties to national authorities (in Germany, the BSI) with short deadlines.
  • Law enforcement: the BSI recommends filing a report with the state criminal police office and notifying the competent bodies such as the state CERT and the state data protection commissioner; in Germany, the Central Contact Points Cybercrime (ZAC) serve businesses.[1]
  • Contractual obligations: customers, clients or insurers may have contractual notification requirements.

Checklists: 15, 30 and 60 minutes

After 15 minutes

  • Note the time, start a log (outside the affected environment)
  • Photograph the ransom note, file extensions and error messages
  • Disconnect affected systems from the network (wired and Wi-Fi) – don't rush to power off
  • If spread is ongoing: separate segments or cut internet access at the firewall
  • Inform IT leadership and executives via an independent channel
  • Instruct staff: delete nothing, restart nothing, report suspicious devices

After 30 minutes

  • Block VPN, remote support and external access, terminate active sessions
  • Isolate backup servers and repositories, pause backup jobs
  • Protect at least one known-good domain controller
  • Disable suspicious and privileged accounts (on-premises and cloud)
  • Preserve firewall, VPN, AD and EDR logs
  • Appoint a crisis team with decision-making authority
  • Contact an incident response provider

After 60 minutes

  • Overview: affected systems, sites, cloud services, storage systems
  • Notify cyber insurer, check requirements regarding service providers
  • Involve the data protection officer, record potential notification deadlines
  • Internal communication: short, factual update to staff
  • Leave encrypted originals untouched, assess data recovery needs
  • Provisionally identify the ransomware strain from note and extension
  • No contact with the attackers without coordination
  • Define next steps and responsibilities for the coming hours

What NOT to do

Don'tWhy
Restart or reinstall systemsDestroys evidence; malware with persistence may become active again on boot
Delete or rename encrypted filesThe originals are needed for decryption or data recovery
Run clean-up or "ransomware removal" tools on original systemsAlters evidence and can damage recovery options
Connect backups to the compromised environmentBackups can be encrypted or deleted
Restore from backup immediatelyWithout containment, re-encryption is a real risk
Communicate via the affected email or chat infrastructureAttackers may be reading along
Contact the attackers on your ownCan weaken your negotiating and legal position
Try unknown decryptors from forumsRisk of further malware and data corruption
Start RAID rebuilds or file system repairsCan permanently destroy encrypted but still recoverable data

After the first hour

The first hour is about containment and preservation. Analysis, eradication and an orderly restoration follow; NIST SP 800-61 Rev. 3 frames incident response for this within the functions of the Cybersecurity Framework 2.0.[3] Organisations that have built and rehearsed an incident response plan gain a lot of time in this phase – see cyber resilience for how to prepare. Information on specific groups such as LockBit or Akira is available in the ransomware database.

Frequently asked questions

Should I turn off my computer during a ransomware attack?

Not by reflex. Isolate the system from the network first, because shutting it down destroys volatile evidence such as memory contents and active connections. If encryption is visibly progressing and the machine cannot be disconnected, an immediate shutdown may be the lesser evil. Either way, record when and why you acted.

Should we cut the internet connection entirely?

If there are signs of active spread or attacker remote control, cutting internet access at the firewall is often a reasonable immediate step. It interrupts command-and-control channels and possible data exfiltration, but it also disrupts business operations and your own remote administration. Make the decision deliberately and document it.

Can I delete encrypted files or reinstall the system?

No, not in the early phase. The encrypted originals may be needed for later decryption or data recovery, and the system itself holds evidence of how the attackers got in. Reinstalling before forensic preservation destroys both.

When should I bring in an incident response team?

As early as possible, ideally within the first hour. An experienced team helps with containment, evidence preservation and determining whether the attackers still have access. Many of the mistakes that become expensive later are made in the first few hours.

Can I restore from backup right away?

Only once it is clear that the attackers no longer have access and the backups themselves are not compromised. Restoring too early can lead to the environment being encrypted again. Validate backups in isolation and protect backup servers and credentials immediately.

Do I have to report a ransomware attack?

It depends on the case. If personal data is affected, the GDPR (Art. 33) may require notifying the data protection authority without undue delay and, where feasible, within 72 hours, and regulated or critical-infrastructure organisations may have additional reporting duties to national authorities. Clarify this promptly with your data protection officer, legal counsel and cyber insurer; this article is not legal advice.

Is there a free decryptor for my ransomware?

For some older or flawed ransomware strains, legitimate free decryption tools exist, for example through the No More Ransom project backed by Europol and the Dutch police. For many current groups, however, no public decryptor is available. Only ever run such tools on copies, never on your only original data.

What is the difference between incident response and data recovery?

Incident response contains the attack, investigates the intrusion path and makes sure the attackers have left the environment. Data recovery focuses on restoring encrypted or damaged data and storage systems such as RAID, NAS or virtual machines. The two complement each other but are not the same job.

Related ransomware profiles

Read next

Sources and further reading

  1. [1]BSI (German Federal Office for Information Security) – Ransomware: Facts and defensive strategies bsi.bund.de
  2. [2]CISA – #StopRansomware Guide cisa.gov
  3. [3]NIST SP 800-61 Rev. 3 – Incident Response Recommendations and Considerations for Cybersecurity Risk Management csrc.nist.gov
  4. [4]Microsoft Learn – Microsoft Incident Response ransomware approach and best practices learn.microsoft.com
  5. [5]No More Ransom – initiative by Europol, the Dutch police and partners for free decryptors nomoreransom.org
  6. [6]Art. 33 GDPR – Notification of a personal data breach to the supervisory authority gdpr-info.eu