Flash Chip Attack Defeats TPM Lockout, Exposing Windows Hello and BitLocker PINs

A team of researchers at Technische Universität Berlin has demonstrated a physical attack that resets the Trusted Platform Module (TPM) lockout counter on certain PCs, turning what should be a rate-limited PIN-guessing exercise into a brute-force problem that can be solved in days rather than years. The findings, reported by The Hacker News, affect AMD-based machines and some Intel systems, and they undermine a core assumption behind Windows Hello and BitLocker PIN protections: that repeated wrong guesses will eventually lock the platform down.

How the TPM lockout is supposed to work

Windows Hello and BitLocker PINs are not verified by the operating system alone. They are bound to the TPM, a dedicated security chip that stores secrets and enforces anti-hammering policies. After a set number of incorrect PIN entries, the TPM enters a lockout period, forcing an attacker to wait—often with exponentially increasing delays—before trying again. This design is meant to make short numeric PINs safe even against someone who has the device in hand. A four-digit PIN has only 10,000 possible combinations, but with lockout delays, exhaustively guessing it could take an impractical amount of time.

The attack: resetting the counter at the hardware level

The Berlin researchers found that on some systems, the lockout state can be cleared by manipulating the flash chip that holds the TPM firmware and configuration data. By opening the PC's case and accessing the flash chip directly, an attacker can reset the lockout counter—removing the rate limit entirely. Once that limit is gone, the TPM will accept rapid-fire PIN guesses.

In lab tests, the team used this technique to recover a four-digit Windows Hello PIN on an AMD laptop and a six-digit BitLocker PIN on an Intel laptop. In both cases, the PINs had been configured by the device owner, and the attack succeeded in a matter of days. Without the lockout bypass, the same guesses would have taken years under normal anti-hammering delays.

Who is at risk

The attack requires physical access to the device—specifically, the ability to open the case and reach the flash chip. That puts it in the category of evil-maid or border-search scenarios, as well as theft and targeted corporate espionage. It is not a remote attack, and it does not affect devices where the TPM is soldered and shielded in ways that prevent easy flash access, or systems that rely on other mitigations.

The researchers note that AMD-based PCs are broadly affected, while only some Intel systems are vulnerable. The exact list of affected hardware depends on how the TPM firmware and flash storage are implemented on each motherboard.

Why short PINs are the weak link

The attack does not break the TPM's cryptography. Instead, it removes the operational safeguard that makes short numeric PINs viable. A six-digit PIN has one million combinations; a four-digit PIN has ten thousand. With no lockout, both fall quickly to automated guessing. This reinforces a long-standing principle: PIN length and complexity matter, and a numeric PIN is only as strong as the rate limiting behind it. Users who rely on Windows Hello PINs for convenience should consider longer PINs or alternative authentication methods, particularly on portable devices that leave the office.

Mitigations and what to watch for

Vendors have not yet issued a universal fix, and the researchers' disclosure highlights a gap between the TPM specification and real-world hardware implementations. Practical mitigations include:

  • Use longer PINs. A longer alphanumeric PIN dramatically increases the guessing space, even if lockout is bypassed.
  • Enable pre-boot authentication with a strong password where policy allows, rather than relying solely on a short BitLocker PIN.
  • Physical hardening. Organizations with high-risk users should consider tamper-evident seals and chassis locks that make opening the case detectable or difficult.
  • Monitor for firmware tampering. Endpoint tools that detect unexpected changes to TPM or flash configuration can flag post-exploitation activity.
  • Watch vendor advisories. AMD, Intel, and OEMs are expected to publish guidance on which platforms are affected and whether firmware updates can close the gap.

The bigger picture

The research is a reminder that hardware-rooted security is only as strong as its physical implementation. TPM lockout is a control, not a guarantee, and attackers with screwdrivers and time can sometimes route around controls that software alone cannot enforce. For defenders, the takeaway is to treat short PINs as a convenience feature rather than a hardened secret, and to layer physical security with authentication policy.

The full technical details are available through the researchers at Technische Universität Berlin, and the original reporting can be found at The Hacker News.