Feasibility of RPi as fileserver to avoid ransomware?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Feasibility of RPi as fileserver to avoid ransomwa...
Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 1:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This ransomware thing isn't going to go away thanks to the USA creating the exploits and what with me being a bit slow at regular backups, I'm finding myself thinking it's only a matter of time until I finally take "the hit". I'm normally pretty good with PC security and haven't been hit with anything major for around a decade but with that said, it's just a matter of time before one of these CIA / NSA exploits gets the better of me.
So I'm looking at getting my external USB drive(s) off windows and was wondering if any of you have any experience of using a RPi for the job? - Ideally left running 24/7?
My thinking is this.. the ransomware keeps targetting windows systems (at the moment anyway) and encrypting files on drives en-masse would either require copying / encrypting every file as a stream off and back onto the disk or encrypting the file tables / boot records. If the nasty is going to do the latter then it won't be able to target them on a networked drive that it only has access to as a share... or am I missing something? - I mean i've never been able to defrag a networked drive so i'm assuming that similar low level disk access wouldn't be available to *ware too.
I'm also mulling over converting my big rig to *nix and then running windows in VMs on it instead.. that would at least allow instant backups if they get hit while the underlying OS remains usable.. not that i can tolerate the noise from it lol.
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 2:19 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Doing what you are suggesting can be done easily in a few hours, and leaving it on 24/7 isn't an issue but I would recommend a heatsink for the ARM.
Just remember to use an account that has read only permissions for the mounted share on Windows otherwise it too could fall victim as it will appear as another drive as far as any malware is concerned.
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 2:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Unfortunately the RPi shares ethernet and USB connections over a USB2 "bus".
This means that it is very slow.
Unfortunately, the only way to get a reasonable speed would be to put Linux on an unwanted laptop (removing the screen).
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 2:37 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@7up - @VileReynard's right, network I/O is not the best so repurposing an old PC or Laptop would be a better option, but you could always try it and see.
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 3:57 PM - edited 28-06-2017 3:59 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@Anonymous wrote:
Doing what you are suggesting can be done easily in a few hours, and leaving it on 24/7 isn't an issue but I would recommend a heatsink for the ARM.
Just remember to use an account that has read only permissions for the mounted share on Windows otherwise it too could fall victim as it will appear as another drive as far as any malware is concerned.
Hmm the read only thing concerns me here..
I obviously need to be able to write files to the network share too. As I said previously obviously if a process is going to read the filestream and encrypt it on the fly and write it back i'm stuffered - but thats the case with any network share.
What I am explicitly asking is.. will a process on a windows machine be able to encrypt the file table or boot record of a drive on a linux machine?
As for USB speed my big rig is usb 2 iirc and i think the smaller single core might be too - so i'm not overly concerned in that respect. I just need something low power that can be left running...
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 4:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Unless that particular exploit (process) can escalate to root on your Pi to trash it then No. The risk would be miniscule to say the least, but that's not to say it couldn't at some point in the future. Malware is always mutating.
Re: Feasibility of RPi as fileserver to avoid ransomware?
28-06-2017 5:58 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
But Windows could still corrupt (or encrypt) user data files to which you have write access to.
The best protection against ransomware is frequent backups.
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@VileReynard wrote:
But Windows could still corrupt (or encrypt) user data files to which you have write access to.
The best protection against ransomware is frequent backups.
Yes I've made it more than clear that I am aware of that first point!
As for the second.. whats to say that while you are performing a backup, both drives don't get hit and have their file tables encrypted at the same time? - then the backup is also fubar! There is always going to be risk somewhere foxy..
The only other way of doing it would be via web disk on teh RPi (webdav I seem to remember the official name being?) or using the even slower FTP.. but again even those files could be pulled down, encrypted and uploaded to replace the originals although it would slow the process down a lot!
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The only way that would happen is if the exploit could ‘talk’ FTP or the extended HTTP protocol of WebDav. These are protocols remember so in order to get a file from FTP they’d either need to know the name or do a LISTing parse it and request the files or MGET all the files only to MPUT them back after encryption, and the assumes they can get your login credentials. So I suspect you’d be save with either. But of course the same caveat as noted before still applies.
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 1:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
These people aren't necessarily interested in encryption - overwriting networked files with binary zeroes is sufficient, provided that local files are recoverable when payment is received.
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 2:03 PM - edited 29-06-2017 2:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Interesting take on the latest ransomware in Computing today
NotPetya ransomware intended to destroy, not extort money
'Little hope for victims to recover their data,' warns Kaspersky
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 2:18 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
An interesting read @Browni.
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 2:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Scary now to think they are still at it, and I assume not bothering with a decryption method to make it easier and to take less time.
But they assume people think they can and still pay.
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 2:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Feasibility of RPi as fileserver to avoid ransomware?
29-06-2017 2:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This indicates to me that Microsoft-like protocols are a bad idea...
I use NFS (Network File System) to communicate from Linux with my NAS (although Samba is also supplied).
"In The Beginning Was The Word, And The Word Was Aardvark."
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Feasibility of RPi as fileserver to avoid ransomwa...