⚠ Six doors, six locksUpdated 2026-11-01
How NAS Devices Get Hacked — Every Known Attack Route and Its Countermeasure
Strip away the campaign names and every NAS compromise walks through one of six doors. Know the doors, install the locks, and you're done — this is the entire game.
Door 1 — The exposed admin interface (the classic)
How: a port-forward puts DSM/QTS/ADM/TOS login directly on the internet. Scanners enumerate every forwarded NAS in the world within hours (Censys counted 83,000+ exposed QNAP services during DeadBolt). Everything else — credential stuffing, exploit spraying — starts here.
Lock: no admin port forwards, ever. Remote access via vendor relay (QuickConnect, myQNAPcloud Link) or VPN into your LAN. One evening of router cleanup.
Door 2 — The unpatched 1-day
How: vendor patches a critical flaw → attackers reverse the patch and hit everyone who didn't update. DeadBolt struck 12 days after QNAP's fix; C3RB3R hit Synology devices 6 weeks after (or 22 months after, per Synology's own statement) theirs. Being "one update behind" is the normal victim state.
Lock: auto-updates ON, and verify the build number quarterly — especially on EOL branches that show a fake "fully updated".
Door 3 — Weak, default, or reused credentials
How: default admin/admin, passwords reused from a breached forum, no 2FA. eCh0raix literally brute-forced weak QNAP passwords at scale. Even with zero exploits, a good password list opens many NAS.
Lock: unique admin name, long unique password, 2FA, auto-block after failed logins, default account disabled.
Door 4 — Packages, containers, and the PHP web stack
How: WordPress/phpMyAdmin/Web Station/Mail Station on your NAS are internet-facing web apps with their own CVE lifecycles. PHP2Shell (October 2026, CISA KEV) lived entirely in this layer; one investigated C3RB3R case suspected a GitLab container.
Lock: uninstall what you don't use, update everything in Package Center, and never expose a self-hosted app you wouldn't patch weekly.
Door 5 — Phished or stolen credentials
How: you, on another site; the attacker, with your reused password, on your NAS relay account or email (which resets the NAS password). No NAS flaw required.
Lock: password manager, unique credentials everywhere, 2FA on the NAS account itself.
Door 6 — Physical/adjacent: guest LAN, IoT, USB
How: compromised cameras/TV boxes on the same LAN pivoting to the NAS; or "backup" malware that rides a USB drive you plug in. Rare in mass campaigns, common in targeted ones.
Lock: VLAN or at least firewall rules separating IoT/guest from the NAS; snapshots so even LAN-side damage is rollback-able.
The pattern across all six
Five of the six doors are closed by the same 30 minutes of work: the 12-step checklist. The sixth (credentials) is closed by a password manager. And when — statistically — something still gets through one day, 3-2-1 backup turns the story from catastrophe to anecdote.
FAQ
Are NAS devices hacked through the vendor's cloud (QuickConnect, myQNAPcloud)?
Mass campaigns to date attacked directly-exposed admin interfaces, not the vendor relays. Relays actually reduce risk by hiding your login page from scanners. Vendor-cloud compromises are theoretically possible but haven't been the vector in any documented NAS ransomware wave.
Can ransomware get in through the drives themselves?
No. Hard drives don't execute code on the NAS; every campaign entered through the network path (admin interface, packages, credentials). Drive firmware malware exists in nation-state contexts but has never been a consumer NAS ransomware vector.
Is LAN-only use safe enough to skip updates?
LAN-only removes doors 1 and most of 2 — a huge improvement. But phishing (door 5) and LAN-side pivots (door 6) still exist, and EOL boxes stop getting fixes for flaws discovered later. LAN-only + backups is defensible; LAN-only + no backups is gambling.