Microsoft 365 device code phishing adds attackers' devices to company accounts

Huntress found 468 rogue devices registered in 305 Microsoft 365 organizations in November. A password reset alone does not remove them.

Book a visit or pickup (213) 986-4855

On December 3, 2026, security firm Huntress reported a phishing campaign that quietly adds the attacker's own "computers" to victims' Microsoft 365 accounts. Throughout November 2026, Huntress found 468 rogue device registrations across 326 user accounts in 305 organizations. The detail that matters most for small businesses: changing the victim's password does not lock the attacker out.

A technician's hands working on a circuit board on a repair bench

How the attack works

The campaign abuses device code sign-in, a legitimate Microsoft feature meant for devices without a keyboard, such as smart TVs or conference room screens. Huntress describes the sequence like this:

  1. The victim receives a phishing lure and is walked through a real Microsoft sign-in page where they enter a short code. Because the page is genuine, it looks safe, and the user completes multi-factor authentication as normal.
  2. That sign-in hands the attacker valid tokens for the account.
  3. The attacker immediately uses those tokens to register a new Windows device in the company's Microsoft Entra ID (the identity system behind Microsoft 365). Huntress says it appears the attacker uses ROADtools, a public toolkit.
  4. The registered device receives a Primary Refresh Token, which gives single sign-on to the user's Microsoft 365 apps such as Outlook, OneDrive and SharePoint, and can even satisfy access policies that require a registered device.

Why a password reset is not enough

Huntress points out that Microsoft only invalidates this kind of token on a password change when the token was obtained with the password. Here it came from a phished sign-in, so the attacker's device keeps working. According to Huntress, deleting the rogue device in Entra ID is the only way to cut off access.

What to check in your Microsoft 365 tenant

How to prevent it

This is a close relative of the token replay attacks we wrote about earlier: MFA is still essential, but attackers are increasingly targeting what happens after the sign-in.

Sources

Want someone to check your tenant?

Call Creative IT USA on (213) 986-4855. We can review your registered devices and sign-in settings as part of our email and phishing security work.

Call us Book a visit