Join our Newsletter — 33% off our NHI Course
Home› Guides› NAS Security for Beginners: Protecting Home and Office…
Guide Incident Response & Forensics

NAS Security for Beginners: Protecting Home and Office Storage From Ransomware

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 11 min read
On this page

NAS security means protecting the small storage box on your network that holds shared files and backups.

This guide is for home users and small offices with a NAS, short for network-attached storage. You do not need to be technical. If your family photos or your firm's files live on one of these boxes, a single attack could lock them all.

In short

  • A NAS is a small computer full of hard drives that everyone on your network can save files to.
  • Criminals have targeted NAS boxes that are reachable from the internet, locking files and asking for payment.
  • The main fixes are simple: keep it updated, do not open it to the internet, and use strong sign-ins.
  • A NAS is not a backup on its own. Keep snapshots and at least one copy somewhere else.

What you will learn

  • Explain what a NAS is and why attackers target it.
  • Spot the settings that leave a NAS open to the internet.
  • Check that your NAS is updated and its sign-ins are strong.
  • Plan a copy of your files that an attack on the NAS cannot reach easily.
Shared storage box (NAS)
a small computer with hard drives that stores files for everyone on a network.
File-locking attack (ransomware)
harmful software that scrambles files and demands payment to unlock them.
Saved moment (snapshot)
a record of how files looked at a point in time, so you can roll back.

What is NAS security?

Think of a shared filing cabinet in a hallway. Everyone in the house or office can reach it, which is handy. But if the front door is left open, a stranger can reach it too.

A NAS is that cabinet for your digital files. It plugs into your router, and computers and phones save to it. Many people also use it as the place their backups go. NAS security is about keeping the cabinet locked, the door shut and a spare copy somewhere else.

Where the comparison stops working: a stranger in a hallway can be seen. An attacker on the internet can try thousands of boxes at once, and the box may not show any sign until files are locked.

Why does it matter?

A NAS often holds everything in one place: photos, accounts and backups. In January 2022 one NAS maker warned that a new ransomware was widely targeting its boxes that were exposed to the internet without protection.[1]

If you keep family files at home

What could happen: years of photos are locked, and the backups on the same box are locked too.

Check this: is there a copy of your photos somewhere other than the NAS?

Next: The 3-2-1 Backup Rule for Beginners

If you run a small office

What could happen: staff cannot open client files, and work stops until the files are restored.

Check this: ask whoever set up the NAS whether it can be reached from the internet.

Next: Backup Security for Beginners

If you look after IT for friends or a club

What could happen: a box you set up years ago still runs old software with known holes.

Check this: sign in and look for waiting updates and a default admin account.

Next: Home Router Security for Beginners

What does it look like?

Here is a made-up summary of a NAS's settings, with the risky lines marked.

Example only. All values are made up.

Device: EXAMPLE-NAS-0000      Address: nas.example.invalid
System update:        3 updates waiting              (1)
Admin account name:   admin                          (2)
Two-step sign-in:     off
Router port opening:  on (from the internet)         (3)
Snapshots:            off                            (4)
Copy elsewhere:       none set up
  1. Updates fix known security holes. Waiting updates leave them open.
  2. A well-known account name makes guessing easier. In a real screen, this line would show your own admin name.
  3. The router passes traffic from the internet straight to the NAS. Anyone online may be able to reach its sign-in page.
  4. With no snapshots and no outside copy, locked files may have nothing to roll back to.

Why this is risky: each line on its own is common. Together they make the box easy to find, easy to break into and hard to recover.

The safer way: update the box, close the router opening and turn on two-step sign-in. Then turn on snapshots and keep one copy somewhere else.

How does it work?

Here is how a typical NAS attack happens, and where each defence fits.

  1. The box is reachable. A router setting called port forwarding passes internet traffic to the NAS. A feature called UPnP can open these routes by itself. One maker advised switching off both for its management page.[1]
  2. Attackers find it. Automated tools search the internet for NAS sign-in pages.
  3. They get in. They use a known flaw in old software, or a weak or reused password.[3]
  4. Files are locked. Ransomware scrambles the files, and often goes after backups too, to make payment more likely.[3]
  5. Recovery depends on copies. Snapshots and a separate copy give you something to restore from.
Diagram titled Open door or locked door, with two panels. The left panel, Risky, shows the internet connecting through a router port opening straight to the NAS sign-in page, with notes: old software, admin account called admin, no two-step sign-in, backups only on the NAS. The right panel, Safer, shows the router with no openings, remote access only through a secure link or VPN, and notes: updates on, own admin name, two-step sign-in, snapshots on, one copy kept somewhere else.
Figure 1. The same box, set up two ways. Most of the safer settings take minutes to check.

Two makers give similar advice. Install system updates promptly. Replace the default "admin" account with one of your own. Turn on two-step sign-in, and block addresses after repeated failed attempts.[2] For access from outside, one maker points to its own secure link instead of opening router ports.[1]

Snapshots record how your files looked at a moment in time. Some NAS boxes offer locked, or immutable, snapshots. One maker says these cannot be removed during a protection period you set, even by an admin account.[4] That is the maker's own claim, and it needs a supported model.

Diagram titled Four layers that protect a NAS, with four numbered boxes joined by arrows. 1 Update: install system updates promptly. 2 Close the door: no router openings, remote access through a secure link. 3 Lock the sign-in: own admin name, two-step sign-in. 4 Keep copies: snapshots plus one copy kept somewhere else. A note at the bottom says if the first three fail, the fourth is what gets your files back.
Figure 2. Four layers. Copies are the last line when everything else fails.

A worked example

Soren Jovanovic runs Juniper Garage, a made-up car repair shop with six staff. All job sheets, invoices and photos of repairs sit on a NAS in the back office. A friend, Milo Grover, set it up four years ago.

Soren reads about NAS attacks and asks Milo to take a look. Milo signs in and finds the summary looks a lot like the sample above. There are updates waiting, and the admin account is still called "admin".

The biggest worry is the router. Milo had opened a port so Soren could check invoices from home. That means the sign-in page can be reached from anywhere on the internet.

Milo installs the updates first. He creates a new admin account with a strong password and two-step sign-in, then turns off the old one. He closes the router opening and switches off the feature that can open ports by itself. Soren now reaches the files from home through the maker's secure link instead.

Next, Milo turns on daily snapshots. He also sets up a weekly copy to a drive that Soren takes home and keeps unplugged between copies.

Six months later, a staff laptop picks up harmful software that scrambles some shared files. Milo rolls the shared folder back to the previous night's snapshot. Most files are back the same day, and the weekly copy is there as a spare. Soren still reports the incident and has the laptop cleaned.

Myths and mistakes

What people thinkWhat is true
My NAS is my backup, so I am covered.If the NAS is locked, files and backups on it can go together. Keep at least one copy elsewhere.[3]
Nobody would target my small box.Attacks on NAS boxes are often automated, so any box open to the internet can be found.[1]
Changing the port number hides it.One maker says this may put off automated attacks but cannot stop a targeted one.[2]
A copy on a USB drive that stays plugged in is safe.A drive that stays connected can be locked too. Unplug it between copies.[3]
Once it is set up, it can be left alone.New flaws are found over time. Updates need installing for as long as you use the box.

What can I do this week?

  1. Install waiting updates on your NAS and turn on automatic updates if it offers them.
  2. Check your router for port openings to the NAS, and switch off UPnP if you do not need it.
  3. Replace the "admin" account with your own, and turn on two-step sign-in.
  4. Turn on snapshots for your shared folders.
  5. Make one copy of your most important files somewhere else, such as an unplugged drive or a cloud backup.

Checklist

  • The NAS software is up to date.
  • The router does not forward internet traffic to the NAS.
  • Remote access, if needed, uses a secure link or VPN, not an open port.
  • The default admin account is turned off, and a new one uses a strong password.
  • Two-step sign-in is on for admin accounts.
  • Snapshots run on a schedule for important folders.
  • At least one copy of important files is kept away from the NAS.
  • We have tried restoring a file from a snapshot and from the outside copy.

Common questions

Is a NAS safer than cloud storage?

Neither is safer by default. A NAS keeps files in your hands, but you must update and lock it yourself. Cloud services do much of that for you, but you rely on the provider. Many people use both, so each holds a copy.

How do I know if my NAS is open to the internet?

Check your router for port forwarding rules that point to the NAS address, and check whether UPnP is on. Some NAS boxes have a built-in security check that warns about this. If unsure, ask whoever set it up.

What should I do if my NAS files are locked?

Unplug the NAS from the network to stop further damage, and do not delete anything yet. Then follow a recovery plan, such as our practitioner playbook. Report it to the police or your national cyber centre, and seek expert help before paying anything.

Are snapshots the same as a backup?

Not quite. Snapshots live on the same NAS, so they help if files are changed or locked, but not if the box itself fails or is stolen. A backup is a separate copy kept somewhere else. Using both covers more cases.

Does RAID protect me from ransomware?

No. RAID spreads data across several drives, so one failed drive does not lose your files. But if ransomware scrambles a file, every drive holds the scrambled version. You still need snapshots and a separate copy.

Where next?

Ready for the detail? Read the practitioner guide: NAS Ransomware Playbook. It goes further into spotting an attack, containing it, keeping evidence and recovering safely.

Also useful:

Related NHI Mgmt Group resources: Immutable Backups vs Offline Backups · Backup Security and Immutable Backup Guide

Key terms

Network-attached storage
A small computer with hard drives that stores and shares files on a network.
Ransomware
Harmful software that scrambles files and demands payment to unlock them.
Snapshot
A record of how files looked at a point in time, used to roll back changes.
Immutable backup
A copy that cannot be changed or deleted for a set period.
UPnP
A feature that lets devices open routes through your router by themselves.
Multi-factor authentication
A sign-in that needs a second check, such as a code, as well as a password.
3-2-1 backup rule
Keep three copies of your data, on two types of storage, with one copy kept elsewhere.

Sources and further reading

  1. Take immediate actions to stop your NAS from exposing to the Internet, and update QTS to the latest available version (DeadBolt). QNAP Systems, 26 January 2022. https://www.qnap.com/en/security-news/2022/take-immediate-actions-to-stop-your-nas-from-exposing-to-the-internet-and-update-qts-to-the-latest-available-version-fight-against-ransomware-together, accessed 28 Nov 2026.
  2. 10 security tips to keep your data safe. Synology official blog, 12 March 2020 (updated 2026). https://blog.synology.com/10-security-tips-to-keep-your-data-safe, accessed 28 Nov 2026.
  3. Mitigating malware and ransomware attacks. National Cyber Security Centre (UK). https://www.ncsc.gov.uk/guidance/mitigating-malware-and-ransomware-attacks, accessed 28 Nov 2026.
  4. When Only Immutable Backups Survive. Synology official blog, 7 July 2026 (vendor's own description of its immutable snapshots). https://blog.synology.com/?p=15430, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.