Security firm Huntress reported on Thursday that it had spotted 468 instances of attackers registering their own devices in victims' Microsoft Entra ID environments, according to The Register. The researchers traced the activity to 326 compromised user accounts across 305 organizations in November alone, and said the campaign is ongoing.
The attackers exploit Microsoft's device code authentication mechanism, which is meant for devices that lack a suitable interface for entering credentials. Victims are tricked into approving a login on Microsoft's legitimate authentication page, which hands the hackers session tokens without them needing to steal passwords. One lure was a fake non-disclosure agreement supposedly protected by Adobe.
Rather than only hijacking accounts, the attackers appear to use the publicly available ROADtools toolkit to register their own Windows devices in victims' tenants. Because of Microsoft's Primary Refresh Token, which supports single sign-on, they can keep access even if the victim changes their password. The attackers used this access to reach Microsoft Office and, in some cases, OneDrive, SharePoint and Exchange.
Huntress noted several clues, including a Windows 10 build number that Microsoft stopped servicing in 2021 and device names beginning with MH-. It has not linked the campaign to a known threat group, though it noted similarities to a device code phishing operation Microsoft documented in February 2025. The Register said Microsoft had not responded to questions about whether it plans to change its authentication mechanisms.
Huntress urged administrators to scrutinize Entra audit logs, review authentication methods and mailbox rules on compromised accounts, and restrict who can enroll devices. Customers with Conditional Access can block device code authentication entirely. Victims should also delete the offending device from Entra ID, alongside revoking sessions and resetting credentials.