利用重放保护单调计数器暴力破解 Windows Hello PIN 码
Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs

原始链接: https://arxiv.org/abs/2611.18126

研究人员首次对用于 x86 固件 TPM 的重放保护单调计数器(RPMC)进行了实用安全分析;这些计数器用于保护 SPI 闪存中存储的 Windows Hello PIN 锁定状态。他们发现了严重缺陷:Winbond SPI 闪存在电压毛刺攻击下泄露 HMAC 密钥,从而允许任意伪造计数器;AMD 的 NV 控制器未能验证 RPMC 递增,允许静默抑制。部分没有 RPMC 闪存的 AMD 平台完全缺乏 NV 回滚保护。这些缺陷允许攻击者回滚 fTPM 状态(包括锁定计数器),从而对低熵 PIN 进行暴力破解。在锁定且加密的硬件上,4 位 Windows Hello PIN 可在 40 小时而非 69 天内被破解,进而获得设备绑定密钥和企业单点登录访问权限。同样的技术将默认 6 位 PIN 的 BitLocker TPM+PIN 最坏情况破解时间从 19 年缩短至 20 天。该研究表明,物理可访问的回滚保护机制存在系统性弱点。

Hacker News 帖子讨论了利用重放保护单调计数器暴力破解 Windows Hello PIN 的研究。短 PIN 依赖 TPM 在 32 次失败尝试后锁定,但固件 TPM 将状态存储在外部 SPI 闪存中。攻击者可以重放旧的加密状态以重置失败尝试计数器,从而大幅加速暴力破解:4 位 PIN 从 69 天降至 40 小时,6 位 BitLocker TPM+PIN 从 19 年降至 20 天。受影响的系统包括所有 AMD 系统以及使用 Winbond RPMC 闪存的系统(包括 Intel);攻击需要物理访问。研究人员于 2 月向 AMD 披露,但尚未有明确的修复方案。缓解措施:使用更长的 PIN 或密码短语。
相关文章

原文

[Submitted on 13 Nov 2026]

View a PDF of the paper titled Hello Again: Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs, by Christian Werling and 5 other authors

View PDF HTML (experimental)
Abstract:Windows Hello is the primary authentication mechanism on over one billion Windows 11 devices, supporting PINs as short as four digits. Such low-entropy PINs are viable only because the TPM's anti-hammering protection mitigates brute-force attacks. Most modern x86 platforms rely on firmware TPMs (fTPMs) that persist their non-volatile (NV) state, including the lockout state, to SPI flash. On newer platforms, rollback prevention of this state is delegated to the flash chip via Replay Protected Monotonic Counters (RPMCs), a JEDEC-standardized mechanism operating over a physically accessible bus.
We present the first practical security analysis of RPMC in shipping x86 systems. Using low-cost interposer hardware, we identify multiple implementation flaws, two of which fundamentally undermine RPMC's security model: First, Winbond SPI flash - the leading NOR flash vendor with over 25% market share - leaks its HMAC key under voltage glitching, enabling arbitrary counter forgery. Second, AMD's NV controller does not verify RPMC increments, so an interposer can suppress them unnoticed. Moreover, AMD platforms without RPMC flash appear to lack NV rollback protection altogether: on two AMD desktops, reflashing an old image resets the fTPM's lockout counters.
Both flaws enable rollbacks of the fTPM's NV state (AMD, Intel, or Pluton), including its lockout counters. We demonstrate this end-to-end on locked, encrypted hardware: our setup finds a 4-digit Windows Hello PIN in 40 hours instead of 69 days. A compromised PIN also grants access to device-bound keys and Hello-based enterprise SSO. The same primitive defeats BitLocker's TPM+PIN pre-boot protector, reducing the worst-case time for a default-length 6-digit PIN from 19 years to 20 days.
From: Christian Werling [view email]
[v1] Fri, 13 Nov 2026 12:53:55 UTC (1,565 KB)
联系我们 contact @ memedata.com