Join our Newsletter — 33% off our NHI Course
Home› Guides› NAS Ransomware Playbook: Isolate, Assess and Recover QNAP…
Guide Incident Response & Forensics

NAS Ransomware Playbook: Isolate, Assess and Recover QNAP and Synology Devices

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 8 November 2026 11 min read
On this page

When files on a network attached storage device are suddenly renamed and a ransom note appears in every share, the next hour decides whether snapshots and backups survive or are overwritten. NAS appliances hold file shares, backups of other systems and sometimes the only copy of a small organisation's data, so a NAS encryption event is often a business continuity incident as well as a security one. This playbook covers how the incident shows up, the triage questions to answer first, isolation and containment in priority order, snapshot and backup checks, firmware and account clean-up, ransom note handling and the realistic data recovery options. It is written for IT administrators, managed service providers and incident responders, and uses QNAP and Synology devices as worked examples because they are widely deployed; the method applies to other NAS platforms. Platforms are listed alphabetically, and the order is not a ranking.

This is an independent guide from NHI Mgmt Group, based on QNAP's public documentation and Synology's public documentation as of November 2026. It is not sponsored or reviewed by QNAP or Synology. Product features change, so confirm settings against each vendor's current documentation.

Key takeaways

  • Disconnect first, then think. Both vendors' ransomware guidance starts with disconnecting the affected computer or device from the network to stop further encryption.
  • Snapshots are the fastest recovery path. A snapshot taken before the encryption can restore shares in minutes, provided it was not deleted and you restore without reconnecting infected clients.
  • Find the writer before you restore. Files on a NAS can be encrypted by malware on the device itself or by an infected PC writing through a mapped share; the containment differs.
  • Treat the device as untrusted until rebuilt or verified. Update firmware from the vendor, reset all accounts, and remove any internet exposure before data goes back on it.
  • Do not pay as a first step. No More Ransom, the Europol supported project, advises against paying and offers free decryptors for some families.

How the incident shows up

SignalWhere you see itWhat it suggests
Files in shares renamed with a new extension; text or HTML ransom notes in foldersUsers, file explorer, NAS file managerEncryption under way or complete (ATT&CK T1486)
The NAS web login page replaced by a ransom messageAdmin web interfaceMalware running on the device itself
Snapshots or backup tasks missing or failedSnapshot manager, backup app logsRecovery sabotage (T1490 Inhibit System Recovery)
Sustained high CPU and disk activity outside business hoursResource monitor, vendor notificationsMass file rewrite
Failed and then successful admin logins from unknown IPsSystem and connection logs, security toolsBrute force or stolen credentials over an exposed service (T1133 External Remote Services, T1110)
New admin accounts, enabled SSH or Telnet, unknown apps installedUser and service settings, app centreAttacker persistence on the device
Only some shares affected, matching one user's mapped drivesFile timestamps, access logsAn infected client encrypted the shares it could write

Initial access to NAS devices is commonly through services exposed to the internet: the admin web interface, file services or remote access features published by port forwarding or UPnP, exploited before updates were applied (T1190 Exploit Public-Facing Application), or reached with reused passwords. The other common path is a compromised Windows PC with write access to shares.

Triage questions

  1. Is the device itself compromised or only its data? A ransom page on the admin login, unknown processes or apps, or changed system settings point to the device. Encrypted files only in shares one user can write point to a client.
  2. Is encryption still running? Check whether file names are still changing and CPU or disk activity remains high.
  3. Which shares, volumes and replicas are affected? Include backup targets on the NAS and any replication partner that may have synchronised encrypted files.
  4. Do clean snapshots still exist? Note the newest snapshot that predates the first encrypted file, and whether snapshots were protected against deletion.
  5. Do off-device backups exist? Identify the last backup to another device, cloud or removable media, and whether it is reachable from the compromised NAS credentials.
  6. How was the device reachable? List router port forwards, UPnP mappings, DMZ settings, vendor relay or remote access services, VPN and which services were enabled.
  7. Was data copied out first? Check router or firewall logs for large outbound transfers. Theft changes the notification decision even when files are restored.

Containment priorities

  1. Disconnect the network. Unplug the NAS network cable or block it at the switch, and disconnect any PC that may be the encryption source. QNAP's guidance is to disconnect the infected computer from the internet, remove its connection to the NAS and, if possible, disconnect the NAS cable too. Synology's guidance also starts with disconnecting the affected computer from the internet to stop the spread.
  2. Keep the device powered on where you can. A running device keeps logs and process state, and a reboot can trigger update or clean-up routines that change evidence. Power off only if encryption continues after disconnection and you cannot stop it any other way.
  3. Remove internet exposure. On the router, delete port forwards to the NAS, disable UPnP and any DMZ host entry. Use a VPN for remote administration instead of exposing NAS services directly.
  4. Protect what remains. Pause replication and sync tasks so encrypted files are not pushed over good copies on a second device or in cloud storage. Disconnect USB backup drives.
  5. Stop client mounts. Ensure no PC remounts infected shares until it has been checked.
  6. Change credentials from a clean device. Reset all NAS administrator passwords and any credentials stored on the NAS for cloud or remote backup targets. See the Backup Identity Isolation Guide.

Eradication

  • Update firmware from the vendor. Install the current QTS, QuTS hero or QES release on QNAP, or the current DSM release on Synology, downloaded from the vendor's own site. Read each vendor's security advisories page for the model and apply every relevant fix.
  • Remove unknown accounts, apps and tasks. Delete accounts you did not create, uninstall apps you do not recognise, and review scheduled tasks and startup settings in the admin interface.
  • Run the vendor's security tools. On QNAP, update and run Malware Remover and review Security Center and QuFirewall, which QNAP says should be kept current. On Synology, run Security Advisor, which Synology describes as scanning for malware, vulnerabilities and abnormal login activity.
  • Disable services you do not use. Turn off SSH, Telnet and any file or media services not in use, and move remaining services off default ports where the vendor recommends it. Deactivate any default administrator account once a named admin account exists.
  • Consider a full reset. If the device itself ran malware, the safest path is to copy off any data you still need, reset the device to factory state, reinstall current firmware and rebuild configuration by hand. Vendor support can confirm the right reset procedure for the model.
  • Clean the clients. Any PC that may have encrypted the shares must be investigated and reimaged before it reconnects. See the Ransomware Response and Recovery Guide for the wider estate.

Recovery

Choose the recovery route by what survived. Work through the options in this order.

Recovery optionWhen it appliesSpeedWatch for
Restore from on-device snapshotSnapshots predating the encryption exist and the device is trusted or resetFastestRestore only after clients are clean; check the snapshot date against the first encrypted file
Restore from a replica on a second NASSnapshot replication or backup to another device ran before the attackFastMake sure replication did not copy encrypted files over the replica
Restore from off-site or cloud backupBackup jobs ran to cloud, remote server or rotated drivesSlower, bandwidth boundCredentials for the target were stored on the NAS; rotate them first
Free decryptorNo More Ransom or law enforcement lists a decryptor for the identified familyVariesTest on copies of encrypted files only; see the Ransomware Decryptors guide
Professional data recoveryNo clean copy existsSlow, costly, not guaranteedKeep encrypted disks unchanged for this

QNAP

QNAP documents restoring from snapshots in Storage Manager, then Snapshot Manager: select a snapshot taken before the attack, remove the encrypted files from the affected folder and restore them from the snapshot. Where snapshots are not available, QNAP points to restoring remote copies made with Hybrid Backup Sync. For future resilience, QNAP recommends block-based snapshots with Snapshot Reserve Space so a minimum number is always kept, Snapshot Replica to a second QNAP device, and backup tools that run with limited user accounts rather than the administrator.

Synology

Synology documents recovery by restoring backups from a local or off-site Synology system, and recommends immutable snapshots, which prevent unauthorised changes to data and snapshots, replicated to a Synology server at a secondary location. Snapshots are managed on DSM, where a pre-attack snapshot can be restored to the shared folder once clients are clean. For wider protection, Synology lists Security Advisor for regular scans, Active Backup for Business for centralised backups with bare-metal and file-level recovery, Secure SignIn for stronger login, and Central Management System for keeping several devices updated together. Synology also notes that paying a ransom does not guarantee a working decryption key.

After restoring

  • Restore to a device that is updated, reset or verified, with internet exposure removed.
  • Reconnect clients one at a time after they are checked, watching for renewed file renames.
  • Re-enable replication and backup jobs only after the restored data is confirmed clean.
  • Turn on deletion protection for snapshots where the platform offers it, and keep at least one copy offline or immutable.

Evidence to preserve

EvidenceWhy it mattersHow to keep it
Ransom note and sample encrypted filesFamily identification and decryptor checksCopy to clean storage; do not open on a production PC
NAS system, connection and access logsEntry point, logins, accounts usedExport from the admin interface before reset or update
Router and firewall configuration and logsPort forwards, UPnP mappings, outbound transfersScreenshot or export configuration; save logs
List of accounts, apps, services and scheduled tasksPersistence the attacker addedScreenshots with timestamps before removing anything
Snapshot and backup job historyProof of what was deleted and whenExport or screenshot job logs
Client PC imagesWhether a client was the encryption sourceDisk image of suspect PCs before reimaging
Original disks where no clean copy existsFuture decryptor or professional recoveryRemove and store safely, labelled by bay
Playbook phaseNIST CSF 2.0NIST SP 800-53 Rev 5MITRE ATT&CK v20 addressed
TriageRS.AN-03IR-4T1190, T1133 External Remote Services
ContainmentRS.MI-01SC-7, AC-2T1486 Data Encrypted for Impact
EradicationRS.MI-02IR-4, IA-5T1136 Create Account
RecoveryRC.RP-01, RC.RP-03CP-9, CP-10T1490 Inhibit System Recovery
PreparednessPR.DS-11CP-9Not applicable
NotificationRS.CO-02IR-6Not applicable

Notification triggers

  • Personal data: loss of availability of personal data through encryption is a personal data breach under GDPR and UK GDPR. Article 33 requires notifying the supervisory authority without undue delay and, where feasible, within 72 hours, unless the breach is unlikely to result in a risk to individuals; Article 34 adds notice to individuals when the risk is high. A fast snapshot restore with no theft may reduce the risk assessment, but document the reasoning. See the Data Breach Notification Checklist.
  • Managed service providers: if you manage the NAS for a client, tell the client promptly; under GDPR Article 33(2) a processor notifies the controller without undue delay.
  • Regulated sectors: NIS2, DORA and health rules carry their own clocks; check the Cyber Incident Reporting Requirements Map.
  • Law enforcement: report to the national cybercrime reporting route (in the UK, Report Fraud (which replaced Action Fraud on 4 December 2025); in the US, IC3 or CISA). In Scotland, report to Police Scotland on 101. Reporting can give access to decryptor information.

Practitioner checklist

  • Remove every port forward, UPnP mapping and DMZ entry that exposes a NAS; use a VPN for remote access.
  • Schedule snapshots on every share, keep a minimum retained set, and protect snapshots from deletion where the platform supports it.
  • Replicate or back up to a second device or cloud with credentials that the NAS administrators do not share.
  • Keep one copy offline or immutable, and test a restore every quarter.
  • Deactivate default admin accounts, require strong passwords and two-step sign-in for administrators.
  • Apply firmware and app updates promptly and follow each vendor's security advisories page.
  • Give users write access only to the shares they need, so one infected PC cannot encrypt everything.
  • Keep a printed copy of this playbook and the router and NAS admin details offline.

Standards and references

Related NHI Mgmt Group resources: Ransomware Response and Recovery Guide · Backup Security and Immutable Backup Guide · SOHO and SMB Router Hardening Guide · Ransomware Basics for Small Businesses Guide · Linux Server Ransomware Playbook

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 8 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org