The blast radius is narrower than the technique suggests however. There is no remote component, so the attacker must be physically at the keyboard and know the right combination of keys. The machine must also have at least one account linked to an online Microsoft account, because the reset flow that anchors the attack depends on it.

Devices running only local accounts are not affected.

  • ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    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

    • redjard@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      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.

      TPM is used to extract that key from some protected storage location

      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.