US security company Huntress published a report on December 3, 2026 (local time) analyzing a device code phishing campaign aimed at Microsoft 365 users. Over the month of November 2026, it found 468 rogue Windows device registrations across 326 identities in 305 organizations. Because the registered devices obtained a Primary Refresh Token (PRT), the company warns that a password reset alone does not lock the attacker out.

Victims Enter a Code on the Genuine Sign-In Page

Device code authentication is designed to let devices without a keyboard, such as TVs or printers, sign in. A user enters the code shown on the device into Microsoft's legitimate page from another device, and the device is then granted access. In this campaign, the attackers generated their own codes and tricked victims into entering them, obtaining access and refresh tokens.

According to Huntress, the lure posed as an Adobe-protected non-disclosure agreement (NDA), impersonating both Microsoft and Adobe. Since victims type the code into a genuine Microsoft page, checking the URL alone does little to expose the scam.

Stolen Tokens Used to Register Fake Devices in Entra ID

With the tokens in hand, the attackers connected to the Microsoft Entra ID device registration service and registered fake Windows devices in the victims' organizations. Each registered device received a PRT, and Huntress confirmed that the attackers used it to reach organizational resources such as OneDrive, SharePoint, and Exchange. The report does not specify what data was taken.

The device names followed a fixed pattern. In the main operation, the names consisted of "MH-" followed by 16 uppercase hexadecimal characters, and every device reported Windows build "10.0.19041.928." That build matches the default value in ROADtools, a publicly available security tool. The same device names were reused across multiple organizations, with the most common one appearing in 24 organizations over 10 days.

The attackers' activity was concentrated on weekdays, with very few registrations on weekends. Sign-ins came through residential proxy IP addresses, and no single IP address served more than two victims. Huntress has not tied the activity to any specific threat group.

Resetting the Password Is Not Enough

What makes this technique troublesome is that the device holding the PRT stays registered. Huntress explains that resetting the password does not remove the access tied to the device, so the device itself has to be deleted. Because the attacker can act as a registered device, it can also satisfy Conditional Access policies that require access from a registered device.

If a compromise is found, Huntress lays out the response as deleting the device in Entra ID, revoking the user's sessions, and resetting their credentials. It also recommends searching Entra ID audit logs for device names starting with "MH-" and for devices on old builds with no hardware identifiers, and checking sign-in logs for device code authentication and suspicious user agents.

Prevention: Restrict Device Registration and Use Conditional Access

For prevention, Huntress recommends limiting which users can register or join devices and how many, and requiring multifactor authentication to register a device. For tenants below Entra ID P1, it advises enabling Security Defaults; for P1 and above, it recommends Conditional Access measures including blocking device code authentication altogether.

For end users, the basic rule is not to enter a sign-in code for a sign-in they did not start themselves. If an email or a shared document suddenly asks for a code, the safest move is to check with the organization's IT administrator first.

Our Take

Device code phishing does not break multifactor authentication; it gets users to grant access themselves, undermining the assumption that MFA alone keeps accounts safe. The publication of clear indicators such as device names and build numbers makes it easier for administrators to check their own tenants, which is welcome. However, attackers can change device names at any time, and public tools like ROADtools are available to anyone, so relying on name matching alone is risky. Still, few business tasks in most organizations should require device code authentication, so blocking it through Conditional Access seems well worth the effort.

Summary

Huntress's report confirmed a technique, seen in 305 organizations, that uses device code phishing to register rogue devices and keep access even after a password change. Organizations using Microsoft 365 and Entra ID should review their registered devices and sign-in logs. For organizations that do not use device code authentication, turning it off is the quickest preventive step.