Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
A tale of Phobos – How we almost cracked a ransomware using CUDA
31–40 of 65 posts
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#32Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
Maybe you could check the level of entropy (measure of randomness) of files before backing up - very high entropy could suggest encrypted data?
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#33Earlier quoted context omitted.
I agree. And for some stuff you get cryptographic checksums for free. Backup of Git repositiories: ... # git fsck --full error: unable to unpack contents of .git/objects/a2/cf1a9631658799733f43c3b3f0a799696a4b21 error: a2cf1a9631658799733f43c3b3f0a799696a4b21: object corrupt or missing: .git/objects/a2/cf1a9631658799733f43c3b3f0a799696a4b21 Oops... No matter if it's a malware, the lack of ECC which by bad luck induce…
what do you mean adding checksum to the picture, do you add the checksum as a filename suffix eg IMG0001_ .jpg, something like that? Or do you tuck it into the exif data and have a tool that computes the checksum of the file minus the checksum part.
So I don't care about the different pictures (or short family movies) format.
I just wrote some Clojure / babashka code to do that. I also truncate the checksum so that the filename doesn't become gigantic: it's not sensitive content, it's just to detect corruption.
Then I can use another computer and generate, say, all the thumbnails of the pictures and do a quick eyeball verification. If it looks correct, later on I can just automatically have the checksums verified.
Funnily enough I got a few old JPG pictures who were corrupt but I ended finding the correct version on older backups.
Checksum then helps too: otherwise you have two files with the same name (say on different HDD), but only one is correct and you don't know which one without manually opening them.
It's not super advanced and maybe a bit overkill but it's not complicated and works fine for my use case.
P.S: I take it another way would be to use a fs that use content-based addressing or does checksumming for me.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#34Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
> when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? Maybe you could check the level of entropy (measure of randomness) of files before backing up - very high entropy could suggest encrypted data?
Also, JPEG, PNG, .jar, .xlsx, etc. are already compressed, so pretty high entropy to begin with.
As others have pointed out, the growth rate of your de-duplicated backup size is probably the best way to detect ransomware.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#35I know I'm in minority and that this view is not empathetic one, but I really like that ransomware is around. More secure data storage at companies where otherwise it would be just silently stolen and sold. More backups. Even some incentive to research security of encryption methods. We won't get more secure systems without some proper incentives.
I love that ransomware is around because it forces companies to take security seriously or pay the price. You could even say ransomers are the good guys in this regard, contributing to a safer world.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#36Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#37Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
Don't do simple rolling backups, use something with deduplication like borg backup or ZFS/btrfs if you want to do it at the FS level. The backup size should not increase by much more than the actual size of any new files, so if suddenly, you need twice as much backup space because all your files seem to have changed, you should get suspicious.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#38Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
I also have most of my non-sensitive data on Onedrive, which keeps old versions of files.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#39I know I'm in minority and that this view is not empathetic one, but I really like that ransomware is around. More secure data storage at companies where otherwise it would be just silently stolen and sold. More backups. Even some incentive to research security of encryption methods. We won't get more secure systems without some proper incentives.
Re: A tale of Phobos – How we almost cracked a ransomware using CUDA
#40Nearly all my personal photos were encrypted by the helprecover@foxmail.com ("HELP") variant of Phobos. I've been holding onto the encrypted copies for a while in hopes that some people were working on a crack, and I'm excited to read this update. Sidecar question: when automating your backups, what's a good way to make sure your rolling backups aren't simply backing up malware-encrypted files? I found out too late t…
One technique would be to place unchanging bait files that you pre-check before allowing the backup to proceed.