3 ms·
The trouble is we keep conflating two different things. Something that works like a hardware security module, where it stores your keys and tries to restrict w
by AnthonyMouse 3y ago
The trouble is we keep conflating two different things.
Something that works like a hardware security module, where it stores your keys and tries to restrict who can access them, has some potential uses. The keys are only in your own device, so someone can't break an entirely different device or a centralized single point of failure to get access. And this can't be used against the user because both the device and the key itself are still fully in their control -- they could put a key in the HSM and still have a copy of it somewhere else to use however they like.
Whereas anything that comes with a vendor's keys installed in it from the factory is both malicious and snake oil. Malicious because it causes the user's device to defect against them and some users aren't sophisticated enough to understand this or bypass it even if malicious attackers can, and snake oil because you can't rely on something for actual security if a break of any device by anyone anywhere could forge attestations, since that is extremely likely to happen and has a long history of doing so.
- lxgr 3y ago> Anything that comes with a vendor's keys installed in it from the factory is both malicious and snake oil. I don't agree that all trusted computing use cases are inherently user-hostile. DRM is a well-known example, but e.g. Signal used to do interesting things server-side using (now no-longer trusted, ironically) Intel SGX/TXT, like secure contact matching or short PIN/password security stretching for account recovery. Android Protected Confirmation [1] is also trusted computing at its core, but can be used to increase security for users (although I could also see that usage encourage a device vendor monoculture, since every app vendor needs to select a set of trusted device manufacturers). > snake oil because you can't rely on something for actual security if a break of any device by anyone anywhere could forge attestations Attestation keys are usually per-device, so if indeed only one device gets compromised at great attacker expense, it's usually possible for a scheme to recover. If all devices just systematically leak their keys as has certainly happened in the past, that won't help, of course. [1] https://android-developers.googleblog.com/2018/10/android-protected-confirmation.html https://android-developers.googleblog.com/2018/10/android-pr...
- AnthonyMouse 3y ago> e.g. Signal used to do interesting things server-side using (now no-longer trusted, ironically) Intel SGX/TXT Because this is the "snake oil" prong of its failure -- and why it's no longer trusted. > Android Protected Confirmation This could be implemented without any vendor keys. You associate the user's own key with the user's account. > Attestation keys are usually per-device, so if indeed only one device gets compromised at great attacker expense, it's usually possible for a scheme to recover. That's assuming it matters at that point. The attacker doesn't care if you revoke the keys after they steal your money. And once they extract a key from one device, they have a known working procedure to get more. For non-software extraction most of the expense is the equipment which they'd still have from the first one. > If all devices just systematically leak their keys as has certainly happened in the past, that won't help, of course. And is likely to happen in the future, so any design that makes the assumption that it will not happen is clearly flawed.
- lxgr 3y ago> This could be implemented without any vendor keys. You associate the user's own key with the user's account. But how would you bootstrap this? How do you make sure the initial key was actually created in the secure exceution environment and not created by MITM malware running on the main application processor? If this was that easy, FIDO authenticators wouldn't need attestation either. > That's assuming it matters at that point. The attacker doesn't care if you revoke the keys after they steal your money. If attacking a single device costs a few millions, it definitely does matter, since you'd need to expend that effort every single time (and you'd be racing against time, since the legitimate owner of the device can always report it as stolen and have it revoked for transaction confirmation, transfer their funds to another wallet etc.) > And is likely to happen in the future, so any design that makes the assumption that it will not happen is clearly flawed. How does some implementations falling apart imply all possible implementations being insecure? Smartcards are an application of trusted computing too, and there have been no successful breaches there to my knowledge. The fact that the manufacturers specialize in security, not in general-purpose computing like Intel and only occasionally dabble in security, probably helps.