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
But Microsoft is able to recover bitlocker keys. That’s why I’m saying the key can’t use the TPM’s internal state for the final key encrypting the drive https://support.microsoft.com/en-us/windows/security/encryption/find-your-bitlocker-recovery-key
The final key must be stored somewhere (on Android, I believe it’s in RPMb, protected by the TEE) and the TPM is unlocking that, let’s call it a partition
I agree with your assessment of what the TPM will or won’t allow, I just don’t agree that Bitlocker is storing the (I assume AES512? bit key) with the TPM itself. The TPM is used to extract that key from some protected storage location
The entire attack requires a Microsoft account to be used to bypass the reset flow
They’ll have a different slot enrolled in luks. So they can bypass the entire tpm related stuff, directly unlock luks, and then using that master key can also make a new key and enroll it to overwrite the old tpm slot.
In Linux the tpm setup is also recommended paired with a second password slot, so that when tpm shits the bed you can unlock with that password.
I mentioned it earlier in passing, but luks itself has a master key, and every slot contains a (locked) key that can decrypt the master key, and the mater key can decrypt the disk.
So the small tpm-“restored” key unlocks one of the larger slot keys in luks, which unlocks the master key, whoch unlocks the disk.
This is definitely not the case on x86, the tpm has essentially no unique storage. Stuff you wrapped is still plainly readable. e.g. on Linux+clevis+luks+tpm it’s in the luks2 header inside the specific keyslot used for tpm. Normally the luks header can be seen by anyone with access to the device.
The point of the tpm isn’t to guard some other hardware storage but to use its starting seed, handfull seed registers, and internal crypto hardware to sign and en/decrypt (same operation) inputs without revealing the seeds.