Victim Q&A · Aftermath
Why do we keep getting hit by ransomware, and how do we stop it for good?
Short answer
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.
Key points
- Getting the data back is not the same as closing the incident: the attacker's entry point, accounts and foothold may all still be in place.
- Four root causes dominate: an open entry point, leftover persistence, incompletely rotated credentials, and restores from backdoored backups.
- Attackers return: in Semperis's 2024 survey, 74% of respondents attacked for ransom in the previous 12 months were attacked more than once, many within a week.
- Access changes hands: Microsoft notes that attackers who are not fully evicted sometimes monetise the same network again with different malware or ransomware payloads.
- The fix is evidence-driven: find the entry point, decide rebuild or clean, reset credentials in order, then verify hardening and keep monitoring.
In this order
What to do now
Treat the incident as still active
When encryption reappears, isolate the recently restored systems and the hosts around them straight away, and stop reconnecting anything else; first-hour priorities are in what to do after a ransomware attack. Keep this round's note, samples and logs alongside the previous incident's material - whether the family, the note and the source IPs match is the first clue to the root cause.
Investigate both incidents together
Work backwards from the second incident: when did the earliest anomalous logon or exploit request happen, from where, using which account - and was that before or after the previous recovery finished? Key evidence: firewall and VPN logs, remote desktop logon records, web and database logs, and EDR alerts.
Hunt for persistence everywhere
Check every host for new local and domain accounts, changes to administrator group membership, scheduled tasks, services, startup entries, Group Policy scripts, new files in web directories, and installation and connection records for remote-access tools such as AnyDesk, Sunlogin or ToDesk. Preserve evidence first, remove second.
Decide: rebuild or clean
Hosts where the attacker held administrator rights should in principle be rebuilt, with only checked business data migrated back; where domain administrator rights fell, forest recovery or a clean new domain has to be assessed.
Reset every credential, in order
Once the entry point is closed and persistence removed, work from a known-clean device: top-privilege accounts, then krbtgt (twice), service accounts, local administrators, remote access and edge devices, third-party and external platforms, and finally every user.
Harden, and verify each item works
Close internet exposure, enforce MFA on remote access, patch the exploited flaw and rebuild an offline backup - then confirm each item from the outside rather than trusting the configuration.
Monitor for re-entry after go-live
Alert on new accounts, remote logons out of hours or from unfamiliar sources, new services and scheduled tasks, remote-access tool connections, shadow copy deletion and security software being disabled - and name who reviews those alerts every day.
Avoid making it worse
Do not
- Do not treat "the files are back" as the end of the incident, and do not reconnect systems before the entry point is understood.
- Do not rebuild only the machine that was encrypted - the foothold may sit on an unencrypted PC, a VPN account, an edge device or a third-party support channel.
- Do not change passwords before persistence is removed, do not change only some of them, and never change them from a machine that may still be watched.
- Do not roll back to the latest full-system backup or VM snapshot as is. Confirm it predates the first intrusion, then inspect its accounts, scheduled tasks and remote-access tools in an isolated segment.
- Do not simply delete suspicious accounts or remote-access tools when you find them. Screenshot, export records and preserve evidence first, or the entry point and scope can never be established.
- Do not contact the attackers to ask them to stop, or pay for a promise not to return; a record of payment only makes you a higher-priority target.
Why is the attacker still there after the data comes back?
Recovery answers "is the data back?". Incident response has to answer "is the attacker out, and can they get back in?". Environments that keep getting hit are almost always stuck on one or more of the following.
The entry point was never found - or the wrong one was. The route reused is usually the same one: remote desktop and database ports exposed to the internet, VPNs without MFA, and edge devices or public applications left unpatched; the full list is under "most common entry points" in our FAQ. Subtler is closing the wrong door: the case is closed as a weak password and the password changed, while the real way in was a flaw in business software or an edge device. The Guanjiapo port 211 attack chain published in 2026, for example, leaves no anomalous logon in SQL Server's login audit (see Guanjiapo or Suda account sets encrypted).
Persistence was not fully removed. An attacker's first priority after getting in is often not encryption but making sure they can come back. Microsoft lists new backdoor accounts, local or in Active Directory, and legitimate remote management tools such as AnyDesk, TeamViewer and Splashtop among common persistence methods, and 360's April 2026 report documents some Weaxor builds brute-forcing a database, planting AnyDesk, and then deploying ransomware by hand. A joint advisory from CISA, the NSA and MS-ISAC notes that actors from cybercriminals to state-sponsored groups use legitimate remote monitoring and management software as a backdoor for persistence and control - and because it is not malware, antivirus will not flag it. The same goes for scheduled tasks, services, Group Policy scripts and web shells in site directories; long-dwelling remote access trojans such as Silver Fox can also be used to drop ransomware later.
Credentials were not all rotated. Attackers routinely harvest credentials from memory and dump password hashes, taking far more than the password of the machine that was encrypted. Change only the administrator password, and service accounts, the database sa account, VPN logins, third-party support accounts and browser-saved passwords are all still the old ones. In a domain where the attacker held domain administrator rights and krbtgt was not rotated properly, forged Kerberos tickets remain valid.
Systems were restored from backdoored backups. There is usually a dwell period between entry and encryption, and full-system backups, VM snapshots and images taken during it contain the backdoor accounts, scheduled tasks and remote-access tools. Rolling back to "the latest" full backup restores the foothold along with everything else.
Is it the same crew coming back, or was our access resold?
Either is possible, and it does not have to be one or the other.
The same crew returning. An organisation that has been attacked - and especially one that paid - has already shown it can be entered and will pay. Public surveys point the same way:
| Survey | Published | Key figures |
|---|---|---|
| Semperis ransomware risk study (nearly 1,000 IT and security professionals in the US, UK, France and Germany) | July 2024 | 74% of respondents attacked for ransom in the previous 12 months were attacked more than once, many within a week |
| Cybereason, Ransomware: The True Cost to Business (1,456 security professionals) | June 2022 | 80% of organisations that paid were hit by ransomware a second time; 68% said the second attack came in less than a month |
These are questionnaire surveys of respondents outside China and cannot be mapped directly onto any one organisation, but the conclusion is plain: paying does not buy safety - see should we pay the ransom.
Access resold or shared. The ransomware economy is highly specialised. Microsoft describes access brokers who compromise exposed weak-password RDP and unpatched systems en masse and "bank" them for later sale, and ransomware-as-a-service affiliates who switch between payloads and, if not successfully evicted, sometimes monetise the same network again with different malware or ransomware. The FBI's September 2023 industry notification documented "dual ransomware attacks": two different ransomware variants deployed against the same victim within 10 days, most of them within 48 hours of each other.
So a different ransom note the second time does not mean the original problem was solved, and an identical one does not mean it is merely the first attack finishing. For the defender the conclusion is the same: until the entry point, persistence and credentials are dealt with, anyone can come back in.
How do we find the real entry point?
When the first investigation missed the entry point, the usual reasons are that hosts were reinstalled before evidence was taken, logging was off or retention too short, only the encrypted machine was examined, or the most plausible entry point was written up as fact. A second incident is, perversely, an opportunity: what the two attacks have in common is often the real way in.
Three things matter most:
- Trace the timeline back from the second incident. Find the earliest anomalous logon or exploit request and establish whether it came before or after the previous recovery. Before means the attacker never left; after means the entry point stayed open or credentials had leaked.
- Line up network and host evidence. Align firewall port-forwarding and VPN logs, remote logon events in the Windows security log (4624 / 4625), web access logs, database error logs and EDR alerts by time to pin down the first account and source.
- Inventory every path to the machine. Not only internet-facing ports but third-party support channels, remote-access tools, compromised endpoints on the same segment and vendor accounts.
Where evidence is insufficient, the report should say "undetermined" and every plausible entry point should be dealt with, rather than closing the case on the likeliest one. That is how our forensics work is written up: conclusions are labelled confirmed, highly likely or undetermined.
Clean or rebuild - how do we decide?
The deciding question is what privileges the attacker held, and whether cleanliness can be proven - not how inconvenient a rebuild would be.
| Situation | Recommendation |
|---|---|
| The attacker held administrator rights on a host | Rebuild that host in principle, migrating back only checked business data |
| Many endpoints affected | Reimage in bulk from a standard clean image - faster and more reliable than checking one by one |
| Domain administrator rights were obtained and full credential export cannot be ruled out | Assess forest recovery from trusted offline backups, or a clean new domain with migration |
| Limited privileges, intact artefacts, and evidence that bounds the impact | Cleaning and hardening is viable, but the conclusion belongs in the report with evidence behind it |
When restoring, restore data rather than systems wherever possible: load databases, files and necessary configuration onto freshly built systems instead of rolling back full-system backups or VM snapshots taken after the intrusion began. Where a full rollback is unavoidable, use the forensic timeline to confirm the backup predates the first intrusion, then inspect its accounts, scheduled tasks, services and remote-access tools in an isolated segment.
For recovery order and route selection when domain controllers fell, see domain-wide encryption.
In what order should credentials be reset?
Two preconditions. Change credentials only after the entry point is closed and persistence removed, or the new passwords will simply be stolen again. And work from a device confirmed to be clean, never from a machine that may still be watched. CISA's #StopRansomware Guide likewise advises resetting passwords for all affected systems once the environment has been fully cleaned and rebuilt.
Suggested order:
- Top-privilege accounts: domain administrators, enterprise administrators and break-glass accounts, removing unexpected members from administrative groups at the same time.
- krbtgt: reset twice per Microsoft's forest recovery guidance, waiting longer than the maximum ticket lifetime between resets (10 hours by default), so tickets the attacker forged or stole stop working.
- Service accounts: those used by databases, backup software, virtualisation platforms, ERP and application connection strings - verifying each business function after the change.
- Local administrators: random and unique per machine (a LAPS-style solution works), with no reuse.
- Remote access and edge devices: VPN, remote desktop, firewall and switch management passwords, plus accounts and device authorisations for remote-access tools.
- Third parties and external platforms: outsourced support and vendor accounts, cloud consoles, corporate mail, domain registrar and DNS management.
- Every user: forced password change with MFA enabled, and departed or dormant accounts disabled.
A small business without a domain can compress this to: Windows administrator, database sa, remote desktop and remote-access tool accounts, router and firewall, business software admin, then mail and online banking. The principle does not change.
How much hardening and monitoring counts as actually fixed?
The five things to finish shortly after recovery - rotate every credential, close unnecessary internet exposure, enforce MFA on remote access, confirm backdoors are gone, rebuild an offline backup and test-restore it - and how to tell whether hardening really took effect are already covered in our FAQ, so they are not repeated here. An environment that keeps getting hit needs three things on top:
- Verification, not "it was configured". Confirm from the internet that ports are genuinely closed, test MFA channel by channel, and spot-check patch versions and service restart times. Many second incidents trace back to something everyone believed was already shut.
- Watching for the return. Attackers who come back usually log in before they encrypt. Alert on, and name someone to review daily: new accounts or administrator group changes, remote logons out of hours or from unfamiliar sources, new services and scheduled tasks, remote-access tool installs or outbound connections, shadow copy deletion, security software being disabled, and unusual bulk outbound traffic.
- Backups designed for a next time. At least one offline or immutable copy, backup credentials isolated from production, and restore points reaching back far enough - to before the first intrusion.
Structured exposure reduction, account governance and item-by-item verification are what security hardening delivers. We report each item's status and test result; we do not promise hardening makes you immune, but it means a next incident does not leave you without options.
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 I do if I've been hit by ransomware?
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.
- 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.
- Systems & software
What should we do when Guanjiapo or Suda account sets are encrypted by ransomware?
Isolate the server holding the account sets from the network but keep it powered on. Do not reinstall the accounting software, restore an account set over the original disk, or run decryptors from the internet. Guanjiapo, Suda, Chanjet T+ and T3, Kingdee KIS Professional and similar products mostly keep account sets in SQL Server, with built-in automatic backups on the same machine, so both tend to be encrypted together. How much comes back depends on the family and how it encrypted, whether a clean backup exists beyond that server, and whether the database files were only partly encrypted. After recovery, reconcile stock, receivables and payables line by line, and close the entry point before going back online.
- 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.
- Aftermath
A ransomware gang is threatening to publish our data - what should we do?
Do not respond or pay yet. First establish with evidence whether data actually left and what it was: check outbound traffic, archive staging, transfer tools such as Rclone, MEGA or WinSCP, and cloud sign-in and export logs, and compare any samples the attackers released against your own data - some threats are bluffs or recycled old leaks. Paying does not buy deletion: the UK's National Crime Agency found data belonging to victims who had paid still on LockBit's systems. Close the exfiltration path, rotate credentials, and assess notification duties under the PIPL and related rules.
Related solutions
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.
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.
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.
Related services
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.
Incident Response
Round-the-clock intake: contain first, preserve evidence second, recover third.
FAQ
Follow-up questions
We paid the ransom - why are we being extorted again?
At best a ransom buys a key; it does not close the entry point or remove the backdoor. In Cybereason's 2022 survey, 80% of organisations that paid were hit by ransomware a second time, and 68% said the second attack came within a month - and paying also proves to the attackers that you have budget. We do not pay ransoms or negotiate on anyone's behalf; putting the effort into forensics, eradication and hardening is far more controllable than trusting the attacker's word.
The two ransom notes were different - is it a different group?
Possibly, but that does not tell you where the problem lies. Ransomware-as-a-service affiliates switch between payloads and access gets resold; the FBI's 2023 notification documented victims hit by two different ransomware variants within 10 days. The family name determines the decryption and recovery options - the root cause still has to be traced through the entry point, persistence and credentials.
A full antivirus scan came back clean - do we still need to investigate?
Yes. Much of what attackers leave behind is not malware at all: new administrator accounts, legitimate remote-access software, system commands called from scheduled tasks, Group Policy scripts - none of it triggers antivirus. The joint CISA and NSA advisory states plainly that legitimate remote management software is used as a backdoor for persistence and control. The investigation has to review accounts, tasks, services, installed programs and logon records, not just the scan result.
We are a small company without a domain - does all this apply?
The scope is much smaller; the principles are not. Find and close the entry point; rebuild the affected server and migrate back only business data; change the Windows administrator, database sa, remote desktop and remote-access tool, router, business software and mail passwords to distinct new ones; and keep at least one offline backup. A familiar pattern in small businesses that keep getting hit is port 3389 or a database port still open with only one password changed.
What can we check ourselves before responders arrive?
Without deleting or changing anything, record: new local and domain accounts and administrator group members; unfamiliar entries in scheduled tasks and services; remote-access software among installed programs; port forwards on the router and firewall; and recent remote desktop logons. Screenshot and export anything unusual for the forensic team, and do not rush to delete it.
Sources
- Ransomware as a service: Understanding the cybercrime gig economy and how to protect yourself(2022-05-09,访问经纪人、附属攻击者未被驱逐时反复变现、常见持久化工具)— Microsoft Security Blog
- Semperis' 2024 Ransomware Study Reveals 78% of Attack Victims Paid Ransom and 74% Suffered Multiple Strikes(2024-07-30)— Semperis
- Cybereason Ransomware True Cost to Business Study Reveals Organizations Pay Multiple Ransom Demands(2022-06-07,80% 付款者再次遭攻击,68% 在一个月内)— Cybereason
- PIN 20230927-001: Two or More Ransomware Variants Impacting the Same Victims and Data Destruction Trends(10 天内、多数 48 小时内)— FBI
- AA23-025A: Protecting Against Malicious Use of Remote Monitoring and Management Software(2023-01)— CISA、NSA、MS-ISAC
- #StopRansomware Guide(2023-09 版,恢复与事后处置清单)— CISA
- AD Forest Recovery - Reset the krbtgt password(重置两次、间隔长于票据最长有效期)— Microsoft Learn
- 2026 年 4 月勒索软件流行态势分析(Weaxor 部分版本爆破数据库后植入 AnyDesk 手动投毒)— 360
External links are provided for reference only. The content is published by third parties and does not represent our position.
Updated