I've heard e-fuses in general are vulnerable to optical inspection under polarized light after deliding a part. So if someone capable really wanted to clone a device, it's very possible they already were able to get the e-fuse key values. I once used the e-fuse feature of another part for bootloader integrity. I wasn't worried about encryption, but the part would validate the bootloader integrity when encrypted. If i…
Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
61–70 of 78 posts
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#62I'm wondering, how many companies that use ESP32 actually use the firmware security feature?
Almost everyone who's selling a real device, in my experience. It's pretty standard to disable firmware reads in embedded cpu products.
Since I first started work in OEM electronics in 2007, I only saw that being requested 3 times.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#63This 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…
If I'm not mistaken, buying one of a device and tearing it down like this would yield keys that would let you create "official" firmwares for all of the other ones of their kind and set up a fake update site allowing you to remote exploit all of the others, yes? If so this is a fairly serious hack especially for devices that auto-update OTA.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#64Earlier quoted context omitted.
Just piggy backing on the top comment to point out that the primary concern here is not necessarily for the security of the devices that you own and physically control (although that could be an issue in some cases, if others can access them too), but for the IP of the OEM which can now be extracted and flashed to cloned boards. So this may well be a serious issue for some of Espressif's customers, who are mostly OEM…
In other words, it’s good for users, who’s should have access to the source much less the binary anyway.
Owners have physical access to their devices, but so do others. It's far from obvious to me that as owner, I benefit from elevated privileges, when anyone with temporary physical access also get the same elevated privileges.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#65Earlier quoted context omitted.
> So this may well be a serious issue for some of Espressif's customers, who are mostly OEMs I highly doubt that. From what I know, that feature was more of a nod to their customers from the West. To most Chinese entrepreneurs, it makes no sense how your software being copied be an issue: 1. If you have a real specific reason why disclosure of your code be an end to your business, it will get hacked and copied anyway…
So how do Chinese Entrepreneurs maintain competitive advantage and profit ?
1. Do not strike gold — look for an easily entrechable position in niche market, like a lot of companies in US do
2. Economies of scale — works until your competitor bribes a banker for a giant loan
3. Be one step ahead — look at FAB business. In microelectronics fabrication, everybody copy each other, and you can't do anything about it, but somehow companies still maintain their positions
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#66This 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…
> Isn't that a good thing for me as a consumer? I like the ability to decrypt and modify my own devices. If you're the sort of person who buys wifi-based-internet-enabled door bells, but you don't want someone who steals your doorbell to (a) be able to extract your wifi password or (b) be able to get the thing to work at all, you might appreciate resistance to the thief's attacks. Of course, you can also address this…
Another solution is to use a second gateway inside the house that manages the Wifi part and secure communication with the doorbell via short range radio.
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#67Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#68If so, there might be a bounty out for it...
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#69Earlier quoted context omitted.
> So this may well be a serious issue for some of Espressif's customers, who are mostly OEMs I highly doubt that. From what I know, that feature was more of a nod to their customers from the West. To most Chinese entrepreneurs, it makes no sense how your software being copied be an issue: 1. If you have a real specific reason why disclosure of your code be an end to your business, it will get hacked and copied anyway…
So how do Chinese Entrepreneurs maintain competitive advantage and profit ?
Re: Pwn the ESP32 Forever: Flash Encryption and SEC. Boot Keys Extraction
#70Earlier quoted context omitted.
Just piggy backing on the top comment to point out that the primary concern here is not necessarily for the security of the devices that you own and physically control (although that could be an issue in some cases, if others can access them too), but for the IP of the OEM which can now be extracted and flashed to cloned boards. So this may well be a serious issue for some of Espressif's customers, who are mostly OEM…
I have a product in the field, Chinese clones are on the market using my firmware that was pulled via voltage glitch. Two things, 1. You know you’ve made it when there is a Chinese clone of your product. 2. I’ll never use that chip again.