Probleem
Voor wie CrowdStrike gebruikt, ze hebben een update gepusht die wereldwijd BSODs veroorzaakt. Dit raakt zowel servers als end-user computers.Status/informatie per cloud provider:
Foutmelding
Windows toont een BSOD voor een fout in csagent.sys:Oplossingen
Oplossing #1
Als je in safe mode in kunt loggen, kan je naar C:\Windows\System32\Drivers en de map CrowdStrike hernoemen naar CrowdStrikeBad en opnieuw opstarten en dat lijkt het probleem te verhelpen.Oplossing #2 - Officiële workaround van CrowdStrike
De update is teruggetrokken. Dus systemen die nu opstarten hebben het probleem niet meer.Er is een workaround beschikbaar die de BSOD oplost.
Workaround Steps:
1. Boot Windows into Safe Mode or the Windows Recovery Environment
2. Navigate to the C:\Windows\System32\drivers\CrowdStrike directory
3. Locate the file matching “C-00000291*.sys”, and delete it.
4. Boot the host normally.
Oplossing 2A - Bootable recovery USB
Microsoft heeft een tool beschikbaar gesteld waarmee je een systeem kunt herstellen door een USB-stick met recovery-software.https://techcommunity.mic...ue-impacting/ba-p/4196959
Oplossing #3
Alternatieve workaround voor wie nog in het Windows register kan komen:https://old.reddit.com/r/...reening_stuck_at/ldw2aem/Another Temp Workaround for the csagent.sys:
boot into safemode, go into the registry and edit the following key:
HKLM:\SYSTEM\CurrentControlSet\Services\CSAgent\Start from a 1 to a 4
This disables the csagent.sys loading. The machines are hopefully booting again.
Oplossing #4 - (Virtuele) servers
Workaround voor wie veel (virtuele) servers heeft waarbij je niet in safe mode kunt komen is om de virtuele schijf los te koppelen, daarna als secundaire schijf aan een nog werkend systeem te koppelen, daar bovenstaande stappen uit te voeren, en daarna weer terugkoppelen aan de originele virtuele server.Oplossing #5 - Amazon AWS EC2
1. Create a snapshot of the EBS root volume of the affected instance2. Create a new EBS Volume from the snapshot in the same availability zone
3. Launch a new Windows instance in that availability zone using a similar version of Windows
4. Attach the EBS volume from step (2) to the new Windows instance as a data volume
5. Navigate to \windows\system32\CrowdStrike\ folder on the attached volume and delete "C-00000291*.sys"
6. Detach the EBS volume from the new Windows instance
7. Create a snapshot of the detached EBS volume
8. Replace the root volume of the original instance with the new snapshot
9. Start the original instance
https://docs.aws.amazon.c...using-serial-console.html
Oplossing #6 - Bitlocker
Als je systeem gebruik maakt van Bitlocker, volg dan onderstaande stappen om dit te ontgrendelen.- Start je computer in Veilige Modus en ga naar de BitLocker ontgrendelpagina.
- Ga op een ander apparaat naar https://myaccount.microsoft.com/device-list
- Log in met de Microsoft gegevens die zijn gekoppeld aan het getroffen apparaat.
- Zoek naar het apparaat dat hersteld moet worden
- Bekijk de BitLocker-sleutel die wordt weergegeven.
- Voer deze sleutel in op het vergrendelde apparaat.
- Volg de stappen van de "normale" workaround.
Oplossing #7 - Azure
Stappen om een machine opstarten in veilige modus:- Inloggen op Azure console --> Ga naar Virtual Machines --> Selecteer de VM
- Linksboven in de console --> Klik op "Verbinden" --> Klik op "Verbinden" --> Klik op "Meer verbindingsopties" --> Klik op "Seriële console"
- Zodra SAC is geladen, typ 'cmd' en druk op enter.
- Typ het 'cmd' commando
- Typ : ch -si 1
- Druk op een toets (spatiebalk). Voer de beheerdersgegevens in.
- Typ het volgende:
- bcdedit /set {current} safeboot minimal
- bcdedit /set {current} safeboot network
- Herstart de VM
Oplossing #8 - Bitlocker herstellen zonder sleutel (niet geverifieerd)
nc.m schreef op vrijdag 19 juli 2024 @ 11:32:
Op X kwam ik een oplossing tegen die geen Bitlocker-sleutel vereist. Ik heb dit zelf niet geverifieerd:
1. Cycle through BSODs until you get the recovery screen.
2. Navigate to Troubleshoot> Advanced Options> Startup Settings
3. Press "Restart"
4. Skip the first Bitlocker recovery key prompt by pressing Esc
5. Skip the second Bitlocker recovery key prompt by selecting Skip This Drive in the bottom right
6. Navigate to Troubleshoot> Advanced Options> Command Prompt
7. Type "bcdedit/set {default} safeboot minimal", then press enter.
8. Go back to the WinRE main menu and select Continue.
9. It may cycle 2-3 times.
10. If you booted into safe mode, log in per normal.
11. Open Windows Explorer, navigate to C:\Windows \System32\drivers\Crowdstrike
12. Delete the offending file (STARTS with C-00000291*, sys file extension)
13. Open command prompt (as administrator)
14. Type "bcdedit /deletevalue {default} safeboot", then press enter.
15. Restart as normal, confirm normal behavior.
Oplossing #9 - Meerdere keren herstarten
Volgens Microsoft Azure zijn er berichten dat sommige gebruikers Windows hebben kunnen laten herstellen naar de systeembestanden van vóór de CrowdStrike update, door hun systeem tot 15 keer achter elkaar opnieuw op te starten.https://azure.status.microsoft/en-us/statusWe have received reports of successful recovery from some customers attempting multiple Virtual Machine restart operations on affected Virtual Machines.
...
We've received feedback from customers that several reboots (as many as 15 have been reported) may be required, but overall feedback is that reboots are an effective troubleshooting step at this stage.
Oplossing #10 - WinPE
https://www.reddit.com/r/...t_loopbsod_automatically/I fixed the July 19th 2024 issue on 1100 machines in 30 minutes using the following steps.
I modified our standard WinPE image file (from the ADK) to make it delete the file 'C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys' using the following steps.
If you don't already have the appropriate ADK for your environment download it. The only problem with using a bare WinPE image is it may not have the drivers. Another caveat is that this most likely will not work on systems with encrypted filesystems.
Mount the WinPE file with Wimlib or using Microsoft's own tools, although Microsoft's tools are way clunkier and primative.
Edit startnet.cmd and add:
del C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys
exit
to it.
Save startnet.cmd [note the C:\ might be different for you on your systems but it worked fine on all of mine]
Unmount the WinPE image
Copy the WinPE image to either your PXE server or to a USB drive of some kind and make it BOOTABLE using Rufus or whatever you want.
Boot the impacted system.
Eerste reactie CrowdStrike
Van hun support forum:https://supportportal.cro...-Falcon-Sensor-2024-07-197/18/24 10:20PT - Hello everyone - We have widespread reports of BSODs on windows hosts, occurring on multiple sensor versions. Investigating cause. TA will be published shortly. Pinned thread.
SCOPE: EU-1, US-1, US-2 and US-GOV-1
[ Voor 116% gewijzigd door Skit3000 op 21-07-2024 16:52 ]