A Synology NAS is hardened by cutting its internet exposure, locking down every account that can sign in to DiskStation Manager (DSM), patching against published advisories and keeping snapshots and backups that a compromised administrator cannot quietly delete. Small and mid-sized organisations often treat the NAS as an appliance that sits in a cupboard and just works. Attackers see it differently: it holds the file shares, the backups of laptops and servers, and frequently a set of long-lived credentials used by scripts, cameras, backup agents and sync clients. This guide walks through the DSM settings that matter, how to think about remote access including QuickConnect, and how to protect snapshots and backups so that ransomware on the NAS does not become a business-ending event.
It is written for IT generalists, managed service providers and security teams who own one or more Synology units. It focuses on prevention and configuration. If a unit is already encrypted or behaving strangely, go straight to the NAS Ransomware Playbook, which covers triage, containment and recovery.
This is an independent guide from NHI Mgmt Group, based on Synology's public documentation as of November 2026. It is not sponsored or reviewed by Synology. Product features change, so confirm settings against Synology's current documentation.
Key takeaways
- The single biggest risk reduction is removing direct internet exposure of the DSM web interface, SSH, SMB and file services. Put remote access behind a VPN or a tightly scoped relay and keep everything else on the local network.
- Every account that can sign in to DSM is an identity to govern, and that includes service accounts used by backup tools, cameras, scanners and scripts. Give each its own account, the least privilege it needs and no administrator rights unless strictly required.
- Turn on Auto Block, Account Protection, 2-factor authentication or Secure SignIn for all administrators, and the DSM firewall with a default deny for traffic that matches no rule.
- Patch DSM and packages on a schedule driven by Synology security advisories. Advisories such as Synology-SA-25:03 list a fixed release per DSM branch and sometimes state that no mitigation exists other than upgrading.
- Snapshots on the NAS are not a backup on their own. Pair Snapshot Replication with an offsite or offline copy (Hyper Backup or another tool) whose credentials do not live on the NAS.
- Run Security Advisor scans routinely and review login analysis and logs. A hardened NAS that nobody watches will drift back to an exposed state.
Why Synology NAS devices are targeted
Network attached storage is attractive to attackers for three reasons. First, it concentrates data: file shares, home folders, photo libraries and very often the backup target for everything else in the business. Encrypting or deleting that data gives an attacker leverage over both production and recovery at the same time. Second, it is frequently exposed. Owners open ports on the router so staff can reach files from home, forward the DSM management port, or enable services they tried once and forgot. Third, it tends to run with weak identity hygiene: a shared administrator password, accounts for former staff, and service credentials embedded in scripts and devices that nobody rotates.
The attack patterns are familiar. Opportunistic groups scan the internet for exposed management interfaces and try password spraying and brute force (MITRE ATT&CK T1110 Brute Force). Others exploit vulnerabilities in internet-facing services (T1190 Exploit Public-Facing Application). Once inside, ransomware operators delete snapshots and backup versions (T1490 Inhibit System Recovery) before encrypting data (T1486 Data Encrypted for Impact). The hardening steps below map directly to breaking each of those steps.
Reduce exposure first: remote access and QuickConnect
Before changing a single DSM setting, find out how the NAS can be reached from the internet. Check the router or firewall for port forwards to the NAS, check whether UPnP is enabled on the router (DSM can request port forwards automatically if you allow it), and check which remote access features are switched on in DSM. Scan the public IP address from outside the network to confirm what is actually reachable.
Preferred options for remote access
- VPN to the site network. Users connect to a VPN terminating on the firewall or router and then reach the NAS as if they were in the office. The NAS itself exposes nothing to the internet. This is the NHI Mgmt Group recommended default for business use.
- Application-specific sync clients through a controlled path. If staff need file sync, use the Synology Drive Client over the VPN, or publish only the specific service needed behind a reverse proxy with strong authentication, rather than exposing DSM itself.
- No direct exposure of administration. The DSM management interface, SSH and SMB should never be reachable from the internet. SMB in particular was never designed for internet exposure.
Thinking about QuickConnect
QuickConnect is Synology's relay service that lets users reach a NAS by an ID without configuring port forwarding. It is convenient and avoids opening router ports, which is a real benefit over ad hoc forwarding. It does, however, make the DSM sign-in page and any permitted services reachable from anywhere by anyone who knows or guesses the QuickConnect ID. Treat QuickConnect as internet exposure for planning purposes. If you keep it on, restrict which services it can relay to the minimum, require 2-factor authentication for every account that can use it, make sure Auto Block is active, and review sign-in logs for unfamiliar locations. If nobody uses it, switch it off. Confirm the current relay options in your DSM version, because the settings available vary by release.
Services to switch off
Go through Control Panel and the Package Center and disable anything not in active use: SSH and Telnet (enable SSH only for a maintenance window), FTP, unused file protocols such as AFP, WebDAV if not needed, old media and web packages, and any third-party packages from sources you no longer trust. Each enabled service is another login surface protected by Auto Block only if it is listed as a protected service. This follows the least functionality principle in NIST SP 800-53 CM-7.
Account and identity hardening in DSM
DSM accounts are where most NAS compromises start, so treat the NAS as an identity system in its own right.
Administrators
- Disable the built-in
adminaccount if it is still enabled on an older installation and create named administrator accounts for each person who needs them. Attackers target well-known default account names first. - Keep the administrators group as small as possible. Synology documents that only members of the administrators group can disable 2FA for regular users, and that email reset is disabled for administrators, so an administrator who loses a second factor needs a soft reset. Plan that recovery path before you need it.
- Require 2-factor authentication or Secure SignIn for every administrator. Synology describes Secure SignIn as offering multi-factor and passwordless sign-in including "Approve sign-in" and "Hardware security key". Hardware security keys are the strongest option because they resist phishing.
- Do not use administrator accounts for daily file access. Give administrators a separate standard account for their own files.
Regular users
- Use a password policy with sensible length requirements and block common passwords. If the NAS joins a directory such as Active Directory or LDAP, apply the directory policy and remove local accounts that duplicate directory users.
- Grant shared folder permissions to groups, not individuals, and review them quarterly. Remove accounts for leavers on the day they leave.
- Use the default inactivity sign-out. Synology states that DSM logs users out after 15 minutes of inactivity by default; do not lengthen it for administrators.
Service accounts and machine credentials
This is where most NAS estates are weakest. Backup agents, security cameras, scanners that save to a share, rsync jobs, cloud sync tasks and scripts all authenticate to the NAS. Too often they share one account, sometimes an administrator, with a password that has not changed in years and is stored in plain text on the client device.
- Create one account per integration, named for its purpose (for example
svc-scanner-floor2), with access to only the shared folder it needs. - Deny DSM desktop and application access to service accounts through application privileges so that a stolen service credential cannot be used to sign in to the management interface.
- Where the client supports it, use SSH keys or application-specific tokens instead of passwords, and rotate them on a schedule.
- Keep an inventory of each service account, its owner, the device using it and its last rotation date. Our wider guidance on Backup Identity Isolation Guide explains why backup credentials in particular need separate handling.
Sign-in protection: Auto Block, Account Protection and firewall
DSM includes several layers that slow or stop credential attacks. Turn them all on and tune them rather than relying on any single one.
| Control | What Synology documents | NHI Mgmt Group recommendation |
|---|---|---|
| Auto Block | Blocks IP addresses at the IP layer based on login failures on protected services, with block and allow lists. Protected services include DSM web login, SSH, SMB and VPN. | Enable it, set a low failure threshold over a short window, set blocks to expire only after a long period or never, and allow list only your management subnet. |
| Account Protection | Named as a way to reduce brute force risk. | Enable it so that repeated failures against an account from untrusted clients are throttled, which also protects against distributed password spraying that Auto Block alone may miss. |
| Firewall | Multiple rule sets filtering by source IP, IP range, port or location, with a configurable default action for unmatched traffic. The GeoIP database updates only through DSM updates. | Create explicit allow rules for the local subnets and VPN range, and set the default action to deny. Do not rely on location rules alone because attackers use infrastructure in any country. |
| Certificates | Third-party or self-signed certificates in X.509 PEM format; Let's Encrypt certificates last 90 days and can auto-renew, which requires port 80 open on the NAS and router. | For internal-only units, use a certificate from an internal CA rather than opening port 80 for renewal. If you use Let's Encrypt, open port 80 only for renewal and close it again. |
Also enable HTTPS redirection for DSM so that credentials are never sent in clear text, and change the default management ports only as a minor noise reduction, not as a security control.
Patching DSM and packages
Synology publishes security advisories through its Product Security Incident Response Team (PSIRT) and runs a bug bounty programme. Each advisory names the affected product and the fixed release for each supported branch. For example, Synology-SA-25:03 covered CVE-2025-1021, rated Important with a CVSS 3.1 base score of 7.5, describing a vulnerability that "allows attackers to read any file via writable Network File System (NFS) service". The fixed releases were DSM 7.2.2-72806-3, 7.2.1-69057-7 and 7.1.1-42962-8 or above, and the advisory listed the mitigation as "None". In other words, the only fix was to upgrade.
- Subscribe to Synology security advisories and check them weekly. Treat any advisory affecting an internet-reachable service as urgent.
- Configure DSM to notify you of updates and install important updates promptly. Automatic installation of important fixes is reasonable for most small offices; larger estates may prefer a short test window.
- Update packages in the Package Center on the same cycle, because many vulnerabilities live in packages rather than DSM itself.
- Track hardware end of life. Models that no longer receive DSM updates must be retired or isolated completely from untrusted networks.
- Cross check the CISA Known Exploited Vulnerabilities Catalog for NAS products you run. A vulnerability listed there is being exploited and deserves priority over CVSS ranking.
Snapshot protection and backup design
Synology's recovery and backup toolset includes Snapshot Replication, Hyper Backup, USB Copy, C2 Storage for Hyper Backup, Synology Drive Client and Active Backup for Business. These are useful, but how you combine them decides whether you can recover from ransomware.
Snapshots
Snapshots taken by Snapshot Replication on a Btrfs volume let you roll a shared folder back to an earlier point quickly. They are the fastest way to undo encryption of a share, provided they still exist. The risk is that an attacker with administrator access on the NAS can delete snapshots before encrypting data. To reduce that risk:
- Schedule snapshots frequently (hourly for busy shares) with a retention policy that keeps several days of hourly points and several weeks of daily points.
- Where your DSM version offers immutable snapshots, enable them for critical shares with a retention lock long enough to cover your detection time. Immutable snapshots cannot be deleted by any account, including administrators, until the lock expires. Confirm availability and behaviour in your DSM release, since this varies by version and model.
- Replicate snapshots to a second Synology unit in another location, administered with different credentials, so that compromise of one unit does not reach the other.
- Make the snapshot folder visible to users only if they need self-service restore, and test that hidden snapshot directories are not writable over SMB.
Backups off the box
Apply the 3-2-1-1-0 rule (see The 3-2-1-1-0 Backup Rule Explained): three copies, two media, one offsite, one offline or immutable, and zero errors on restore tests. For a Synology estate that typically means Hyper Backup to an offsite target with versioning and client-side encryption, plus a rotated USB disk or an immutable cloud bucket. The important design point is credential separation. If the NAS stores the only credential that can delete backup versions at the destination, an attacker who owns the NAS can delete them too. Use a destination that enforces retention on its own side and keep its administrative credentials in a password manager or PAM tool, not on the NAS. See the Backup Security and Immutable Backup Guide for destination options.
Encryption at rest
Encrypt shared folders or volumes that hold sensitive data so that a stolen disk or unit does not expose files. Store the encryption key or recovery file securely away from the NAS and record who holds it. A lost key means lost data, so test unlock procedures as part of restore testing.
Monitoring, logging and Security Advisor
Synology's Security Advisor offers simple setup, routine scans and login analysis. Schedule scans weekly at least, pick the baseline closest to a business deployment, and fix each finding or record why it is accepted. Login analysis highlights sign-ins from unusual locations or at unusual times, which is particularly valuable when QuickConnect or any other internet path is enabled.
- Forward DSM logs (connection logs, file transfer logs for sensitive shares and system events) to a central syslog server or SIEM using Log Center. A NAS that holds its own logs loses them when it is wiped.
- Configure email or push notifications for failed logins, Auto Block events, new administrator creation, disabled 2FA, snapshot deletion and volume or storage pool errors.
- Watch for signs of ransomware staging: a sudden spike in file renames or writes on a share, deletion of snapshots or backup tasks, new scheduled tasks, or new packages from unknown sources.
- Review the list of enabled scheduled tasks monthly. Scheduled tasks running as root are a common persistence point after compromise.
Network placement and physical security
Place the NAS on a management or server segment rather than the flat user network. Only the client ranges that need file access should reach SMB or NFS, and only administrator workstations or a jump host should reach DSM management and SSH. If the NAS serves NFS, restrict exports to specific client addresses and use read-only exports wherever possible, which also limits the impact of vulnerabilities like the one in Synology-SA-25:03.
Physically, keep the unit in a locked space. Anyone with physical access can reset the device and potentially gain administrative access, so a reset button in a public area is a real risk. Connect the NAS to a UPS and configure safe shutdown so that a power cut does not corrupt volumes or snapshots.
Common failure patterns
- DSM exposed through a router port forward. Set up years ago for one remote worker and never removed, it leaves the sign-in page open to automated brute force.
- One shared administrator account. Used by staff, the MSP and backup software alike, with no 2FA and a password that is known to former employees.
- Backups that live only on the NAS. Snapshots and local Hyper Backup tasks deleted in minutes by an attacker with administrator rights.
- Backup destination credentials stored on the NAS. The offsite copy exists, but the NAS holds a credential that can delete it.
- Delayed patching. Advisories with a "None" mitigation that sit uninstalled for months on an internet-reachable unit.
- Unwatched alerts. Security Advisor and notification emails going to a mailbox nobody reads.
- Unsupported hardware. Old models past end of updates left online because they still work.
Practitioner checklist
- Confirm from outside the network that no DSM, SSH, SMB, NFS, FTP or WebDAV service is reachable from the internet; remove port forwards and disable UPnP requests.
- Decide on QuickConnect deliberately: switch it off if unused, or restrict its services and require 2FA for every account that can use it.
- Disable the default
adminaccount, create named administrators, and require Secure SignIn with a hardware security key or 2FA for all of them. - Create one least-privilege account per service integration, deny it DSM application access, record its owner and rotate its credential.
- Enable Auto Block, Account Protection and the DSM firewall with a default deny action and explicit allow rules for local and VPN ranges.
- Subscribe to Synology security advisories, apply DSM and package updates on a defined cycle, and retire models that no longer receive updates.
- Schedule snapshots with sensible retention, enable immutable snapshots where your version supports them, and replicate to a separately administered unit.
- Keep at least one offsite and one offline or immutable backup whose deletion credentials are not stored on the NAS, and run a restore test each quarter.
- Run Security Advisor weekly, forward logs to a central collector and alert on snapshot deletion, new administrators and disabled 2FA.
- Store volume or folder encryption keys away from the NAS and test unlock as part of restore testing.
Standards and references
- Synology: DSM security solutions
- Synology: DSM 7.4 Security and Sign-in Protection specifications
- Synology: Security advisory Synology-SA-25:03 DSM
- CISA: #StopRansomware Guide
- CISA: Known Exploited Vulnerabilities Catalog
- NIST: SP 800-53 Rev. 5 (CM-7 Least Functionality, CP-9 System Backup, AC-17 Remote Access)
- CIS: Critical Security Controls v8.1
- MITRE ATT&CK: Exploit Public-Facing Application
Related NHI Mgmt Group resources: NAS Ransomware Playbook · Backup Security and Immutable Backup Guide · The 3-2-1-1-0 Backup Rule Explained · Backup Identity Isolation Guide