News for hackers. Stuff that matters.
Re:The ransomware surge by korethr on Friday April 30, 2021 @05:40PM (#26999714)
Backups.

I cannot emphasize enough the importance of backups. Take backups, verify your ability to restore from them, and keep them segregated from the rest of your infrastructure. It doesn't matter how inelegant and hacky your backup solution is, so long as you can restore from it. Any backup you can restore from is better than no backup.

You might get a call from one of your application engineers shortly before bed on a Friday night that the web front-ends are acting weird, and they can't get in to troubleshoot, and then 10 minutes later come to discover that the latest strain of Ryuk has laid waste to 2/3s of the servers and workstations across the company. And then all of a sudden, those VM snapshots you'd been copying off to another file share with a shell script have become your salvation. Yeah, containing Ryuk and the rest of incident response mode are going to suck, but at least now you don't have to write an apology to your customers that the data they entrusted to you has been irrevocably lost.

In case you're wondering, no, that did not literally happen to me. But it is a mild fictionalization of someone I know.

Keep backups, and test your restores regularly, people.

Re:The ransomware surge by the_duke on Friday April 30, 2021 @06:03PM (#26999983)
I sometimes do infrastructure consulting.

One of the first questions I ask is if they have at least one fully independent, full/incremental off-site backup that can't be corrupted from the main infrastructure, and if they have ever checked if they actually work and are restorable.

I'm continuously surprised how often the answer turns out to be no after dinner digging, even in larger companies with otherwise well-run IT.

No, the automatic 7 day RDS snapshots or turning on S3 versioning is not a sufficient backup. Neither is mirroring to a S3 Glacier bucket in the same org, or rsyncing to a a backup server in the same datacenter.

Backups are annoying and unglamorous. Nobody wants to do them, or do the tedious work of validating them or setting up something like an automated restore test.

Until the day you lose your data.

Re:The ransomware surge by SMAAART on Friday April 30, 2021 @07:57PM (#27001237)
> Backups are annoying and unglamorous

It gets better (as in worse) someone can easily cut down back-up expenses, and become a hero by "balancing the budget with no disruptions to operations", get a fat bonus, and then after a year or so, leave.

Their successors won't get any bonuses by increasing the budget for something that has no ROI.

And randsomware is booming!

Re:The ransomware surge by bitexploder on Friday April 30, 2021 @08:15PM (#27001404)
This is a somewhat cynical take, but there are kernels of truth in there. Often, organizations not focused on quality will allow such things to happen. More than one startup has also been out out of business by not having a backup. But it’s often negligence / ignorance and not budget. When you put all the cards on the table for an organization and give them the information they need, they make much better security choices.
Re:The ransomware surge by bryanrasmussen on Saturday May 01, 2021 @04:51AM (#27004565)
I think backups come up some time after MVP and launch for most organizations, this means that you don't know when it actually has to come, so someone with technical skills says hey at some point we need to put in the effort and money to get good backups and ability to restore of all this data, and someone in charge of how the business grows has to say yes we better do it.

Unless you do not open for any sort of business without having all backup system set up then you run the risk, and with thousands of companies running the risk so as to not be out-competed by faster, riskier companies someone will suffer a bad outcome of their risk-taking.

Re:The ransomware surge by SMAAART on Friday April 30, 2021 @10:42PM (#27002474)
It’s negligence / ignorance that leas to stupid budget cuts.
Re:The ransomware surge by chalst on Saturday May 01, 2021 @08:13AM (#27005636)
> Their successors won't get any bonuses by increasing the budget for something that has no ROI.

Possibly, but not if the business has a culture of recognising downside risk. Single events that are not extremely unlikely and that could cripple the business are things that every company should be looking out for.

Re:The ransomware surge by m3nu on Friday April 30, 2021 @07:54PM (#27001198)
> Backups are annoying and unglamorous

Three years ago, after doing YC Startup School, I built https://www.borgbase.com to offer the simple, but secure backup service I wanted myself. Today it’s a viable business and my customers are all great and value backups as essential part of their own business. Wouldn’t want to be in any other “more glamorous” corner of the industry. Also kudos to anyone - partner or competitor - working in this “unglamorous” space. You’re all doing great work.

Re:The ransomware surge by novok on Friday April 30, 2021 @11:37PM (#27002827)
Do you do offsite offline backups too with verification? What if your infra gets really hacked and they wipe out all of your customer's backup data everywhere? Just because borg clients have append only modes, it doesn't stop them from deleting the raw files on your drives.
Re:The ransomware surge by m3nu on Saturday May 01, 2021 @12:11AM (#27003007)
If a storage server gets p0wned, the raw data could be deleted. That's true for every cloud provider. What's important, they still can't read the backup, since it's encrypted on the client. Storage servers are also isolated from each other and in different DCs, cities and regions.

Additional offline backups aren't really feasible past a certain data volume and daily change/velocity. I'd still encourage everyone to have them for their own essential data in addition to a cloud backup. E.g. by burning it to BluRay or tape (3-2-1 rule). You can see find my own, more philosophical discussion, of the topic here: https://docs.borgbase.com/strategy/. There I also distinguish between operational backups and archives. BorgBase is focused on the former. Offline backups are more suited for the latter.

Re:The ransomware surge by citrin_ru on Saturday May 01, 2021 @04:22AM (#27004417)
> If a storage server gets p0wned, the raw data could be deleted. That's true for every cloud provider.

It's not hard to create a cloud backup service where delete requires separate credentials which are not used in day-to-day operations (and so can be kept secure). And without these credentials a backup is kept N days and cannot be deleted or overwritten. Don't know if anyone do this, though.

Re:The ransomware surge by m3nu on Saturday May 01, 2021 @04:54AM (#27004574)
You can do it with S3 policies. But that's already at the application level. The question above was about the server level below that.
Re:The ransomware surge by neolog on Saturday May 01, 2021 @06:16AM (#27005002)
How did you figure out your pricing strategy?
Re:The ransomware surge by m3nu on Saturday May 01, 2021 @07:35AM (#27005414)
Prices are fairly similar in this industry. So not much to decide. Early clients did push me to add a medium plan which turned out to be popular.
Re:The ransomware surge by fabflying on Saturday May 01, 2021 @01:30AM (#27003457)
Was just looking for this, will give it a go
Re:The ransomware surge by AnIdiotOnTheNet on Saturday May 01, 2021 @12:21AM (#27003063)
> I'm continuously surprised how often the answer turns out to be no after dinner digging, even in larger companies with otherwise well-run IT.

I am not even remotely surprised, because most companies are not IT oriented companies, and most of those either have managers that can't be made to understand the importance of DR, or (sadly) IT people who can't.

I myself am currently in a multi-year long political battle to justify a mere $600mo to get our DR env (built with old equipment that is on the verge of irrevocable failure) moved from a closet at a branch location to an actual co-lo that won't lose power and internet 3 times a week.

At least we finally got that backup generator approved for the corporate office after the third time a goose committed suicide on our power lines. Ugh...

Re:The ransomware surge by tomrod on Friday April 30, 2021 @06:30PM (#27000304)
> No, the automatic 7 day RDS snapshots or turning on S3 versioning is not a sufficient backup. Neither is mirroring to a S3 Glacier bucket in the same org, or rsyncing to a a backup server in the same datacenter.

Why?

Re:The ransomware surge by danielheath on Friday April 30, 2021 @06:48PM (#27000503)
A few reasons come to mind.

If you lose control of an aws root account it can take weeks to get it back. That’s probably enough time for the hackers to clean out the backups.

Billing issues can lead to aws wiping out an account.

For $work the backups are in AWS but using a different payment method, account owner etc to prevent cross contamination. Honestly, they should be outside aws entirely, but separate accounts is a good start.

Re:The ransomware surge by viraptor on Friday April 30, 2021 @08:13PM (#27001380)
> If you lose control of an aws root account it can take weeks to get it back.

> Billing issues can lead to aws wiping out an account.

These are small-scale related issues though. When you're at the level where it's hard to have a reasonable backup outside of AWS, you can also resolve the root account issues fairly quickly by calling your TAM directly.

Re:The ransomware surge by tooltower on Friday April 30, 2021 @06:40PM (#27000419)
Because they share the failure domain. In all of those cases, there's a single point of failure.
Re:The ransomware surge by nicbou on Friday April 30, 2021 @06:49PM (#27000517)
This applies to average people too. I wonder who among us can say they meet your (reasonable) standard.

Like you said, backups are annoying and unglamorous. Yet, the data on my laptop is the only thing I could not replace. It's more important to me than my passport or my birth certificate. Its preservation is certainly worth a bit of thought.

Re:The ransomware surge by disabled on Friday April 30, 2021 @06:58PM (#27000627)
> Like you said, backups are annoying and unglamorous.

It’s called having a network attached storage (NAS) device. I have a Synology NAS, which I backup to, continuously at 5 minute intervals.

Warning: Microsoft image and file backups sometimes do not work.

I recommend Acronis True Image instead, which comes with antivirus. It pretty much always works, never falter never fail. Get the version that allows you to back up to the cloud with blockchain features. You will be happy you did.

Re:The ransomware surge by tenebrisalietum on Friday April 30, 2021 @07:16PM (#27000798)
Can ransomware leak on to your always-connected NAS?
Re:The ransomware surge by disabled on Friday April 30, 2021 @07:30PM (#27000951)
Yes, of course. This is one of the reasons why I have 3 copies of everything I use (local/computer, cloud, NAS). This is particularly why I have a cloud backup, with blockchain data authentication.

But, this is a basic overview of how to prevent NAS ransomware attacks: https://www.howtogeek.com/435452/how-to-secure-your-synology...

There is better advice elsewhere but this is a good start.

This may be a good comment to look at: https://news.ycombinator.com/item?id=25618346

This may be another good comment to take a look at: https://news.ycombinator.com/item?id=24860863

Re:The ransomware surge by spideymans on Friday April 30, 2021 @08:23PM (#27001488)
Can you elaborate some more on your cloud backup solution? More specifically, I'm curious about the privacy/security aspect. It's the main reason why I've been somewhat hesitant to adopt cloud backups for my own computers. \
Re:The ransomware surge by disabled on Saturday May 01, 2021 @04:49AM (#27004557)
I encrypt all of my information before I back it up. It is a risk that I am willing to take. Governments can always decrypt my information. Bruce Schneier, a world-renowned security expert who wrote "Click Here to Kill Everybody", states that he does not recommend storing information in foreign servers, in countries that you are not a citizen of. I suggest taking that advice.

Acronis is Swiss-based and has to comply with the GDPR, due to its direct ties with the European Union. I am a dual US|EU (Croatian) citizen, with legal rights to work/live/retire in Switzerland, so I do not have to worry about storing my information "abroad".

The EU has strict regulations, and they are only going to get stricter. There have even been talks about the EU being allowed to legally break encryption recently. If you are a third-country national (not an EU/EEA/Swiss citizen), then I do not recommend Acronis cloud backup or any other EU/EEA/Swiss service for storing your personal data. America may have its problems, and privacy may be a joke, but at least you have rights and sovereignty there.

Re:The ransomware surge by nicbou on Saturday May 01, 2021 @03:17PM (#27008995)
I use rsync and hard links to create incremental backups, and Google Drive as a convenience backup. First to a collection point, then to remote locations.

It's actually managed by a side project of mine: https://github.com/nicbou/timeline

Re:The ransomware surge by AnIdiotOnTheNet on Saturday May 01, 2021 @12:25AM (#27003076)
...really? What are you keeping on your laptop that is so important to you? I can't think of anything on my computer that I couldn't lose and pretty much just shrug off.
Re:The ransomware surge by nicbou on Saturday May 01, 2021 @03:11PM (#27008942)
Photos, journals and other personal data.
Re:The ransomware surge by jiux on Saturday May 01, 2021 @12:44PM (#27007705)
Thank you for bringing this to light.

I have been heads down on my own side hustle as a one man show. Do you have any suggestions on how to properly approach backups for smaller groups like myself working with limited funds?

For context, some of the tech on my plate includes a few DO ubuntu droplets (hosting docker containerized services), Postgres DB (prod DO managed w/ auto-snaps, pretty much same scenario you mentioned), S3 storage for user-created assets (DO spaces w/ no backup strategy yet; no, not launched, yet), GitHub for source code, and physical MacBooks (iCloud + manual backups to a single physical external SSD).

Realistically speaking I’m bootstrapped. More importantly, I’m interested in learning the right ways in doing backups.

Re:The ransomware surge by WrtCdEvrydy on Sunday May 02, 2021 @05:17PM (#27019109)
The horror stories I had shared with my boss are as relevant today as when they happened.

His is from the early 90s, the RAID card on the backup server was bad so it was just randomly flipping bits on the files being stored... nothing was ever tested until they needed one of those backups.

Mine was about a tape setup that followed the correct 3-2-1 setup... one of the CLI tools had an update and the agreement was waiting for user input so it would just drop and the rest of the script continued... no one had ever tested a backup so the tapes being shuffled around were empty.

Re:The ransomware surge by likecarter on Friday April 30, 2021 @05:57PM (#26999897)
A crucial point you missed:

Ransomware gangs often destroy your backup infrastructure. So it's important to create pull-only backups or backups that cannot be deleted / overwritten.

Re:The ransomware surge by korethr on Friday April 30, 2021 @06:11PM (#27000087)
I thought this was sufficiently implied with "keep them segregated from the rest of your infrastructure," but yes, you are correct. It is important to have a set of backups that can't be destroyed by the attackers. You might get lucky that your hand-rolled solution is so hacky that a ransomware gang overlooks it. But better to not rely on that luck.

In the past, this was achieved by having a set of tapes offsite. Today, one might configure Veeam to lie when issued a delete command, and instead send the data off to an Amazon glacier instance that requires different credentials to read, write, and delete.

Re:The ransomware surge by rsync on Friday April 30, 2021 @07:01PM (#27000654)
"Ransomware gangs often destroy your backup infrastructure. So it's important to create pull-only backups or backups that cannot be deleted / overwritten."

Every rsync.net customer has ZFS snapshots available in their account that are immutable. They are read-only.

So, even if Mallory trashes your primary site and then gains access to your rsync.net credentials, the daily/weekly/monthly snapshots cannot be destroyed.

Re:The ransomware surge by m3nu on Friday April 30, 2021 @08:04PM (#27001298)
Immutable backups are often overlooked. At borgbase.com, we call this “append-only” mode and the large majority of repositories uses it. With S3 (or similar) you would add some policies to disable deletions. So it’s usually doable, but needs to be considered when setting up the backup process.
Re:The ransomware surge by formerly_proven on Friday April 30, 2021 @08:14PM (#27001392)
Does the append-only mode you have in borgbase fix the issues of the append-only mode in Borg itself? https://borgbackup.readthedocs.io/en/stable/usage/notes.html... Because the way it works in Borg isn't really workable in practice, it only seems to be good to check a box.
Re:The ransomware surge by m3nu on Friday April 30, 2021 @08:36PM (#27001606)
We use the same public version of Borg, so those limitations apply. It’s still quite workable. Just prune from a different machine or once a year when the repo gets too large.

We may move to reject destructive commands from append-only repos in the future, but this will break existing workflows. Discussion on this here: https://feedback.borgbase.com/posts/28/reject-delete-and-pru...

Re:The ransomware surge by closeparen on Saturday May 01, 2021 @02:15AM (#27003737)
That’s all well and good for weather data, but if anything in your backup is in any way related to user behaviors or transactions, immutability is a crime.
Re:The ransomware surge by Jabbles on Saturday May 01, 2021 @08:04AM (#27005585)
Immutability in this context doesn't mean "kept forever", it just means the permission to hard-delete is separate from soft-delete.

GDPR requires that good data-stewards keep backups:

the controller and the processor shall implement... the ability to restore the availability and access to personal data in a timely manner in the event of a physical or technical incident

https://gdpr-info.eu/art-32-gdpr/

For more details on GDPR and backups, see https://www.backup-systems.co.uk/blog/6-gdpr-implications-on...

It would be inappropriate, for instance, to store user data on the blockchain.

Re:The ransomware surge by closeparen on Saturday May 01, 2021 @03:56PM (#27009274)
It also requires that user data can be hard-deleted on command. The ability to wipe data from backups needs to be kept close at hand.
Re:The ransomware surge by varispeed on Friday April 30, 2021 @06:10PM (#27000071)
> backups that cannot be deleted / overwritten

That gets complex if your database contains PII. If a user asks for their account to be deleted...

Re:The ransomware surge by viraptor on Friday April 30, 2021 @09:37PM (#27002034)
It's not "cannot be overwritten ever". It's more "you can overwrite it using credentials stored in a safe location and never from the production environment".

Someone will always have permissions to remove or change the entries, just not easily and not in an automated daily process way.

Re:The ransomware surge by tomrod on Friday April 30, 2021 @06:30PM (#27000313)
Would it be sufficient that the delete accounts script be managed and merged at restoration time?
Re:The ransomware surge by varispeed on Saturday May 01, 2021 @04:41AM (#27004499)
The neatest way I heard is to store PII in an encrypted form and then delete encryption keys when a user requests deletion. That requires the keys to be in a different backup pipeline though.
Re:The ransomware surge by marcinzm on Friday April 30, 2021 @09:44PM (#27002076)
You still have their data and anyone who bypasses the restoration script can get it so no.
Re:The ransomware surge by anang on Saturday May 01, 2021 @01:06AM (#27003315)
This is not true. The prevailing opinion is that backups do not need to be modified and that it’s enough to delete at restore time (and to of course not process the data again).
Re:The ransomware surge by kemonocode on Friday April 30, 2021 @06:50PM (#27000525)
Modern ransomware gangs focus more on data exfiltration rather than actually locking down data, and it lets them remain undetected for longer too. That said, yes, correct, having good and reliable backups is vital.
Re:The ransomware surge by beermonster on Saturday May 08, 2021 @04:27PM (#27090393)
In combination with techniques to minimise easy/unrestricted exfiltration of data. Such as egress filtering, software access policies/controls, minimum privilege, network segregation/isolation, good user access and network access controls, decent patching policy, good and tested backups and incident response plan…yada yada. Make sure if they do get in, the damage is limited.
Re:The ransomware surge by beermonster on Saturday May 08, 2021 @04:23PM (#27090353)
Backups help recover your data. But gangs have evolved. They also use exfiltration of your data to embarrass you into paying up, which backups do not mitigate against: the public shaming.
Re:The ransomware surge by ericalexander0 on Friday April 30, 2021 @06:27PM (#27000270)
Re:The ransomware surge by tomrod on Friday April 30, 2021 @06:29PM (#27000298)
You know, I'm curious how large cloud providers handle this.

Obviously EC2 for AWS, but what about managed services?

A bad ransomware attack on a large cloud provider could cripple a significant portion of the internet.

Re:The ransomware surge by beermonster on Saturday May 08, 2021 @04:28PM (#27090400)
VPCs are segregated.
Re:The ransomware surge by thorwasdfasdf on Friday April 30, 2021 @06:19PM (#27000190)
I think we should make every sysadmin watch Mr.Robot, at the least the first season. That may drive home the point: secure backups are important. ;)
Re:The ransomware surge by beermonster on Saturday May 08, 2021 @04:29PM (#27090403)
And don’t restore your cloned image using clonezilla whilst on morphine. It’s hard enough to use whilst sober.
Re:The ransomware surge by unstatusthequo on Saturday May 01, 2021 @11:43AM (#27007190)
Backups are nice. Until threat actor deletes them or encrypts them. Backups are also nice until you realize they exfiltrated data too. They are one mitigation but definitely not a sure fire insurance against a data breach and legal implications thereof.

Source: I’m a cybersecurity lawyer.

Re:The ransomware surge by beermonster on Saturday May 08, 2021 @05:09PM (#27090716)
Backups should be on a different segregated network (ideally off-site) with strict access controls and encryption. The threat actor should not just be able to find them lying about (possible even directly attached) with no authentication or authorisation required to access them. If they are able to access them somehow then they shouldn’t be readable. What you describe is people with a poor backup policy, which yeah I guess describes most folk. But backups aren’t the issue here, poor backups are.

And they do not mitigate against the threat of the data being published online which seems to be the new(ish) threat these days with ransomeware.

Re:The ransomware surge by amiga on Friday April 30, 2021 @07:34PM (#27000990)
The hardest part of getting people to do this is people dont want backups.

They want restores.