logoalt Hacker News

pdonis • yesterday at 10:47 PM • 1 reply • view on HN

And an "average" owner who just wants to trust whatever was put on the phone and whatever Google tells them to trust can continue to do that under the scheme I described. It's their choice.

The problem is that people like me, who do understand what those words mean and do not want to have to trust Google, have no alternative under the current scheme, whereas under the scheme I described, they do. And people like me having an alternative is the first step to building something that can present a UI to "average" people that they can understand and that gives them a realistic alternative as well.


Replies

bri3d • today at 12:24 AM

What scheme are you actually proposing?

I'm really curious about proposed solutions to this problem.

To me the only approaches which could genuinely solve for the supply chain-compromised firmware issue (which is an active, in-the-wild problem) are a non-Google "regulator" determining which boot key sets are trusted, or a process where a "trusted" attested device could be used to enroll an "untrusted" attested device key for future use.

A non-Google regulator is a completely practical thing that could be done today using the existing APIs (it's basically SSL CAs, and is also an extension of what GrapheneOS keep asking people to do, which is use the existing hardware attestation APIs and additionally hardcode their trust database URL and key server-side and check against it) - but a true implementation of an independent Android regulator would be expensive, hard to maintain, and at the end of the day, still doesn't satisfy the desires of extreme-freedom users, since it's still a central body telling them what OSes they can have their banking apps on.

Giving the user some kind of "self-enrollment" attestation portal works iff the user has a second pre-enrolled attested device; otherwise, the malicious device can just enroll itself using its own access to the end-user's credentials (ie - log the user in, prompt them for 2FA on their phone, whoops, the phone's compromised, gets the 2FA, the malware logs in, and enrolls itself). However, doing this with a second pre-enrolled attested device isn't a bad idea and would probably be practical for many AltOS users (ie - you have to bootstrap your account using a device in an "trusted" attestation state to enroll your own "custom" attestation state for future use) - but again, it doesn't satisfy extremists.

Other ideas I've had that I don't think work:

Anything that can be done by an end-user on the phone isn't going to work; no part of the phone can be trusted. So any series-of-prompts, user-education, dance in circles 1000 times, "power user only" system doesn't work; the patched firmware can either remove it or, if it's a series of prompts done server-side, click through it. This entire style of approach has been proven ineffective by the massive prevalence of sideloaded malware campaigns, and with a possibly pre-compromised device, it only becomes weaker.

An in-person identity verification side channel (ie - if your phone fails attestation, you go to the bank and enroll it manually with someone checking your ID etc.) would also be outrageously costly and probably ineffective, since it would rely on a person performing the verification.

Of course, one could advocate for the the "let them eat cake" approach: disabling attestation and deciding that reducing widespread counterfeit-device fraud schemes isn't worth the inconvenience of European banking apps not working on custom firmwares. I think there's some validity to this viewpoint from a slippery slope perspective, but I don't think it's an evil conspiracy that banks, governments, and Google don't want to go this route.

➕ show 1 reply