this post was submitted on 19 Jul 2024
627 points (98.5% liked)

Technology

60055 readers
2921 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
 

IT administrators are struggling to deal with the ongoing fallout from the faulty CrowdStrike update. One spoke to The Register to share what it is like at the coalface.

Speaking on condition of anonymity, the administrator, who is responsible for a fleet of devices, many of which are used within warehouses, told us: "It is very disturbing that a single AV update can take down more machines than a global denial of service attack. I know some businesses that have hundreds of machines down. For me, it was about 25 percent of our PCs and 10 percent of servers."

He isn't alone. An administrator on Reddit said 40 percent of servers were affected, along with 70 percent of client computers stuck in a bootloop, or approximately 1,000 endpoints.

Sadly, for our administrator, things are less than ideal.

Another Redditor posted: "They sent us a patch but it required we boot into safe mode.

"We can't boot into safe mode because our BitLocker keys are stored inside of a service that we can't login to because our AD is down.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 200 points 5 months ago (2 children)

Pity the administrators who dutifully kept a list of those keys on a secure server share, only to find that the server is also now showing a screen of baleful blue.

Lol, can you imagine? It empathetically hurts me even thinking of this situation. Enter that brave hero who kept the fileshare decryption key in a local keepass :D

[–] [email protected] 129 points 5 months ago* (last edited 5 months ago) (1 children)

That's why the 3-2-1 rule exists:

  • 3 copies of everything on
  • 2 different forms of media with
  • 1 copy off site

For something like keys, that means:

  1. secure server share
  2. server share backup at a different site
  3. physical copy (either USB, printed in a safe, etc)

Any IT pro should be aware of this "rule." Oh, and periodically test restoring from a backup to make sure the backup actually works.

[–] [email protected] 38 points 5 months ago (1 children)

We have a cron job that once a quarter files a ticket with whoever is on-call that week to test all our documented emergency access procedures to ensure they’re all working, accessible, up-to-date etc.

load more comments (1 replies)
[–] [email protected] 64 points 5 months ago (1 children)

Seems like an argument for a heterogeneous environment, perhaps a solid and secure Linux server to host important keys like that.

[–] [email protected] 55 points 5 months ago (6 children)

Linux can shit the bed too. You need to maintain a physical copy.

[–] [email protected] 52 points 5 months ago

Their point is not that linux can't fail, it's that a mix of windows and linux is better than just one. That's what "heterogeneous environment" means.

You should think of your network environment like an ecosystem; monocultures are vulnerable to systemic failure. Diverse ecosystems are more resilient.

[–] [email protected] 28 points 5 months ago (3 children)

Sure but the chances of your Windows and Linux machines shitting the bed at the same time is less than if everything is running Windows. It's exactly the same reason you keep a physical copy (which after all can break/burn down etc.) - more baskets to spread your eggs across.

load more comments (3 replies)
[–] [email protected] 12 points 5 months ago

Hey Ralph can you get that post-it from the bottom of your keyboard?

load more comments (3 replies)
[–] [email protected] 192 points 5 months ago (21 children)

We can't boot into safe mode because our BitLocker keys are stored inside of a service that we can't login to because our AD is down.

Someone never tested their DR plans, if they even have them. Generally locking your keys inside the car is not a good idea.

[–] [email protected] 50 points 5 months ago

I remember a few career changes ago, I was a back room kid working for an MSP.

One day I get an email to build a computer for the company, cheap as hell. Basically just enough to boot Windows 7.

I was to build it, put it online long enough to get all of the drivers installed, and then set it up in the server room, as physically far away from any network ports as possible. IIRC I was even given an IO shield that physically covered the network port for after it updated.

It was our air-gapped encryption key backup.

I feel like that shitty company was somehow prepared for this better than some of these companies today. In fact, I wonder if that computer is still running somewhere and just saved someone’s ass.

[–] [email protected] 42 points 5 months ago (3 children)

The good news is! This is a shake out test and they're going to update those playbooks

[–] [email protected] 39 points 5 months ago

Sysadmins are lucky it wasn't malware this time. Next time could be a lot worse than just a kernel driver with a crash bug.

3rd party companies really shouldn't have access to ship out kernel drivers to millions of computers like this.

[–] [email protected] 14 points 5 months ago

I wish you were right. I really wish you were. I don't think you are. I'm not trying to be a contrarian but I don't think for a large number of organizations that this is the case.

For what it's worth I truly hope that I'm 100% incorrect and everybody learns from this bullshit but that may not be the case.

[–] [email protected] 13 points 5 months ago

The bad news is that the next incident will be something else they haven't thought about

[–] [email protected] 16 points 5 months ago (1 children)

We also backup our bitlocker keys with our RMM solution for this very reason.

[–] [email protected] 12 points 5 months ago (1 children)

I hope that system doesn't have any dependencies on the systems it's protecting (auth, mfa).

load more comments (1 replies)
load more comments (18 replies)
[–] [email protected] 117 points 5 months ago (3 children)

Lmao this is incredible

Another Redditor posted: "They sent us a patch but it required we boot into safe mode.

"We can't boot into safe mode because our BitLocker keys are stored inside of a service that we can't login to because our AD is down.

"Most of our comms are down, most execs' laptops are in infinite bsod boot loops, engineers can't get access to credentials to servers."

N.B.: Reddit link is from the source

I hope a lot of c-suites get fired for this. But I’m pretty sure they won’t be.

[–] [email protected] 86 points 5 months ago

C-suites fired? That's the funniest thing I've heard yet today. They aren't getting fired - they are their own ass-coverage. How can they be to blame when all these other companies were hit as well?

I guess this is a good week for me to still be laid off.

[–] [email protected] 78 points 5 months ago (1 children)

Our administrator is understandably a little bitter about the whole experience as it has unfolded, saying, "We were forced to switch from the perfectly good ESET solution which we have used for years by our central IT team last year.

Sounds like a lot of architects and admins are going to get thrown under the bus for this one.

"Yes, we ordered you to cut costs in impossible ways, but we never told you specifically to centralize everything with a third party, that was just the only financially acceptable solution that we would approve. This is still your fault, so we're firing the entire IT department and replacing them with an AI managed by a company in Sri Lanka."

load more comments (1 replies)
[–] [email protected] 28 points 5 months ago

Fired? I hope they get class-actioned out of existence as a warning to anyone who skimps on QA

[–] [email protected] 110 points 5 months ago (4 children)

Lemmy appears to be weathering the storm quite well.....

..probably runs on linux

[–] [email protected] 97 points 5 months ago* (last edited 5 months ago)

The overwhelming majority of webservers run Linux ~~(it's not even close, like high 90 percent range)~~ Edit: Upon double-checking it's more like mid-80s, but the point stands

[–] [email protected] 68 points 5 months ago (1 children)

It runs on hundreds of servers. If any of them ran windows they might be out but unless you got an account on them you'd be fine with the rest. That's the whole point of federation.

load more comments (1 replies)
[–] [email protected] 13 points 5 months ago

I doubt many Lemmy servers are running enterprise level antivirus.

load more comments (1 replies)
[–] [email protected] 81 points 5 months ago (4 children)

This is why every machine I manage has a second boot option to download a small recovery image off the Internet and phone home with a shell. And a copy of it on a cheap USB stick.

Worst case I can boot the Windows install in a VM with the real disk, do the maintenance remotely. I can reinstall the whole thing remotely. Just need the user to mash F12 during boot and select the recovery environment, possibly input WiFi credentials if not wired.

I feel like this should be standard if you have a lot of remote machines in the field.

[–] [email protected] 38 points 5 months ago (1 children)

This is why every machine I manage has a second boot option to download a small recovery image off the Internet and phone home with a shell. And a copy of it on a cheap USB stick.

You're fucking killing it. Stay awesome.

Also gist this up pls. Thanks.

[–] [email protected] 37 points 5 months ago (5 children)

I wish it was more shareable, but it's also not as magic as it sounds.

Fundamentally it's just a Linux install with some heavy customizations so that it does one thing only: boot Linux, and just enough prompts to get it online so that the VPN works, and download the root image into RAM that it boots into so I can SSH into the box, and then a bunch of Linux tools for me to use so I can reimage from there, or run a QEMU with the physical disk passed through so I can VNC into an install even if it BSOD.

It's a Linux UKI (combined kernel+initramfs into a simple EFI file the firmware can boot directly without a bootloader), but you can just as easily get away with a hidden Debian install or whatever. Can even be a second Windows install if that's your thing. The reason I went this particular route is I don't have to update it since it downloads it on the fly, much like the Mac recovery. And it runs entirely in RAM afrerwards so I can safely do whatever is needed with the disk.

load more comments (5 replies)
[–] [email protected] 20 points 5 months ago (2 children)

Just need the user to mash F12 during boot and select the recovery environment, possibly input WiFi credentials if not wired

In theory that sounds great, now just do it 1000+ times while your phone is ringing off the hook and you're working with some of the most tech illiterate people in your org.

[–] [email protected] 16 points 5 months ago

I'm pressing F and 1 and 2, but nothings happening!

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 79 points 5 months ago* (last edited 5 months ago) (1 children)

If you have EC2 instances running Windows on AWS, here is a trick that works in many (not all) cases. It has recovered a few instances for us:

  • Shut down the affected instance.
  • Detach the boot volume.
  • Move the boot volume (attach) to a working instance in the same region (us-east-1a or whatever).
  • Remove the file(s) recommended by Crowdstrike:
  • Navigate to the C:\Windows\System32\drivers\CrowdStrike directory
  • Locate the file(s) matching “C-00000291*.sys”, and delete them (unless they have already been fixed by Crowdstrike).
  • Detach and move the volume back over to original instance (attach)
  • Boot original instance

Alternatively, you can restore from a snapshot prior to when the bad update went out from Crowdstrike. But that is not always ideal.

[–] [email protected] 23 points 5 months ago (1 children)

A word of caution, I've done this over a dozen times today and I did have one server where the bootloader was wiped after I attached it to another EC2. Always make a snapshot before doing the work just in case.

load more comments (1 replies)
[–] [email protected] 70 points 5 months ago (22 children)

I didnt know so many servers still run windows.

[–] [email protected] 39 points 5 months ago (3 children)

I'm the corporate world, very much Windows gets used. I know Lemmy likes a circle jerk around Linux. But in the corporate world you find various OS's for both desktop and servers. I had to support several different OS's and developed only for two. They all suck in different ways there are no clear winners.

load more comments (3 replies)
[–] [email protected] 32 points 5 months ago (2 children)

Issue is not just on servers, but endpoints also. Servers are something that you can relatively easily fix, because they are either virtualized or physically in same location.

But endpoints you might have thousand physical locations, and IT need to visit all of them (POS, info/commercial displays, IoT sensors etc.).

load more comments (2 replies)
[–] [email protected] 14 points 5 months ago (2 children)

My former employer had a bunch of windows servers providing remote desktops for us to access some proprietary (and often legacy) mission critical software.

Part of the security policy was that any machines in the possession of end users were assumed to be untrustworthy, so they kept the applications locked down on the servers.

load more comments (2 replies)
[–] [email protected] 12 points 5 months ago

On prem AD. At least for my MSP's clients. Have been pushing hard last few years to migrate to azure.

load more comments (18 replies)
[–] [email protected] 63 points 5 months ago* (last edited 5 months ago) (1 children)

At least no mission critical services were hit, because nobody would run mission critical services in Windows, right?
..
RIGHT??

[–] [email protected] 30 points 5 months ago (6 children)

Sounds like the best time to unionize

[–] [email protected] 16 points 5 months ago (6 children)

I'm in. This world desperately needs an information workers union. Someone to cover those poor fuckers in the help desk and desktop support as well as the engineers and architects that keep all of this shit running.

Those of us that aren't underpaid are treated poorly. Today is what it looks like if everybody strikes at once.

load more comments (6 replies)
load more comments (5 replies)
[–] [email protected] 28 points 5 months ago
[–] [email protected] 17 points 5 months ago (3 children)

It might be CrowdStrike's fault, but maybe this will motivate companies to adopt better workflows and adopt actual preproduction deployment to test these sort of updates before they go live in the rest of the systems.

[–] [email protected] 18 points 5 months ago* (last edited 5 months ago) (6 children)

I know people at big tech companies that work on client engineering, where this downtime has huge implications. Naturally, they've called a sev1, but instead of dedicating resources to fixing these issues the teams are basically bullied into working insane hours to manually patch while clients scream at them. One dude worked 36 hours straight because his manager outright told him "you can sleep when this is fixed", as if he's responsible for CloudStrike...

Companies won't learn. It's always a calculated risk, and much of the fallout of that risk lies with the workers.

load more comments (6 replies)
load more comments (2 replies)
[–] [email protected] 12 points 5 months ago

80% of our machines were hit. We were working through 9pm on Friday night running around putting in bitlocker keys and running the fix. Our organization made it worse by hiding the bitlocker keys from local administrators.

Also gotta say... way the boot sequence works, combined with the nonsense with raid/nvme drivers on some machines really made it painful.

load more comments
view more: next ›