Device-code phishing campaign plants rogue devices in 305 Entra tenants
Huntress says attackers registered 468 rogue devices across 305 Microsoft Entra organisations, creating access that can survive password resets.
A device-code phishing campaign registered more than 400 rogue Windows devices across 305 Microsoft Entra tenants, according to Huntress. The security company says it observed 468 registrations tied to 326 identities during November 2026, giving attackers a route into Microsoft 365 resources that can survive a password reset.
The campaign begins when a victim is tricked into entering an attacker-generated device code on Microsoft's legitimate sign-in page. That approval hands the attacker access and refresh tokens. The attacker can then register a rogue device in the victim's Entra environment and obtain a Primary Refresh Token, or PRT, which supports single sign-on into services including OneDrive, SharePoint and Exchange.
Why password resets are not enough
Huntress says the registrations commonly used device names beginning with “MH-” followed by 16 uppercase hexadecimal characters. The devices also reported Windows build 10.0.19041.928, a build associated with the ROADtools open-source toolkit. The repeated naming and build patterns helped Huntress connect registrations across otherwise unrelated organisations.
The security company's investigation found that some device names were reused in multiple organisations and remained active for days. In the observed incidents, sign-ins to Entra ID and Microsoft Office were often followed by access to cloud resources. A PRT issued to the rogue device can keep that access alive after a password change, so deleting the device and revoking sessions are important parts of remediation.
Huntress's diagram below shows the reported path from a phished device code to a rogue Entra registration and persistent access.
What organisations should do
Huntress recommends deleting rogue devices from Entra ID, revoking the affected user's sessions and resetting credentials. Microsoft also recommends blocking device-code authentication through Entra Conditional Access wherever the flow is not needed. Users should only enter a device code when they began the sign-in process themselves or know that it came from a trusted source.
The campaign remains an investigation rather than proof that every matching device name is malicious. Huntress says it is tracking two other clusters of rogue registrations whose relationship to the main activity is not yet established. Organisations should therefore combine the naming pattern with audit-log context, sign-in anomalies and device-registration details before taking action.
Our opinion
The important detail here is not simply the number of registrations but the persistence mechanism. Device-code phishing turns a moment of social engineering into a registered endpoint that can continue to satisfy cloud access checks. Treating a password reset as the entire fix leaves the attacker’s device in place, so Entra administrators should check registrations and revoke sessions as part of the same incident response.
This report also shows why unusual device names and old Windows build identifiers deserve attention when they appear across several tenants. They are useful investigation clues, not standalone proof, and should be tested against the organisation's own logs before defenders classify an account as compromised.