Locking Down a Synology NAS After CVE-2024-10441 Joined CISA KEV: Build Check, Compromise Triage, Closing DSM Ports, Enforced 2FA and Immutable Snapshots

A hands-on DSM 7.x guide to confirming you run a fixed build for the ransomware-linked CVE-2024-10441, checking for intrusion, removing DSM from the internet, enforcing 2FA and setting up immutable snapshots.
On 18 November 2026, CISA added CVE-2024-10441 to its Known Exploited Vulnerabilities (KEV) catalog. The flaw is in the system plugin daemon of Synology DiskStation Manager (DSM) and BeeStation OS, and Synology rates it critical (CVSS 9.8, network, no authentication). It was first shown at Pwn2Own in 2024 and patched in November 2024. Two years later, attackers are still using it. The KEV entry marks it as known to be used in ransomware campaigns, flags it for forensic triage, and gave US federal agencies until 21 November to act.
Many home and small-business NAS boxes still run old builds with DSM open to the internet. This tutorial covers four jobs. First, confirm the NAS is on a fixed build. Second, check whether it was touched. Third, cut its internet exposure. Fourth, set up immutable snapshots so a ransomware hit can be rolled back instead of paid for. Every setting below is in the DSM 7.x Control Panel. The shell commands are read-only checks run over SSH.
Prerequisites
- A Synology NAS running DSM 7.x (DSM 6.2 owners: see Troubleshooting), plus an account in the administrators group.
- A second device on a different network, such as a phone hotspot or a cloud VM, to test what the internet can see.
nmapon that outside device (sudo apt install nmapon Debian or Ubuntu,brew install nmapon macOS).- An authenticator app for 2-factor authentication.
- A Btrfs volume if you want snapshots. Immutable snapshots only work on some models; Synology publishes the list.
Step 1: Check Your DSM Build Against the Fixed Releases
In the web UI, open Control Panel > Info Center > General and read the DSM version. Compare it with the fixed builds in Synology advisory Synology-SA-24:20:
- DSM 7.2.2: 7.2.2-72806-1 or later
- DSM 7.2.1: 7.2.1-69057-6 or later
- DSM 7.2: 7.2-64570-4 or later
- DSM 7.1: 7.1.1-42962-7 or later
- BeeStation OS (BSM): 1.1-65374 or later
Any later DSM release, such as a current 7.2.x or 7.3 build, already includes the fix. If you manage several units, you can read the same values over SSH. Temporarily enable SSH under Control Panel > Terminal & SNMP > Terminal, then run:
ssh youradmin@nas.lan
grep -E '^(productversion|buildnumber|smallfixnumber)=' /etc.defaults/VERSION
Example output from a patched 7.2.2 box:
productversion="7.2.2"
buildnumber="72806"
smallfixnumber="1"
A build number lower than the one listed for your branch means the box is vulnerable. Install updates from Control Panel > Update & Restore > DSM Update. On a box that has been exposed to the internet, do the checks in Step 2 first and save the evidence. A reboot and update can overwrite logs you may need later.
Step 2: Look for Signs of Compromise Before You Clean Up
CISA flags this vulnerability for forensic triage. Assume an unpatched, internet-facing box may already have been accessed, and look before you change anything.
Start with accounts. Any administrator you don't recognise is a serious warning sign:
grep '^administrators:' /etc/group
sudo awk -F: '$3 >= 1000 {print $1, $3, $7}' /etc/passwd
Then look for persistence: scheduled jobs and startup scripts you didn't create. DSM Task Scheduler entries end up in /etc/crontab:
cat /etc/crontab
ls -la /usr/local/etc/rc.d/ 2>/dev/null
Then look for large numbers of files written very recently, which is how encryption in progress shows up:
sudo find /volume1 -xdev -type f -mmin -120 2>/dev/null | head -50
sudo find /volume1 -xdev -type f -mmin -120 2>/dev/null | wc -l
A few dozen files is normal for a busy share. Tens of thousands of fresh files, especially with an unfamiliar extension or a new ransom note in every folder, is not. In the UI, open Log Center and review connection logs for sign-ins from unknown IP addresses or countries. Also check Control Panel > Security > Protection for the Auto Block list.
If you find anything suspicious, unplug the network cable, don't shut down, and follow your incident response plan. Patching alone won't remove an attacker who is already inside.
Step 3: Take DSM Off the Open Internet
The biggest risk reduction is making sure nobody on the internet can reach the management interface at all. From your outside device (hotspot or cloud VM), scan your public IP address. Only scan addresses you own or are authorised to test:
nmap -Pn -p 22,23,80,443,5000,5001,5005,5006,6690 YOUR.PUBLIC.IP
Ports 5000 and 5001 are DSM's default HTTP and HTTPS ports, 5005/5006 are WebDAV and 6690 is Synology Drive. Any of them showing open means it can be reached from the internet. Remove those port-forwards on your router and turn off UPnP auto-forwarding. In DSM, look under Control Panel > External Access > Router Configuration for any rules DSM created itself.
For remote administration, Synology recommends a VPN instead of exposing management ports. Use a WireGuard or OpenVPN endpoint on your router, or Synology's VPN Server package, and reach DSM only through the tunnel.
Then turn on the DSM firewall as a second layer of protection. Go to Control Panel > Security > Firewall, select Enable firewall and edit the profile:
- Create allow rules for your LAN subnet (for example
192.168.1.0/24) and your VPN subnet. - Add only the specific services that must be reachable from elsewhere.
- Under each interface's rule list, set If no rules are matched to Deny access.
Rules are matched from the top down, so allow rules must come above deny rules. Synology's own warning is worth repeating: create the rules while signed in by IP address (not QuickConnect), and confirm your current IP address is covered by an allow rule before you click Apply.
Step 4: Lock Down Accounts and Sign-In
Patching closes CVE-2024-10441, but ransomware crews also try password guessing. Close that route too:
- Disable the default
adminaccount under Control Panel > User & Group. First check that another administrator account can sign in. - Enforce 2FA: go to Control Panel > Security > Account, select Enforce 2-factor authentication for the following users, choose Administrator group users (or All users), then click Apply. Users without 2FA must set it up at their next sign-in.
- Enable Adaptive MFA on the same tab for administrators who still sign in with only a password.
- Auto Block: under Control Panel > Security > Protection, enable Auto Block so an IP address is blocked after repeated failed logins. It covers DSM, File Station, SSH, rsync, FTP, WebDAV and the Synology mobile apps. Enable Account Protection on the Account tab as well.
- Password rules: Control Panel > User & Group > Advanced > Password Settings > Apply password strength rules.
- HTTPS only: Control Panel > Login Portal > DSM > Automatically redirect HTTP connection to HTTPS, and install a valid certificate.
One known side effect of 2FA, according to Synology's help: it also applies to SSH-based services. Hyper Backup and Shared Folder Sync tasks that use rsync with SSH transfer encryption stop working once 2FA is enforced for the account they run as. Use a dedicated service account for those jobs, or switch them to another transport.
When you've finished, disable SSH again under Control Panel > Terminal & SNMP.
Step 5: Make Ransomware Recoverable With Immutable Snapshots
Patching and reducing exposure lower the chance of an attack. Immutable snapshots limit the damage if one succeeds. Install Snapshot Replication from Package Center, then for each important shared folder:
- Select the shared folder and go to Settings > Schedule > Enable snapshot schedule. Hourly or every few hours suits active shares.
- In the same dialog, select Enable immutable snapshots and set a Protection period. Synology recommends 7 to 14 days.
- Under Settings > Retention, choose a policy (for example Smart Retention) so older, non-immutable snapshots are pruned automatically.
During the protection period, an immutable snapshot cannot be deleted by any means, even by an administrator whose account has been compromised. The shared folder can't be deleted either. That is exactly what you want against an attacker who wipes snapshots before encrypting. The trade-off is capacity: plan for the space that 7–14 days of changes will use. For archives that must never change, consider WriteOnce when creating a shared folder. It can't be disabled once enabled, so test it first.
Snapshots live on the same disks, so add an off-box copy too. Use Hyper Backup with Transfer encryption to send data to a second NAS or cloud storage, following the 3-2-1 rule.
Verification
- Info Center shows a DSM build at or above the fixed release for your branch.
- The outside
nmapscan shows ports 5000, 5001 and 22 asfilteredorclosed. - Signing in as a test administrator requires an OTP.
- In Snapshot Replication > Snapshot List, new snapshots show a shield icon. Hover over it to see the remaining protection period. Try deleting one; DSM should refuse.
- Security Advisor (a built-in app) reports no high-risk items after a full scan.
Troubleshooting
- Locked out after enabling the firewall: connect from a LAN address covered by an allow rule. Otherwise a mode 1 reset (pressing the RESET button for about four seconds) resets network and admin settings without touching data. Check the procedure for your model first.
- DSM 6.2 boxes: Synology lists DSM 6.2 as only moderately affected by this advisory, with a fix in 6.2.4-25556-8. DSM 6.2 is past end of life, though. Plan a hardware or DSM 7 upgrade and keep it off the internet until then.
- Immutable option missing: your model or volume doesn't support it (ext4 volumes can't snapshot shared folders). Use scheduled normal snapshots plus off-box Hyper Backup versions instead.
Wrapping Up
CVE-2024-10441 is in the KEV catalog two years after its patch because many Synology boxes never got that patch and still face the internet. The steps above cost an afternoon: patch, check for signs of compromise, close the ports, enforce 2FA, and keep two weeks of snapshots that nobody can delete. That moves a NAS from "next ransomware victim" to "restore from Tuesday's snapshot". Repeat the outside port scan after every router change, and turn on DSM update notifications so the next fix doesn't wait two years.
