2 comments

  • codethief 17 minutes ago

    Oof, these are devastating results. I have always been hesitant to put too much trust in TPM chips and have preferred choosing long passphrases instead of short PINs, and now I know why.

    • cwerling 1 day ago

      Author here. Short version:

      Windows Hello PINs are often just 4-6 digits. What makes that safe is the TPM's lockout: after 32 wrong guesses, one try every 10 minutes. On most PCs the TPM is a firmware TPM inside the CPU (AMD PSP, Intel CSME, Pluton), which keeps its state, including the failed-attempt counter, encrypted on the external SPI flash. Encryption doesn't stop replay: restore an old copy and the TPM forgets your failed guesses.

      - 4-digit Windows Hello PIN: 40 hours instead of 69 days

      - 6-digit BitLocker TPM+PIN: 20 days instead of 19 years

      Affected:

      - All AMD systems we know of. Without RPMC (JEDEC's secure counters in the flash chip) AMD doesn't detect rollbacks at all. With RPMC, AMD never verifies counter increments, so our Pi Pico based interposer just suppresses them.

      - Systems with Winbond RPMC flash, including Intel: voltage glitching leaks the RPMC key, so the interposer can forge counters.

      It's a physical attack (stolen laptop, evil maid): you need to open the device and get at the flash chip.

      We told AMD in February. It could fix this in firmware but hasn't committed to a fix. The key leak needs a Winbond hardware revision; Winbond hasn't told us it will do one.

      Until then: treat your PIN like a password, or use at least a 6-digit Hello PIN and an 8-digit BitLocker PIN if numeric only.

      Presenting at ACM CCS tomorrow, happy to answer questions here.

      • layer8 1 hour ago

        I want a TV show about the evil maid scenario.