Researchers crack a 4-digit Windows Hello PIN in 40 hours by defeating TPM rollback protection

Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs

Windows Hello relies on the TPM's anti-hammering lockout to make short PINs safe. But on modern x86 systems, that lockout state lives in SPI flash and is protected by Replay Protected Monotonic Counters (RPMCs). Using a cheap interposer, the authors show that Winbond flash leaks its HMAC key under voltage glitching, and AMD's controller doesn't verify RPMC increments—so lockout counters can be rolled back. They brute-force a 4-digit PIN in 40 hours instead of 69 days, and cut a 6-digit BitLocker PIN from 19 years to 20 days.

Our setup finds a 4-digit Windows Hello PIN in 40 hours instead of 69 days.
  1. codethief

    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.

  2. k_sze

    WHY didn’t AMD verify counter increments???

  3. cwerling

    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.

More from this day

2026-11-17