Hardware Security Exploit Research – Xbox 360
The Xbox 360's boot process verifies signed code using a SHA1 hash comparison, but a precisely timed voltage glitch on the CPU reset line can force the comparison function to return a match, allowing unsigned code to run. An attacker with physical access can thus bypass code signing and execute arbitrary code.
github.com
Published on github.com
History
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker with physical access could run unsigned code on the console, bypassing Microsoft's code signing and enabling homebrew or pirated software.
What the attacker needed
Physical access to the console; custom hardware (CPLD, NAND programmer); ability to flash NAND and solder
How it was found
- Create a NAND image with custom code and flash it to the onboard NAND chip.
- Wait for post code 0xD8 (bootloader decryption).
- Issue a command on the I2C bus to slow down the CPU significantly.
- Wait for post code 0xDA (bootloader verification).
- Wait until the memcmp function executes to compare signatures.
- Send a 3-10ns pulse on the CPU RESET line to glitch a 0x00 return from memcmp.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The Xbox 360 checks that only Microsoft-approved code runs by comparing digital signatures. A hardware glitch is a tiny electrical pulse that confuses the chip into thinking the signatures match, so it runs any code. This requires physically opening the console and attaching custom electronics.