Device-code phishing campaign registers rogue devices in 305 Microsoft Entra ID tenants

Huntress reports an ongoing device-code phishing campaign that registered 468 rogue Windows devices across 305 organizations in November 2026, giving attackers persistent access that can survive password resets.

An office worker seen from behind holds a smartphone beside a glowing laptop in a Riyadh office at dusk.

Key points

  • Huntress observed 468 rogue device registrations across 326 identities in 305 organizations during November 2026.
  • Victims are tricked into entering an attacker-generated device code on Microsoft's legitimate sign-in page, handing over access and refresh tokens.
  • The attacker registers a rogue device and obtains a Primary Refresh Token (PRT), enabling persistent single sign-on access to OneDrive, SharePoint and Exchange.
  • All registrations reported Windows build 10.0.19041.928, the default in the ROADtools toolkit; many devices used names starting with "MH-" followed by 16 uppercase hex characters.
  • Removing the rogue device must come first, because the PRT can survive a password reset.

What happened

Researchers at Huntress are tracking an ongoing device-code phishing campaign against Microsoft Entra ID. Throughout November 2026 they observed 468 rogue Windows device registrations tied to 326 identities in 305 organizations. In the first two weeks of the month alone, 276 devices were registered at 168 organizations. The apparent goal is data theft from OneDrive, SharePoint and Exchange.

How the attack works

The victim is persuaded to type an attacker-generated code into Microsoft's genuine device sign-in page and complete authentication. Because the page is legitimate, the lure can be convincing. The attacker then receives valid access and refresh tokens, uses them to register a device in the tenant, and obtains a Primary Refresh Token (PRT). That token provides persistent single sign-on access and can outlive a password reset.

Huntress noted that every registration reported Windows build 10.0.19041.928, the default value in the open-source ROADtools toolkit, which it suspects was misused here. Many devices followed the naming pattern "MH-" plus 16 uppercase hex characters, and 46 device names recurred across attacks, some in up to 24 unrelated organizations. The same technique is used by phishing-as-a-service kits such as Tycoon2FA, Greatness and Kali365.

What this means for your institution

Password resets alone will not evict this attacker. Remediation order matters: delete the rogue device, revoke sessions, then reset credentials. Where device-code authentication has no business purpose, Microsoft recommends blocking it through Conditional Access. User awareness should stress that a device code should only be entered when the user started the sign-in or knows a trusted party did.

What to do now

  1. Review Entra ID device registrations since November 2026 for Windows build 10.0.19041.928 and names matching "MH-" followed by 16 uppercase hex characters.
  2. For any affected identity, delete the rogue device first, then revoke the user's sessions and reset credentials.
  3. Block device-code authentication through Entra Conditional Access wherever there is no documented business need.
  4. Check sign-in logs of affected users for subsequent access to OneDrive, SharePoint and Exchange to scope possible data exposure.
  5. Update phishing awareness content to explain that device codes should only be entered for sign-ins the user started or that a trusted party initiated.

How useful was this story?

Related frameworks

Need help acting on this?

Our consultants can assess your exposure and map the change to your controls and evidence.

Talk to an expert

Regulatory updates in your inbox

SAMA, NCA and SDAIA changes and what they mean for your institution — once a month.

E-mails in

We confirm by e-mail; unsubscribe any time. Manage your subscription · Past issues

Schedule a Free Assessment