Skip to content
All posts

Device Code Phishing Plants Rogue Entra Devices: Huntress

December 4, 2026 · Team PlayCISO
TL;DR · the short version

Huntress reported on 3 December 2026 that a device-code phishing campaign registered 468 rogue Windows devices in Microsoft Entra ID during November, across 326 identities in 305 organizations, to keep access through a Primary Refresh Token that survives a password reset. Device names follow "MH-" plus 16 hex characters and report the ROADtools default build 10.0.19041.928. Delete the device first, then revoke sessions and reset credentials; block device code flow with Conditional Access.

Put it into practice
Check your own tenant for rogue devices
Paste your Entra device list, sign-in or audit log export. It flags the MH- names, ROADtools builds, devices with no hardware IDs and the published IPs, in your browser.
Open the Entra Rogue Device Checker

Huntress says a device-code phishing campaign planted rogue Windows devices in hundreds of Microsoft 365 tenants. In research published on 3 December 2026, Huntress reports 468 rogue device registrations across 326 identities in 305 organizations during November. Victims entered an attacker's device code on Microsoft's genuine sign-in page; the attacker then registered a device in Microsoft Entra ID, which keeps working after a password reset. Huntress has not tied the campaign to a named actor.

Who this is for: CISOs, identity and Microsoft 365 administrators, and incident responders.

Based on Huntress's research and Microsoft's documentation, read on 4 December 2026. PlayCISO is not affiliated with Huntress or Microsoft.

Confirmed vs not yet known

Reported by Huntress: 468 rogue device registrations, 326 identities, 305 organizations in November 2026; device names "MH-" plus 16 uppercase hex characters; the ROADtools default Windows build 10.0.19041.928; access to OneDrive, SharePoint or Exchange after sign-in; five scripted sign-in IP addresses.

Microsoft: recommends "blocking device code flow wherever possible". Huntress says Microsoft had not classified any of the incidents when it published.

Not known: who is behind it (Huntress notes overlap with Storm-2372 but says it is not definitive), how the device names are generated, how many organizations outside Huntress's view were hit, and what data was taken.

What happened

  1. The lure. The victim is persuaded to enter a device code on Microsoft's real device sign-in page and finish signing in, MFA included. Huntress's ATT&CK table describes the lure as an "Adobe-protected Non-Disclosure Agreement", impersonating Microsoft and Adobe.
  2. The tokens. Microsoft issues access and refresh tokens to the attacker's client, because the attacker started the sign-in.
  3. The rogue device. The attacker uses those tokens to register a Windows device in the victim's Entra ID and obtain a Primary Refresh Token (PRT), which gives single sign-on to the organization's resources.
  4. Persistence. Because the device holds its own token, a password reset does not end the access. Huntress: the device "must be deleted from the M365 environment manually".

Huntress says the attacker appears to work weekdays, and in many cases signed in to Microsoft Office and then reached OneDrive, SharePoint or Exchange.

What to search for in your tenant

Huntress published these indicators for defenders. A match is a reason to investigate, not proof on its own.

  • Device names: MH- followed by 16 uppercase hex characters (pattern ^MH-[0-9A-F]{16}$). Huntress counted 46 such names registered in more than one organization; MH-51FB898341CEA47A appeared in 24 organizations over 10 days.
  • Reported Windows build: 10.0.19041.928, the ROADtools default (Windows 10 version 2004, out of servicing since 2021), and 10.0.19045.2006, 10.0.19045.0 or 10.0.26100 with no hardware identifiers.
  • Related clusters Huntress tracked separately: DESKTOP- plus 8 characters (the ROADtools default), DESKTOP- plus 6, Device- plus 8 hex, and GraphSpy-Device. Real PCs are often named DESKTOP-something, so weigh these with the build and hardware IDs.
  • Sign-ins: device code authentications in interactive and non-interactive sign-in logs, and a switch to programmatic user agents such as python-requests, python-httpx, node or axios. ROADtools registers with Dsreg/10.0 (Windows 10.0.19041.928).
  • Scripted sign-in IPs: 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 and 193.109.193.166. Huntress says the five signed in, or tried to, against 361 accounts in 337 organizations: 1,186 failed sign-ins and 197 successful.

Our Entra Rogue Device Checker runs these checks on your own device list, sign-in and audit log exports, in your browser.

Useful next, if this was relevant to you

Showing 1 of 3: Breach Cost Calculator

Timeline

DateEventSource
Feb 2025Microsoft describes Storm-2372 device-code phishing; Huntress notes overlap but no definitive linkHuntress
7 Oct 2026The IP blocks behind two of the scripted sign-in addresses are assigned to the same hosting customerHuntress
Nov 2026468 rogue device registrations across 326 identities in 305 organizationsHuntress
9 Nov 2026That lease ends; the third IP goes into use less than two hours laterHuntress
3 Dec 2026Huntress publishes its research; BleepingComputer reports itHuntress; BleepingComputer

What security leaders should do this week

  • Search for the devices now. Review the Entra device list and audit logs for the names and builds above, and for registered Windows devices with no hardware identifiers. Run your exports through the Entra Rogue Device Checker.
  • Remove in the right order. Delete the rogue device in Entra ID first, then revoke the user's sessions and reset credentials. Audit the identity's registered devices and MFA methods, remove anything unrecognised, and check for new inbox rules. Work it with the identity compromise response checklist.
  • Block device code flow where nobody needs it. Conditional Access, Authentication flows condition, Device code flow, block (Microsoft's policy guide). Microsoft notes that policies targeting all resources also apply to the Device Registration Service, so exclude it only if you genuinely register devices with device code flow (Microsoft Learn). Build and test the policy with the device code phishing blocker.
  • Tighten device registration. Huntress advises limiting who can register or join devices and how many devices each user can register, and requiring MFA to register a device. On Entra ID P1, require managed and compliant devices; on P2, add risk-based Conditional Access. Below P1, turn on Security Defaults.
  • Alert on it. Make sure something alerts on new device registrations and anomalous sign-ins. Huntress says only 36 of the affected organizations had Defender connected to it, and Defender raised its own incident on 25 of the 326 compromised identities.
  • One rule for staff: only enter a device code for a sign-in you started yourself. A document, NDA or invitation that hands you a code is phishing.

Frequently asked questions

What did Huntress find?

Huntress reports that in November 2026 a device-code phishing campaign led to 468 rogue Windows device registrations in Microsoft Entra ID, across 326 identities in 305 organizations. After a victim entered the attacker's device code on Microsoft's real sign-in page, the attacker used the tokens to register a device and keep access to OneDrive, SharePoint and Exchange.

Why does a rogue Entra device survive a password reset?

A registered device can obtain a Primary Refresh Token (PRT), which lets it keep signing in through single sign-on. Huntress says password resets alone do not remove the attacker's access and the device must be deleted from the tenant manually. Delete the device first, then revoke the user's sessions and reset credentials.

How do I find rogue devices in Entra ID?

Search the Entra audit logs and device list for device names of "MH-" followed by 16 uppercase hex characters, and for registered Windows devices reporting build 10.0.19041.928, 10.0.19045.2006, 10.0.19045.0 or 10.0.26100 with no hardware identifiers. Huntress notes 10.0.19041.928 is the default build in the ROADtools toolkit. Also check sign-in logs for device code authentications and programmatic user agents such as python-requests or node.

What are the MH- devices in Entra ID?

They are the device names Huntress saw the attacker register: "MH-" plus 16 uppercase hex characters, for example MH-51FB898341CEA47A. Huntress counted 46 such names registered in more than one organization; the most reused appeared in 24 organizations over 10 days. A device with that name you did not enrol is worth investigating at once.

Who is behind the campaign?

Not known. Huntress says it has not tied the operations to a named threat actor. It notes overlap with Storm-2372, which Microsoft described in February 2025, but says the overlap does not definitively tie the campaign to it. Microsoft had not classified the incidents when Huntress published.

How do I block device code phishing in Microsoft 365?

Use Conditional Access to block the device code flow wherever it is not needed: Microsoft says it "recommends blocking device code flow wherever possible". Huntress also advises limiting who can register or join devices and how many each user can register, and requiring MFA to register a device. Below Entra ID P1, turn on Security Defaults.

Sources

Spotted an error? Report an error. A person reads every message.

Check your own tenant for rogue devices
Paste your Entra device list, sign-in or audit log export. It flags the MH- names, ROADtools builds, devices with no hardware IDs and the published IPs, in your browser.
Open the Entra Rogue Device Checker
Take this with you
What happened · What to search for in your tenant · Timeline · What security leaders should do this week · Sources

Ready to practise the decisions these articles describe?

Run your first Cyber War Room free →

Pro

🎉 New here? Use code WELCOME10 for 10% off any plan at checkout