Security researcher Dirk-jan Mollema has detailed and released proof-of-concept (PoC) scripts demonstrating a significant design weakness in Windows Hello for Business (WHfB). The technique allows malware, running with standard user-level privileges on a compromised Windows endpoint, to silently use the victim's WHfB key. This action allows the malware to authenticate to Microsoft Entra ID and acquire a Primary Refresh Token (PRT), granting it long-term, persistent access to the user's cloud resources. Crucially, this process requires no administrator privileges and bypasses all user interaction, including the need for a PIN or biometric authentication. Microsoft has reportedly acknowledged the behavior as part of the current design and has not issued a CVE. This disclosure fundamentally changes the threat model for WHfB, indicating that any code execution on an endpoint should be treated as a full identity compromise.
This is not a traditional vulnerability with a simple patch, but rather an exploitation of the intended functionality of WHfB in a post-compromise scenario.
The researcher, Dirk-jan Mollema, has released PoC scripts (fido_assertion.ps1 and hellopoc.ps1) as part of the ROADtools repository, making the technique publicly available. While there is no evidence of widespread in-the-wild exploitation yet, the release of the PoC means that threat actors will likely integrate this technique into their malware toolsets soon.
The attack challenges a core assumption of phishing-resistant, hardware-bound credentials: that they protect user identity even if the user is phished. This technique shows that if the endpoint itself is compromised, the hardware-bound credential can be turned against the user.
T1555.003 - Credentials from Web Browsers: While not from a browser, this is conceptually similar to stealing credentials from a local store.T1134.002 - Create Process with Token: The malware effectively uses the user's identity token to perform actions on their behalf.T1528 - Steal Application Access Token: The ultimate goal and result of the attack is stealing the Primary Refresh Token (PRT).T1621 - Stored Data Manipulation: The technique abuses the stored WHfB key in the TPM.This attack highlights the paradigm shift from 'stealing the key' to 'using the key in place'. The key never leaves the TPM, making traditional credential theft detection methods ineffective.
The impact is significant because it undermines the perceived security of a flagship phishing-resistant authentication method.
This means that endpoint security is more critical than ever. If an attacker can run code on your machine, WHfB cannot save your cloud identity.
The PoC scripts fido_assertion.ps1 and hellopoc.ps1 are indicators of this specific tool being used.
The researcher provided a key hunting hint:
Note: The researcher cautions that legitimate sessions from incognito browsers or non-SSO browser sessions can also produce sign-ins with an empty device ID, so this indicator may have false positives and requires correlation.
Detection must focus on the initial endpoint compromise and anomalies in the authentication logs.
User Geolocation Logon Pattern Analysis (D3-UGLPA).fido_assertion.ps1, hellopoc.ps1) and their unique contents/behaviors.Since this is a design feature, mitigation focuses on preventing the prerequisites for the attack.
System Configuration Permissions (D3-SCP).The primary mitigation is preventing the initial malware execution on the endpoint through EDR/XDR and application control.
Use Entra ID Conditional Access policies to require compliant or hybrid-joined devices, limiting the usefulness of a stolen token on an attacker's machine.
The most effective way to prevent the Windows Hello for Business abuse is to stop the prerequisite: initial malware execution. A robust endpoint security posture is paramount. Implementing Executable Denylisting (D3-EDL) or, more effectively, allowlisting (D3-EAL), can prevent unauthorized code from running in the first place. By using technologies like AppLocker or Windows Defender Application Control, administrators can define a strict set of applications and scripts that are permitted to run. Any malware attempting to execute, including the PowerShell scripts needed to perform this attack, would be blocked. This 'left of boom' approach is the most effective mitigation, as it addresses the root cause (endpoint compromise) rather than trying to detect the nuanced abuse of a legitimate authentication feature.
To detect the malicious use of a stolen Primary Refresh Token (PRT), security teams must leverage User Geolocation Logon Pattern Analysis (D3-UGLPA), a core feature of Microsoft Entra ID Protection and other UEBA tools. While the initial token generation happens on the compromised endpoint, the attacker will likely use the stolen PRT from their own infrastructure. This will create an 'impossible travel' scenario. For example, the legitimate user logs in from their corporate office in New York, and minutes later, the stolen PRT is used to access SharePoint from an IP address in Eastern Europe. This should trigger a high-risk alert. Correlating the WHfB sign-in with a null device ID with a subsequent impossible travel alert provides a very high-confidence indicator of this specific attack.
Organizations can limit the blast radius of a stolen PRT by implementing strict System Configuration Permissions (D3-SCP) through Microsoft Entra Conditional Access policies. A critical policy to implement is to require sensitive applications to be accessed only from 'compliant' or 'hybrid-joined' devices. This means that even if an attacker steals a PRT and tries to use it from their own unmanaged machine, Conditional Access will block the login because the attacker's device does not meet the policy requirements. This control effectively tethers the user's identity to a trusted device, making the stolen token far less powerful and preventing the attacker from accessing most corporate resources.
The technique and proof-of-concept scripts are publicly disclosed by the security researcher.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.