r/sysadmin • u/Asger68 • Jul 19 '24
General Discussion Crowdstrike Outage Workaround
Not sure why the larger thread I posted in got removed, but here it is again. I came across a somewhat manual fix to the bsod reboot loop problem on our servers and workstations.
If the machine was offline prior to 0409 UTC time, you should be good. That's the time that Crowdstrike fixed the bad C:\Windows\System32\Drivers\Crowdstrike\C-00000291*.sys files.
If your machines were powered online before 0409 UTC time, rut roe.
On workstations, we're having to boot into safe mode, enter the bitlocker recovery key, then delete those files.
I found a trick that seems to work, but it's a timing game. Login to a server/workstation that has the same admin permissions as the bad machine. Open 2 separate admin cmd windows. In the first cmd window, ping the bad machine with -t, then the second you see a successful ping respond, in the second admin cmd window execute: DEL /F /Q \\badmachine\c$\windows\system32\drivers\crowdstrike\C-00000291*.sys
If you catch it in time, the ping will continue to show active and its all fixed. If you miss it, just re-run the cmd again when it pings. Otherwise its a manual fkng process with safe mode. We were usually seeing 5-6 successful pings before the reboot hit again, so you have to be quick.
So far its working 100% on our AWS servers. Very stupidly, AWS has no safe mode option for EC2 instances, so you could be SOL if that's a requirement to fix something. We, of course, have snapshots that can be restored, but some manufacturing servers we have should not be restored to a prior date, so this has turned into the only workaround for us.
2
u/BilalElG Jul 19 '24
anyone have issues getting access denied on the files?
1
u/Asger68 Jul 19 '24
We get that if the cmd prompt is the regular non-admin one or if you don't have permissions on the target machine.
1
u/BilalElG Jul 19 '24
Using my admin account that has the right permissions. Even tried scripting this with takeown and icalcs but still getting access denied on a lot of machines. But the weird thing is these machines boot fine
0
u/Secret_Account07 VMware Admin Jul 20 '24
I’m running into this as well. Still scratching my head.
Running cmd as admin FYI
1
u/BilalElG Jul 20 '24
I ended up confirming with crowdstrike that it was crowdstrike blocking the deletion of “good” files.
1
2
u/raj1030 Jul 19 '24
Any way to scan which machines are in recovery page?
3
u/Asger68 Jul 19 '24
Our security team is using Crowdstrike to determine which machines are still having issues. They will appear offline/disconnected in the Crowdstrike console.
7
u/bageloid Jul 19 '24
Oh so there is a narrow window when it boots?
You can probably script it with powershell to continuously try the delete command and then turn the machine on so you don't have to time it.
3
u/Milkshakes00 Jul 19 '24
There is a narrow window - The problem is WRE will eat your connectivity of that window.
If the machine is in the 'bootloop before WRE' phase, this will work.
If it's at the point where it's booting to WRE, you have to get in through safe mode.
6
2
u/arc-xel Jul 20 '24
Method is working! I regret that didn't read it before yesterday 😭 It'll save me half day with azure VMs.
1
1
Jul 19 '24
This appears easily scriptable. I was starting to feel really bad for those admins that manage large numbers of devices. Hopefully they can find this post and implement it your fix.
-15
u/BeneficialShirt6419 Jul 19 '24
Why seriously would you not use a LINUX OS for a Server? want to really know?
2
u/LtLawl Network Engineer Jul 19 '24
Depending on the industry, some vendor software only runs on Windows.
2
u/Asger68 Jul 19 '24
Yeah this. We also have Linux servers, but the bulk of our stuff requires Winders.
1
u/joshthetechie07 Sysadmin Jul 20 '24
I'm all for linux, but unfortunately, many enterprise apps only support Windows.
3
u/Lando_uk Jul 19 '24 edited Jul 19 '24
This is good, having those few seconds before the dodgy sys file loads could be a quick win for many. Well done.
Presume you need the same local admin for this rather than domain admin?