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.

  • redjard@reddthat.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour 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.