A large-scale device-code phishing campaign has successfully registered more than 400 rogue Windows devices inside Microsoft Entra ID environments belonging to 305 organizations, according to researchers at Huntress.
The operation began in November 2026 and resulted in 468 device registrations tied to 326 Entra ID identities. Attackers used the compromised accounts to maintain access to corporate resources even after victims reset their passwords.
Attack Mechanism
Victims were tricked into entering an attacker-supplied device code on Microsoft’s official authentication page. This step granted the threat actor valid access and refresh tokens, which were then used to register a rogue device and obtain a Primary Refresh Token (PRT). The PRT enabled persistent single sign-on access to OneDrive, SharePoint, and Exchange.
During the first two weeks of November, 276 devices were registered across 168 organizations using the naming pattern “MH-” followed by 16 uppercase hexadecimal characters. All registrations reported Windows build 10.0.19041.928, the default build used by the open-source ROADtools toolkit.
Scope and Related Campaigns
Huntress observed 46 distinct device names across the attacks, with some names appearing in up to 24 unrelated organizations and remaining active for as long as 10 days. The same device-code phishing technique has been adopted by several phishing-as-a-service platforms, including Tycoon2FA, Greatness, and Kali365. In a recent related campaign documented by Push Security, attackers leveraged Kali365 together with fake OpenAI and SpaceX event invitations.
Researchers recommend that affected organizations first delete the rogue devices from Entra ID, revoke active sessions, and only then reset credentials. Microsoft advises blocking device-code authentication flows through Entra Conditional Access wherever the feature is not needed.


