Device-code phishing campaign registered 468 rogue devices in 305 Entra tenants
Huntress tracked 468 rogue device registrations across 326 identities in 305 organizations in November. Attackers phished Microsoft device codes, used ROADtools to join their own Windows devices to Entra ID, and gained Primary Refresh Tokens that survive password resets. Deleting the device is required.
Huntress reported on December 3 an ongoing campaign that registered 468 rogue devices across 326 identities in 305 organizations during November (Huntress). Victims were lured, in one case with a fake Adobe-protected NDA, into entering an attacker-generated code on Microsoft's real sign-in page. With the resulting tokens the attacker registered its own Windows device in the victim's Microsoft Entra tenant and obtained a Primary Refresh Token, then reached Office, OneDrive, SharePoint and Exchange. The devices report Windows build 10.0.19041.928, the default hardcoded in the open-source ROADtools toolkit, and most are named "MH-" plus 16 uppercase hex characters. The Register notes residential proxies were rarely reused across victims, limiting IP blocklists. Huntress states: "A password reset alone doesn't remove the access; the device has to be deleted."
Why it matters
Device-code phishing needs no fake login page and no password: the user completes real MFA for the attacker. Registering a device turns a short-lived token into PRT-based persistence that outlives the usual password-reset response.
Hunt Entra audit logs for device registrations with that build number or name pattern. For each compromised user, delete the rogue device first, then revoke sessions and reset credentials. Block the device code flow with Conditional Access for everyone who does not need it, require MFA to register devices, and limit who can join devices and how many.
Source: Huntress, BleepingComputer, The Register
Security records in this story
The vulnerabilities, incidents, attack techniques and threat groups this post covers, each with its own sourced reference page.
- TechniqueDevice code phishing
- TechniquePrimary Refresh Token theft
Related on Start with Identity
- BlogHuntress tracks stolen-session replay into 79 Microsoft 365 organizations without a password
Huntress reported on October 22 that one actor replayed tokens stolen by AiTM and device-code phishing into 79 organizations between July 14 and September 22, r
- BlogFake ChatGPT, Gemini and Claude ad portals capture credentials and MFA codes with operator-driven phishing
Island found a human-operated phishing platform posing as AI advertising tools. A browser-in-the-browser Connect window steals Google and Okta credentials while
- BlogGhostAction phish completes a GitHub device flow, then hides a stealer in a font file
OpenSourceMalware found a fake GitHub security alert that proxied a maintainer's password and 2FA code, then silently completed an OAuth device flow for repo, w
- CVEBlast-RADIUS, MD5 collision forges Access-Accept
A chosen-prefix MD5 collision on the RADIUS Response Authenticator lets a man-in-the-middle forge Access-Accept, bypass MFA, and escalate when CHAP/PAP run with
- CVEPAN-OS GlobalProtect accepts forged authentication override cookies
GlobalProtect portals and gateways with authentication override cookies enabled could be tricked into opening a VPN session without a login or MFA. Qilin and IN
- CVESimpleHelp accepts unsigned OIDC tokens, MFA bypass
SimpleHelp through 5.5.15 (and 6.0 pre-release) accepted OIDC ID tokens without signature verification, including alg:none. A forged token bypasses MFA. Patch i