A device code phishing campaign registered 468 rogue Windows devices in Microsoft Entra ID during November 2026. The devices were tied to 326 user identities at 305 organizations, according to a Huntress investigation published December 3.
Each device holds a Primary Refresh Token (PRT) that keeps the attacker signed in after the victim’s password is reset. Deleting the device is the only way to cut that access.

How the attack works
Victims received a lure posing as an Adobe-protected NDA, with Microsoft and Adobe branding. They typed an attacker-generated code into Microsoft’s real sign-in page and approved it.
The approval went to the Microsoft Authentication Broker app. Phishing lures dressed as legal or business documents also turn up in other campaigns, including a recent fake Krafton copyright notice campaign that delivered PureRAT through Google Drive.
The attacker then redeemed the token from a datacenter IP with a python-requests user agent and registered a new device. Microsoft has explained how the broker’s client ID returns a refresh token that can be exchanged for the device registration service.
The new device’s PRT gave the attacker access to Azure AD, Microsoft Office, OneDrive, SharePoint and Exchange.
Why a password reset fails
Entra ID invalidates a PRT on password change only if the PRT was obtained with that password. That rule is in Microsoft’s PRT documentation, and it doesn’t cover phished tokens.
A PRT is valid for 90 days and renews while the device stays active. Issued to a registered device, it can satisfy Conditional Access policies that require one.
Deleting or disabling the device in Entra ID invalidates its PRT.
Device fingerprints
Most rogue devices are named “MH-” followed by 16 uppercase hexadecimal characters, such as MH-51FB898341CEA47A. All of them were Entra ID-joined, reported Windows build 10.0.19041.928 and had no hardware identifiers.
That build is hardcoded as the default in ROADtools, a public Entra ID toolkit. It corresponds to Windows 10 version 2004, which Microsoft stopped servicing in 2021, so a patched machine would not report it.
ROADtools names devices “DESKTOP-” plus eight characters by default, so the attacker changed the naming on purpose. The researchers could not tell how the MH- names are generated.
Forty-six MH- names appeared in more than one organization. MH-51FB898341CEA47A was found in 24 organizations over 10 days.
Infrastructure
Victim sign-ins mostly came through residential proxies on US and UK broadband. The proxy providers included DataImpulse, Oxylabs, NodeMaven, IPRoyal and Shifter.
No single proxy IP served more than two victims, so blocking IPs won’t stop it.
Scripted token redemptions came from five datacenter IPs, each used for a few days before the next took over:
- 181.214.147.42
- 92.62.251.249
- 37.252.11.196
- 146.103.38.149
- 193.109.193.166 (still active)
Those IPs targeted 361 accounts at 337 organizations, with 1,186 failed and 197 successful sign-ins. Activity clustered on weekdays, with few registrations on weekends.
Detection gaps
Only 36 of the affected organizations had Microsoft Defender connected to the security firm’s platform. Those tenants held 47 victims, and Defender raised incidents for 25 of them.
The high-severity incident was titled “User session compromised by device code phishing (attack disruption).” In one case, it fired about five minutes after the device was registered.
No named actor
The activity has not been tied to a named threat actor. Microsoft’s February 2025 reporting on Storm-2372 described a similar pattern, but ROADtools is public, so shared tooling doesn’t prove a link.
The researchers are tracking two smaller operations separately. One used the default device name of the public GraphSpy tool.
What admins should check
Search Entra audit logs for device names matching ^MH-[0-9A-F]{16}$. Also look for builds 10.0.19041.928, 10.0.19045.2006, 10.0.19045.0 or 10.0.26100 with no hardware identifiers.
In sign-in logs, look for device code authentications followed by non-interactive sign-ins from programmatic user agents such as python-requests or node.
If a rogue device turns up, delete it first. Then revoke sessions, reset credentials and review the user’s MFA methods and inbox rules.
Tenants with Entra ID P1 or higher can block device code flow through Conditional Access. Tenants below P1 should turn on Security Defaults.
Other steps:
- Require MFA to register a device.
- Limit who can join devices.
- Lower the per-user device cap.
Staff should also know that an unexpected request to enter a code is a warning sign. It won’t look like the fake login pages and shopping sites described in recent Cyber Monday warnings about AI-powered phishing.