My father owns a NAS by Synology. I have a sneaking suspicion that it might have been infected by some form of malware. I noticed for example it often increasing in overall and specifically fan noise at odd times and when nobody is using it.
What are tools I can use to scann it for unwanted intruders and if found get rid of them?
Fan noise at odd hours on a Synology is often just scheduled tasks, so rule that out before assuming malware — DSM runs things at night/early morning that people don’t expect: backup jobs, hyper backup schedules, S.M.A.R.T. tests, index/re-indexing after new files (Synology Indexing is a classic CPU spike), snapshot rotation, and auto DSM updates. Check Control Panel → Task Scheduler and the Resource Monitor / Log Center for what was actually running at those times. If the spikes correlate with a scheduled task, it’s benign.
If it’s genuinely unexplained, here’s how to actually check a Synology for compromise — note that you can’t run ClamAV scans of the DSM system itself easily; you scan data shares and look at process-level indicators:
1. System-level indicators (most valuable):
- SSH in and check
ps auxfor processes you don’t recognize, especially anything running from/tmp,/var/tmp, or with weird encoded command lines (base64,curl | shpatterns). netstat -tunap(orss -tunap) — look for established outbound connections you can’t explain. Crypto miners and C2 beacons show up here. Match the PIDs back withlsof -p <pid>.crontab -lfor root and every user, plus/etc/crontaband/etc/cron.d/— persistence almost always lands here on NAS malware (e.g. the old Synology ransomware families).- Check
/usr/local/bin/and/usr/local/etc/rc.d/for unknown binaries/startup scripts. - DSM’s own logs: Log Center filtering for failed logins — a wall of auth failures means it’s being brute-forced (usually from the internet if you have DSM ports exposed). “Weird noise” + constant fan + brute-force attempts = someone found your DSM port.
2. Data-share scanning:
- Install ClamAV from Package Center and scan shares, or manually hunt the usual ransomware canaries: files like
README_FOR_DECRYPT.txt,!!!.txt,HOW_TO_FIX.txtin shares:find /volume1 -iname "*decrypt*" -o -iname "*readme*.txt" -newer /volume1/some_known_file 2>/dev/null - Look for unusually recent mass file modifications:
find /volume1/homes -mtime -1 -type f | wc -l— thousands of files changed overnight when nobody touched the NAS is a ransomware signature.
3. If you find something or want to be sure: the honest answer is a NAS is not forensically cleanable reliably — DSM doesn’t give you a trusted base to scan from. The robust path is: export what you need, wipe and reflash DSM from Synology Assistant, restore data, and then close the actual door — which for most compromised NASes is DSM port-forwarded to the internet. Put it behind a VPN (WireGuard/Tailscale) instead and 90% of this risk class disappears.
Also worth checking:
synoupgrade --checkfor a pending DSM update, and Security Advisor (Package Center) which automates several of the checks above.- SSH in and check
Synology?
SSH in and run top. See what it’s doing. You could compare the checksum of the binaries that are running to make sure that they’re the real binaries, if you really want to get into it.
But if I had to guess, it’s either running a backup or re-running its indexing.
I went down that rabbit hole too when I thought it should have been idle. Turned out it was routine data integrity checks and indexing.
Ages ago Synology used to have (maybe still does) a virus scan utility based on clamav (I thiiiiiink) and it only found windows viruses I had in spam emails on my Mac backups.
Atop is pretty sweet for logging performance metrics over time and including data on what would have caused it with autosorting by effect of process included. Interface isn’t pretty and seems a little complicated on the surface but there are colors to help. That is if synology has repos to install it.
Could it be doing remote backup during downtime? That could be somewhat compute intensive, if the data is also being encrypted and compressed for the remote target.
Are there no ways to peek at running processes and resource usage on a Sinology NAS? I’d start with that.
Also, how old is the device? Maybe it is overheating due to dirt/dust buildup and some cleaning up and re-pasting would solve the issue.





