Comment on A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stick
You are viewing one comment and its replies. View all comments · View the comment above
You are viewing one comment and its replies. View all comments · View the comment above
Comments
you don’t have to worry about that when you’re starting from a cyrptographic-strength key, rather than a low-entropy password. key derivation can be as fast as you want it to be and you’ll still run out of energy in the observable universe before you manage to brute force the tpm’s secret, even if it’s just a 256-bit one.
slow kdfs are just copium to make weak passwords slightly less weak.
Are the inputs of “serial number of motherboard,” “serial number of UFS” random enough to make the KDF safe to generate each time?
I guess my question is moving more to “what cryptographically secure inputs are being used if a secure key isn’t stored”
It should have one single starting seed baked in, call it the super secret internal tpm key. That one makes sure every tpm is uniqe and cannot be replicated or deduced.
The manufacturer might in theory know it.
So Bitlocker uses TPM private key + Hard drive serial number, and something like ECDSA to generate the key?
tpm private keys stay in the tpm. You can hand it some data and it’ll shuffle it based on its internal key at the moment, which is based on all the checksums it ingested and its starting seed.
You can’t just ask tmp to give you its true state, cause then you could emulate it if there were further ingested checksums (“advances”).
No clue if bitlocker throws in hard drive serial, but it might. The tpm may then encrypt it with its current state, via whatever hardware function it uses. Bitlocker is probably asking for symmetric encryption I would assume, so not ecdsa. But who knows.
The tpm generates the key, and then since bitlocker is just ripping of luks, I assume this like 256 bit key opens a luks key slot that is a much larger key that then opens the master key and lets you actually read the drives data. That is all in normal software then, from the point the tmp spits out those 256 bits.
I think you’re agreeing with me here
I don’t think the underlying encryption key is re-derivated, I think the TPM is used to unlock that key