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
    ·
    20 hours ago

    When it comes to decryption, the tpm will give out a key that depends on all those previous inputs. If any step of the chain was different, the key will be different.

    I thought TPMs worked more like RPMb? Isn’t the key physically stored in some memory region, but it just refuses to give it out unless the inputs are cryptographically correct?

    I didn’t think it was re-deriving the Bitlocker key each time?

    • bitfucker@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 hours ago

      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)

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

        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?

        • b3nsn0w@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          15 hours ago

          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.

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

            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”

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

              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.

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

                So Bitlocker uses TPM private key + Hard drive serial number, and something like ECDSA to generate the key?

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

                  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.

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

                    I think you’re agreeing with me here

                    , I assume this like 256 bit key opens a luks key slot that is a much larger key that then opens the master key

                    I don’t think the underlying encryption key is re-derivated, I think the TPM is used to unlock that key