pwshub.com

How a $36 barcode scanner sped up fixing the CrowdStrike chaos at Grant Thornton Australia

Serving tech enthusiasts for over 25 years.
TechSpot means tech analysis and advice you can trust.

Cutting corners: The global computer crash earlier this month, caused by a faulty CrowdStrike update, was a disaster for many. However, a hero emerged at Grant Thornton Australia: senior systems engineer Rob Woltz, who quickly remedied the situation using a humble barcode scanner. In the midst of chaos, Woltz recalled that PCs treat barcode scanners like keyboards during boot-up. A quick trip to an office supply store later, the company was back up and running within a few hours.

Like many other businesses around the world, CrowdStrike's faulty software caused hundreds of PCs and over 100 servers at Grant Thornton Australia to crash on that fateful Friday, resulting in blue screen of death errors.

Fixing the issue filled IT support with dread: The affected machines were encrypted with Microsoft's BitLocker, requiring a 48-character recovery key for each device. This meant that recovery would require not only CrowdStrike's multi-step fix but also the manual entry of a 48-character BitLocker key.

Given the huge number of PCs, the IT staff felt an automated response was necessary. But the solutions they initially came up with – such as distributing BitLocker keys or reading keys to workers over the phone or in person – seemed too risky and far from foolproof.

That's when senior systems engineer Rob Woltz remembered something seemingly inconsequential but important enough that it would ultimately save the day at the firm: PCs treat barcode scanners like keyboards during boot-up – a realization that ultimately led to an innovative solution for a speedy recovery.

The IT team created a script to generate barcodes for the BitLocker keys, displaying them on a secure management server. The script generated the necessary barcode and LAPS password to restore the machines.

Then came a trip to a local office supply store. Using off-the-shelf barcode scanners purchased for about AU$55 ($36) each, the team could quickly input the 48-character keys by scanning the barcodes. Recovery of the affected PCs only took 3 to 5 minutes per machine, compared to 20 minutes for manual server recovery.

Because outages can happen any time and – as Crowdstrike showed – for the simplest of reasons, it is instructive to understand exactly why this process worked. Most barcode scanners are designed to emulate keyboard input. When a barcode is scanned, the scanner converts the data into keystrokes, as if someone were typing on a keyboard. Many barcode scanners, especially USB models, identify themselves as USB HID devices, the same device class used by keyboards and mice, allowing them to be recognized and function without special drivers.

In addition, the computer's BIOS or UEFI firmware is designed to recognize input devices like keyboards during the boot process. Since barcode scanners emulate keyboard input, they are recognized in the same way.

It is also worth noting that this process works with some older barcode scanners that use a "keyboard wedge" interface, as well. These interfaces physically connect between the keyboard and the computer. This setup makes the scanner's input indistinguishable from regular keyboard input.

Woltz told The Register that he is pleased he was able to engineer a swift recovery, but later realized he could have automated the entire remediation process if he had thought of using QR codes instead.

Source: techspot.com

Related stories
4 days ago - Phone plans can quickly add up, but scoring a new plan, line or switching within your carrier can help you save big bucks. Here's how.
1 month ago - Get everything you need to stay powered up at home or away with 20% off this handy package.
2 days ago - A bountiful harvest awaits — Zynga plans to appeal and confirms no games will be affected. Zynga...
1 month ago - Identity theft is unfortunately a common problem, but the best protection and monitoring services can help you protect yourself and your accounts.
1 month ago - Check out these great collagen powders to help with your slowing collagen production.
Other stories
19 minutes ago - European regulators want Apple to open up device pairing, notifications and more to other companies' products.
19 minutes ago - We chat with the director, and with executive producer Wesley Coller, about the show's animation and storyline.
19 minutes ago - There may be plenty of sun light in the South, but does your state encourage using it to power your home? Find out if solar power is worth it down south.
19 minutes ago - There's no shortage of broadband providers in Torrance, including plenty of cable, fiber and satellite options. Here are CNET's top picks for the best internet providers in Torrance.
19 minutes ago - Gainesville offers a range of fiber broadband options, including AT&T Fiber. Depending on your needs, here are the best internet service providers to consider.