---
title: Ransomware on a NAS: DeadBolt, Qlocker, eCh0raix and What Snapshots Can Save
url: https://recdati.ch/en/guides/nas-ransomware-deadbolt-qlocker-snapshots/
description: Files on your QNAP or Synology renamed to .deadbolt, .encrypt or packed in 7z archives? How NAS ransomware differs from Windows ransomware, what to check in the snapshots and how deleted originals are recovered.
language: en
---

Business

# Ransomware on a NAS: what is different, what can be saved

Ransomware that targets a NAS does not arrive through an email attachment. It comes through the NAS itself, using a service exposed to the internet and a flaw in the firmware. It then works on the NAS with its own tools. That changes what survives: snapshots, deleted originals and the logs of the attack are often still there, as long as nobody resets the unit.

Published 29 November 20263 min readBy [Mirush Murataj](https://recdati.ch/en/about-us/#author)

Disconnect the NAS from the network, but do not reset it or update the firmware yet.

In short

- Disconnect the NAS from the network, but do not reset it or update the firmware yet.
- Check the snapshots read-only: many NAS attacks leave them intact.
- Qlocker-type attacks delete the originals after packing them, and deleted files can often be recovered.

## How NAS ransomware works

| Family | Typical sign | How it encrypts |
| --- | --- | --- |
| Qlocker (2021) | Files packed in password-protected .7z archives | 7-Zip archives created by the attacker, originals deleted afterwards |
| eCh0raix | .encrypt extension, ransom note in every folder | Encrypts files in place, on QNAP and Synology |
| DeadBolt (2022 onwards) | .deadbolt extension, ransom page replacing the login | Encrypts file by file and changes the web interface |

All of them reached NAS units whose administration page, file station or a sync service was reachable from the internet, through flaws for which the manufacturers had already published updates.

## The first hour

1. **Disconnect the network cable**, or block the NAS at the firewall. If encryption is still running (high CPU, disks busy), shutting down cleanly from the interface is better than pulling the power.
2. **Do not reset, reinitialise or update the firmware.** An update can remove the malicious processes and their files, which are sometimes needed to understand or reverse the attack.
3. **Photograph the ransom page** and keep a few encrypted files with their ransom notes.
4. Check whether other machines in the network have encrypted files too: the NAS may not be the only victim.

## What the snapshots can do

Btrfs snapshots on Synology and snapshots on QNAP are taken at block level, below the shared folders. Several NAS families did not delete them. Check them read-only:

- On Synology, browse the `#snapshot` folder or use Snapshot Replication in "browse" mode, and copy what you need to an external disk.
- On QNAP, open the snapshot in File Station or mount it as a separate share instead of restoring over the live data.
- Look at the date of the newest clean snapshot: it tells you when the attack started.

If the snapshots were deleted, do not create new ones: they would capture the encrypted state and use the space where old blocks may still be found.

## Recovering deleted originals

When an attack packs files into new archives and then deletes the originals, the originals are often still on the disks as deleted data. The same is true for some families that write an encrypted copy and delete the source. The chances fall with every new write, so the NAS should stay off until the disks are imaged. We then search the file system for deleted files and reconstruct them, which on Btrfs often includes older versions of the same file.

## Reporting in Switzerland

Report the attack to the National Cyber Security Centre (NCSC), part of the Federal Office for Cybersecurity, and to the cantonal police if you want to file a complaint. If personal data was affected, check whether you must notify the FDPIC: see [Data loss on a server: when the FADP requires a notification](https://recdati.ch/en/guides/server-data-loss-fadp-breach-notification/).

## Closing the door

- No administration page, File Station or QuickConnect and myQNAPcloud access open to the internet without a VPN.
- Disable UPnP on the router and on the NAS.
- Install firmware updates promptly, and enable automatic security updates.
- Immutable snapshots (Synology), snapshot protection (QNAP) and a backup the NAS cannot overwrite.

See [ransomware data recovery](https://recdati.ch/en/data-recovery/ransomware/), [QNAP NAS data recovery](https://recdati.ch/en/data-recovery/qnap-nas/), [Synology NAS data recovery](https://recdati.ch/en/data-recovery/synology-nas/) and [Ransomware in a Swiss company: the first 24 hours](https://recdati.ch/en/guides/ransomware-switzerland-first-24-hours/).

## Frequently asked questions

Should I pay the ransom for DeadBolt?

We advise against it. Payment funds further attacks and does not always deliver a working key. Check the snapshots and deleted files first.

Can encrypted .deadbolt files be decrypted without the key?

In general, no. Recovery works through snapshots, backups and deleted originals, not by breaking the encryption.

Is a NAS behind the router's firewall safe?

Only if no port is forwarded to it, UPnP is disabled and no cloud relay service is active.

## Official sources and useful links

- [National Cyber Security Centre (NCSC)](https://www.ncsc.admin.ch/): The federal centre for cyber security, now part of the Federal Office for Cybersecurity: incident reports, current threats, checklists.
- [QNAP](https://www.qnap.com/): Official QNAP site with support, firmware downloads and security advisories for QTS and QuTS hero.
- [Synology Knowledge Center](https://kb.synology.com/): Official Synology help: DSM installation and migration, storage pools, SSD cache and encryption.

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fnas-ransomware-deadbolt-qlocker-snapshots%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fnas-ransomware-deadbolt-qlocker-snapshots%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fnas-ransomware-deadbolt-qlocker-snapshots%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fnas-ransomware-deadbolt-qlocker-snapshots%2F)
-

Cite this article

Murataj, Mirush. "Ransomware on a NAS: what is different, what can be saved". RecDati, 29 November 2026. https://recdati.ch/en/guides/nas-ransomware-deadbolt-qlocker-snapshots/

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

[Request a free diagnosis](https://recdati.ch/en/free-diagnosis/) [Ransomware data recovery](https://recdati.ch/en/data-recovery/ransomware/)

Need a diagnosis?

Free, no obligation, reply within 2 hours.

[Free diagnosis](https://recdati.ch/en/free-diagnosis/)

## Read next

- [ZFS pool will not import: reading the messages and rewinding safelyZFS is built never to overwrite live data, so a pool that will not import has almost always kept an older,…](https://recdati.ch/en/guides/zfs-pool-will-not-import/)
- [Data loss on a server: when the FADP requires a notificationMost people associate a data breach with stolen data. The revised Swiss Federal Act on Data Protection…](https://recdati.ch/en/guides/server-data-loss-fadp-breach-notification/)
- [Pulled the wrong disk from a RAID: the first 10 minutesIt happens in server rooms and small offices alike: a RAID 5 is degraded, someone goes to replace the failed…](https://recdati.ch/en/guides/pulled-wrong-disk-from-raid/)
- [NAS SSD cache failure: why the volume crashesAn SSD cache makes a NAS faster, but a read-write cache also holds data that has not yet reached the hard…](https://recdati.ch/en/guides/nas-ssd-cache-failure-volume-crashed/)
- [RAID expansion or migration interrupted halfwayAdding a disk to a RAID, or changing a RAID 5 into a RAID 6, means rewriting the whole array in a new layout.…](https://recdati.ch/en/guides/raid-expansion-or-migration-interrupted/)
- [Punctured stripe on PERC and MegaRAID: reading the controller logA punctured stripe is the controller's way of keeping an array online when it has found a stripe it cannot…](https://recdati.ch/en/guides/punctured-stripe-megaraid-perc/)

Device not responding any more? Unplug it and let us take a look.

[Free diagnosis](https://recdati.ch/en/free-diagnosis/)
