Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
limitedresults.com
Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
1–10 of 78 posts
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#2Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#3Physical access to the device is required. Security compromise is permanent.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#4I believe this requires physical access to the MCU.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#5I believe this requires physical access to the MCU.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#6> This FATAL exploit allows an attacker to decrypt an encrypted firmware because he is now in possession of the AES Flash Encryption Key.
> Worst case scenario, he is now able to forge his own valid firmware (using the Secure Boot Key) then encrypt it (using the Flash Encryption Key) to replace the original firmware PERMANENTLY.
> This last post closes my security investigation on ESP32, which I consider now as a broken platform.
Isn't that a good thing for me as a consumer? I like the ability to decrypt and modify my own devices. I like that this is a permanent modification, unlike eg. dd-wrt where you have to prevent the bootloader from overwriting your software with that of the manufacturer.
The only thing I can think of that would be really bad is if I had a device with an ESP32 inside physically stolen then reinstalled by an attacker (or a counterfeit sold to me with malicious code from the vendor) and this exploit allowed them to get private data from my network to an Internet location. But they could already just buy or build their own device, ESP32 or not, to do that.
This is only bad for draconian IoT manufacturers who want to enforce their terms of service and artificial limitations on hardware they think consumers are leasing but consumers think they are buying.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#7Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#8I believe this requires physical access to the MCU.
It does, but major part of flash encryption is to protect your supply chain. Ie. to keep people from cloning your boards and just dumping your software on them. It's also a bit of security through obscurity (which despite the memes can be an important piece of defense in depth) to make the MCUs a bit more difficult to attack if you don't know the code that's running.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#9The fix is in ESP32-D0WD-V3 and ESP32-WROVER-E, but of course that doesn't do you any good if you've already shipped product.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#10This is an interesting attack, and certainly looks highly successful in terms of allowing a determined hardware hacker to gain root/bootloader access to a device that the manufacturer has attempted to lock them out of. Glitching with a 6V supply on a 3.3V bus is certainly something I'd want to be a little cautious of if the hardware was more expensive than a $10 dev board - I wouldn't buy a $800 IoT fridge and use th…
Imo a platform is broken if the user can't control it.