BleepingComputer, citing Huntress research, reports that an ongoing device code phishing campaign that started in November 2026 registered rogue Windows devices 468 times across 326 Microsoft Entra ID identities at 305 organizations [1]. Victims are tricked into entering an attacker-generated device code on Microsoft's legitimate sign-in page, giving the attacker access and refresh tokens to register a rogue device and obtain a Primary Refresh Token (PRT), then reach OneDrive, SharePoint and Exchange, with access surviving password resets [1]. What to do now: affected organizations should first delete rogue devices from Entra ID, then revoke user sessions and reset credentials, and block device-code authentication with Conditional Access where it is not needed [1].
Device-code phishing registers rogue devices in Entra ID at 305 organizations, keeping access after password resets
2 min readLast updated
30-second summary
What happened
Who is affected
305 organizations and 326 identities whose Microsoft Entra ID environments had rogue devices registered [1].
What to do nowOur advice
- Check Entra ID for devices named MH- followed by 16 uppercase hex characters and reporting Windows build 10.0.19041.928, which Huntress identifies as traits of the attacker's devices [1].
- Delete rogue devices from Entra ID first, then revoke user sessions and reset credentials; if the devices remain, the attacker's PRT can survive a password reset [1].
- As Microsoft recommends, block device-code authentication through Entra Conditional Access where it is not needed, and tell users to enter device codes only for sign-ins they started themselves [1].
- Disclosed
- Dec 3, 2026
- Occurred
- Nov 1, 2026
- Published
- Dec 3, 2026
- Last updated
- Dec 3, 2026
- CVSS basis
- Our assessment
- Attack vector
- PhishingMFA bypass
- Impact
- Account takeover
- Actor type
- Unknown
- Motivation
- Unknown
On this page
Timeline
Technical details
What happened
BleepingComputer reports that Huntress is tracking an ongoing device code phishing campaign that started in November 2026, in which the attacker registered more than 400 rogue Windows devices in Microsoft Entra ID environments at 305 organizations [1]. Huntress says it observed 468 registrations across 326 identities in 305 organizations during November 2026 [1].
Attack method
Victims are tricked into entering an attacker-generated device sign-in code on Microsoft's legitimate authentication page and completing the sign-in, giving the attacker valid access and refresh tokens used to register a rogue device in the victim's Entra ID and obtain a Primary Refresh Token (PRT) [1]. This gives persistent access to organization resources through single sign-on, and Huntress saw many cases followed by access to OneDrive, SharePoint or Exchange [1]. All registered devices reported the Windows build that is the default in the open-source Entra ID toolkit ROADtools, which Huntress suspects was abused to register them [1].
Indicators and response
The 276 devices registered on workdays in the first two weeks used names made of MH- followed by 16 uppercase hex characters [1]. Huntress recommends deleting rogue devices first, then revoking sessions and resetting credentials, while Microsoft recommends blocking device-code authentication through Conditional Access where it is not needed [1].
References
Media1
- [1]BleepingComputer2026-12-03Accessed 2026-12-03Snapshot 2026-12-03 sha256 1510bb360d8e
“throughout November 2026, we observed 468 registrations across 326 identities in 305 organizations.”
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
Expert help
Still not sure whether this affects you?
Tell us about your environment. We'll check it against this advisory, assess the risk, and give you concrete patch and monitoring steps.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.