News for hackers. Stuff that matters.
Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by Dylan16807 on Saturday June 26, 2021 @07:12PM (#27646874)
I don't want most session cookies to know I'm the same person from a previous cookie. And even if they know I'm the same person, I'd prefer they still not know whether the device I just logged in on is the same as a previous device.

Separately from that, using the TPM to lock the session cookie to the device sounds useful.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by staticassertion on Saturday June 26, 2021 @07:17PM (#27646904)
I think we should differentiate a TPM backed cookie from, say, a tracking cookie. It isn't like an arbitrary website can track you with the TPM. TPMs aren't exposed to the web by any browser, at least to my knowledge - except through intermediary protocols provided by something like webauthn or an extension (Extended Verification, for example).

Again, maybe someone more knowledgeable can explain more - I'm a consumer of TPMs, and I understand the concept, but I'm no expert.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by my123 on Saturday June 26, 2021 @07:31PM (#27646997)
For a web exposed use case: TPMs are used as part of Windows's FIDO2 implementation, to make sure that the secret actually cannot be exfiltrated to other hardware.

That doesn't come with any particular privacy concerns however.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by staticassertion on Saturday June 26, 2021 @07:35PM (#27647028)
Right, I meant that there's no javascript API to communicate with a TPM directly as far as I know. You can still use a TPM as part of your auth to a website, it just has to go through a protocol where the browser handles the interaction. So a website can't leverage the TPM for tracking purposes afaik.

But web is really not so much my thing, so I'm now at the point where I'm probably going to start saying incorrect things.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by my123 on Saturday June 26, 2021 @07:42PM (#27647069)
It's too low level of an interface to directly expose to web apps tbh.
Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by tehbeard on Sunday June 27, 2021 @02:04AM (#27649010)
Ah so the vendors implementing the WebAuthN spec in their browser can use the TPM as "secure storage" for the related keys?
Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by my123 on Sunday June 27, 2021 @06:29AM (#27650317)
Yes.
Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by Dylan16807 on Saturday June 26, 2021 @07:30PM (#27646991)
Well you can't secure normal cookies against extraction with a TPM, because you have to extract them to use them.

So the question is how a particular protocol works, and whether a site can still identify you after you've deleted your session cookie. As far as I understand it, if you were wantonly using webauthn for all your session cookies, it would be relatively easy for a site to check if you're the same person as before.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by my123 on Saturday June 26, 2021 @07:32PM (#27647003)
> because you have to extract them to use them

Nope, the thing is that you ask the TPM to sign something with the key/secret, but the TPM will not allow you by design to exfiltrate the secret.

Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by Dylan16807 on Saturday June 26, 2021 @07:58PM (#27647154)
Doing that would not be a normal cookie, which is my point.
Re:Installing Windows 11 on Legacy BIOS Without Secure Boot by staticassertion on Saturday June 26, 2021 @07:37PM (#27647042)
You would have the TPM hold a secret that's used to repeatedly re-authenticate the session. Though today I don't know that this is often the supported workflow - for example, most of my TPM-based policies only enforce device-authentication on sign-in and not on every API call.