One File, 8.5 Million Computers: The CrowdStrike Outage

· 6 min

Key moments

A content update from CrowdStrike, released at 04:09 UTC on 19 July 2024 and reverted at 05:27 UTC, crashed Windows computers running its Falcon sensor. Microsoft estimated that 8.5 million devices were affected. The company's review traced the crash to a mismatch between 21 expected inputs and 20 supplied. It was not a cyberattack. Delta and CrowdStrike disagree about why the airline recovered slowly.

Transcript

One file. Eight and a half million computers. A blue screen on an airport departure board. Hospitals putting off surgeries. Some 911 centers that lost their computers. And a fix that, for many machines, a person had to do by hand.

This is the story of one Friday in July, and one small update from a company called CrowdStrike. To see how it stopped millions of computers, we begin at nine minutes past four in the morning.

Most big companies run their computers on Windows. Windows is the boss of the machine. It decides what every program may do. On top of it, many companies add a guard: security software that spots viruses and thieves before they do harm.

To do that job, the guard has to live deep inside Windows, in the basement, next to the building's power and locks. If something breaks in the basement, the whole building goes dark. Every room. Engineers call that basement the kernel.

This guard was called Falcon. Criminals invent new tricks all the time, so the guard needs fresh instructions all the time. Think of wanted posters. The company sent new ones to its guards in small files called content updates. They are not new software. They are lists of what to look for.

One of those files was called Channel File 291. It was meant to teach the guard to watch for a new attack technique. The company had sent files like it before, including several that spring, and they had worked.

On Friday, the nineteenth of July, at nine minutes past four in the morning, universal time, the new version went out. In New York it was just after midnight. In Sydney it was mid-afternoon. Every computer that was switched on and online received it. [Note: this means Windows computers running the affected versions of the Falcon sensor (7.11 and above) that were online during the 78 minutes. Mac and Linux hosts were not affected.]

A computer that got the file read it, as it always did. Then it tried to follow the instructions, and it fell over.

Here is what went wrong, in the company's own words. The new kind of instruction had room for twenty-one pieces of information. The software feeding it supplied only twenty. The file asked for the twenty-first. There was nothing there, and the guard reached past the end of its list into memory that was not its own.

A normal program would just crash. But this guard lived in the basement. When it crashed, Windows crashed with it. The screen turned blue. The computer restarted, loaded the guard again, read the same file, and crashed again. Over and over. That is called a boot loop.

Why did nobody catch it? The company's review said earlier tests of this kind of instruction had never triggered a fault. The program that checks each file before it ships had a bug of its own and let this one through. And the guard had no final check to stop it reaching past its list.

At twenty-seven minutes past five, seventy-eight minutes after it went out, the company pulled the file and sent a corrected one. By then millions of machines had already taken the bad one. A corrected file cannot help a computer that can no longer start.

Microsoft later estimated the damage at eight and a half million Windows computers. That is less than one percent of all the Windows machines in the world. It was enough to stop a day.

Most people saw it first at the airport. In the United States, United, American, Delta and Allegiant asked to have their flights held on the ground. Departure boards turned blue. By one count, more than five thousand flights were cancelled around the world that day, about five in every hundred.

Hospitals felt it next. Mass General Brigham in Boston cancelled all its scheduled non-urgent surgeries, procedures and visits for the day. Emory in Atlanta delayed some operations. A later study found that about a third of the hospitals it could measure stopped answering online during the outage.

Some 911 call centers lost their systems for a while, mostly in the early hours. Alaska's state troopers said 911 was down across the state. New Hampshire reported its system fully restored by three that morning.

Banks and broadcasters were hit as well. It was not a cyberattack, and the company said so the same day. The tool built to protect these computers had stopped them.

The broken computers could not even reach the internet to be repaired. Someone would have to walk up to each one. [Note: this is simplified. CrowdStrike and Microsoft advised rebooting first, and some computers recovered that way by fetching the corrected file. Those that kept crashing needed repair, often by hand. CrowdStrike also says it introduced automated techniques on 22 July to speed this up.]

A computer stuck in a restart loop never gets far enough to receive a repair from far away. So the fix began with a person, standing at the machine.

The steps were short. Restart into safe mode, a stripped-down Windows that does not load the guard. Open one folder. Find the file whose name starts with C, five zeros, then two nine one. Delete it. Restart. Microsoft and the security company both published the steps.

Short steps, but millions of machines. Many were locked with a disk lock called BitLocker. To get in, you needed that machine's recovery key, a code of forty-eight digits. Imagine a company with ten thousand laptops. That is ten thousand keys, typed in one at a time.

Help came in pieces. The company posted a script that deleted the file and put the computer back to normal startup. It shared a way to make a recovery USB stick. Microsoft released its own recovery tool. They made the job faster. They did not make it automatic. And one airline took far longer than the rest.

Most airlines were back to normal in a day or two. Delta's trouble lasted about five days. Its chief executive said it had to cancel more than five thousand flights, at a cost of roughly five hundred million dollars. When Delta sued in October, it said more than seven thousand flights and about one point three million passengers.

The security company said Delta's own choices explained why its recovery was slower. The two companies disagree about why.

And the whole day? A firm called Parametrix estimated that the biggest American companies alone lost five point four billion dollars. Insurance would cover only a small part. Estimates of what insurers would pay ranged from about three hundred million to one and a half billion dollars. In September, the company had to explain itself to Congress.

On the twenty-fourth of September, an executive from the security company, Adam Meyers, sat in front of a House committee in Washington. He said the company was deeply sorry, and determined to prevent it from happening again.

Before July 19, this kind of update went out to everyone at once. Now it goes out in stages. First a small group inside the company. Then customers who chose to go first. Then wider and wider rings, with the company watching for trouble at each step. Meyers told Congress these files are now treated like software code.

Customers got a say, too. They can choose to receive updates early or later, and they can pin their machines to a chosen version, so a bad file cannot reach them by surprise. The company added the missing checks and brought in two outside security firms to review its code and its release process.

The bad file had been withdrawn at twenty-seven minutes past five on Friday morning, seventy-eight minutes after it went out. The machines that had already taken it needed a person to fix them. By Monday, most hospitals were back to normal. One file. Seventy-eight minutes. Eight and a half million computers.

Sources

All long stories