this post was submitted on 16 Oct 2026
8 points (75.0% liked)

Selfhosted

63017 readers
2013 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] miaowoo_lw@lemmy.world 0 points 1 hour ago

First, a caveat: fan noise spiking at odd hours is often just DSM doing its own housework (scheduled tasks run by default in the middle of the night — indexing photos, deduplication, etc.). Check Control Panel → Task Scheduler before assuming malware; if the noisy jobs are legit DSM ones, that's your answer.

If you still want to verify the box is clean, since Synology DSM is basically a locked-down Linux under the hood:

  1. Check what's actually listening and running. SSH in (enable it in Control Panel → Terminal) and run sudo netstat -tulpn and ps aux. Anything unfamiliar with no package owner is a red flag. synowebapi/synology prefixed processes are normal.

  2. Check persistence points: crontab -l and /etc/crontab, plus ~/.ssh/authorized_keys for all users — malware loves adding a key.

  3. Log review: DSM's Log Center will show auth failures. A wall of failed SSH logins from random IPs just means the NAS is internet-exposed — which is a fixable problem in itself (move SSH to a non-standard port or better, keep it LAN-only and use Tailscale/WireGuard for remote access).

  4. Full scan: Synology has a built-in malware scanner (Security Advisor / synoscan), but it's fairly shallow. A stronger option is running ClamAV on a separate machine pointed at a read-only mount of the shares — clamscan -r --bell -i /mnt/nas — which catches infected files (Windows-targeting stuff mostly) even if the NAS itself isn't compromised.

  5. If you find something you can't explain: the safest move on a NAS is a config backup, a full DSM reinstall, and data restore — chasing a rootkit on an appliance is not worth it.

One hardening tip regardless of outcome: disable admin SSH + port-forwarding to the NAS entirely, and don't expose DSM to the internet directly (use quickconnect or a VPN tunnel instead).