A device code phishing campaign has planted 468 rogue Windows devices inside Microsoft Entra ID across 305 organizations, giving the attackers a foothold in Microsoft 365 that survives a password reset. Managed detection and response firm Huntress published its findings on December 3, 2026, and said the activity is ongoing.
Huntress said it saw the 468 registrations across 326 user identities during November 2026. In the first 2 weeks of the month alone, the attacker registered 276 devices at 168 organizations. Once inside, the attacker usually signed in to Azure Active Directory and Microsoft Office and often moved on to OneDrive, SharePoint or Exchange, which points to data theft from company files and mailboxes. Huntress has not confirmed what, if anything, was taken from any specific organization, and it has not named the affected companies.
How a fake NDA turns into a registered device
The attack starts with a phishing lure. In the intrusions Huntress mapped, victims received what looked like an Adobe-protected non-disclosure agreement from a named sender. To “open” it, they were walked through Microsoft’s real device sign-in page and asked to type in a short code. That code was generated by the attacker.
When the victim entered the code and finished signing in, the attacker received valid access and refresh tokens for the Microsoft Authentication Broker app. The attacker then redeemed those tokens right away against Microsoft’s Device Registration Service using an automated Python script, which identified itself as python-requests/2.32.5. That step joined a new Windows device to the victim’s Entra ID tenant and gave the attacker a Primary Refresh Token (PRT).
A PRT is the token a trusted Windows device uses for single sign-on to Microsoft 365 apps. Huntress explained that Microsoft only invalidates a PRT on a password change when the token was obtained with the password. Here, it came from a phished token instead, so resetting the user’s password does not cut the attacker off. A PRT can also satisfy Conditional Access policies that require a registered device.
The MH- naming pattern that gave it away
Most of the rogue devices carried names that start with MH- followed by 16 uppercase hex characters. Every one reported Windows build 10.0.19041.928, which is Windows 10 version 2004, a release that left Microsoft servicing in 2021. None carried hardware identifiers.
That build is the default hardcoded in ROADtools, a public Entra ID toolkit that can register devices. ROADtools normally names devices DESKTOP- plus 8 characters, so Huntress believes the attacker kept the tool’s build string but swapped in a custom name. The same device names showed up in unrelated organizations. One name, MH-51FB898341CEA47A, appeared in 24 organizations over 10 days.
Residential proxies and rotating servers
The phishing sign-ins mostly came from residential and business broadband addresses in the US and UK, many tied to commercial residential proxy networks. Huntress said no single IP address served more than 2 victims, so blocklists will not stop the activity. The attacker also appears to keep office hours, with very few registrations on weekends.
The scripted sign-ins came from a separate set of 5 datacenter IP addresses that the attacker swapped every few days. Together, those 5 addresses tried to sign in to 361 accounts at 337 organizations, with 1,186 failed attempts and 197 successful ones.
No named group behind it yet
Huntress has not tied the campaign to a known threat actor. The chain closely matches what Microsoft described in February 2025 for Storm-2372, which phished device codes for the same broker app before registering a device. Because ROADtools is public, Huntress said that overlap is not enough to blame Storm-2372 or any other group.
Microsoft Defender XDR flagged some of the activity where it was connected. Only 36 of the affected organizations had Defender linked to Huntress, and Defender raised an incident titled “User session compromised by device code phishing” for 25 of the 47 victims in those organizations. Microsoft had not issued any public statement about the campaign at time of publication.
What Microsoft 365 admins should check now
Huntress said deleting the rogue device must come first, because the attacker’s token can outlive a password reset. Its guidance includes:
- Search Entra audit logs for device registrations named
MH-plus 16 hex characters, or reporting builds10.0.19041.928,10.0.19045.2006,10.0.19045.0or10.0.26100with no hardware identifiers. - Check interactive and non-interactive sign-in logs for device code sign-ins, especially sessions that switch to programmatic user agents such as
python-requestsornode. - Search sign-in logs for the 5 datacenter IPs Huntress published:
181.214.147[.]42,92.62.251[.]249,37.252.11[.]196,146.103.38[.]149and193.109.193[.]166. - If you find a rogue device, delete it in Entra ID, revoke the user’s sessions, reset credentials, and review registered MFA methods and inbox rules.
- Limit who can register or join devices, require MFA to register one, and block device code flow with Conditional Access wherever it is not needed.
Users should only type a device code into Microsoft’s sign-in page when they started that sign-in themselves. A document that asks you to enter a code to open it is a red flag.
BreachNews has also covered exposed phishing infrastructure behind 3 active Microsoft 365 campaigns and a ConnectWise supply chain attack that reached Microsoft 365 customers.
![Redacted cybercrime forum listing titled "TP-Link [2.47M+ Customers]" showing the TP-Link logo, claimed customer counts by country, field names for four datasets, and pixelated sample records.](https://i0.wp.com/breachnews.com/wp-content/uploads/2026/12/tp-link-breach-claim-forum-post-2019-scaled.webp?resize=360%2C180&ssl=1)











