Phishers Are Registering Their Own Devices in Microsoft 365, and Password Resets Won't Remove Them
Researchers at Huntress say more than 300 organisations had unwanted devices added to their Microsoft 365 environments in November. The firm spotted 468 instances of attackers registering their own devices in victims' Microsoft Entra ID tenants. These traced back to 326 compromised user accounts across 305 organisations, and the campaign is ongoing.
The attackers abuse Microsoft's device code authentication, which lets people sign in on devices that cannot easily accept a password. Victims are tricked into approving a login on Microsoft's genuine authentication page, which hands the attackers session tokens without any need to steal a password. One lure was a fake non-disclosure agreement, supposedly protected by Adobe, which victims were told they must authenticate with Microsoft to open.
Once in, the attackers appear to use the publicly available ROADtools toolkit to register their own Windows devices. This gives them a Primary Refresh Token, which supports single sign-on across applications. Huntress explained that Microsoft invalidates such a token on a password change only when it was obtained using the password, and here it came from a phished token instead. The attackers reached Microsoft Office and, in some cases, OneDrive, SharePoint and Exchange.
There are clues for defenders. The fake devices report a Windows 10 build number that Microsoft stopped servicing in 2021, which is also the ROADtools default. Most rogue device names begin with MH- followed by 16 uppercase hexadecimal characters. Attackers also use residential proxies, but Huntress saw none used against more than two victims, so IP blocklists help little. Huntress has not attributed the campaign to a known group, though it notes similarities to a February 2025 operation Microsoft linked to Storm-2372.
Why it matters
The standard response to a phished account, a password reset, fails here because the attacker's persistence is tied to a registered device and a token that was never obtained with the password. Any business that relies on resets to contain account compromise may believe an incident is closed while the attacker retains access. It also shows that signing in on a genuine Microsoft page is no proof of safety, so device enrolment and device code sign-in need to be controlled.
What to do
- Review Entra audit logs for suspicious device registrations, including names starting with MH- followed by 16 uppercase hexadecimal characters.
- Look for registered devices reporting the outdated Windows 10 build number that ROADtools uses by default.
- Restrict who can enrol new devices in Entra ID.
- Block device code authentication with Conditional Access if your licence includes it, and delete rogue devices alongside revoking sessions and resetting credentials.