And ultimately, that's why I don't use GrapheneOS.
But it could be a great OS if it didn't insist on denying owners control of their devices, so it's a shame.
It's looking like this case wasn't even a security fix, just DRM.
Conversation
Verified boot is an important security feature primarily used to make privileged persistence much more difficult for an attacker. If they can simply write out a vulnerable SoC boot chain, it doesn't work. It's secondarily used for anti-tampering and the same thing applies to it.
2
Yes, but my security model (for my phone) assumes I always have physical custody of my phone, so verified boot is worthless to me.
I understand and agree it is important to others.
I'm not suggesting taking any of that away from them.
2
1
The primary threat model for verified boot is defending against a remote attacker trying to persist on the device, not physical security. Anti-tampering is a secondary and less important threat model for verified boot. Chromebooks don't really bother even trying to do that part.
3
1
If the owner could re-flash the entire device, it wouldn't be possible for a remote attacker to persist in the first place...?
1
You flash device by interacting with firmware on the device and there are a whole bunch of components which have firmware: SoC firmware including firmware for GPU, media encode/decode, image processing, crypto engine, TEE and much more, touchscreen, battery, USB controller, etc.
2
I guess we're now entering the realm of "what if", but it would be nice to have a ROM that can be used to clean flash it.
(And open source firmware for everything)
1
Open source firmware for everything implies making a new SoC based on open RISC-V core designs and creating a GPU and all the other components like the memory controller, USB controller, battery, touchscreen, TEE, secure element, etc. as part of that too.
2
Open source firmware doesn't imply not having verified boot and rollback protection.
Trusty OS and OpenTitan are open source so there's a starting point for making TEE and secure element with the same base that current and future Pixels will be using for the foreseeable future.
1
Verified boot is okay, so long as the owner makes the decisions and controls the chain of trust.
Rollback protection, however, is pretty incompatible with open source. There is no "backward" when an attacker can just add the exploit "feature" to a new version.
1
Rollback protection is an inherent part of verified boot because any non-trivial software is going to have vulnerabilities. It's feasible to make a bootrom that's highly secure and doesn't have vulnerabilities found but it's really not feasible to avoid it in all that firmware.
As long as the owner is the one signing everything, the owner can just change the keys entirely if a rollback could be a threat.
The OS itself certainly needs rollback protection for verified boot to work because there are endless Linux kernel vulnerabilities, etc. Really important for the TEE and secure element to work in general too. OS could just downgrade them to vulnerable versions otherwise.
1
Also, with the owner signing, where will an attacker get the vulnerable versions to roll back to?
This threat is 99% because it's the manufacturer signing rather than the owner.
1
1
Show replies

