By Ivy / Last update August 20, 2020

It is essential to protect NAS from ransomware

Recently, ransomware WannaCry spreads like a worm through NSA cyber weapon called Eternal Blue. It infected over 200.000 computers worldwide. Once a computer is infected, it can spread to all the devices on the same network in seconds.

If the infected computer user with write access to NAS share folder, then you may find the files have been encrypted by the ransomware on the NAS, even if the share location is not mapped as a network drive. Evidently, ransomware is a big threat to those who manage network-attached storage (NAS) or other network-based devices. So, how to prepare for NAS ransomware protection?

Use write access carefully

For NAS shared folders that you do not need to write to regularly, then just give read-only access. You can create a special account that has write access. When you do need to write data to that location, just log in with this account to make changes.

You should try your best to prevent anyone who has write access to the NAS doing something unsafe, like clicking strange email attachments or suspicious links. It will be helpful if you can change User Account Control to Always Notify. You may find it annoying at first, but it can prevent some unnecessary issues.

Always Notify

You should always install Windows update and set it automatic update because ransomware can attack those computers without patches. You should always turn anti-virus software on and keep updated. However, that is not enough for NAS virus protection.

Backup NAS regularly

No matter how careful you are, there is still chance that your NAS share will get infected because new ransomware virus may be more insidious and threatening. Therefore, you should backup the folders to which many people have write access regularly.

As you may aware, Windows backup and restore tool does not allow you to include NAS network location as backup source, so you need third party backup software.

The best free NAS backup software - AOMEI Backupper Standard is specially designed to protect your NAS from Ransomware in Windows XP, Vista, 7, 8, 8.1 and 10.

AOMEI Backupper is quite easy to use. You can directly specify the NAS share folder location as the backup source without the need to map the NAS device to local. You should save the backup offsite so that the virus cannot touch. For example, to backup Synology NAS to external hard drive in Windows 10:

Step1. Download and install this freeware on your Windows 10 to protect your Synology NAS from Ransomware.

Download Freeware

Win 10/8.1/8/7/XP

Secure Download

Step2. Select Backup > File Backup at the main interface.

File Backup 

Step3. Click + Add Folder or + Add File > Share/NAS -> Add Network Location, and then input the Display Name and Network Path to add the Synology NAS, and choose all the files and folders as the source.

Add Folders Files 


Add Network Location

Step4. Choose the external hard drive as the destination to save all files and folders from Synology NAS. 

Start Backup Network Files

Step 5. Press Start Backup to backup Synology NAS to external hard drive to perform NAS Ransomware protection.

Start Backup Network Files 

✍You could comment, encrypt (paid), compress, and split the NAS backup task, enable email or SMS notification, etc. with the Options.
✍Schedule setting is capable of backing up files and folders automatically on a regular basis, like daily, weekly, monthly, event triggers, USB plug in. You could create full backup, incremental backup and differential backup, etc.
✍If the destination disk is almost full, you could set the Scheme to delete old file backup images automatically to free up disk space once the number of backups exceeds the number you specified.

After a while, all your files and folders on your Synology NAS will be backed up with a success. Except for Synology NAS Ransomware protection, all above the steps applied to QNAP Ransomware protection and other NAS devices as well.

If possible, you can save backup copies to two different locations. Then your NAS Ransomware protection is complete.


NAS Ransomware protection is quite essential for all of us. Use write access carefully and backup your NAS devices regularly will reduce the data lost due to the ransomware attacks. Moreover, you could sync NAS files and folders to external hard drive with basic sync, mirror sync, real time sync to keep the latest version of data to be copied.

If you are running Windows Server system, please try AOMEI Backupper Server to enjoy more, like clone entire hard disk to protect everything from your computer, migrate Windows 10 to SSD to speed up your computer without reinstalling, etc.