Skip to main content

Hit by ransomware? Isolate affected systems now. Do not reboot or reformat.

SheMo Noransom舍末无勒

Victim Q&A · First response

What should I do if I've been hit by ransomware?

Short answer

Isolate first and keep the power on: unplug the network cable or turn off Wi-Fi, but do not reboot, format, delete the ransom note or contact the attackers. Then work in order: confirm it is ransomware and whether it is still spreading, preserve the note, encrypted samples and logs, identify the family, inventory backups and snapshots to assess recovery paths, and report the incident. Do not reconnect restored systems until the entry point is closed, credentials are rotated and backdoors are removed.

Key points

  • The first move is to isolate from the network and keep the power on; reboots, reinstalls, formatting and disk repair all shrink what can be recovered.
  • Preserve before you clean: the ransom note, encrypted samples, logs and the antivirus quarantine are what family identification and forensics rely on.
  • Recoverability depends on the family and version, backups and snapshots, not on whether you pay. Identify the family first, then choose a recovery path.
  • We advise against contacting the attackers or paying, and against "direct decryption" middlemen who are really paying the ransom for you.
  • For organisations, report to the police and assess promptly whether a time-limited regulatory report is required.
  • Do not return restored systems or data to production until the entry point is closed, credentials are rotated and backdoors are removed.

In this order

What to do now

  1. Isolate from the network, but keep the power on

    Personal computer: unplug the network cable, turn off Wi-Fi and any phone hotspot, disconnect external drives and USB sticks, and pause cloud-drive sync clients. Organisation: unplug the affected hosts or isolate their switch ports; if ransom notes are appearing across several hosts or a whole subnet, take that segment offline at the switch or firewall, cut links to file shares, NAS, virtualisation platforms and backup servers, and temporarily shut external access such as VPN and remote desktop. While you isolate, do not shut down or reboot - the reasons, and the one exception, are covered below.

  2. Check whether it is still spreading and scope the impact

    On an isolated host, watch one directory to see whether new extensions keep appearing, and check server by server, endpoint by endpoint, which machines, shares and backups now carry a ransom note, in the order they appeared. Unfamiliar logons, bulk policy pushes or new scheduled tasks on a domain controller mean the attacker may still be inside: widen isolation, disable suspicious accounts and, from a separate known-clean device, reset domain administrator and other privileged passwords, keeping the accounts you need for recovery usable. Do not coordinate over corporate email or chat that may be compromised; switch to phone calls or a separate out-of-band channel.

  3. Preserve the evidence

    Keep the original ransom note file, not just a screenshot, and set aside two or three encrypted samples that contain nothing sensitive. Write down the email addresses, TOX IDs, dark-web links and victim ID in the note, but do not make contact. Export firewall, VPN and Windows Security logs (event IDs 4625 and 4624 in particular) and database error logs, keep the antivirus quarantine record, and photograph the replaced wallpaper and any pop-up. Pause automated backup and sync jobs that could overwrite data. Memory and disk images of key servers are best taken by professionals; CISA's response checklist likewise calls for a system image and memory capture from a sample of affected devices.

  4. Identify the family and version

    Enter the appended extension, the ransom note filename or a fragment of the contact email into the ransomware identification tool, or look the extension up in the extension index. Extensions are trivial to change, so the final call has to combine the note's content, the filename format and the structure of the samples - decryption feasibility can differ completely between versions of the same family. If you are not yet sure it is ransomware at all, read the first section below.

  5. Inventory data sources and assess recovery paths

    Go through it item by item: is the backup server and its data still there, when was the last successful backup, is there an offline or off-site copy; do array, NAS, hypervisor and cloud-disk snapshots survive; do staff machines or downstream systems hold copies of the same data. Every recovery attempt happens on a copy, never on the original disk. Whether a public decryptor exists and how much can realistically come back is covered in the recovery section below.

  6. Report to the police and regulators

    Organisations should report to the local public security bureau early, while management and legal assess whether a statutory reporting threshold has been met - incidents rated relatively major or above carry reporting deadlines measured in hours, so this cannot wait until recovery is done. Individuals can report too. Deadlines, channels and documents are covered in the reporting section below.

  7. Restore by business priority and harden before reconnecting

    Rebuild systems and restore data in a clean environment separated from the infected network, working from infrastructure to core business systems to general office services. Reconnect to production step by step, only after business owners have signed off samples and the entry point and credentials have been dealt with. The order and the pre-reconnection checks are in the last section below.

Avoid making it worse

Do not

  • Do not reboot, shut down, reinstall the operating system or format disks, and do not run chkdsk or other disk check and repair utilities.
  • Do not delete the ransom note, empty the antivirus quarantine, or rush into a full antivirus cleanup before evidence is collected.
  • Do not rename files back to their old extensions, and do not run recovery software against the original disk or write its output back to the same volume.
  • Do not download and run "universal decryptors" or "extension repair tools" - disguised malware and mismatched decryptors can both cause further damage.
  • Do not contact the attackers or pay, and do not hand the case to a middleman who promises "direct decryption" but wants full payment up front or cryptocurrency only.
  • Do not discuss the response or change passwords on the infected machine, or over corporate email and chat the attacker may be watching.
  • Do not post the ransom note or samples to public groups, forums or public sandboxes - the victim ID in the note is often the login to the attacker's negotiation page.
  • Do not reconnect restored systems or backup storage to production before the entry point is closed, credentials are rotated and backdoors are removed.

How do you confirm it really is ransomware?

Ransomware usually leaves three kinds of trace at once: many different file types carry the same unfamiliar appended extension (often with an ID and an attacker email address, or just a random string); ransom notes in .txt, .hta or .html format appear in the encrypted folders; and the wallpaper or a pop-up is replaced by a ransom message. On servers it typically comes with database and backup services being stopped, shadow copies deleted and security software switched off.

A few situations are easy to misread:

  • Files won't open, but there is no common extension and no note. File association problems, a USB worm hiding the originals, encoding issues or disk failure are all possible; files renamed and won't open explains how to tell them apart. A handful of families do not rename files at all, so if files open as garbage, still look for a ransom note.
  • Files are fine, but someone threatens to publish your data. That may be an extortion-only crew that steals without encrypting, and the response is quite different; see a ransomware gang threatens to leak our data.
  • Nothing is encrypted, but a finance PC is being remotely controlled and "the boss" is asking for a transfer. That looks like the Silver Fox trojan: stop the payment and call the police first; see what to do about Silver Fox.

Disconnect or shut down? Why not reboot?

The default is to disconnect but keep the power on. Pulling the cable or isolating the switch port cuts the attacker's remote control and the path to other hosts while keeping the evidence in memory intact. Rebooting or shutting down costs you:

  • Memory evidence. Processes, network connections, injected code and, for some families, residual key material exist only in RAM. During the 2017 WannaCry outbreak, the WanaKiwi tool recovered files by finding leftover prime numbers from key generation in the memory of hosts that were still running, and its documentation stressed not rebooting before trying it.
  • Possibly more encryption. Some encryptors register themselves to run at startup.
  • Overwritten remnants. Booting writes logs, temporary files and the page file, and the automatic disk check after an unclean shutdown can rewrite filesystem structures.

The one exception is when you can see encryption still in progress, important files have not been reached yet, and you cannot immediately disconnect the network or kill the process. The ransomware guide from China's national CERT (CNCERT) says that if important files are not yet encrypted, stop the ransomware process or shut the machine down to limit the loss, and if they are already fully encrypted, leave the machine running as it is for professional handling. CISA's response checklist likewise treats powering down only as the fallback when devices cannot be disconnected, and warns that it destroys evidence held in memory. The UK NCSC's July 2026 guidance also frames "disconnect or power down" as a decision that trades evidence against containment.

In practice, by the time most people notice, encryption has already finished, and shutting down then costs something and gains nothing. When in doubt, follow the default: disconnect, keep it powered on, and call for help.

How does the response differ for a company and a personal computer?

For a company, the hard part is not one computer but scope and coordination:

  • Appoint one incident lead and give technology, the business, legal and external communications a named owner each. Record every action in writing - time, person, rationale - because the police report, audits and insurance claims will all need it.
  • Treat it as a hands-on intrusion. Families common in China such as Phobos, Makop and Mallox are mostly deployed by hand after the attacker brute-forces remote desktop or database passwords, usually after time inside the network and with privileged accounts in hand. Dealing only with the machine that reported the problem is nowhere near enough.
  • Start business continuity in parallel. Decide which services must come back first and what manual process covers them until then.
  • Move your communications. The UK NCSC advises establishing whether corporate channels are available and trustworthy, and switching to alternatives if they are not.

For encrypted databases, virtualisation platforms, NAS and ERP, and for estate-wide encryption after a domain controller is compromised, see the related solutions further down this page.

A personal computer is most often infected through cracked software, activation tools or game cheats, and the typical family is STOP/Djvu: a random four-lowercase-letter extension and a note called _readme.txt. Two things need extra attention. First, these infections often bring an information stealer: K7 Labs documented STOP/Djvu downloading Vidar before encrypting, which takes saved browser credentials, cookies and cryptocurrency wallets - so change email, banking and social media passwords from a different, clean device. Second, attached external drives and cloud-sync folders are likely to be encrypted too; pause syncing, then check the cloud service's web interface for earlier file versions.

Can the data be recovered, and should we pay?

Recoverability depends on the family and version, backups and snapshots, and whether encryption was complete. Broadly there are three situations. A small number of families have public decryptors thanks to law enforcement action or implementation flaws, usually valid only for specific versions. More commonly there is no decryptor, but a substantial share can be recovered from backups, storage and hypervisor snapshots, database file repair and unencrypted remnants. And sometimes files are fully encrypted and every backup is gone, and the data genuinely cannot be recovered - in which case we say so. For the detailed assessment see can encrypted files be recovered, and for where decryptors come from and how to spot fakes see ransomware decryption tools.

On the ransom: the No More Ransom project advises against paying, since there is no guarantee you will receive the key you need, and the UK NCSC's guidance states that law enforcement does not encourage, endorse or condone paying. The risks and compliance issues are covered in should we pay the ransom. We do not pay ransoms and do not negotiate on anyone's behalf; recovery comes from decryptors, backups and snapshots, database repair and fragment reconstruction.

Cost and duration depend on data volume, the number of systems and the recovery path; see ransomware recovery cost and time. Send us the extension and the ransom note and the first read on the family and the viable paths is free. If a full assessment needs access to the environment, imaging and trial repairs, whether it is chargeable is made clear and confirmed with you before it starts.

Should we call the police, and who else needs to be told?

Yes, report it. Ransomware attacks are crimes, and a police report underpins later accountability, insurance claims and compliance explanations. In China that means the local public security bureau; channels and documents are covered in how to report ransomware to the police.

Organisations in China must also assess regulatory reporting. Under the Administrative Measures for National Cybersecurity Incident Reporting (国家网络安全事件报告管理办法), issued by the Cyberspace Administration of China and in force since 1 November 2025, a network operator that assesses an incident as "relatively major" or above must report within set limits:

  • where critical information infrastructure is involved, to the sector protection authority and the police immediately, and within 1 hour at the latest;
  • central and state bodies and their directly affiliated units, to their own cyberspace affairs office within 2 hours;
  • all other network operators, to the provincial cyberspace administration where they are located within 4 hours.

Reports on ransomware incidents must also state the ransom amount demanded, the payment method and the date. The regulator runs the 12387 hotline and a web portal for reports. Whether an incident meets the threshold and exactly whom to notify should be confirmed with the authorities and your legal counsel. Where data was stolen and personal information is involved, notification duties need a separate assessment.

Foreign companies in China and organisations abroad may also have home-jurisdiction duties: CISA asks US organisations to report to CISA, a local FBI field office or the FBI's IC3, and UK organisations can report through the NCSC's incident reporting page.

In what order do we restore, and when can systems go back online?

Decide what to save first. CISA's checklist calls for triaging and rebuilding systems according to the priority of critical services, and the UK NCSC stresses that business needs must drive the recovery order. A common sequence:

  1. Stand up a clean recovery environment separated from the infected network, and rebuild compromised systems rather than "cleaning and carrying on".
  2. Restore infrastructure first - identity (domain controllers), DNS, networking and the backup platform - then core business systems, and general office services and archives last.
  3. Validate backups before restoring: confirm the restore point predates the intrusion and contains none of the attacker's accounts or tools, and prefer offline copies.
  4. Have business owners sign off samples before go-live, and re-enter missing increments from business records.

Before reconnecting to production, complete at least five things: close the confirmed entry point (typically remote desktop or database ports exposed to the internet, or unpatched edge devices); rotate every credential, including domain administrators, service accounts, database and VPN accounts; find and remove the attacker's accounts, scheduled tasks, services and remote-access tools; enable multi-factor authentication on remote access; and rebuild at least one offline or immutable backup.

The NCSC's July 2026 guidance warns that rushing recovery before the incident is understood significantly increases risk. Being encrypted again after restoring is the most common and most avoidable second loss. For why organisations get hit repeatedly and how to fix it for good, see repeated ransomware infections.

Emergency response

Data already encrypted? Stop and let an engineer look first

We do not pay ransoms and we do not negotiate with attackers. Engineers run a free assessment first, then propose a recovery plan and a firm quote.

Related questions

Related ransomware families

Related solutions

FAQ

Follow-up questions

  • Only one computer is affected - do the others need attention?

    Yes, check them. In an organisation, the first machine with a ransom note is often just the one the attacker started on or the one noticed first; anything sharing the same file shares, the same administrator password or the same remote desktop entry point may already have been touched. At a minimum, check whether the shares and NAS it could reach are encrypted, whether other hosts on the segment show notes or unfamiliar accounts, and which server credentials were stored or used on it. For a personal computer, check any external drives, USB sticks and cloud-sync folders that were connected.

  • It's a cloud server - how do we disconnect it without a cable to pull?

    Use security group rules in the cloud console to deny all inbound and outbound traffic temporarily, allowing only your own management IP - the equivalent of pulling the cable. Do not release the instance, and do not replace or re-initialise the system disk; before any repair, snapshot both the system and data disks to preserve the state. Check the other instances, object storage and databases in the same cloud account, and review the account itself for unusual logins and newly created access keys. See a server has been hit by ransomware, and for Linux and BT Panel see the Linux server question.

  • Antivirus removed the malware - why won't the files open?

    Removing the encryptor does not decrypt anything. The file contents are already encrypted; antivirus removed the malware itself, not the damage, and it may not recognise the accounts, backdoors and remote-access tools used to get in. Keep the quarantine record and do not empty it - the quarantined samples are material for family identification and forensics. Then carry on with identification and the entry-point investigation as normal.

  • We have backups - can we just restore them ourselves?

    Yes, provided three conditions hold. First, the restore point must predate the intrusion and be untouched by the attacker, or you may restore the backdoor along with the data. Second, restore onto rebuilt clean systems rather than over the encrypted originals, and keep the encrypted data - if a working decryptor appears later, it may still be useful. Third, the entry point must be closed and credentials rotated, or you will very likely be encrypted again. If you are unsure whether a backup is clean, trial-restore a sample in an isolated environment first.

  • It's my personal PC - will reinstalling Windows fix it?

    Reinstalling removes the malware but does not bring encrypted files back, and reinstalling onto the same disk can overwrite remnants that might still have been recoverable. A better order: photograph the ransom note and copy the encrypted files to a dedicated external drive, unplugging it as soon as the copy finishes; change important passwords from another, clean device; identify the family - for example, STOP/Djvu files encrypted with an offline key may be decryptable with Emsisoft's free tool; and only then reinstall.

  • How quickly can you respond, and is the first assessment free?

    Intake runs 24/7; work is primarily remote, with on-site support when needed. An initial read on family and version usually takes hours, and that first read is free once you send the extension and ransom note. For a full recoverability assessment that needs access to the environment, imaging and trial repairs, whether and how it is charged is explained and confirmed with you before it starts. We do not publish prices and do not accept cryptocurrency. The steps are described on our process page.