Breaking Through Another Side: Bypassing Firmware Security Boundaries from Embedded Controller
summary
Reverse engineering of Lenovo ThinkPad EC firmware (Microchip 16xx family) reveals a static password in the DXE update flow and a race between verify and flash that allows separation of signature checking from the actual flash operation. A crafted BIOS Guard update package (using discovered ipack templates and MSR 0x115/0x116 handoff) enables unsigned EC updates, opening persistent rootkit paths to SPI flash and BIOS. Experiments use IDA Pro and hardware debugging (DCI attempts); replaced ACM caused temporary reboots but systems recoverable.
AI-written summary · about
chapters (20)
- 0:00Intro
- 2:46Hardware Security Boundaries
- 9:27Methodology
- 11:16EC firmware update process
- 13:24Impact of EC update auth bypass
- 14:52Lenovo Thinkpad EC update header
- 15:16Lenovo Thinkpad EC update process
- 16:39Boot Guard saves the day?
- 17:52Lenovo Thinkpad EC signature check
- 21:56Lenovo disclosure timeline
- 22:20EC take-aways
- 23:21Intel BIOS Guard in a nutshell
- 23:56What is Intel BIOS Guard?
- 26:16Lenovo Thinkpad PFAT update process
- 28:46BIOS Guard hardware support
- 31:59BIOS Guard ACM execution flow
- 33:48BIOS Guard Directory
- 34:29BIOS Guard Platform Data Table
- 36:07BIOS Guard Update Package
- 45:37Signed vs unsigned operations with BIOS Guard script
related talks
01h 04mAnalyzing UEFI BIOSes from Attacker & Defender Viewpoints
57mExtreme Privilege Escalation on Windows 8/UEFI Systems
27mProtecting Data In-Use from Firmware and Physical Attacks
41mSecrets Of Simos18: REng The Secure Boot Mechanism Of An ECU
47mHow to Hack a Turned-Off Computer, or Running Unsigned Code in Intel Management Engine
33mBreaking Into Chips By Reading The Datasheet
01h 13mIs there an EFI monster inside your apple?
01h 09mDeobfuscate UEFI/BIOS Malware And Virtualized Packers
