News for hackers. Stuff that matters.
Re:A terrible, horrible, no-good, very bad day at Slack by jacquesm on Tuesday July 07, 2020 @03:11AM (#23756549)
This same sort of thing tends to creep into backup systems that work for a long time without if the backups are never restored. The more reliable the systems they backup the bigger the chance that a restore will fail when you need it most. So test your backups.
Re:A terrible, horrible, no-good, very bad day at Slack by thdrdt on Tuesday July 07, 2020 @04:45AM (#23757028)
Yep. I once worked at a company that had backups of all the data. Until they needed a backup and discovered they were not readable. Months of work were gone.
Re:A terrible, horrible, no-good, very bad day at Slack by ChrisMarshallNY on Tuesday July 07, 2020 @05:53AM (#23757405)
This has happened to me.

Long story. Incompetent (and dishonest) IT person. In fact, I was attacked for “harassing” the IT person.

Nothing was done about it, until the HR DB got borked, and there was no backup.

DR and backup are profoundly unpopular topics. They tend to be expensive, and difficult to test. They also presuppose a Very Bad Thing happening, which no one wants to think about.

I have scars.

I now have multiple layers of backup, and keep an eye on them. I can’t always test every aspect, and have to have faith in cloud providers, but I make sure that, even if we have a tornado, I would still be able to recover the important bits.

Re:A terrible, horrible, no-good, very bad day at Slack by ripvanwinkle on Wednesday July 08, 2020 @01:21AM (#23767105)
there's a joke in the data protection industry.

Backups always work, it's the restores that have problems

Re:A terrible, horrible, no-good, very bad day at Slack by tinco on Tuesday July 07, 2020 @06:26AM (#23757608)
Would you consider it evil to use production backups for the QA step in CI/CD? It would catch two birds with one stone, continuously verifying the backups, and ensuring the new code works on real world data.

We don't have any personal information in our production database, but even if we did, as long as the QA is thoroughly prevented from interacting with the outside world, it can't hurt to use production data right?

Re:A terrible, horrible, no-good, very bad day at Slack by jacquesm on Tuesday July 07, 2020 @09:35AM (#23759074)
Big risk of having your privacy sensitive information stored on other infra than the main servers a path to get that information to your QA servers should not even exist.

Many more people that should not have access to that data, in bulk or otherwise suddenly have access which does an end run around all your - hopefully - carefully crafted security.

Keep in mind that what you think isn't privacy sensitive may very well be radioactive when combined with other data.

Re:A terrible, horrible, no-good, very bad day at Slack by marcosdumay on Tuesday July 07, 2020 @10:52AM (#23759856)
If you have a procedure for deriving QA data from production, change it to derive from the backup.

Using it directly is full of dangers, not only of leaking information, but also of corrupting your backups. (Otherwise, why are you testing anything?) And deriving test data from production looks like a good thing to me, but make sure to restrict the access to the test environment and mask your data.

Re:A terrible, horrible, no-good, very bad day at Slack by jacquesm on Tuesday July 07, 2020 @02:07PM (#23762174)
You should not use production data for QA, period. Use generated data.

If you really must use real data make sure that (1) you have explicit direction to do this from those higher up in the food chain so that if there ever is a breach of your test systems you don't end up holding the bag and (2) anonymize a copy of the data before it leaves the production system. That way you minimize the risk. But better: simply don't do it, generate your test data.

Re:A terrible, horrible, no-good, very bad day at Slack by icedchai on Tuesday July 07, 2020 @03:17PM (#23762960)
Make sure you restrict access to the production environment, too. I once worked at a company where the "dev" office was VPN'd into production at all times. We actually didn't have a QA system for most of the time I was there. Anyway, a developer ran his server with the prod config for a couple of days before anyone noticed that requests were being processed elsewhere.
Re:A terrible, horrible, no-good, very bad day at Slack by antoinealb on Tuesday July 07, 2020 @08:08AM (#23758322)
I think it is a big issue to use anything containing PII in anything else than production environment. For example, do your QA logs have the same kind of management, access control and lifetime than production ? If they don't, you might end up logging PII in a way you should not, and could even be in legal troubles for things like GDPR.