Skip to main content

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

SheMo Noransom舍末无勒

Scenario solution

QNAP NAS Encrypted by Ransomware

  • QNAP QTS / QuTS hero
  • myQNAPcloud
  • Hybrid Backup Sync (HBS)
  • 快照 Snapshot
  • SMB / AFP 共享
  • Container Station
  • Photo / Multimedia Station

QNAP is among the NAS brands most frequently targeted by ransomware, with DeadBolt, Qlocker, eCh0raix and Checkmate all publicly documented — all sharing one precondition: internet-exposed devices. This page covers what each looked like, how to identify which case you have, and what snapshots and backups can do.

Typical symptoms

  • The NAS login page has been hijacked and shows the ransom message and payment instructions directly, blocking access to the admin interface — DeadBolt's signature behaviour
  • Files in shared folders have been packed into password-protected 7z archives with the originals gone, alongside an instruction file — Qlocker's signature behaviour
  • Files carry appended extensions such as .encrypt or .checkmate, with README / DECRYPTION instruction files in each directory
  • The QTS snapshot list is empty, HBS jobs are disabled, or the backup destination is unreachable
  • System logs show heavy failed-logon activity from overseas IPs, unexpected SSH sessions, or newly created administrator accounts
  • Containers, web services and multimedia packages on the NAS have been stopped or reconfigured, with sustained abnormal CPU and disk IO

Business risk & common mistakes

QNAP devices have been through several publicly documented targeted campaigns, and knowing the differences helps you place your own situation:

  • DeadBolt (from 2022): hijacks the device login page to display the ransom message, encrypts files with AES-128 and appends .deadbolt, and runs a multi-tier extortion scheme that also demands payment from the vendor. Public records show it hit QNAP first, then ASUSTOR and TerraMaster devices.
  • Qlocker (2021): performed no conventional encryption, instead packing files into password-protected 7-Zip archives — extremely fast and extremely damaging. Reporting linked the campaign to exploitation of a hardcoded-credential flaw in HBS 3 (CVE-2021-28799).
  • eCh0raix: a NAS-focused family that public reporting shows affected both QNAP and Synology devices across several waves.
  • Checkmate (2022): QNAP's own advisory described attacks against devices with SMB enabled and exposed to the internet, using dictionary attacks against weak-password accounts, appending .checkmate and leaving a !CHECKMATE_DECRYPTION_README note. QNAP advised not exposing the NAS to the internet, using a VPN instead, reviewing account strength, disabling SMB 1, keeping firmware updated, and maintaining backups and snapshots.

The shared precondition across all of them is remarkably consistent: the device was reachable from the internet, with weak credentials or an unpatched flaw.

Mistakes to avoid:

  • Resetting the device, rebuilding the RAID, initialising the storage pool. Destroys every recovery option at once. In DeadBolt cases the hijacked login page pushes many people straight toward a factory reset — precisely the worst choice.
  • Deleting encrypted files or the 7z archives. They may be the only recoverable material.
  • Scanning and writing to QNAP drives directly from a PC. QTS also builds on Linux software RAID and LVM, and careless handling destroys the array.
  • "Fixing" it with a firmware upgrade. That writes to the device and can overwrite evidence; firmware updates belong to the hardening phase, not the recovery phase.
  • Following online guides to enter a key supplied by the attacker. Some campaigns attracted fake pages and secondary fraud.

We do not recommend paying, and we do not negotiate on your behalf.

Our response plan

  1. Disconnect, isolate, and preserve device state

    Immediately take the NAS off the internet — first remove port forwards and UPnP on the router, then unplug the cable — and do not reset, do not upgrade firmware, do not rebuild the storage pool. Photograph the current interface, especially a DeadBolt hijack page, whose key fields and addresses are evidentiary material. If the admin interface still accepts logins, export system logs, connection logs, the account list and share configuration; if it does not, leave the device as-is for offline forensics.

  2. Identify the incident type and family

    Classify by symptom: a hijacked login page points to the DeadBolt family; files turned into password-protected 7z archives point to Qlocker; appended extensions plus an instruction file need further separation by extension and note filename (for example .checkmate with !CHECKMATE_DECRYPTION_README). In parallel, check the firmware version, which services were enabled (SMB version, SSH, web services, multimedia and container packages), account strength and internet exposure, to establish whether the entry was credential brute forcing or vulnerability exploitation.

  3. Inventory snapshots, backups and recoverable material

    Verify item by item: whether QTS / QuTS hero snapshots survived (an attacker with administrative access usually deletes them, but not always completely), the destination and version availability of HBS jobs, external drive and cloud backups, and whether any second device holds a copy. Also assess the recovery value of the encrypted material itself: Qlocker-style archives may contain complete data merely protected by a password, which calls for a very different approach than conventional encryption.

  4. Recover from images, not the live device

    Restore from snapshots or backups where possible. Where neither is available, record the drive slot order and take read-only block-level images, then reassemble the array and analyse the copies. Productive directions include carving the deleted originals (encryptors commonly write new and delete old), repairing partially encrypted large files, and extracting unreclaimed data extents at the filesystem layer. Place recovered data on fresh, clean storage and validate batch by batch by opening samples — never write back to the original device.

  5. Eliminate exposure and rebuild backups

    Follow the vendor's guidance: keep the NAS off the internet, remove port forwards and UPnP, and use a VPN for remote access. Disable or rename the default administrator account, enforce strong passwords with two-factor authentication, disable SMB 1, turn off unused services (SSH, FTP, web services, container and multimedia packages), and move firmware and packages to supported, patched versions. Rebuild backups: enable snapshots with sensible retention, keep the HBS destination off the device, and retain one offline copy. Finish with an incident report and remediation checklist.

Recovery paths

With QNAP, first establish what was actually done to the files — the campaigns damage data differently, so the recovery logic differs too.

Path 1: snapshot rollback. QTS / QuTS hero snapshots are the most direct route. An attacker with administrative rights usually deletes them, but in some cases deletion was incomplete, or snapshots had been replicated to another device — so check before concluding.

Path 2: HBS backups and external copies. Again, destination and reachability decide it. Backups to a detached external drive, another device or cloud storage are worth most; backups to another share on the same NAS carry high risk.

Path 3: distinguish encryption from archiving. Qlocker-style incidents placed files into password-protected 7z archives rather than encrypting them byte by byte. That means the data itself may be entirely present, and the problem is archive integrity and the password rather than cryptographic recovery. In such cases deleting the archives means deleting the data — keep them.

Path 4: carving the deleted originals. Whether files were encrypted or archived, the originals are usually deleted, and while unoverwritten they can be recovered from a low-level image. This depends on no further heavy writing after the incident — which is exactly why taking the NAS out of service immediately matters so much.

Path 5: distributed copies. Sync folders and local caches on staff computers, mapped-drive clients, other backup chains and archived project media frequently supply the critical files.

On decryptors and keys: whether any public solution exists depends entirely on family and version, so attribution must come before assessment — never act on fragments of advice found online. Where a hijacked login page presents a key entry field, do not follow its instructions before assessment; such interfaces have historically been reused for secondary fraud.

Stated plainly: deleted snapshots, backups that failed at the same time, and a device left running for days afterwards leave very little room. We do not promise "100% recovery", we do not pay ransoms, and we do not negotiate.

Common ransomware families

Hardening recommendations

  • Do not expose the NAS to the internet. This is the shared precondition across every publicly documented QNAP ransomware campaign. Remove router port forwards and UPnP, disable unnecessary external access services, and use a VPN for remote access — QNAP's own first recommendation in the Checkmate advisory.
  • Govern accounts and passwords. Review every account immediately: disable or rename the default administrator, enforce strong passwords, enable two-factor authentication and automatic lockout after failed logons, and delete dormant accounts.
  • Disable SMB 1 and use SMB 2 or higher, and turn off services you do not need — SSH, Telnet, FTP, the web server, multimedia and container packages.
  • Keep firmware and packages updated. In past campaigns, unpatched package vulnerabilities such as hardcoded credentials in a backup sync package were used directly for mass delivery; enable automatic updates or check manually on a schedule.
  • Enable snapshots with a sensible retention policy. Snapshots are among the most effective recovery tools on a NAS, but recognise that a compromised administrator account can delete them — they do not replace offline backups.
  • Keep the backup destination off the device. Use HBS to back up to another device, an external drive detached after each run, or cloud storage, retaining multiple versions. Never write backups to the same NAS.
  • Minimise share permissions and restrict LAN reachability. Keep archive directories read-only and deny blanket write access to ordinary users, so one infected endpoint cannot encrypt every share.
  • Review logs and drill recovery. Watch for anomalous logons and mass file-change alerts, and every six months genuinely restore a key directory from backup to prove the chain works.

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 industries

FAQ

Frequently asked questions

  • Our QNAP login page shows a ransom note — should we factory reset?

    Absolutely not. A hijacked login page is characteristic of DeadBolt-style incidents: it alters the device's web interface, which does not mean the underlying data is unusable. A factory reset or storage pool rebuild genuinely erases the data and turns a recoverable case into an unrecoverable one. The correct sequence is: remove port forwards at the router and unplug the cable, photograph the interface (the key entry field and addresses are evidence), do not follow the page's instructions, and engage incident response for a low-level assessment.

  • Our files became password-protected 7z archives — is that encryption?

    It is a different kind of damage. In the publicly documented Qlocker campaign, files were packed into password-protected 7-Zip archives rather than having their contents encrypted byte by byte. For recovery that means the data itself may be sitting intact inside the archives, so the focus shifts to archive integrity, the password problem, and carving the deleted originals. Never delete those archives — they are your data. Stop all writes to the NAS at the same time, so the deleted originals are not overwritten.

  • How did they get in? We only enabled remote access for convenience.

    "We enabled remote access" is frequently the cause itself. Every publicly documented QNAP ransomware campaign shares one precondition: the device was reachable from the internet. QNAP's Checkmate advisory states plainly that the attacks targeted devices with SMB enabled and exposed publicly, using dictionary attacks against weak-password accounts; other campaigns traced to unpatched package vulnerabilities. Our forensics establishes the specific path from system logs, connection records and firmware version. The first remediation is always the same: keep the NAS off the public internet and use a VPN for remote access.

  • All snapshots were deleted — is there still a chance?

    Several directions remain. First, snapshot deletion is not always complete, and snapshots may have been replicated to another device — verify at the block level rather than trusting the interface. Second, whether the HBS destination was off-device, and whether external drive or cloud copies are usable. Third, fragments of the deleted originals: encryption or archiving normally removes the originals, and while unoverwritten they can be carved from a read-only image. Fourth, local copies on staff computers and sync clients. All of this depends on writes having stopped, so taking the NAS out of service immediately is critical.

  • Will a firmware upgrade fix this?

    A firmware upgrade is a necessary hardening step afterwards, but it is not a recovery method, and doing it now is harmful: upgrading writes heavily to the device, potentially overwriting fragments of deleted files, and it changes system state and destroys forensic leads. The correct order is: disconnect and isolate, preserve the current state, take block-level images, and complete assessment and data recovery. Once the data is safe, move firmware and packages to supported versions while following the vendor's guidance to disable SMB 1, reduce enabled services, and fix accounts and internet exposure.

Updated