Jump to content

How safe is a NAS server against threats like WannaCry?

Like the title says, let's say I get a Synology NAS housing (or other) and add in a WD Red, no RAID config, and one use case scenario is that we only use this in our household, while the other is so the rest of our family living on their own also can access the NAS from outside the local network (haven't decided on which one yet) - would the data on the NAS still be safe in the event of a ransomware attack like the current one?

The latest massive attack used a Windows exploit, but how would a NAS handle a general ransomware attack or worm designed for multiple OS's?

 

EDIT: I actually forgot to mention that the NAS will be used to create full image backups of computers, so no actual external storage there.

Asus X99-A w/ BIOS 3402 | Intel i7 5820k OC @4.4GHz 1.28V w/ Noctua NH-U14S | 16GB Corsair Vengeance DDR4 OC @2666MHz 12-14-14-28 | Asus Geforce GTX970 STRIX OC | EVGA 750 G2 750W | Samsung 850 Evo 1 TB | Windows 10 64-bit | Be-Quiet Silent Base 800 w/ Silent Wings | 2x Dell U2414H OC @72Hz w/ Display Port

 

Don't forget to invest in an Intel Tuning Plan if you're going to overvolt your K/X CPU

Link to comment
Share on other sites

Link to post
Share on other sites

If it's accessible via a share that Windows can read, it's not safe.

Link to comment
Share on other sites

Link to post
Share on other sites

If the NAS can be accessed by a potentially infected machine, the data on it is still at risk.

 

Ok, I type too slow, Windspeed36 said the same...

Gaming system: R7 7800X3D, Asus ROG Strix B650E-F Gaming Wifi, Thermalright Phantom Spirit 120 SE ARGB, Corsair Vengeance 2x 32GB 6000C30, RTX 4070, MSI MPG A850G, Fractal Design North, Samsung 990 Pro 2TB, Acer Predator XB241YU 24" 1440p 144Hz G-Sync + HP LP2475w 24" 1200p 60Hz wide gamut
Productivity system: i9-7980XE, Asus X299 TUF mark 2, Noctua D15, 64GB ram (mixed), RTX 3070, NZXT E850, GameMax Abyss, Samsung 980 Pro 2TB, random 1080p + 720p displays.
Gaming laptop: Lenovo Legion 5, 5800H, RTX 3070, Kingston DDR4 3200C22 2x16GB 2Rx8, Kingston Fury Renegade 1TB + Crucial P1 1TB SSD, 165 Hz IPS 1080p G-Sync Compatible

Link to comment
Share on other sites

Link to post
Share on other sites

If its connected and able to write to it, likely screwed as well. 

Please quote our replys so we get a notification and can reply easily. Never cheap out on a PSU, or I will come to watch the fireworks. 

PSU Tier List

 

My specs

Spoiler

PC:

CPU: Intel Core i5-6600K @4.8GHz
CPU Cooler: Noctua NH-U14S 
Motherboard:  ASUS Maximus VIII Hero 
GPU: Zotac AMP Extreme 1070 @ 2114Mhz
Memory: Corsair Vengeance LPX 16GB (2 x 8GB) DDR4-2400 
Storage: Samsung 850 EVO-Series 500GB 
Storage: Western Digital Caviar Blue 1TB
Case: Cooler Master MasterCase Pro 5 
Power Supply: EVGA 750W G2

 

Peripherals 

Keyboard: Corsair K70 LUX Browns
Mouse: Logitech G502 
Headphones: Kingston HyperX Cloud Revolver 

Monitor: U2713M @ 75Hz

 

Link to comment
Share on other sites

Link to post
Share on other sites

Well it's believed to be a worm as well, so.....

I'd disconnect my NAS if I were you (for a while).

 

Being total paranoid here, but well.... I just want to be safe right?

Where I hang out: The Garage - Car Enthusiast Club

My cars: 2006 Mazda RX-8 (MT) | 2014 Mazda 6 (AT) | 2009 Honda Jazz (AT)


PC Specs

Indonesia

CPU: i5-4690 | Motherboard: MSI B85-G43 | Memory: Corsair Vengeance 2x4GB | Power Supply: Corsair CX500 | Video Card: MSI GTX 970

Storage: Kingston V300 120GB & WD Blue 1TB | Network Card: ASUS PCE-AC56 | Peripherals: Microsoft Wired 600 & Logitech G29 + Shifter

 

Australia 

CPU: Ryzen 3 2200G | Motherboard: MSI - B450 Tomahawk | Memory: Mushkin - 8GB (1 x 8GB) | Storage: Mushkin 250GB & Western Digital - Caviar Blue 1TB
Video Card: GIGABYTE - RX 580 8GB | Case: Corsair - 100R ATX Mid Tower | Power Supply: Avolv 550W 80+ Gold

 

Link to comment
Share on other sites

Link to post
Share on other sites

How about pick a filesystem/backup system that does snapshots and does not have direct access to the disks? for example rsync or its cygwin equivalent.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

I actually forgot to mention that the NAS will be used to create full image backups of computers, so no actual external storage there.

Stupido me, I'll edit it in into the OP as well :)

Asus X99-A w/ BIOS 3402 | Intel i7 5820k OC @4.4GHz 1.28V w/ Noctua NH-U14S | 16GB Corsair Vengeance DDR4 OC @2666MHz 12-14-14-28 | Asus Geforce GTX970 STRIX OC | EVGA 750 G2 750W | Samsung 850 Evo 1 TB | Windows 10 64-bit | Be-Quiet Silent Base 800 w/ Silent Wings | 2x Dell U2414H OC @72Hz w/ Display Port

 

Don't forget to invest in an Intel Tuning Plan if you're going to overvolt your K/X CPU

Link to comment
Share on other sites

Link to post
Share on other sites

Backup and ZFS snapshot is useful for this type when it whole disk ZFS not per file. 

Magical Pineapples


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Link to comment
Share on other sites

Link to post
Share on other sites

have a look at dragonfly's filesystem

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

If it is accessible on the network it is at threat if your concerned backup your files to your nas then power off your nas when not in use or backup your nas periodically to something else and disconnect it when not needed.

You could also set Windows to forget your login credentials when you have stopped using it.

This should reduce the threat significantly.

Link to comment
Share on other sites

Link to post
Share on other sites

Another thing to keep in mind is if you perform backups of encrypted files and overwrite old backups, then your backups are gone. Versioned backups will prevent this, but only as long as you stop backing up as soon as you get infected with the ransomware.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

Or just use a huge USB Disk... 8TB+ then build yourself a script for the backup, plugin the drive to the machine you want to backup, let it run, overnight for example, as soon as finished unplug. As long as the drive is unplugged, no Wannacry for that Backup =) 

 

I try to use a kind of snapshot software that does incremental backups. So the first one takes quite long, the second is way faster, as long as you don't backup LTTs Petabyte Project =P

 

Snapshot Backups for at least the system drive have got the charm, you play it back, reboot and get your system back like you know it from right before the backup. 

 

 

Main System:

Anghammarad : Asrock Taichi x570, AMD Ryzen 7 5800X @4900 MHz. 32 GB DDR4 3600, some NVME SSDs, Gainward Phoenix RTX 3070TI

 

System 2 "Igluna" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

System 3 "Inskah" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

 

On the Road: Acer Aspire 5 Model A515-51G-54FD, Intel Core i5 7200U, 8 GB DDR4 Ram, 120 GB SSD, 1 TB SSD, Intel CPU GFX and Nvidia MX 150, Full HD IPS display

 

Media System "Vio": Aorus Elite AX V2, Ryzen 7 5700X, 64 GB Ram DDR4 3200 Mushkin, 1 275 GB Crucial MX SSD, 1 tb Crucial MX500 SSD. IBM 5015 Megaraid, 4 Seagate Ironwolf 4TB HDD in raid 5, 4 WD RED 4 tb in another Raid 5, Gainward Phoenix GTX 1060

 

(Abit Fatal1ty FP9 IN SLI, C2Duo E8400, 6 GB Ram DDR2 800, far too less diskspace, Gainward Phantom 560 GTX broken need fixing)

 

Nostalgia: Amiga 1200, Tower Build, CPU/FPU/MMU 68EC020, 68030, 68882 @50 Mhz, 10 MByte ram (2 MB Chip, 8 MB Fast), Fast SCSI II, 2 CDRoms, 2 1 GB SCSI II IBM Harddrives, 512 MB Quantum Lightning HDD, self soldered Sync changer to attach VGA displays, WLAN

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Anghammarad said:

Or just use a huge USB Disk... 8TB+ then build yourself a script for the backup, plugin the drive to the machine you want to backup, let it run, overnight for example, as soon as finished unplug. As long as the drive is unplugged, no Wannacry for that Backup =) 

 

I try to use a kind of snapshot software that does incremental backups. So the first one takes quite long, the second is way faster, as long as you don't backup LTTs Petabyte Project =P

 

Snapshot Backups for at least the system drive have got the charm, you play it back, reboot and get your system back like you know it from right before the backup. 

To many manual steps for my liking. Backups should be automated and unattended to be useful, then again my backup strategy is overkill for the majority of people.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, KuJoe said:

To many manual steps for my liking. Backups should be automated and unattended to be useful, then again my backup strategy is overkill for the majority of people.

 

What do you use? 

Link to comment
Share on other sites

Link to post
Share on other sites

Lookie here for semi automatic USB backup...

 

The vid shows the "one button backup solution" but is transferable to a usb drive.

Main System:

Anghammarad : Asrock Taichi x570, AMD Ryzen 7 5800X @4900 MHz. 32 GB DDR4 3600, some NVME SSDs, Gainward Phoenix RTX 3070TI

 

System 2 "Igluna" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

System 3 "Inskah" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

 

On the Road: Acer Aspire 5 Model A515-51G-54FD, Intel Core i5 7200U, 8 GB DDR4 Ram, 120 GB SSD, 1 TB SSD, Intel CPU GFX and Nvidia MX 150, Full HD IPS display

 

Media System "Vio": Aorus Elite AX V2, Ryzen 7 5700X, 64 GB Ram DDR4 3200 Mushkin, 1 275 GB Crucial MX SSD, 1 tb Crucial MX500 SSD. IBM 5015 Megaraid, 4 Seagate Ironwolf 4TB HDD in raid 5, 4 WD RED 4 tb in another Raid 5, Gainward Phoenix GTX 1060

 

(Abit Fatal1ty FP9 IN SLI, C2Duo E8400, 6 GB Ram DDR2 800, far too less diskspace, Gainward Phantom 560 GTX broken need fixing)

 

Nostalgia: Amiga 1200, Tower Build, CPU/FPU/MMU 68EC020, 68030, 68882 @50 Mhz, 10 MByte ram (2 MB Chip, 8 MB Fast), Fast SCSI II, 2 CDRoms, 2 1 GB SCSI II IBM Harddrives, 512 MB Quantum Lightning HDD, self soldered Sync changer to attach VGA displays, WLAN

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Windspeed36 said:

What do you use? 

Mostly rsync and proprietary software for my Synology. This was my backup scheme from 2016, needless to say it is significantly more complex now with additional cloud storage providers in the mix as well as more versioning than before. :)

backup_scheme_2016.png

 

I actually spent the weekend revamping it and I plan to add some checks to my rsync scripts so it won't rsync the data if the data can't be read to prevent it from overwriting my good backups with encrypted garbage. I'll also be adding some monthly and weekly backups to the mix so I have a buffer in the event I my other safeguards fail.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Anghammarad said:

Lookie here for semi automatic USB backup...

 

The vid shows the "one button backup solution" but is transferable to a usb drive.

But if the USB drive is connected to the PC hit with the ransomware the data on the USB drive is useless.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

 

Just now, KuJoe said:

But if the USB drive is connected to the PC hit with the ransomware the data on the USB drive is useless.

you know, the point of this is to disconnect the USB Drive after the backup is done... 

Main System:

Anghammarad : Asrock Taichi x570, AMD Ryzen 7 5800X @4900 MHz. 32 GB DDR4 3600, some NVME SSDs, Gainward Phoenix RTX 3070TI

 

System 2 "Igluna" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

System 3 "Inskah" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

 

On the Road: Acer Aspire 5 Model A515-51G-54FD, Intel Core i5 7200U, 8 GB DDR4 Ram, 120 GB SSD, 1 TB SSD, Intel CPU GFX and Nvidia MX 150, Full HD IPS display

 

Media System "Vio": Aorus Elite AX V2, Ryzen 7 5700X, 64 GB Ram DDR4 3200 Mushkin, 1 275 GB Crucial MX SSD, 1 tb Crucial MX500 SSD. IBM 5015 Megaraid, 4 Seagate Ironwolf 4TB HDD in raid 5, 4 WD RED 4 tb in another Raid 5, Gainward Phoenix GTX 1060

 

(Abit Fatal1ty FP9 IN SLI, C2Duo E8400, 6 GB Ram DDR2 800, far too less diskspace, Gainward Phantom 560 GTX broken need fixing)

 

Nostalgia: Amiga 1200, Tower Build, CPU/FPU/MMU 68EC020, 68030, 68882 @50 Mhz, 10 MByte ram (2 MB Chip, 8 MB Fast), Fast SCSI II, 2 CDRoms, 2 1 GB SCSI II IBM Harddrives, 512 MB Quantum Lightning HDD, self soldered Sync changer to attach VGA displays, WLAN

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Anghammarad said:

you know, the point of this is to disconnect the USB Drive after the backup is done... 

And hope the user remembers to reconnect it every day? That's asking a lot for most home users. ;)

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, KuJoe said:

Mostly rsync and proprietary software for my Synology. This was my backup scheme from 2016, needless to say it is significantly more complex now with additional cloud storage providers in the mix as well as more versioning than before. :)

backup_scheme_2016.png

 

I actually spent the weekend revamping it and I plan to add some checks to my rsync scripts so it won't rsync the data if the data can't be read to prevent it from overwriting my good backups with encrypted garbage. I'll also be adding some monthly and weekly backups to the mix so I have a buffer in the event I my other safeguards fail.

Interesting concept - I assume you make certain machines offline/closed connections at certain times?

Link to comment
Share on other sites

Link to post
Share on other sites

The question is, do you really need every day backup. 

 

I've seen those crypto trojaners wreak havoc. Started on a Terminal Server it reached through the whole network, onto every network share it could find. 

Main System:

Anghammarad : Asrock Taichi x570, AMD Ryzen 7 5800X @4900 MHz. 32 GB DDR4 3600, some NVME SSDs, Gainward Phoenix RTX 3070TI

 

System 2 "Igluna" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

System 3 "Inskah" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

 

On the Road: Acer Aspire 5 Model A515-51G-54FD, Intel Core i5 7200U, 8 GB DDR4 Ram, 120 GB SSD, 1 TB SSD, Intel CPU GFX and Nvidia MX 150, Full HD IPS display

 

Media System "Vio": Aorus Elite AX V2, Ryzen 7 5700X, 64 GB Ram DDR4 3200 Mushkin, 1 275 GB Crucial MX SSD, 1 tb Crucial MX500 SSD. IBM 5015 Megaraid, 4 Seagate Ironwolf 4TB HDD in raid 5, 4 WD RED 4 tb in another Raid 5, Gainward Phoenix GTX 1060

 

(Abit Fatal1ty FP9 IN SLI, C2Duo E8400, 6 GB Ram DDR2 800, far too less diskspace, Gainward Phantom 560 GTX broken need fixing)

 

Nostalgia: Amiga 1200, Tower Build, CPU/FPU/MMU 68EC020, 68030, 68882 @50 Mhz, 10 MByte ram (2 MB Chip, 8 MB Fast), Fast SCSI II, 2 CDRoms, 2 1 GB SCSI II IBM Harddrives, 512 MB Quantum Lightning HDD, self soldered Sync changer to attach VGA displays, WLAN

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Anghammarad said:

The question is, do you really need every day backup. 

 

I've seen those crypto trojaners wreak havoc. Started on a Terminal Server it reached through the whole network, onto every network share it could find. 

That's some pretty poor planning then isn't it :P

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Windspeed36 said:

Interesting concept - I assume you make certain machines offline/closed connections at certain times?

Yup. I never have my VM or laptop (replaced the netbook in that diagram) connected at the same time. I also mix OSes to avoid OS specific exploits (Windows 7, Windows 10, CrunchBang, and Fedora for desktops, CentOS and Debian for servers)

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Anghammarad said:

The question is, do you really need every day backup.

That's the question, a user should keep backups as often as they need. If 100% of your data can be recovered online without a backup then you don't need backups at all, if you work on your PC and you spend the day writing code that puts food on the table then you better be backing up as frequently as your network connection and hard drives allow.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

32 minutes ago, Windspeed36 said:

That's some pretty poor planning then isn't it :P

Not really. The Network was heterogene, Linux (CentOs) and Windows. The virus was executed by a guy that opened up the mail attachment. The local virus scanners did nothing to prevent that. (Avira Professional) Avira got a pattern update the next day, and then was able to find the virus. What we did was remove the TS from the network as fast as possible (Vmware remove network) but even on Shares that weren't mounted it started encrypting files.

 

The only thing possible is building a "perfect" permission set onto all shares, then a user opening such a virus may only corrupt files he/she has access to. But for that you need a single authentication backbone, which most company have, we didn't due to the intelligence of our Chief of IT. 

 

But this will also need you to grab the backup tapes after the cleanup to play back lost data. 

 

There is one scanner I know that uses system behaviour for finding threats as well, that would have provided some security. Trend Micro Server Protect. That one watches outgoing and incoming connections. When configured it watched for connections per second and if a threshold is reached it cuts the machines network connection. 

Main System:

Anghammarad : Asrock Taichi x570, AMD Ryzen 7 5800X @4900 MHz. 32 GB DDR4 3600, some NVME SSDs, Gainward Phoenix RTX 3070TI

 

System 2 "Igluna" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

System 3 "Inskah" AsRock Fatal1ty Z77 Pro, Core I5 3570k @4300, 16 GB Ram DDR3 2133, some SSD, and a 2 TB HDD each, Gainward Phantom 760GTX.

 

On the Road: Acer Aspire 5 Model A515-51G-54FD, Intel Core i5 7200U, 8 GB DDR4 Ram, 120 GB SSD, 1 TB SSD, Intel CPU GFX and Nvidia MX 150, Full HD IPS display

 

Media System "Vio": Aorus Elite AX V2, Ryzen 7 5700X, 64 GB Ram DDR4 3200 Mushkin, 1 275 GB Crucial MX SSD, 1 tb Crucial MX500 SSD. IBM 5015 Megaraid, 4 Seagate Ironwolf 4TB HDD in raid 5, 4 WD RED 4 tb in another Raid 5, Gainward Phoenix GTX 1060

 

(Abit Fatal1ty FP9 IN SLI, C2Duo E8400, 6 GB Ram DDR2 800, far too less diskspace, Gainward Phantom 560 GTX broken need fixing)

 

Nostalgia: Amiga 1200, Tower Build, CPU/FPU/MMU 68EC020, 68030, 68882 @50 Mhz, 10 MByte ram (2 MB Chip, 8 MB Fast), Fast SCSI II, 2 CDRoms, 2 1 GB SCSI II IBM Harddrives, 512 MB Quantum Lightning HDD, self soldered Sync changer to attach VGA displays, WLAN

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×