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
They are re deriving the key every time. It is a cheap operation and no, any sane TPM manufacturer will not make a TPM that has operation to anyway extract their key. Think of TPM a fancy math hardware which only expose a function called add, but only accept 1 parameter. You don’t know what the addition number is besides what you provide to it (of course in reality it is not a function that can be trivially deduced)
very apt username, btw
I am surprised because you don’t want the generation of the key to be fast - that allows brute force attacks to be simple
I know more about the Android side, but there they have the disk encryption key that takes a long time to generate locked behind a faster encryption scheme for FBE down in the TEE
On Windows, do they use a fast encryption method, or do they just not care about boot speed?
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?