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

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

> Hacker News story 50517375 · language: en · submitted 2026-11-16
> Web version: https://zeli.app/story/50517375
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 68 · by [cwerling](<https://news.ycombinator.com/user?id=cwerling>) · 💬 5
[original](<https://arxiv.org/abs/2611.18126>) · [HN discussion](<https://news.ycombinator.com/item?id=50517375>)

## Summary

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.

## Key quote

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

## HN discussion (5 comments)

### [codethief](<https://news.ycombinator.com/item?id=50536264>)

> 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.

### [k_sze](<https://news.ycombinator.com/item?id=50540918>)

> WHY didn’t AMD verify counter increments???

### [cwerling](<https://news.ycombinator.com/item?id=50517376>)

> 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.

---

## Cite

- Page: https://zeli.app/story/50517375
- Date: 2026-11-16
- Source: arxiv.org (https://arxiv.org/abs/2611.18126)
- Hacker News: https://news.ycombinator.com/item?id=50517375

## Other languages

- zh: https://zeli.app/zh/story/50517375 · markdown: https://zeli.app/zh/story/50517375.md
- ja: https://zeli.app/ja/story/50517375 · markdown: https://zeli.app/ja/story/50517375.md
- ko: https://zeli.app/ko/story/50517375 · markdown: https://zeli.app/ko/story/50517375.md
- de: https://zeli.app/de/story/50517375 · markdown: https://zeli.app/de/story/50517375.md
- es: https://zeli.app/es/story/50517375 · markdown: https://zeli.app/es/story/50517375.md
- ru: https://zeli.app/ru/story/50517375 · markdown: https://zeli.app/ru/story/50517375.md
