News for hackers. Stuff that matters.
Re:UEFI Secure Boot on the Raspberry Pi by joezydeco on Thursday May 04, 2023 @01:36PM (#35819214)
That kind of defeats how secure boot works.
Re:UEFI Secure Boot on the Raspberry Pi by ilyt on Thursday May 04, 2023 @02:54PM (#35820361)
If you need to physically get into a device with CM4 or rPi to reset it....

...and you are malicious actor wanting to put a backdoored system in

...you could just get the new rPi in it, that's not blocked.

Re:UEFI Secure Boot on the Raspberry Pi by dingledork69 on Thursday May 04, 2023 @06:30PM (#35822980)
No. You'd still lose access to the encryption keys so the data would still be safe. But it would allow you to start over without throwing the entire device in the trash and buying a new one.
Re:UEFI Secure Boot on the Raspberry Pi by userbinator on Thursday May 04, 2023 @08:19PM (#35823867)
This is similar to how MCU read protection usually works --- once you set it, you can't (easily, at least --- but still possible with the right equipment or $$$) read out the firmware, but you can still do a "full erase" which clears the device to an entirely clean blank state.
Re:UEFI Secure Boot on the Raspberry Pi by 1827163 on Friday May 05, 2023 @12:17PM (#35831396)
Many STM32 MCUs don't even allow this, you have to physically replace the device if it's set to full protection, as it cannot be reversed. Yes, built in self-destruct.

See page 5 of the following document, it is the Level 2 protection that's irreversible: https://www.st.com/resource/en/product_training/STM32F7_Secu...

The PIC32 MCUs I use always allow you to reverse the protection, after erasing the device.

Re:UEFI Secure Boot on the Raspberry Pi by AlotOfReading on Friday May 05, 2023 @02:26AM (#35825840)
Secure boot doesn't require disk encryption of any sort, that's simply a common additional feature that the RPi happens to support. Being able to change the public keys without a verified key update inherently violates the ARM security model here.
Re:UEFI Secure Boot on the Raspberry Pi by dingledork69 on Friday May 05, 2023 @11:19AM (#35830372)
That's only relevant for device manufacturers who want to prevent the device owners from controller their hardware. This is evil and not a use case worth supporting.

Normal users care about secure boot because it protects their disk encryption.

Re:UEFI Secure Boot on the Raspberry Pi by joezydeco on Friday May 05, 2023 @02:43PM (#35833512)
I'm the IoT node design space and this is what we use. There is no sales or use case to repurpose the device one it's at the end of life, and we don't want people to do as such.

The point of secure boot is to make sure it's only our firmware running, and only our firmware connecting to our backend with the appropriate keys. Anything else is a security nuisance at best and an company killing problem at worst.

We're willing to sacrifice the SoC in those cases. Your mileage may vary.

Re:UEFI Secure Boot on the Raspberry Pi by dingledork69 on Friday May 05, 2023 @04:53PM (#35835035)
First, you should never trust the client.

Second, you're creating e-waste when you go out of business. This is not something that should be legal.