News for hackers. Stuff that matters.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by thaumasiotes on Thursday May 19, 2016 @06:14PM (#11734303)
I 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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by lunixbochs on Thursday May 19, 2016 @06:44PM (#11734447)
Versioned / 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.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by Roritharr on Thursday May 19, 2016 @06:48PM (#11734460)
Do TimeMachine Backups fall under this? And if so, what would be the recommendation for Windows?
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by dragontamer on Thursday May 19, 2016 @07:01PM (#11734529)
Windows Storage Spaces + File History. Two very, VERY good reasons to upgrade to Windows8 or higher.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by rodgerd on Friday May 20, 2016 @04:31AM (#11736307)
File history to a NAS, with backups from the NAS.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by lillesvin on Thursday May 19, 2016 @09:11PM (#11735029)
> 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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by unclebucknasty on Thursday May 19, 2016 @11:43PM (#11735427)
I 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.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by khedoros on Thursday May 19, 2016 @08:27PM (#11734885)
"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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by Someone on Friday May 20, 2016 @03:32AM (#11736085)
The ransomware could decide to re-backup some of your unchanged data, too, overwriting the non-encrypted backup.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by khedoros on Friday May 20, 2016 @04:56AM (#11736401)
I'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.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by sokoloff on Friday May 20, 2016 @09:02AM (#11737407)
Someone'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].
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by Someone on Friday May 20, 2016 @12:15PM (#11739042)
That'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)

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by khedoros on Friday May 20, 2016 @02:08PM (#11740095)
> 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.

That assumes that the ransomware has direct access to the stored backup data, which seems like a flaw in the backup system that you're imagining.

I've got a particular backup system in mind, which I've been basing my assumptions on when I reply. It has a way to add a new backup, a way to retrieve any old backup that hasn't been expired yet, and a way to see if a piece of a file has been backed up in the past, but the server itself doesn't provide a way to remotely change past backup data directly.

Flooding the system with new data to push old backups out (as sokoloff mentioned) would be possible, assuming that the ransomware generated enough new backup data to fill up the backing storage, especially if it were scaled to give enough storage just for one or two computers.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by khedoros on Friday May 20, 2016 @02:21PM (#11740206)
That's a more believable attack than what most of the other posters have suggested. I suspect that the first step to fight that might be to store a value for the entropy of each backed-up file. A massive change in a file's entropy would be something to flag and require manual intervention on. Also, maybe some controls to limit the damage of a "push off the cliff by adding new data", like a way to set specific directories as "critical" to prevent the last copies of files in them from expiring.

I'm just playing with ideas =) The software I'm familiar with comes with hardware, generally scaled to keep a few months of nightly backups of a few hundred workstations and some fairly powerful rulesets for data expiration...so I've never really had to consider malicious backup expiration by ransomware. It's an interesting set of problems to consider.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by dragontamer on Thursday May 19, 2016 @06:59PM (#11734516)
Regular 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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by nitrogen on Friday May 20, 2016 @12:02AM (#11735472)
If 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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by dragontamer on Friday May 20, 2016 @12:36PM (#11739256)
Or 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".

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by stephengillie on Friday May 20, 2016 @03:10AM (#11736025)
Could 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.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by sokoloff on Friday May 20, 2016 @09:00AM (#11737395)
No.

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.

Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by rsanders on Thursday May 19, 2016 @07:50PM (#11734754)
I don't have to make any of those choices with Backblaze.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by supercoder on Friday May 20, 2016 @05:55AM (#11736637)
Backblaze 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
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by Houshalter on Friday May 20, 2016 @05:47AM (#11736599)
You do need a fast internet connection, and it's more expensive.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by jdmarble on Thursday May 19, 2016 @09:24PM (#11735071)
Ransomeware finding the backups was the catalyst to the plot of Reamde by Neal Stephenson.
Re:Ransomware maker TeslaCrypt shuts down after releasing ma... by corndoge on Thursday May 19, 2016 @09:12PM (#11735035)
Tarsnap, Backblaze, et al.