NAS Codex › Synology › Your Synology NAS was attacked by ransomware: what Synology says to do
Your Synology NAS was attacked by ransomware: what Synology says to do
Synology says it cannot access your data or help decrypt files encrypted by ransomware. This page sets out its ransomware response checklist, its steps for restoring the NAS from backups, and the security settings it recommends afterwards, from three Synology Knowledge Center articles last updated between 2024 and November 2026.
Written against: Synology Knowledge Center articles for DSM 7 series and DSM legacy versions (last updated 2024-10-17, 2026-06-10 and 2026-11-04). Last Updated: November 2026. Vendor menus and wording change between versions; if yours differ, follow the vendor page linked under Sources.
Before anything else: if the data on this NAS is not backed up somewhere else, copy it off first. Do not continue with any step on this page until you have.
Fast Answer
Synology's first three steps are: find which systems are affected and isolate them at once; disconnect infected devices from your local network (if you cannot, power them down, though that loses evidence held in memory); and restore your data from backup tasks or snapshots. Synology cannot decrypt the files for you.
Synology's ransomware response checklist
Synology's prevention article, based on the CISA and MS-ISAC ransomware guide, says the first three steps after an attack are critical:
- Find the affected systems and isolate them immediately.
- Separate infected devices from your local network. If you cannot disconnect them, power them down to stop the infection. Synology notes that powering down loses infection artifacts and possible evidence held in volatile memory.
- Triage and restore: restore your data using backup tasks or snapshots.
It then suggests gathering information for Synology Support: the DSM version, services and packages in use, network topology and firewall rules, when you found the problem, what you have done since, the decryption instruction file, the file protocols in use and whether transfer logs were on, any abnormal logins and which account was used. Generate system logs in Support Center and send your report to Synology Support. Synology also suggests contacting your IT department, security provider or cyber insurer, and consulting law enforcement about possible decryptors, since researchers have broken the encryption of some ransomware variants.
Finally, it says to find how the attack got in (brute-force logins, missing package patches or a product vulnerability), consider reinstalling DSM, and once DSM is clean and all packages are up to date, consider resetting account passwords.
Restoring the NAS from backups
Synology's article for an attacked NAS assumes you have backups and can restore DSM and packages from them:
- Perform a factory reset to restore the NAS to its original settings.
- After reinstalling DSM, sign in and restore your system configuration and packages from your backup files.
- If you have trouble restoring data, submit a support ticket from DSM > Support Center.
- When the restore is done, take steps to improve the NAS's security (below).
Synology warns that a factory reset erases all data on the drives, including DSM and all volume data. If you reset by mistake and have not reinstalled DSM yet, it says to contact Synology right away without making further changes.
Locking the NAS down afterwards
Synology recommends:
- Keep DSM off the internet unless necessary; use a VPN for remote access, and open only the router ports your services need.
- Turn on Auto Block, Account Protection and multi-factor authentication. Auto Block and DoS protection are in Control Panel > Security > Protection, Account Protection in Control Panel > Security > Account, and 2-factor authentication in Options > Personal > Security (DSM 7).
- Deactivate the default admin account, after making sure another administrator account can sign in, and apply password strength rules in Control Panel > User & Group > Advanced.
- Use the firewall to allow only trusted IP addresses, subnets or regions, with Deny access for connections that match no rule. Synology advises creating the rules while signed in from an allowed IP address (not via QuickConnect) so you do not lock yourself out.
- Change the default ports (HTTP 5000, HTTPS 5001, SSH 22) and use HTTPS.
- Run Security Advisor and Antivirus Essential, keep packages updated, and follow Synology Security Advisory. Synology does not recommend installing third-party packages.
- Check the connection log in Log Center regularly.
Protecting your data against the next attack
- Keep an offline, encrypted backup and check that it can be restored, following the 3-2-1 rule. Hyper Backup can back up to an off-site Synology NAS or the cloud.
- Take regular snapshots with Snapshot Replication and set a protection period for immutable snapshots, during which they cannot be deleted. Shared folder snapshots need Btrfs volumes.
- WriteOnce stops files being modified or deleted for a retention period; it needs a Btrfs volume and cannot be turned off once enabled. Synology says immutable snapshots and WriteOnce are available only on specific models.
- Active Insight file activity monitoring can detect ransomware events, send a notification and take a snapshot of the shared folder automatically (DSM 7.2 and above, Active Insight 3.0.2 and above, at least 1 GB of memory, and a license).
When to stop and get help
Do not factory reset until you know your backups are good: Synology says a factory reset erases all data on the drives, including all volume data. Synology cannot decrypt the files, so backups and snapshots are the way to get data back. If you only need to restore a few files from a snapshot, see recover deleted files.
Questions
Can Synology decrypt files encrypted by ransomware?
No. Synology says it cannot access data on your NAS or help decrypt files encrypted by ransomware. It suggests restoring from backups or snapshots and consulting law enforcement about possible decryptors.
What should I do first if my Synology NAS has ransomware?
Synology says to find the affected systems and isolate them, disconnect infected devices from the local network (or power them down if you cannot), and restore data from backup tasks or snapshots.
How do I stop ransomware attacks on my Synology NAS?
Synology recommends keeping DSM off the internet unless needed, using a VPN, enabling Auto Block, Account Protection and multi-factor authentication, configuring the firewall, keeping DSM updated, and keeping offline backups and immutable snapshots.
Sources
Every fact on this page comes from the vendor documents below, opened on 2026-11-17.