8 ms·
Or if backups become good enough and ubiquitous enough that ransomware can't even threaten to destroy your data.
by mikeash 11y ago
Or if backups become good enough and ubiquitous enough that ransomware can't even threaten to destroy your data.
- thaumasiotes 11y agoI don't think this can ever happen. If you don't back up very frequently, you're always vulnerable to having something recent taken. If you do back up very frequently, you need to make some hard choices: You need to connect to your backup media very frequently. But, you don't want any ransomware that may find you to also find your backup media; that would defeat the purpose of the backups. Backing up a lot of data very frequently will end up requiring a lot of storage. If you erase old backups to save on storage, you're vulnerable to your latest backup turning out to contain only ransomware-encrypted data.
- deleted 11y ago[deleted]
- lunixbochs 11y agoVersioned / snapshot backups that you don't have full write access to (just append) prevents this. Even if all files are encrypted you'll maintain the previous version.
- Roritharr 11y agoDo TimeMachine Backups fall under this? And if so, what would be the recommendation for Windows?
- dragontamer 11y agoWindows Storage Spaces + File History. Two very, VERY good reasons to upgrade to Windows8 or higher.
- rodgerd 11y agoFile history to a NAS, with backups from the NAS.
- dragontamer 11y agoRegular ZFS Snapshots taken through NAS4Free (served to my Windows box through CIFS) Done and done. Additional storage is only taken if a file changes. You can always use a snapshot to revert to an earlier version of the filesystem (in the case of a malware attack). Actual backups of the NASBox do happen of course, should the case fall over and all the hard-drives get scratched simultaneously.
- nitrogen 11y agoIf the ransomware encrypts all of your files, you will need 2x space to keep an old snapshot. If it repeatedly re-encrypts them, it could cause all of your unencrypted snapshots to expire. An alarm or quota on disk IO volume could mitigate this.
- stephengillie 11y agoCould this kind of attack be thwarted by keeping free disk space to a minimum - such as 15% free space? That way, the attack wouldn't have enough free disk space to happen. This would be difficult in systems with highly-dynamic storage needs, but could be done on application or caching servers.
- sokoloff 11y agoNo. The attack happens on a file-by-file basis, within the free space that you have allocated on the live filesystem. foo.txt, bar.pdf, and baz.jpg are all encrypted in place, consuming only marginal free space during the operation. Then, when the incremental backup happens, THAT will notice that ALL the non-OS files have changed and the backup consumption will explode.
- dragontamer 11y agoOr paying attention to your NAS on a regular basis. Granted, this is my home network with only like 5 machines connected to it max. (My desktop, my laptop, my NAS, my home-theater PC, and my tablet). Since the NAS is the center of my important data, I pay attention to it more. ----------- A business solution would probably need an alarm of some kind, because a busy IT professional isn't going to have the time to baby a machine like I do. Its just the whole "computers are cattle in professional IT settings" but are "pets for the home user".
- rsanders 11y agoI don't have to make any of those choices with Backblaze.
- Houshalter 11y agoYou do need a fast internet connection, and it's more expensive.
- supercoder 11y agoBackblaze is rubbish. I went to restore my files only two find half were there, even though the desktop client said it was fully backed up
- khedoros 11y ago"Good enough" backups can include incremental backups, where changes are tracked at a sub-file level. You end up only actually backing up the parts of your computer that change (after an initial full backup of the system). Everything but the requirement to have your backup media connected frequently is a long-solved problem in corporate-level software, we just need to start seeing it at the consumer level.
- Someone 11y agoThe ransomware could decide to re-backup some of your unchanged data, too, overwriting the non-encrypted backup.
- khedoros 11y agoI'm not talking about rsync'ing a bunch of files onto a NAS, I'm talking about an actual backup system. You'd just restore from the file revision immediately before the encrypted data.
- sokoloff 11y agoSomeone's point is that, when ransomware encrypts all your files, they have all changed (from the computer/backup system's point of view, not from the user point of view). With systems that do rolling incremental backups of changed files [until the backup volume is full and has to discard older versions], this will cause the oldest (pre-encrypted) files to be discarded far more quickly than during normal operations [and far more quickly than the user has become accustomed to].
- Someone 11y agoThat's not my point, but close to it. The ransomware, while still in silent mode, will decrypt the data before the backup software sees it, so that the backup software doesn't see any changed data. The ransomware could, however, know about a fixed set of backup programs, and, when it detects one is running, silently encrypt (parts of) backups of old data. Things will get complicated for the ransomware, though. While in stealth mode, it must be smart enough to discriminate between files it encrypted and those that it didn't encrypt (yet). Otherwise, a test restore could fail. I would use an extended file attribute or a separate database (would be a single point of failure, but hey, it would not be _my_ data) for that, but from what I read here, lots of ransomware just encrypts everything in a target directory and then uses 'everything under directory foo is encrypted' (that should be done in a transaction, but ransomware writers wouldn't be too concerned about that)
- lillesvin 11y ago> You need to connect to your backup media very frequently. But, you don't want any ransomware that may find you to also find your backup media; that would defeat the purpose of the backups. If I was hit by ransomware and needed to restore from backup, I'd make damn sure to mount that backup drive readonly.
- unclebucknasty 11y agoI think your parent is saying that if you are connecting to backup media frequently to make backups (in write mode, of course), then the ransomware has an opportunity to silently encrypt that too before you know you're infected, thus rendering your backups useles.
- corndoge 11y agoTarsnap, Backblaze, et al.
- jdmarble 11y agoRansomeware finding the backups was the catalyst to the plot of Reamde by Neal Stephenson.
- samstave 11y ago"You will pay $1000 to recover your now encrypted data, unless you pay $59 per year to backup service x to backup the data we have locked which may be important you you!"
- mulmen 11y agoRansomware infects your machine, silently encrypts and decrypts everything for a period of months then stops. Your backups are encrypted and only the ransomware can decrypt them. Perhaps RAM snapshots could be employed as part of the backup to allow retrieval of the encryption key.
- pcr0 11y agoThat's what cloud and off-site backups are for.
- evv 11y agoIn that case, ransomware may swing the other way- Pay up or else it will make all your private data available to everyone in your contact book.
- mikeash 11y agoNow that you mention it, I'm shocked there hasn't been any high-profile ransomware that threatens to post your browser history to Facebook if you don't pay up. Perhaps there are certain lines even criminals won't cross.
- deleted 11y ago[deleted]