Threat · Breaking

Device-code phishing crew registered 468 rogue Windows devices in 305 Entra ID tenants; a password reset won’t kick them out

Huntress tracked the campaign through November: victims approve an attacker’s device code, the attacker registers a fake Entra-joined device with ROADtools and gets a Primary Refresh Token that survives password changes. Device names follow MH- plus 16 hex characters. Delete the device first.

Dec 3, 2026 · 7:45 AM PT · 4 min read

What’s new. Huntress published research on Dec 3 on an active Microsoft 365 device-code phishing campaign. In November it saw 468 rogue device registrations across 326 identities in 305 organizations (per Huntress and BleepingComputer). The operator works weekdays. The goal looks like data theft: after getting in, the attacker signed into Entra ID and Office and often moved on to OneDrive, SharePoint and Exchange. Attribution: no named actor. Huntress notes the chain matches what Microsoft documented for Storm-2372 in February 2025, but says the overlap is not enough to tie them together.

Why a password reset doesn’t work. The lure (in one case, a fake Adobe-protected NDA) sends the victim to Microsoft’s real device-login page to enter a code the attacker generated. Approving it hands the attacker access and refresh tokens for the Microsoft Authentication Broker app. Those tokens are then used against the Device Registration Service to join a fake Windows device, which gets a Primary Refresh Token (PRT). A PRT gives SSO into every M365 app and can satisfy Conditional Access rules that just require a “registered device.” Microsoft only invalidates a PRT on password change when the PRT was obtained with the password, and this one wasn’t. So the device has to be deleted.

What to hunt for today.

Remediation order matters. Delete the rogue device in Entra ID, then revoke sessions, then reset credentials. If you reverse it, the attacker keeps SSO through the PRT.

Prevention. If nobody in your tenant uses device-code flow (most users don’t; it’s for TVs, CLIs and conference-room gear), block it with Conditional Access, as Microsoft recommends. Limit who can register or join devices, cap devices per user, and require MFA to register a device. Don’t treat “registered device” as a trust signal; require compliant or managed instead. One gap to note: Defender XDR caught it (“User session compromised by device code phishing”) and auto-contained 25 of 47 victims in the 36 orgs that had it connected. It only sees what you license and connect.

Sources