Tom's Hardware

$10 programmer saves BIOS-locked Lenovo ThinkPads from the dump

Many cheap company ThinkPads come with supervisor passwords and often end up as e-waste. Ukrainian YouTuber Hileeq shows how easy it is to bypass the password with a $10 programmer.

Saving ThinkPads From E-Waste

Rebooted by Hileeq has shared how others can get cheap Lenovo ThinkPads and save them from becoming e-waste by using a simple BIOS unlock hack that only requires a $10 programmer and another laptop or PC.

The technique is niche, known mostly by technicians, but Hileeq is the first to give this bypass mass attention with an easy-to-follow YouTube tutorial. Rebooted by Hileeq's channel, dedicated to fixing cheap eBay finds, documents the process and what he learned while fixing the laptops.

Three weeks ago, he posted a video explaining how to bypass locked Lenovo ThinkPads with Intel 4th- to 8th-generation CPUs using a cheap CH431A programmer to read, write, erase, and save EEPROM and SPI flash memory.

Companies often add supervisor passwords to the fleet of ThinkPads they hand out to their employees as an IT security measure. When these ThinkPads are disposed of, often with the storage removed and destroyed, it's rare that the supervisor passwords are included and documented.

These locked ThinkPads are then incredibly cheap because of the lack of access, ending up as e-waste most of the time.

Origins of the Exploit

However, Victor Voinea shared a post in a Romanian forum containing his ThinkPad supervisor removal exploits. Unfortunately, Voinea's method generated a random password every time the exploit was run, requiring users to contact Voinea for the key specific to the generated hardware ID - and getting the password wasn't free.

However, in 2020, Knucklegrumble posted a free way to bypass the password in the Badcaps electronics repair forum. Mark Juvan, an Ethical Hacker, reverse-engineered Knucklegrumble's exploit as his cybersecurity master's thesis at Radboud University Nijmegen, Netherlands, which goes into deeper detail.

How the Bypass Works

The exploit begins by extracting the BIOS from the EEPROM chip on the motherboard using the CH341A programmer and plugging it into a USB port of another PC or laptop.

Hileeq then uses NeoProgrammer, a utility for CH341A programmers, and dumps the BIOS, saving a copy of it on the other laptop. NeoProgrammer then applies the same auto-patching workflow Knucklegrumble created.

When the patched BIOS is flashed onto the EEPROM, the laptop can then be turned on, and Hileeq goes through some steps requiring a few keystrokes which remove the password saved in the Embedded Controller (EC), a separate IC that stores security data, among other system tasks.

The original BIOS can then be flashed back into the EEPROM, and with the supervisor password removed, the laptop is now usable.

Juvan states in his paper that the exploit takes advantage of a weakness in Lenovo's firmware verification and driver architecture. Lenovo actually provides the EmulatedEepromDxe driver needed by the exploit, and the driver allows the EEPROM to be read and written to - and the EC's supervisor password happens to be stored where it's treated as EEPROM memory, allowing the supervisor password to be overwritten or removed.

More Affordable ThinkPads for Everyone

The hard, complicated work has already been done by the electronics repair community, and now the process to bypass the supervisor password requires just a few steps and an inexpensive programmer tool.

While the method may only be for ThinkPads with Intel 4th- to 8th-generation CPUs, this will still save plenty of usable ThinkPads from going to waste, as Hileeq's popular post potentially encourages more people to attempt this themselves - who knows, this might cause a domino effect to unlock newer generations of ThinkPads.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox. Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.

Jhet Borja is a serial hobbyist who was taking apart toys from childhood and sketching inventions. He now loves doing DIY projects ranging from designing custom 3D-printed parts, building PCs and keyboards, all the way to woodworking. If he's not getting his hands dirty, he's probably brainstorming his next project.

Read on Tom's Hardware ↗ ← Back to News

Comments

No comments yet. Start the discussion.