Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

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

Published 13 Nov 2026 in cs.CR | (2611.18126v1)

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.

Summary

  • The paper reveals how Replay Protected Monotonic Counters (RPMCs) in contemporary x86 platforms can be compromised to brute-force Windows Hello PINs through voltage glitching and flash rollback.
  • The research identifies defects in both the SPI flash hardware and the SoC controllers, allowing for the resetting of PIN attempt lockout states via physical access.
  • This work shows significant speedups in brute-forcing Windows Hello PINs and BitLocker TPM+PIN, making six-digit PINs practical to crack and highlighting broader implications for authenticated login mechanisms.

Security objective and threat model

The paper examines whether Replay Protected Monotonic Counters (RPMCs), used by contemporary x86 platforms to protect firmware TPM (fTPM) non-volatile state, actually preserve the anti-hammering guarantees on which short Windows Hello and BitLocker PINs depend. Its central claim is that the security boundary has shifted from the fTPM’s isolated execution environment to the SPI flash device and its controller, where implementation defects permit rollback of TPM state. The authors analyze shipping systems and demonstrate practical attacks against locked and encrypted laptops rather than limiting their evaluation to isolated components or emulation (2611.18126).

The attack model is physical access to the target platform and its SPI flash interface. The adversary may attach an SPI controller, observe and manipulate bus transactions, reprogram flash contents, and induce voltage glitches on the flash supply. This is consistent with the threat model anticipated by the RPMC specification, which was intended to address attackers capable of interacting directly with the serial flash device. The model does not assume compromise of the AMD PSP, Intel CSME, Microsoft Pluton, or the fTPM itself. Consequently, the results concern the integrity of externalized TPM state rather than the confidentiality of fTPM execution.

The security property under examination is rollback resistance. TPM Dictionary Attack Protection stores failed authorization counters in persistent state and enforces a limit—normally 32 failed attempts, followed by a recovery interval. If an attacker can restore an earlier NV image, the TPM can be returned to a state with fewer failed attempts. Repeating this process transforms a nominally rate-limited PIN search into a sequence of independent attempts across reboots. The attack therefore does not defeat the PIN verification algorithm or extract the PIN directly; it invalidates the state continuity required for anti-hammering.

RPMC architecture and the exposed trust boundary

RPMC extends SPI NOR flash with authenticated commands for initializing a per-counter Root Key, installing a session-specific HMAC key, incrementing a monotonic counter, and reading the counter. The intended protocol binds counter responses to an authenticated session and prevents an attacker from presenting an older NV image together with an older counter value. In the systems studied, the fTPM state is encrypted and integrity-protected by the SoC’s NV controller, while the RPMC counter is held by the external flash chip.

This architecture creates a compound security dependency involving the JEDEC protocol, the flash implementation, the SoC-side NV controller, firmware integration, and the physical SPI bus. The paper’s broader architectural observation is that fTPMs reduce exposure by moving TPM logic into a security coprocessor, but RPMC-backed persistence reintroduces security-critical operations onto an externally accessible bus. A cryptographically protected fTPM state is therefore insufficient if the mechanism that establishes its freshness can be forged, suppressed, or omitted.

The authors evaluated nine systems spanning AMD Zen 2, Zen 3, Zen 5, Intel Core, Intel Core Ultra, and Microsoft-branded Copilot+ platforms. Four used RPMC or Winbond’s functionally similar Authentication Flash. The study also tested Winbond, Macronix, and GigaDevice RPMC components at multiple supply voltages. This combination of component-level testing, bus tracing, controller analysis, and live end-to-end attacks is important: several individual findings have limited impact in isolation, but become exploitable when combined with platform-specific integration behavior.

Flash-level vulnerabilities

The component analysis identified three classes of defects. First, Winbond, Macronix, and GigaDevice counters wrap from the maximum 32-bit value to zero. This violates the expected monotonicity of the counter. The authors measured approximately four to six weeks for a complete overflow under their experimental setup, although a theoretical implementation could reduce this to several days by precomputing signatures and optimizing transactions. The practical relevance to TPM-state rollback is limited because an attacker would need to coordinate multiple overflows to reuse arbitrary historical states. The finding is more serious if RPMC is used as a firmware ratchet: after wraparound, older firmware versions could again satisfy a version-number comparison.

Second, GigaDevice flash is susceptible to voltage-induced corruption during counter reads. The chip can return a faulty counter value carrying a valid signature and matching request tag. The observed success probability was approximately 10 percent under tuned glitch parameters. The authors did not use this behavior in their end-to-end attack because the returned values were insufficiently controllable and would require repeated manipulation. Its significance is therefore application-dependent: a controller that accepts any authenticated but incorrect counter value would be vulnerable, whereas a design that cross-checks counter progression could constrain the impact.

The most consequential flash finding concerns Winbond’s HMAC engine. By glitching the device during processing of Update HMAC Key Register, the authors caused the calculated HMAC session key to remain in a readable register and subsequently be returned by Read Extended Status. The key could be extracted in roughly one second using a tuned crowbar glitch. The attack succeeded on both 3.3 V and 1.8 V parts and against a chip installed in a commercial laptop.

This is not merely a partial fault attack. Possession of the session HMAC key enables an interposer to forge authenticated counter responses with attacker-selected values. The authors characterize the effect as nearly equivalent to Root Key compromise because the attacker can repeatedly establish sessions and produce valid responses for the current key material. The defect also contradicts the power-glitch-aware requirement reproduced in Winbond’s datasheet. The proposed root-level mitigation is a silicon revision that prevents secret intermediate values from entering externally readable response registers and robustly detects or contains fault injection.

Controller and integration failures

The AMD and Intel NV controllers introduce distinct failures. Intel systems tested the RPMC counter after each increment by issuing a subsequent counter request. AMD systems did not perform this verification. On AMD, the controller therefore treated the issuance of Increment Monotonic Counter as sufficient evidence that the counter had advanced.

This omission enables a simpler attack than Winbond key extraction. An interposer can suppress the increment command before it reaches the flash chip and fabricate an apparently successful status response. Because no cryptographically authenticated counter read follows, the AMD controller accepts the false success indication. The attack works independently of the flash vendor’s RPMC implementation and requires neither the Root Key nor the HMAC key. The authors demonstrated this path on an HP OmniBook 3 using GigaDevice flash and argue that the same usage pattern affects Microsoft Pluton when it relies on the same AMD-side RPMC operation.

The paper also identifies constant HMAC session material in Intel traces. Intel systems used the same Key Data value, 0x1, across boots and counters. This is not independently sufficient to defeat RPMC, and the authors classify it as a security weakness rather than a standalone vulnerability. However, it changes the economics of the Winbond attack: the attacker needs to extract the relevant HMAC key only once, after which the key can be replayed across subsequent boots. Randomizing Key Data on every session would prevent this persistence and limit the effect of a one-time leakage event.

A separate and particularly important result concerns systems without RPMC-capable flash. On two AMD desktops using Zen 2 and Zen 5, rewriting an earlier SPI flash image restored the fTPM lockout counters. The paper therefore concludes that these systems appear to lack an independent rollback-protection mechanism for AMD NV state. By contrast, tested Intel systems without RPMC rejected naive state rollbacks, consistent with a CSME-side timer or anti-replay mechanism. The authors explicitly qualify the AMD conclusion as based on two systems, but the result expands the affected population beyond RPMC-equipped platforms: on some AMD systems, the absence of RPMC may be as problematic as a defective RPMC integration.

Practical rollback attacks

The authors built a low-cost interposer around a Raspberry Pi Pico 2W, a programmable-input/output state machine, a high-speed multiplexer, voltage-level translation, and a flash-supply glitch circuit. The design listens to QSPI traffic at clock rates up to 100 MHz and switches the bus between the target controller, the physical flash chip, and attacker-controlled responses within tens of nanoseconds. This hardware demonstrates that the attacks do not require laboratory-grade FPGA equipment or invasive compromise of the SoC.

Two independent rollback paths were validated. On the AMD HP OmniBook, the interposer suppresses every relevant counter increment, returns success status to the controller, and restores a previously captured PSP NV image during reboot. On the Intel Framework Laptop 13, the attack uses Winbond’s leaked HMAC key to forge authenticated RPMC responses and present attacker-chosen counter values. In both cases, the target accepted expired NV state during boot.

The independence of these paths strengthens the paper’s central argument. A Winbond hardware revision would not remediate AMD’s unverified increment behavior, and an AMD firmware update would not remediate a vulnerable Winbond flash implementation on Intel systems. Conversely, the AMD path applies across RPMC flash vendors, while the Winbond path exposes systems whose controller does verify increments but trusts a flash component whose authentication state can be fault-injected.

Windows Hello brute force

Windows Hello combines a short numeric PIN with TPM-backed authorization and additional Windows-side throttling. The tested systems allowed five PIN attempts per boot, after which Windows required a reboot and imposed escalating delays. The TPM’s persistent lockout state normally permitted only one additional authorization attempt every recovery interval. The authors observed substantial configuration divergence: some systems used the documented 10-minute recovery time, whereas others changed it to two hours after Hello enrollment.

Without rollback, the calculated worst-case time for a four-digit PIN was 69 days under a 10-minute recovery interval and 833 days under a two-hour interval. These figures already expose the practical importance of configuration details: the recovery interval changes the brute-force duration by a factor of 12, and Microsoft’s documentation did not consistently describe the deployed behavior.

With NV rollback, the Windows-side five-attempt-per-boot limit remains, but the TPM lockout state and Windows reboot delays are reset. The authors automated PIN entry through a KVM and used the interposer to restore the earlier NV image during each reboot. On the AMD OmniBook, they measured approximately 4.14 attempts per minute. A proof-of-concept campaign tested 236 candidates and found the correct PIN in 57 minutes of net attack time. At this rate, the worst-case search for a four-digit numeric PIN falls to approximately 40 hours, compared with 69 days under the paper’s 10-minute baseline.

The attack therefore achieves roughly a 41-fold improvement over the documented TPM timeout and approximately a 498-fold improvement over the two-hour configuration observed on the target. The result has implications beyond local screen unlock. A compromised Hello PIN can authorize access to device-bound private keys and Hello-based enterprise SSO, including authentication workflows that organizations may treat as satisfying a second factor. The paper does not claim that every Hello deployment has identical timing or policy configuration; its claim is that the underlying rollback primitive defeats the state continuity on which these policies depend.

BitLocker TPM+PIN brute force

The same rollback primitive applies to any TPM-sealed secret protected by Dictionary Attack Protection. BitLocker’s TPM+PIN protector provides a stronger end-to-end demonstration because its pre-boot PIN prompt does not impose Windows Hello’s five-attempt-per-boot restriction or additional timeout. A rollback between boots restores the TPM’s full 32-attempt budget.

On the Intel Framework system, the authors used the Winbond key-leak path to roll back NV state and measured approximately 34.1 attempts per minute after optimizing the automation loop. Their demonstration tested 236 six-digit PIN candidates in 6 minutes and 55 seconds. The calculated worst-case time for the default six-digit BitLocker PIN is approximately 20 days, compared with 19 years under the paper’s 10-minute TPM recovery baseline. This represents an approximately 341-fold speedup.

The result generalizes the attack beyond Windows Hello and establishes that the flaw affects data-at-rest protection, not only interactive authentication. A successful BitLocker PIN search permits unsealing of the volume key on a locked device. The authors also describe, but do not experimentally validate, a stronger Hello scenario in which the attacker obtains the TPM object stored on disk and submits authorization attempts directly through an attacker-controlled operating system. That case could exploit the TPM’s 32-attempt budget per boot rather than Hello’s five-attempt interface limit, but it depends on access to the TPM object and is consequently outside the demonstrated attack.

Mitigations and engineering consequences

The most direct technical mitigation for AMD is to verify every allegedly successful increment by re-reading the counter and validating that it advanced as expected. The paper notes that Intel already follows this pattern. Firmware remediation must also prevent downgrade to vulnerable firmware versions; otherwise, an attacker could revert the NV controller to an earlier implementation that still accepts suppressed increments.

Winbond’s HMAC leakage requires a hardware revision because the defect occurs within the flash’s RPMC engine. Intel can reduce exposure by selecting fresh random session data and, on affected systems, potentially reverting to its independently implemented pre-RPMC anti-replay mechanism. For AMD systems lacking RPMC, the authors recommend adding an alternative rollback-protection mechanism rather than treating the absence of RPMC as sufficient.

Policy changes can increase attack duration without repairing the underlying primitive. Raising the minimum Windows Hello PIN from four to six digits increases the demonstrated worst-case rollback search from 40 hours to approximately 168 days. Raising the BitLocker TPM+PIN minimum from six to eight digits increases the corresponding estimate from 20 days to approximately six years. These measures narrow the practical attack window but do not restore rollback resistance, and they impose usability and administrative costs.

The paper also identifies a repairability consequence. Because the RPMC Root Key is provisioned into the flash device and is not available to ordinary repair personnel, replacing a failed RPMC flash can leave the platform unable to authenticate its replacement. The authors report that a Framework system with a failed RPMC flash effectively required motherboard replacement. This issue follows from the provisioning model and is independent of the PIN attacks, but it demonstrates that authenticated external storage changes hardware serviceability as well as security.

Limitations and open questions

The evaluation is broad but not exhaustive. The authors tested nine x86 systems, with detailed end-to-end demonstrations on one AMD laptop and one Intel laptop. The conclusions about AMD systems without RPMC derive from two desktops and are explicitly presented as likely rather than universal. OEM-specific firmware, PSP or CSME versions, flash substitutions, and future controller updates may change the observed behavior.

The attack requires prolonged physical access, board modification, flash-chip desoldering, and specialized timing-sensitive hardware. It is therefore not a remote attack and does not apply to an adversary limited to software execution on the running system. The paper does not establish that all systems using Winbond RPMC parts expose exactly the same bus timing or controller behavior, although the authors argue that the relevant integration patterns are widespread.

Several findings remain application-dependent. GigaDevice counter corruption was not used to perform rollback, and RPMC integer overflow is mainly relevant to long-lived ratcheting applications rather than immediate TPM-state attacks. The stronger direct-TPM-object Hello attack is theoretical in the paper. Non-x86 Windows systems, including Qualcomm platforms using related RPMB mechanisms, were not evaluated. Finally, the study does not resolve whether OEMs or SoC vendors determine the selected rollback architecture in every product line, limiting the precision with which affected-system inventories can currently be produced.

Conclusion

“Hello Again: Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs” (2611.18126) shows that TPM anti-hammering is only as strong as the persistence and freshness mechanism supporting its state. The paper identifies flash-level and controller-level failures that permit rollback of fTPM NV state without compromising the fTPM execution environment. Two independently demonstrated attack paths reduce a four-digit Windows Hello search from 69 days to 40 hours and a default six-digit BitLocker TPM+PIN search from 19 years to 20 days.

The principal result is architectural: RPMC does not provide meaningful rollback protection when its authenticated protocol is undermined by fault-injectable flash logic or when the SoC controller fails to verify counter advancement. Corrective firmware, hardware revisions, stronger PIN policies, and rollback-resistant provisioning are therefore separate requirements. Increasing PIN length can reduce practical exposure, but only repairing the state-continuity failure restores the security property claimed by TPM-backed authentication.

Whiteboard

Explain it Like I'm 14

1. What is this paper about?

This paper studies the security of Windows Hello PINs and the hardware designed to protect them.

Windows Hello allows people to unlock Windows using a short PIN, sometimes only four numbers long. A four-digit PIN has just 10,000 possible combinations, so someone could eventually guess it by trying many combinations. To stop this, Windows uses a security chip called a TPM. The TPM counts failed attempts and makes the attacker wait longer after too many wrong guesses.

The researchers found that some computer hardware can be manipulated so the TPM “forgets” that wrong PINs were already tried. This allows an attacker with physical access to the computer to keep guessing almost without limits.

2. What questions did the researchers ask?

The researchers mainly wanted to know:

  • Does the hardware that protects TPM data really prevent attackers from restoring an older version of the data?
  • Can attackers interfere with Replay Protected Monotonic Counters, or RPMCs, which are supposed to stop old data from being reused?
  • Can weaknesses in this hardware allow someone to defeat Windows Hello’s PIN lockout system?
  • Could the same attack affect other security features, such as BitLocker disk encryption?

In simple terms, they were checking whether a computer’s security system could be tricked into going back in time.

3. How did they investigate?

TPMs and failed-attempt protection

A TPM is a security component built into modern computers. It can store secret information and enforce rules about when that information may be used.

For example, after too many incorrect PINs, the TPM can enter a lockout state. By default, it may allow only a limited number of attempts and then require long waits between new attempts.

The TPM stores this information even when the computer is turned off. This is called non-volatile storage, meaning the information does not disappear when power is removed.

Flash memory and RPMCs

The TPM’s saved data is often stored in the computer’s SPI flash chip. This chip stores important low-level information, such as firmware and security settings.

The data is encrypted, but encryption alone is not enough. An attacker might save an old copy of the encrypted data and later put it back. This is called a rollback attack or replay attack.

An RPMC is supposed to prevent this. It acts like a one-way counter:

  • The counter can increase.
  • It should never decrease.
  • The computer checks the counter to make sure it is using the newest data.

An everyday analogy is a numbered receipt book. Every new receipt must have a higher number than the previous one. If someone tries to replace the book with an older copy, the number gives them away.

Hardware experiments

The researchers tested flash chips from three manufacturers: Winbond, Macronix, and GigaDevice. They also tested computers using AMD and Intel security systems.

They built a small device called an interposer. It was placed between the computer and its flash chip, allowing the researchers to watch and alter messages traveling between them.

They also used voltage glitching. This means briefly changing the power supplied to a chip at carefully chosen moments. It is similar to flicking a light switch extremely quickly while a machine is performing an important operation. The goal is to make the chip behave incorrectly.

Finally, they tested whether they could:

  1. Save an earlier version of the computer’s security data.
  2. Cause failed PIN attempts.
  3. Restore the old security data.
  4. Make the computer forget some or all of those failed attempts.
  5. Repeat the process while guessing the PIN.

4. What did they find?

A serious flaw in some Winbond flash chips

The researchers discovered that voltage glitching could cause certain Winbond chips to reveal a secret authentication key.

This key is normally used to prove that messages about the RPMC counter are genuine. Once the researchers obtained it, they could create false messages and pretend that the counter had a different value.

This allowed them to make the computer accept an older version of its saved TPM data.

In effect, the attacker could turn back the security system’s clock.

A serious flaw in AMD’s counter handling

The researchers also found that some AMD systems did not properly check whether the flash chip had successfully increased its RPMC counter.

An attacker could block the increase, and the AMD controller would not notice. This also allowed older TPM data to be restored.

This attack worked even when the flash chip itself did not have the Winbond key-leaking problem.

Some AMD computers had little or no rollback protection

On two AMD desktop computers without suitable RPMC flash memory, the researchers simply wrote an older copy of the flash data back to the computer. The TPM’s failed-attempt counter was reset to its older value.

This suggests that some AMD systems may not have had effective protection against this kind of rollback.

Windows Hello PINs could be guessed much faster

The researchers demonstrated a complete attack on a real AMD laptop.

A four-digit Windows Hello PIN would normally have a worst-case search time of about 69 days if the attacker could try one PIN every 10 minutes. Using the rollback attacks, the researchers reduced this to about 40 hours.

The attack did not magically discover the PIN. Instead, it removed the waiting period after wrong guesses, allowing the attacker to try many more combinations.

A successful PIN could provide access to:

  • The Windows account
  • Keys tied to the computer
  • Windows Hello-based enterprise login systems
  • Other services that trust Windows Hello

BitLocker PINs were also affected

The same general weakness could affect BitLocker when it uses a startup PIN.

The researchers estimated that a normal six-digit BitLocker PIN could take up to 19 years to guess under the usual lockout rules. Their attack reduced the worst-case time to about 20 days.

This is important because BitLocker is used to protect files if a laptop is lost or stolen.

Other weaknesses

The researchers also found smaller problems, including:

  • Some counters returned to zero after reaching their maximum value. This is called an integer overflow.
  • One chip could sometimes be made to report an incorrect counter value.
  • Intel systems reused some authentication information in a way that weakened the design, although the researchers described this as a less serious issue.

The researchers reported their findings to Winbond, Macronix, GigaDevice, JEDEC, Intel, AMD, and Microsoft. According to the paper, the companies had not committed to fixing all of the underlying hardware problems. Microsoft did recommend increasing the minimum Windows Hello PIN length from four digits to six.

5. Why are these findings important?

The main lesson is that security protections can fail even when the computer uses strong encryption and a TPM.

The TPM itself may correctly count failed attempts. However, if an attacker can replace the TPM’s saved information with an older copy, the TPM may believe that fewer attempts have happened. This weakens the protection without directly breaking the PIN’s encryption.

The attack requires significant physical access and technical skill. An attacker would generally need to open the computer, connect special hardware, and interfere with the flash chip. Therefore, this is not an easy attack for an ordinary person to perform remotely.

However, it could matter when:

  • A laptop is stolen.
  • An attacker has extended access to a computer.
  • A high-value business or government device is targeted.
  • A device is sent away for repair.
  • A company depends on short PINs for employee authentication.

Conclusion: What could happen next?

This research shows that hardware-based security systems must protect not only secret data, but also the history of how that data changes over time.

The researchers suggest that manufacturers need to:

  • Fix the flawed flash-chip designs.
  • Properly verify that security counters really increase.
  • Add rollback protection to systems that currently lack it.
  • Test RPMC implementations more carefully against physical attacks.
  • Encourage users and organizations to choose longer PINs.

For everyday users, a longer PIN is a useful improvement, although it does not repair the hardware flaws. For manufacturers, the paper is a warning that a security system is only as strong as every part supporting it—including small memory chips and the connections between them.

Practical Applications

The paper’s findings primarily support defensive applications in hardware security, endpoint management, secure authentication, and standards development. The attacks require physical access, SPI-flash manipulation, specialized interposer hardware, and—depending on the path—voltage fault injection; therefore, they are most relevant to high-value endpoints, enterprise fleets, forensic testing, and supply-chain assurance rather than ordinary remote attacks.

Immediate Applications

  • Enterprise risk assessment for Windows endpoints — Industry / IT security
    • Organizations can inventory laptops and desktops according to:
    • CPU and security processor vendor;
    • fTPM, Pluton, or discrete TPM usage;
    • SPI-flash manufacturer and model;
    • presence or absence of RPMC or equivalent rollback protection;
    • use of Windows Hello, Windows Hello for Business, BitLocker TPM+PIN, or device-bound credentials.
    • Systems matching the affected configurations should be classified as vulnerable to physical-access attacks that reset or bypass TPM anti-hammering state.
    • Potential workflow: combine Microsoft Intune, Configuration Manager, firmware inventory, SMBIOS data, and vendor hardware databases to create a fleet-level exposure report.
    • Dependencies: reliable identification of the flash component and the platform’s actual NV-state implementation; the paper shows that branding alone does not establish whether rollback protection is present.
  • Immediate hardening of Windows Hello and BitLocker policies — Industry / Endpoint security
    • Raise the minimum Windows Hello PIN length above the four-digit default, preferably using longer numeric or alphanumeric credentials.
    • Require biometrics or an additional authentication factor where practical, rather than treating a short PIN as the sole protection for enterprise SSO or device-bound keys.
    • For BitLocker, retain TPM+PIN protection but enforce stronger PIN policies and consider recovery procedures that do not rely exclusively on a short startup PIN.
    • Apply Microsoft and OEM firmware updates where available, while recognizing that software changes cannot fully repair a vulnerable flash-chip implementation.
    • Dependencies: longer PINs increase brute-force cost but do not eliminate the hardware flaw; organizations must also consider usability, recovery-key management, and whether the attacker can maintain physical access for an extended period.
  • Security testing of laptop and motherboard designs — Industry / Hardware assurance
    • OEMs and independent laboratories can use the paper’s attack model as a test case for validating:
    • RPMC command verification;
    • counter-increment confirmation;
    • resistance to voltage fault injection;
    • protection of HMAC and root-key material;
    • correct rejection of stale NV images;
    • behavior at counter exhaustion;
    • rollback handling for fTPM state and sensitive EFI variables.
    • Testing should cover integrated combinations of SoC, NV controller, flash chip, firmware, and operating system, not just isolated components.
    • Potential product: a hardware-security validation suite for laptop platforms, including SPI-bus monitoring, fault-injection testing, and automated rollback-state verification.
    • Dependencies: test laboratories need specialized equipment and vendor cooperation; results may not generalize across board revisions, firmware versions, or flash variants.
  • Firmware and platform procurement requirements — Industry / Supply chain
    • Enterprises and public-sector buyers can add requirements that vendors disclose:
    • the mechanism protecting fTPM NV state;
    • whether RPMC is used and how it is integrated;
    • the flash vendor and exact part number;
    • behavior when counters reach their maximum value;
    • independent fault-injection test results;
    • patch and replacement commitments for vulnerable components.
    • Procurement contracts can require secure firmware-update support and documented mitigation paths for systems that cannot be repaired through software.
    • Dependencies: vendors may not disclose detailed platform architecture, and component substitutions during manufacturing can invalidate an earlier assessment.
  • Incident-response and forensic procedures for physically accessed devices — Industry / Digital forensics
    • A suspected device compromise should be treated differently from a normal failed-login event when an attacker had access to the motherboard, SPI flash, or storage.
    • Response teams should consider:
    • invalidating Windows Hello and Windows Hello for Business credentials;
    • revoking device-bound certificates and FIDO2 credentials;
    • rotating enterprise SSO credentials and recovery secrets;
    • requiring BitLocker recovery-key revalidation;
    • preserving firmware, flash, and TPM-related evidence before reimaging.
    • Dependencies: evidence collection may alter volatile or persistent platform state; organizations need OEM-specific forensic procedures and must distinguish a genuine compromise from an ordinary TPM reset.
  • Defensive research and classroom laboratories — Academia / Security education
    • The low-cost interposer architecture and the paper’s experimental methodology can support controlled research into:
    • hardware fault injection;
    • trusted-computing failure modes;
    • secure-counter design;
    • firmware supply-chain security;
    • validation of anti-hammering mechanisms.
    • A safe laboratory exercise could use sacrificial development boards or simulated RPMC devices rather than production laptops and real authentication secrets.
    • Dependencies: experiments require authorization, electrical safety controls, non-production hardware, and careful handling of dual-use attack artifacts.
  • Standards and vendor review of RPMC implementations — Policy / Standards
    • JEDEC and platform vendors can immediately review implementation requirements for:
    • counter overflow behavior;
    • mandatory verification of increment success;
    • fault-aware state transitions;
    • separation and clearing of cryptographic intermediate values;
    • uniqueness and lifecycle management of HMAC keys;
    • authenticated error and status reporting.
    • Certification programs can add negative tests requiring devices to reject forged, stale, corrupted, or overflowed counter states.
    • Dependencies: standards changes will not repair deployed silicon; they must be accompanied by component redesign, firmware updates, and conformance testing.
  • User-level precautions for high-risk devices — Daily life
    • People who face theft, seizure, or prolonged physical access to their laptop should:
    • use a longer Windows Hello PIN or an alphanumeric credential;
    • enable BitLocker with a strong startup PIN when appropriate;
    • keep recovery keys protected separately from the device;
    • avoid relying solely on a short PIN for access to password managers, corporate SSO, or cryptographic keys;
    • promptly report and rotate credentials after unexplained firmware, TPM, or Windows Hello resets.
    • Dependencies: these measures reduce practical exposure but cannot prevent a determined hardware attacker from exploiting a vulnerable platform.

Long-Term Applications

  • RPMC 2.0 or successor designs with hardware fault resistance — Industry / Semiconductor engineering
    • The findings motivate redesigned secure-counter hardware with:
    • explicit saturation rather than wraparound;
    • atomic, verifiable increments;
    • voltage and clock fault detection;
    • protected internal registers;
    • zeroization of HMAC outputs and intermediate values;
    • independent authentication keys for separate counters and sessions;
    • tamper-evident failure states.
    • Potential products: secure flash chips, embedded security controllers, or TPM storage modules certified for physical fault-injection resistance.
    • Dependencies: redesign requires new silicon, qualification, supply-chain replacement, and compatibility testing with existing SoCs and firmware.
  • On-chip or physically isolated NV storage for fTPMs — Industry / Hardware architecture
    • Future platforms could avoid placing critical fTPM state on externally accessible SPI flash by using:
    • secure on-die non-volatile memory;
    • a dedicated secure element;
    • an authenticated RPMB-like storage subsystem;
    • a security processor with an isolated persistent-memory controller.
    • This would reduce dependence on the motherboard flash bus and limit the consequences of flash-chip implementation flaws.
    • Dependencies: cost, endurance, manufacturing complexity, recovery semantics, and secure migration between security processors must be solved.
  • Cryptographically independent anti-hammering designs — Software and platform security
    • Windows and other operating systems could supplement TPM counters with additional mechanisms that do not depend solely on rollback-protected external NV state, such as:
    • server-side risk controls for enterprise authentication;
    • hardware-backed rate limits in an independent security component;
    • secure monotonic time or external attestation;
    • permanent or administrator-controlled lockout policies for high-risk credentials;
    • mandatory secondary factors after suspicious reboot or firmware events.
    • Dependencies: these mechanisms must preserve offline usability, avoid denial-of-service abuse, protect privacy, and remain functional when a device is disconnected from enterprise services.
  • Remote attestation of rollback-protection health — Industry / Cloud and enterprise management
    • Endpoint-management systems could attest not only to boot measurements but also to:
    • the platform’s rollback-protection mechanism;
    • RPMC availability and status;
    • firmware and flash-component identity;
    • successful counter progression;
    • recent TPM or credential resets.
    • Access-control systems could then restrict enterprise SSO, VPN, cloud-console, or sensitive application access from devices whose rollback defenses are absent or unverifiable.
    • Dependencies: attestation must measure the actual hardware path rather than trusting a software-reported configuration, and enterprises need interoperable evidence formats.
  • Hardware-backed security labels for consumer and enterprise devices — Policy / Procurement
    • Regulators or certification bodies could establish device ratings covering resistance to:
    • flash rollback;
    • voltage glitching;
    • counter overflow;
    • TPM-state replay;
    • physical extraction of authentication secrets.
    • Such labels could guide public procurement and help consumers distinguish ordinary TPM presence from stronger physical-attack resistance.
    • Dependencies: evaluation criteria must be transparent, affordable, regularly updated, and applicable across diverse architectures.
  • Secure firmware anti-rollback systems beyond authentication — Embedded systems / Automotive / Robotics / Energy
    • The paper’s counter-overflow and authentication findings apply to any design using RPMC to ratchet firmware versions or configuration states. Potential affected sectors include:
    • automotive control units;
    • industrial controllers;
    • robotics;
    • medical devices;
    • smart meters and energy systems;
    • network appliances.
    • Future products could use formally specified, independently monitored version counters to ensure that a device cannot accept an older firmware image after compromise.
    • Dependencies: the security design must address counter exhaustion over the device’s service life, secure recovery from failed updates, field replacement, and emergency rollback procedures.
  • Formal verification and automated conformance testing for secure counters — Academia / Industry
    • Researchers could develop formal models and test generators for RPMC-like protocols, checking:
    • monotonicity invariants;
    • atomicity of updates;
    • authenticity of status responses;
    • resistance to replay and fault-induced state divergence;
    • correct behavior under power loss and counter exhaustion.
    • Potential tools: symbolic protocol analyzers, hardware-in-the-loop fuzzers, voltage/clock fault test frameworks, and certification-oriented test suites.
    • Dependencies: formal models must include analog fault behavior and implementation-specific timing, which are not fully captured by protocol-level verification alone.
  • More robust authentication policy for physical-threat environments — Policy / High-security operations
    • Organizations such as defense contractors, research laboratories, financial institutions, and critical-infrastructure operators could adopt policies that treat short device PINs as convenience credentials rather than sufficient high-assurance authentication.
    • Long-term architectures may combine measured boot, resilient hardware anti-hammering, user presence, smart cards or security keys, and centralized risk evaluation.
    • Dependencies: stronger controls increase deployment cost and user friction and require carefully designed recovery and emergency-access processes.

Glossary

  • Anti-hammering protection: A mechanism that limits repeated authentication attempts to resist brute-force attacks. “TPM 2.0 makes Windows Hello PINs ‘anti-hammering’ protected”
  • Anti-Replay table (AR): A data structure used to detect whether stored state has been replayed from an earlier point in time. “the counter values of the ME File System’s metadata must match a so-called Anti-Replay table (AR)”
  • Attestation: A cryptographic process by which a device proves the state or identity of its hardware and software. “including device attestation, certificate-based authentication, and conditional access policies”
  • Authentication Flash: A flash-memory implementation that uses RPMC-compatible commands to provide authenticated storage. “Winbond markets the W74M series as Authentication Flash”
  • Brute-force attack: An attack that systematically tries many possible credentials until the correct one is found. “The same primitive defeats BitLocker’s TPM+PIN pre-boot protector”
  • Code signing: The use of cryptographic signatures to verify that software originates from a trusted source and has not been modified. “NV controllers loading firmware code and data usually employ code-signing mechanisms to provide secure boot”
  • Confidentiality: The security property that prevents unauthorized parties from learning protected information. “Confidential & replay-protected storage”
  • Counter forgery: The creation of false but apparently authentic security-counter values. “enabling arbitrary counter forgery”
  • Counter corruption: The unauthorized alteration of a security counter or of the value returned for it. “Counter Corruption: On GigaDevice flash, voltage glitching allows manipulation of returned RPMC counter values”
  • Crowbar circuit: An electronic circuit that rapidly forces a power rail into an abnormal voltage condition, commonly for fault injection. “The setup forms a crowbar circuit on the flash chip’s VccV_{cc}”
  • Cryptographic digest: A fixed-length value produced by a cryptographic hash function and used to represent data. “Each policy is represented by a cryptographic digest computed offline as the cumulative hash of a sequence of policy assertions.”
  • Dictionary Attack Protection: A TPM mechanism that limits exhaustive attempts against passwords or PINs. “The TPM enforces a hardware-level dictionary attack (DA) protection mechanism”
  • Discrete TPM (dTPM): A physically separate TPM chip connected to a system through an external communication bus. “TPMs were realized in dedicated chips connected to the SoC via an LPC or SPI bus (discrete TPMs or dTPMs)”
  • Device-bound credential: A credential cryptographically associated with a particular device. “Hello is advertised as the central authentication method, beyond unlocking the laptop, that also authenticates the use of other device-bound credentials”
  • Electronic fault injection: The deliberate introduction of abnormal electrical conditions to cause a device to behave incorrectly. “standard fault-injection countermeasures”
  • Firmware TPM (fTPM): A TPM implemented in firmware and executed by a processor’s secure environment rather than in a separate chip. “A more popular type of TPM implementation now is firmware TPMs (fTPMs).”
  • FIDO2: A standard for passwordless authentication using public-key cryptography and hardware-backed credentials. “including the use as a FIDO2 security key”
  • Hash function: A function that maps input data to a fixed-size value for integrity and cryptographic operations. “HMAC with SHA256 as the underlying hash function”
  • Hardware attack: An attack that exploits a device’s physical components, interfaces, power behavior, or implementation. “The current definition of the Serial Flash does not offer any protection against HW attacks”
  • HMAC: A keyed-hash construction used to authenticate messages and verify their integrity. “commands are appended with a Message Authentication Code, also called a signature within the specification, generated using HMAC with SHA256”
  • HMAC engine: Hardware or firmware logic that computes keyed-hash message authentication codes. “Winbond seems to reuse the register read by Read Extended Status to store the chip’s HMAC engine output.”
  • HMAC key: A secret key used to generate or verify HMAC values. “More critically, when we encountered a similar glitch after an Update HMAC Key Register command, the chip returned the calculated HMAC key”
  • HMAC Key Leak: The unintended disclosure of an HMAC key through a vulnerability in a flash chip. “HMAC Key Leak: On Winbond flash, voltage glitching leaks valid RPMC signatures and, more critically, the authentication keys”
  • Integrity protection: Mechanisms that detect unauthorized modification of data. “This data is encrypted and integrity protected via device-unique keys”
  • Interposer: A hardware device inserted between two components to observe, modify, or inject communications. “our custom-made interposer PCB”
  • Integer overflow: A condition in which arithmetic exceeds the maximum representable value and wraps around to a smaller value. “If a counter with a value of PHONE is incremented once more, it returns to 0.”
  • JEDEC: An industry standards organization that defines specifications for electronic components and memory devices. “RPMC is a specification of JEDEC for SPI flash devices”
  • Lockout mode: A state in which authentication attempts are blocked after too many failures. “after how many failed authorization attempts a Lockout Mode is entered”
  • Message Authentication Code (MAC): A keyed cryptographic value used to verify a message’s authenticity and integrity. “applying a Message Authentication Code”
  • Monotonic counter: A counter designed to increase without decreasing or repeating earlier values. “Devices supporting this standard are extended with commands enabling the usage of multiple monotonic counters”
  • Non-volatile (NV) state: Persistent device data that remains available after power loss or reboot. “To persist their state across reboots, fTPMs store it along with other non-volatile (NV) data on SPI flash.”
  • NOR flash: A non-volatile memory technology that supports random access to stored data and is commonly used for firmware storage. “Winbond SPI flash – the leading NOR flash vendor”
  • Policy digest: A cryptographic digest representing a TPM authorization policy. “If one of these digests matches the policy digest of, e.g., a sealed storage, it serves as a valid authorization”
  • Policy session: A TPM session in which authorization policies and their associated digests are evaluated. “Software interfacing with the TPM always does so in the context of a policy session”
  • Power glitching: The deliberate and precisely timed disturbance of a device’s supply voltage to induce faulty behavior. “Winbond SPI flash ... leaks its HMAC key under voltage glitching”
  • Replay attack: An attack that resubmits previously recorded valid data or device state to make a system accept outdated information. “they could still save the ciphertexts and replay them”
  • Replay Protected Memory Block (RPMB): A storage mechanism that authenticates access and prevents previously used data from being replayed. “It is closely related to one part of another JEDEC specification: the Replay Protected Memory Block (RPMB) of eMMC.”
  • Replay Protected Monotonic Counter (RPMC): A flash-memory security mechanism that uses authenticated counters to detect rollback of stored state. “RPMC is a specification of JEDEC for SPI flash devices that builds on top of the SPI bus protocol”
  • Rollback attack: An attack that restores a system or stored data to an older state in order to bypass newer security restrictions. “Otherwise, features such as the fTPM Dictionary Attack Protection ... are vulnerable to rollback attacks.”
  • Root Key: A persistent pre-shared secret used to authenticate access to an RPMC counter. “The Root Key serves as the persistent pre-shared secret that authenticates users of a counter”
  • Secure Boot: A boot process that executes only software verified as trusted through cryptographic signatures. “loading and executing only trusted software”
  • Sealed storage: TPM-protected storage whose contents can be accessed only by the originating TPM under specified conditions. “TPM sealed storage allows the TPM to encrypt and integrity-protect an arbitrary data blob.”
  • Single Sign-On (SSO): An authentication arrangement in which one authentication event grants access to multiple applications or services. “serves as a Single Sign-On (SSO) provider for enterprises”
  • SPI flash: Serial Peripheral Interface flash memory used to store firmware and persistent system data. “fTPMs store it along with other non-volatile (NV) data on SPI flash.”
  • Threat model: A formal description of an attacker’s capabilities, access, and objectives. “the main threat model for these chips are attackers that already have physical access to a device”
  • Trusted Execution Environment (TEE): An isolated execution environment designed to protect code and data from the normal operating system. “These run in Trusted Execution Environments (TEEs)”
  • Trusted Platform Module (TPM): A hardware or firmware security module that provides cryptographic services, protected storage, and platform integrity functions. “Trusted Platform Modules, as defined by the TPM 2.0. Library Specification”
  • Voltage-fault injection: An attack that manipulates a device’s supply voltage to induce exploitable computation errors. “KeywordsTrusted Platform Modules, Rollback Prevention, Voltage Fault Injection, Brute-Force Attacks, Interposer Attacks”
  • Zero-knowledge proof: A cryptographic method for proving knowledge of information without revealing the information itself. “a TPM object created with tpm2-tools on Linux”

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 4 tweets with 411 likes about this paper.