Key facts
- A password reset alone does not remove the access; the registered device must be deleted.
- When a rogue device is discovered, delete it in Entra ID, revoke the user sessions, and reset credentials.
- Throughout November 2026, Huntress tracked an active phishing campaign that uses device codes.
- All discovered registrations joined Entra ID and reported Windows build 10.0.19041.928.
Huntress tracked an active device-code phishing campaign throughout November 2026 that registered rogue Windows devices in Microsoft Entra ID environments, Microsoft’s identity platform, across 305 organizations.
BleepingComputer reported the campaign as more than 400 rogue Windows devices in Microsoft Entra ID, and Huntress provided a precise count of registrations, identities, and organizations. The operation began in November, and the actor registered devices to 326 Entra ID identities, allowing access to persist after password resets. Huntress said, “throughout November 2026, we observed 468 registrations across 326 identities in 305 organizations.” Registrations concentrated on weekdays, with very few appearing on weekends.

The threat actor registers its own Windows devices to compromise victims’ Microsoft 365 environments, and the attack starts when someone is tricked into typing an attacker-made code for device sign-in on Microsoft’s real authentication page and completing the sign-in. That step lets the attacker obtain valid access and refresh tokens, register a rogue device in the victim’s Entra ID environment, and obtain a Primary Refresh Token, which enables persistent access to the organization’s resources through single sign-on to Microsoft 365 apps. The token keeps working after a password reset because Microsoft invalidates a Primary Refresh Token during a password change solely if the token was acquired using the password; in this campaign the token came from a phished token instead. Conditional Access Policies, which gate sign-ins based on device state, can also be satisfied by a Primary Refresh Token, and resetting a password by itself does not remove the access; the registered device has to be deleted.
When a rogue device is discovered, delete it in Entra ID; Huntress emphasizes that a password reset alone does not remove access because the registered device must be deleted. Huntress advises using an identity threat detection and response tool that flags unusual login patterns and rogue device registrations and can contain the compromise.
After registering the rogue device, the threat actor used the new Primary Refresh Token to log in to Azure Active Directory and Microsoft Office. Huntress observed sign-ins to Microsoft Entra ID and Microsoft Office, in many cases followed by access to OneDrive, SharePoint, or Exchange.
One analyzed intrusion began when a phishing lure sent the victim through the device code flow, an authentication method in which a user enters a code on Microsoft’s real sign-in page, giving the attacker access and refresh tokens. The first two interactive sign-ins showed a CMSI interrupt error code, AADSTS50199, which confirmed the victim was attempting to sign in to the Microsoft Authentication Broker application. The activity appeared to come from a normal location but originated from a residential or callback proxy, and the threat actor immediately redeemed the token against the device registration service. Non-interactive logs then showed the sign-in move to a new IP address, a new location in Poland, and an automated python-requests user-agent.
The threat actor also signed in to victims’ accounts using a malicious Python script that identifies itself as python-requests/2.32.5 and comes from datacenter IPs. Recently, the attacker used one IP at a time and changed it every few days, following a schedule for rotating IP addresses and hosting providers. The first and fourth scripted-sign-in IPs sit in leased address blocks assigned to the same hosting customer in the same second on October 7, and the lease ended on the morning of November 9, with the third IP beginning use under two hours later. Huntress cannot tell whether the hosting customer is the threat actor or a reseller acting for them.
Campaign sign-ins used the Microsoft Authentication Broker application and mostly came from residential and business broadband in the US and UK. In most compromised accounts, Huntress saw successful sign-ins from residential proxy IPs flagged for callback proxy activity, and numerous addresses are part of commercial residential proxy networks such as DataImpulse, Oxylabs, NodeMaven, IPRoyal, and Shifter. Because no single IP address hit more than two victims, blocking IP addresses will not stop the campaign.
Together, the five IPs signed in, or attempted to sign in, against 361 accounts in 337 organizations. Most attempts failed, with 1,186 failed sign-ins against 197 successful ones. Thirty-eight successful login sessions had an added DESKTOP- device registered, and 71 sessions showed other suspicious activity at sign-in.
Compromised devices mostly carry names that start with MH- and then 16 uppercase hex characters, such as MH-51FB898341CEA47A, and all discovered registrations joined Entra ID and reported Windows build 10.0.19041.928. That build matches Windows 10 version 2004, a release that left Microsoft servicing in 2021, and it is the default hardcoded in ROADtools, a public Entra ID toolkit capable of registering devices. ROADtools registers devices using that same build and names them DESKTOP- plus eight characters unless instructed otherwise, and it creates default random names from uppercase letters and digits rather than hex characters. The MH- prefix combined with 16 hex characters is a deliberate change made by the threat actor, which retains the ROADtools build but changes the default device name.
The last three IPs in the table registered devices beginning with both MH- and DESKTOP-, a naming overlap that caught Huntress’s attention. On 13 occasions, the same IP worked on victims from both device sets within the same 10 minutes, leading Huntress to assess that the MH- devices and at least some DESKTOP- devices were registered by the same threat actor. MH- is one of several device naming patterns seen on compromised accounts in November, each pairing with the ROADtools build and carrying no hardware identifiers, and the MH- and DESKTOP- patterns appear to belong to a single operation.
In one operation, the attacker created a device using the victim’s username and e-mail domain as the name, then added a second device named DESKTOP- plus six characters, which differs from ROADtools’ default of eight. Usually the second device appeared within a minute, and in every case within 28 minutes. This operation relies on its own scripted sign-in IP addresses, separate from the MH- backend, and most username-named devices saw sign-ins from a headless Chrome browser running on Linux. Headless Chrome on Linux is a sign of automation rare across the rest of Huntress’s customer base.
A third group uses devices named Device- plus eight hex characters and devices named GraphSpy-Device after the public GraphSpy tool; both report build 10.0.26100. Most of those sign-ins came from datacenter IPs rather than residential proxies, and Huntress found no shared infrastructure between this third group and the others. GraphSpy-Device is the default name used by GraphSpy, another public Entra ID toolkit, and because ROADtools and GraphSpy are public tools, other operators can produce the same defaults. Because the DESKTOP- plus eight pattern appears outside this operation, the overlap does not definitively tie the campaign to Storm-2372 or any other named actor.
Huntress sorted the activity into three operations after looking at shared infrastructure, sign-in methods, builds, and device names, a grouping based on the firm’s own analysis of the November activity. None of these operations has been linked by Huntress to a specific threat actor.
In February 2025, Microsoft documented Storm-2372 phishing device codes for the Microsoft Authentication Broker, and Microsoft also documented Storm-2372 registering a device to obtain a Primary Refresh Token, matching the chain seen in this campaign. Unit 42 has also documented ROADtools device registration using this build and the python-requests client.
Huntress tracked the campaign through Microsoft 365 Entra logs, Microsoft 365 Audit Logs, and Microsoft Defender incidents. Identity logs recorded every registration, including device name, build, and owning account, tying the campaign together across organizations. Defender opened an incident for 25 of the 326 compromised identities that Huntress discovered. For one account, Entra logged the device registration, and about five minutes later Defender raised an incident describing the account as compromised by device code phishing; the device was registered at 02:39:15 UTC and Defender raised the incident at 02:44:19 UTC.
Defender indicates that Microsoft considers the account compromised, while identity logs show the device to delete, and deleting that device is the sole means of severing the threat actor’s access. Defender XDR visibility is limited to what a tenant licenses and connects. Only 36 organizations running an MH- device had Defender connected to Huntress, and the 36 organizations contained 47 victims, with Defender opening an incident on 25 of those identities. All incidents carried a high-severity title describing device code phishing attack disruption, and Microsoft Defender XDR built the incidents by correlating alerts across Microsoft security products.
Attack disruption means Microsoft automatically contained the account, such as by disabling it or ending its sessions. As of December 3, 2026, Microsoft has not classified any of the incidents. Every incident included an alert about suspicious Entra device join or registration, Microsoft’s detection of the rogue device registration seen in audit logs. Five incidents also included an alert about possible use of a stolen session cookie, and other incidents included alerts from Defender for Office 365 and Entra ID Protection.
Defender confirmed the breach and contained the account where it had been deployed, acting on the alerts it generated. Identity logs named the victims, including accounts in organizations that lacked Defender, and pinpointed the exact device to remove.

Join the discussion