
Huntress, a managed detection and response company, says it is tracking an active device-code phishing campaign that registered rogue Windows devices in Microsoft Entra ID tenants. Its count for November 2026 is 468 registrations across 326 identities in 305 organizations; BleepingComputer, which reported the findings, describes more than 400 rogue devices. The attack starts with a victim being tricked into typing an attacker-generated device code into Microsoft’s genuine sign-in page. That hands the attacker valid access and refresh tokens, which Huntress says are then used to register a device in the victim’s tenant and obtain a Primary Refresh Token (PRT), giving single sign-on access to the person’s Microsoft 365 apps. In many cases Huntress saw follow-on access to OneDrive, SharePoint or Exchange.
The detail that matters for defenders is persistence. Huntress explains that Microsoft invalidates a PRT on a password change only when the token was obtained with the password; here it comes from a phished token, so a password reset alone does not cut off the attacker, and the rogue device has to be deleted. Huntress says the main cluster of registrations carries the default Windows build of ROADtools, a public Entra ID toolkit (10.0.19041.928), and its device names follow the pattern MH- plus 16 uppercase hex characters. It found that sign-ins mostly came from residential proxy networks, with no IP serving more than two victims, so IP blocklists will not stop it. Huntress groups the activity into three operations with different confidence levels and says it has not tied any of them to a named threat actor.
How to check if you’re affected
Affected products are Microsoft Entra ID tenants (Microsoft 365 organizations) where users can approve device-code sign-ins and register devices. Huntress’ hunting guidance for administrators:
- Search the Entra audit logs for device registrations whose name matches
^MH-[0-9A-F]{16}$, or whose reported Windows build is 10.0.19041.928, 10.0.19045.2006, 10.0.19045.0 or 10.0.26100 with no hardware identifiers. - Search the Entra sign-in logs (interactive and non-interactive) for suspicious device-code authentications. Non-interactive logs often show a switch from a normal user agent to a programmatic one such as
nodeorpython-requests. Huntress also lists five datacenter IPs to search for: 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 and 193.109.193.166. - Audit the compromised account’s registered devices and MFA methods, remove any you do not recognize, and check for suspicious inbox rules.
- If you find a rogue device, Huntress says to delete the device in Entra ID first, then revoke the user’s sessions and reset their credentials. BleepingComputer repeats that device removal should be the first step.
- To reduce exposure, Huntress recommends limiting who can register or join devices and how many each user can register, and requiring MFA to register a device. It recommends Microsoft security defaults below Entra ID P1; with P1 and above it recommends conditional access policies that block device-code authentication, require managed and compliant devices, and enforce MFA and geolocation rules; with P2, risk-based policies. BleepingComputer adds that Microsoft recommends blocking device-code authentication through Conditional Access wherever it isn’t needed.
- For users: BleepingComputer says to enter a device code only if you started the sign-in yourself or know a trusted party did.
Huntress sells detection and response services, so its recommendation to have an identity threat-detection tool is also a product pitch. Of the organizations with an MH- device, Huntress says only 36 had Microsoft Defender connected to its platform, and Defender raised an incident for 25 of the 47 victims in those 36. Huntress notes Defender sees only what a tenant licenses and connects; our reading is that a lack of Defender alerts does not rule out a compromise.
