The Logic Error Behind the Worldwide Crowdstrike Outage
Cloudstrike behind global IT outage that affected billions worldwide.

The Logic Error Behind the Worldwide Crowdstrike Outage

On July 19th, 2024, Crowdstrike, a leading cybersecurity company, caused an IT outage that continues to disrupt billions worldwide.

The culprit? A faulty automatic sensor configuration update.

Today, we look at what is happening under the hood and how affected users can fix their machines.

Crowdstrike and Falcon: Guardians Turned Glitches


Image of airport information screen stating that flights are delayed
CrowdStrike Falcon has caused chaos worldwide.

Crowdstrike is one of the world's largest cybersecurity companies, with 29,000 customers worldwide, most of them large enterprises, including tech giants Google, Amazon, and Intel, as well as many large airports and banks, among others.


One of Crowdstrike's core products is Falcon, which continuously monitors computers for malicious activity.


To do this, Falcon runs as a privileged Kernel-Mode Driver, which must be successfully running for the operating system (Windows) to start.


One feature of Falcon is to monitor named pipe executions on Windows systems. Named Pipes are a mechanism for interprocess communication in Windows which malicious actors can exploit.

The Faulty Update: A Logic Error Terror


An image of code
Systems are still recovering worldwide because of a single erroneous file.


On July 19th, Crowdstrike published a sensor configuration update that was installed automatically on millions of systems worldwide.

Sensor configuration updates are usually deployed multiple times daily in response to novel exploit techniques to ensure customers are protected.

The update contained an erroneous file, C-00000291*.sys, which is a configuration file also known as a channel file.


This file contains rules that govern how Falcon evaluates named pipe executions and determines if they are malicious.

However, in the defective configuration update, this file triggers a logic error, specifically an out-of-bounds memory read.

When the Falcon driver accesses this configuration file, it triggers an error which it cannot handle gracefully.—ultimately causing the dreaded Blue Screen of Death (BSOD).

Why Does This Cause a System Crash?


An image of a information display showing the Blue Screen of Death
Airports, hospitals, transport stations and banks worldwide have experienced outages.


The Falcon driver is installed in Windows as a Boot-Start Driver, which means that the driver must be successfully installed for Windows to boot.


Since the Falcon driver fails due to the memory read error, Windows cannot boot, and we get the Blue Screen of Death.


The system reboots into Recovery, and the process continues in an infinite boot loop.

Restoring Order: Fixing the Outage


Individual Hosts

  1. Reboot to see if the system can update the driver online (Connect Ethernet for better performance).

If crashes still occur:

  1. Boot into Safe Mode or Windows Recovery Environment.
  2. Go to: %WINDIR%\System32\drivers\CrowdStrike
  3. Delete the files matching: C-00000291*.sys
  4. Reboot normally.


Individual Hosts with BitLocker Enabled (No Key Required)

This solution does not require a BitLocker Key

1.?????? Enter Windows Recovery Mode

a.?????? This can be done by holding the shift key and selecting restart in the power menu

b.?????? Or press the F12 or F9 key, depending on the vendor, on the initial boot to access Recovery Mode via BIOS

c.?????? Or, after 2 unsuccessful attempts to fully start Windows (This can be forced by repeatedly pressing the power button and holding it down again to turn it off, do this twice, and on the third time, let Windows boot, it should enterRecoveryy)

2.?????? Select 'See Advanced Repair Options' (If on the Troubleshoot Screen already, See next step)

3.?????? Select 'Advanced Options'

4.?????? Select 'Command Prompt'

5.?????? Click 'Skip this Drive'

6. A Command Prompt will appear. Enter the command:

bcdedit /set {default} safeboot network        

7.?????? Hit Enter

8.?????? Reboot (Windows will boot into Safe Mode)

9. Login (Administrator Account Required)

10.?? Open Command Prompt and enter command:

del C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys        

11.?? Hit Enter

12.?? Type this command:

bcdedit /deletevalue {default} safeboot        

13.?? Hit Enter

14.?? Type this command:

shutdown /r        

15.?? Hit Enter

Once Rebooted, the system will be back to normal

NOTE: This requires allowing users to login with admin credentials, make sure to change these passwords or rotate passwords using features such as Windows LAPS.


For Cloud and similar environments:


  1. Detach OS disk volume from the impacted server.
  2. Create a snapshot/backup, just in case.
  3. Mount disk onto a virtual server.
  4. Repeat the steps to delete the affected files like the above.
  5. Reattach the disk back onto the server.


Or: Rollback to snapshots before 0409 UTC.

Lessons Learned: The Importance of Backups and Testing


An image showing a businessperson backing up data from their laptop.
External backups and regular system snapshots remain one of the best ways to survive software outages.


The Crowdstrike outage continues to serve as a stark reminder of the importance of two key practices:


  • Regular Backups: Having external backups is crucial. Without a backup, a critical error like this could lead to permanent data loss.


  • Thorough Testing: Rigorous testing before deploying updates can help identify and rectify issues before they reach a wider audience.


Your Experience

How has the Cloudstrike Outage affected you? Could you share your experiences in the comments?


Additional Resources:

Our Statement on Today's Outage | Crowdstrike

Statement on Falcon Content Update for Windows Hosts | Crowdstrike

Technical Details on Today's Outage | Crowdstrike

Tavis Ormandy's Analysis | Twitter Thread

要查看或添加评论,请登录

Mihir Patil的更多文章

社区洞察

其他会员也浏览了