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
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.
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.
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.
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.
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.
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.
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:
- Stand up a clean recovery environment separated from the infected network, and rebuild compromised systems rather than "cleaning and carrying on".
- Restore infrastructure first - identity (domain controllers), DNS, networking and the backup platform - then core business systems, and general office services and archives last.
- 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.
- 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
- First response
What should we do when a server is hit by ransomware?
Isolate first and do not reboot: cut the affected server off at the switch or in the cloud security group, but leave it running. Then snapshot or image the system and data disks, keep the ransom note and encrypted samples, and check read-only whether shadow copies, cloud snapshots and backups survived. If several servers are down, set a restore order by business dependency, and bring nothing back online until the entry point is closed and every credential has been changed. What can be recovered depends on the family, the encryption mode and the backups.
- First response
My files all have a new extension and won't open - what should I do?
Do not rename or repair anything yet. If files of many types share the same unfamiliar appended extension (often with an ID and an email address), text, HTA or HTML notes have appeared in every folder and the wallpaper has changed, it is almost certainly ransomware. If only one file type fails, USB files turned into shortcuts, or names are garbled but content opens, a file association, USB worm or encoding problem is more likely. Until you know, disconnect the network, keep the machine on, and save a sample plus the note for identification.
- Recovery
Can files encrypted by ransomware be recovered?
Often in part, sometimes almost entirely, but nobody can promise it before seeing samples. Recoverability comes down to four things: the family and version (is there a public decryptor, seized keys or a known flaw), how the files were encrypted (in full, or only partly), which backups, snapshots and other copies survived, and what has been written to the disks since. Where a modern family encrypted files correctly and completely, no copies survive and the remnants have been overwritten, the data may genuinely be gone. Stop all writes and identify the family first.
- Ransom & cost
Should we pay the ransom after a ransomware attack?
We advise against treating payment as the default, and we neither pay ransoms nor negotiate on anyone's behalf. Some organisations do pay, but payment guarantees neither a working decryptor nor deletion of stolen data, it often invites repeat extortion, and buying and moving cryptocurrency for a ransom carries legal and sanctions exposure in China and abroad. Identify the family and establish what backups, snapshots and database repair can recover before deciding anything.
- Aftermath
How do we report a ransomware attack to the police, and what should we prepare?
In mainland China, call 110 or file in person with the local public security bureau (a police station or its cyber security unit); the Ministry of Public Security's online cybercrime portal takes tip-offs, not emergencies. Preserve evidence first: the original ransom note, encrypted samples, attacker contact details and wallet address, key logs and an incident timeline. Separately, assess whether the incident is "relatively major" or above under the CAC's incident reporting measures, which set deadlines of 1 to 4 hours depending on the operator - the authorities' requirements prevail.
- Aftermath
Why do we keep getting hit by ransomware, and how do we stop it for good?
Repeat infections are rarely bad luck; the previous incident was almost always left unfinished. The real entry point was never found or never closed, accounts, scheduled tasks, remote-access tools or web shells left by the attacker are still there, credentials were only partly changed, or systems were restored from backups that already contained the backdoor. Environments that paid, or whose access was resold, also get revisited. The fix follows an order: forensics to find the real entry point, a rebuild-or-clean decision, closing the entry and removing persistence, a full credential reset, then verified hardening and ongoing monitoring.
Related ransomware families
- Some versions decryptable
LockBit
LockBit is one of the largest ransomware-as-a-service operations in the world. Despite the 2024 law-enforcement takedown it returned as LockBit 5.0, with working Windows, Linux and VMware ESXi payloads, and it remains one of the most frequently seen families in China.
- Free decryptor available
Phobos
Phobos is a RaaS family that relies mainly on brute-forced RDP and has spawned a long list of variants (.eking, .faust, .elbie, .devos and more). It has been a persistent presence in Chinese server-ransomware cases, and in July 2025 Japan's National Police Agency released a free decryptor covering part of the lineage.
- Some versions decryptable
Mallox
Mallox (also known as TargetCompany) breaks in mainly through brute-forced MS SQL Server credentials, targets database servers specifically, and has a Linux/ESXi variant. Files encrypted between 2023 and early 2024 may be decryptable with Avast's free tool; later builds have no public decryption method.
- No public decryptor
Weaxor
Weaxor emerged in late 2024 as a same-lineage successor to Mallox, continuing its focus on MS SQL Server and exposed web services. It appends .rox, .weax or .wxx and drops a RECOVERY INFO.txt note. It has led infection volume in China through 2025 and 2026 (45.45% in July 2026, 65.74% in August 2026) and has no public decryptor.
- No public decryptor
Makop
Makop has operated as a RaaS since 2020, with affiliates breaking in mainly through brute-forced remote desktop credentials and deploying by hand. Extensions include .makop, .mkp and .baseus, with a readme-warning.txt note. It ranks consistently high in Chinese infection statistics and has no public decryptor.
- No public decryptor
TellYouThePass
TellYouThePass is the archetypal vulnerability-driven ransomware family in China, mass-deployed against internet-facing ERP, OA, finance and middleware systems. It appends .locked and hits both Windows and Linux servers. No public decryptor exists.
Related solutions
Database Encrypted by Ransomware
When database files are encrypted, every business system that depends on them stops at once. This page explains how we triage an encrypted database, how recoverability is assessed, and when file repair, backup-plus-log restore, or rebuild is the right path.
ESXi / Hyper-V Virtualization Encrypted by Ransomware
Hypervisor-level encryption causes the widest blast radius of any ransomware event: dozens of production VMs go dark within an hour or two. This page covers what Linux ESXi encryptors actually do — shut down guests, encrypt vmdk, delete snapshots — the recovery value of flat disk files, and how Hyper-V and Proxmox cases differ.
File Servers and NAS Encrypted by Ransomware
When shared folders on a file server or NAS are encrypted, drawings, contracts, archives, quotations and design sources all become unusable at once — and mapped drives spread the impact to every endpoint. This page covers how to gauge spread, what shadow copies and snapshots realistically offer, and how to sequence recovery by business value.
Backups Deleted or Destroyed
Modern ransomware follows a fixed sequence: destroy the backups, then encrypt the data — deleting shadow copies, encrypting repositories, disabling jobs, and exploiting backup software flaws to steal credentials. This page covers what can still be inventoried once backups fail, why replication propagates encrypted files off-site, and what offline and immutable copies are really worth.
ERP System Encrypted by Ransomware
An encrypted ERP is not a single broken database: the application tier, database, attachments and interfaces fail together, halting finance, procurement, production and inventory. This page covers the vulnerability entry points seen in Chinese ERP deployments, the order in which the four tiers are recovered, and how account sets are reconciled at sign-off.
Domain Controller Compromise and Estate-Wide Encryption
A compromised domain controller hands the attacker a legitimate administrator identity, allowing an encryptor to be pushed to every host at once through Group Policy or remote execution. This page covers how such incidents present, the correct order for Active Directory recovery, and how to decide between cleanup and full rebuild.
Related services
Incident Response
Round-the-clock intake: contain first, preserve evidence second, recover third.
Ransomware Decryption
Identify the family first, then commit to a recoverable scope — without paying a ransom.
Data Recovery
Recovery beyond decryption: backup repair, database repair and remnant extraction.
Attack Forensics & Attribution
Establish the intrusion path, timeline and impact — in a report usable for police reporting and compliance.
Security Hardening
Close the handful of paths attackers actually use: exposure, weak credentials, patches, privilege, backups.
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.
Sources
- CISA - #StopRansomware Guide (Ransomware and Data Extortion Response Checklist)
- CISA - I've Been Hit By Ransomware!
- NCSC - What to do when cyber attacks disrupt your organisation: Immediate activities (2026-07-28)
- NCSC - Mitigating malware and ransomware attacks
- 国家互联网应急中心 - 勒索软件防范指南(2021-07-23)
- 国家互联网信息办公室 - 国家网络安全事件报告管理办法(2025-09-15 发布,2025-11-01 施行)
- 国家互联网应急中心 - 12387 网络安全事件报告平台已经开通(2025-09-16)
- No More Ransom Project
- gentilkiwi/wanakiwi - README (WannaCry key recovery from memory)
- K7 Labs - STOP/DJVU Employs Vidar Stealer Before Encrypting Files (2022-07-15)
External links are provided for reference only. The content is published by third parties and does not represent our position.
Updated