Malware Targets Windows Hello Keys for Unauthorized Access
Cybersecurity researchers have unveiled a novel technique whereby malware can manipulate Windows Hello for Business keys to authenticate to Microsoft Entra ID. This method allows attackers to gain cloud access without requiring the victim’s password, PIN, or biometric information.
Windows Hello for Business is a passwordless authentication solution that typically safeguards a user’s private key within the Trusted Platform Module (TPM) of a device. Users can access this key via a PIN, fingerprint, or facial recognition, making it relatively secure from external threats.
Understanding the Attack Methodology
Security analyst Dirk-jan Mollema discovered that malware could exploit Windows cryptographic interfaces to use these keys during an active user session. This process does not necessitate a fresh authentication prompt, such as a PIN or biometric request, due to cached login data utilized by Windows Hello.
Although attackers cannot directly extract a TPM-protected key, malware operating in an unlocked session can request cryptographic operations from Windows using the protected key. The signatures generated through these operations can then be leveraged in identity verification processes.
Implications for Microsoft Entra ID
One potential attack vector involves requesting a Primary Refresh Token (PRT), which is a critical component for single sign-on across Microsoft applications. A valid PRT can offer long-term access, making it a prime target for cybercriminals aiming to maintain a foothold in cloud environments.
Previously, completing this attack required access to another device registered with Entra ID. However, the new research indicates that attackers can now treat the Windows Hello key as a FIDO2 passkey via the WebAuthn protocol, allowing them to authenticate to Microsoft Entra ID from a different device.
Security Recommendations for Organizations
The absence of a device identifier in the resultant access tokens can be advantageous for attackers, enabling them to register new devices within Entra ID. They can then pursue actions like obtaining a PRT or adding new authentication methods.
Security teams should closely monitor Entra ID sign-in logs for any Windows Hello for Business authentications lacking device identifiers. While such instances may occur legitimately in scenarios like private browsing, they should be rare in enterprise settings.
Moreover, organizations are encouraged to investigate any unexpected device registrations, new authentication methods, or unusual token activities. Protecting active Windows sessions is vital, as the attack hinges on malware operating under the targeted user.
For enhanced security, integrating advanced threat detection tools into your Security Operations Center (SOC) can accelerate incident response and mitigate risks associated with such sophisticated cyber threats.
