--- title: "Device Code Phishing Plants Rogue Entra Devices: Huntress" url: https://playciso.com/blog/huntress-device-code-phishing-rogue-entra-devices updated: 2026-12-04 section: Blog publisher: PlayCISO --- # Device Code Phishing Plants Rogue Entra Devices: Huntress > Huntress: device-code phishing registered 468 rogue Windows devices in 305 Microsoft Entra tenants. The MH- names to search for and how to remove them. Source: https://playciso.com/blog/huntress-device-code-phishing-rogue-entra-devices · Published: 2026-12-04 · Publisher: PlayCISO (https://playciso.com) Primary source: https://www.huntress.com/blog/device-code-phishing-m365-registrations --- **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](https://www.huntress.com/blog/device-code-phishing-m365-registrations) 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 - 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. - The tokens. Microsoft issues access and refresh tokens to the attacker's client, because the attacker started the sign-in. - 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. - 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](/tools/entra-rogue-device-checker) runs these checks on your own device list, sign-in and audit log exports, in your browser. ## Timeline | Date | Event | Source | | --- | --- | --- | | Feb 2025 | Microsoft describes Storm-2372 device-code phishing; Huntress notes overlap but no definitive link | Huntress | | 7 Oct 2026 | The IP blocks behind two of the scripted sign-in addresses are assigned to the same hosting customer | Huntress | | Nov 2026 | 468 rogue device registrations across 326 identities in 305 organizations | Huntress | | 9 Nov 2026 | That lease ends; the third IP goes into use less than two hours later | Huntress | | 3 Dec 2026 | Huntress publishes its research; BleepingComputer reports it | Huntress; 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](/tools/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](/tools/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](https://learn.microsoft.com/en-us/entra/identity/conditional-access/policy-block-authentication-flows)). 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](https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-authentication-flows)). Build and test the policy with the [device code phishing blocker](/tools/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 - [Huntress: M365 Device Code Phishing Campaign Leads to Hundreds of Rogue Entra ID Registrations](https://www.huntress.com/blog/device-code-phishing-m365-registrations) (3 December 2026; full indicator list) - [Microsoft Learn: Authentication flows as a condition in Conditional Access policy](https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-authentication-flows) - [Microsoft Learn: Block authentication flows with Conditional Access policy](https://learn.microsoft.com/en-us/entra/identity/conditional-access/policy-block-authentication-flows) - BleepingComputer: Device-code phishing campaign plants rogue devices in 305 Entra tenants (3 December 2026, the lead)