Live data from Hacker News

Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

limitedresults.com

11–20 of 78 posts

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#11
post #10

This 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…

Might as well call the PC a broken platform since you can install your own OS. Imo a platform is broken if the user can't control it.

This would be more akin to jailbreaking your nintendo switch and installing linux. An IOT platform that's intended to be secure can be tricked into revealing it's key.

Most consumers aren't going to write custom firmware for their lightbulbs.

Of course, I think this exploit is impractical for a lot of cases given how the ESP32 is typically used, but, ymmv.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#12

Props for the effort, but who expects a cheap china MCU for consumer products to be resilient against glitching attacks? You don’t use that stuff in high-security settings anyway. For consumers products resilient to advanced hardware attacks, I can only think of the iPhone and some consoles. Anything else?

I assume it's to keep someone from cloning your product and underselling you with low effort. It's not the danger of one device being compromised.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#13
post #8
post #4

Earlier quoted context omitted.

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.

Except an attacker operating at that scale would just start decapping the chips and inspecting them.

Decapping and dynamically instrumenting a chip with little pins like you'd need to do is a lot harder than a timing/glitch attack.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#14
post #10

This 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…

Might as well call the PC a broken platform since you can install your own OS. Imo a platform is broken if the user can't control it.

One user's self is another user's attacker. This attack isn't one-time; if I can break into the hardware and change the keys such that I now control it, then someone else with temporary physical access can then break into my hardware and change the keys again, suborning "my" IoT device into e.g. a subtle wiretap.

A computer anyone—not just the owner—can root given physical access, is like a lock that anyone—not just the owner—can non-tamper-evidently pick open. It really is broken.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#15
post #10

Earlier quoted context omitted.

Might as well call the PC a broken platform since you can install your own OS. Imo a platform is broken if the user can't control it.

This would be more akin to jailbreaking your nintendo switch and installing linux. An IOT platform that's intended to be secure can be tricked into revealing it's key. Most consumers aren't going to write custom firmware for their lightbulbs. Of course, I think this exploit is impractical for a lot of cases given how the ESP32 is typically used, but, ymmv.

I didn't have to write Linux to benefit from an open platform. I didn't write openwrt either but benefit hugely from it.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#17
post #14
post #10

Earlier quoted context omitted.

Might as well call the PC a broken platform since you can install your own OS. Imo a platform is broken if the user can't control it.

One user's self is another user's attacker. This attack isn't one-time; if I can break into the hardware and change the keys such that I now control it, then someone else with temporary physical access can then break into my hardware and change the keys again , suborning "my" IoT device into e.g. a subtle wiretap. A computer anyone—not just the owner —can root given physical access, is like a lock that anyone—not jus…

Almost all computing devices are broken when given physical access. And if they aren't it's just because someone hasn't worked it out yet or is broken secretly by governments.

Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction

#19
post #10

Earlier quoted context omitted.

Might as well call the PC a broken platform since you can install your own OS. Imo a platform is broken if the user can't control it.

This would be more akin to jailbreaking your nintendo switch and installing linux. An IOT platform that's intended to be secure can be tricked into revealing it's key. Most consumers aren't going to write custom firmware for their lightbulbs. Of course, I think this exploit is impractical for a lot of cases given how the ESP32 is typically used, but, ymmv.

The point of locking out game consoles owners is to protect the software vendors. What's the point with IoT?
Post reply on HN