[WARNING · CHECK THIS WEEK]/News·

Device-code phishing plants rogue devices in Microsoft 365; a password reset won't remove them

Huntress said on 3 December 2026 that a device-code phishing campaign registered 468 rogue devices in Microsoft Entra ID during November, across 326 accounts in 305 organizations. Victims typed an attacker's sign-in code into Microsoft's genuine page; the attacker then joined a device of their own to the account. That device holds a token that keeps working after the password is changed. Huntress calls the campaign active; its counts start in early November.

Syslog card, level WARNING (check this week): 305 organizations hit, rogue devices survive a password reset. Affected: Microsoft 365, Entra ID. To do: Look for build 10.0.19041.928 in Entra; Block device-code sign-in if unused.

Does this concern you?

  • Affected: companies on Microsoft 365 where device-code sign-in is not blocked and users can register devices.
  • Skip it if: Conditional Access already blocks device-code authentication and a search of your Entra audit logs finds none of the devices described below.

What to do

  • Under Devices > All devices in the Entra admin center and in the audit logs, look for devices named MH- followed by 16 hexadecimal characters, or whose reported build is 10.0.19041.928 and which carry no hardware identifiers. Huntress adds builds 10.0.19045.2006, 10.0.19045.0 and 10.0.26100, again only without hardware identifiers. A patched Windows PC would not report 10.0.19041.928.
  • In the sign-in logs, look for device-code sign-ins followed by non-interactive sign-ins from a script such as python-requests.
  • For each hit, delete the device in Entra ID, revoke the user's sessions and reset the password – all three. Then check the account's other registered devices, MFA methods and inbox rules, and remove anything unknown.
  • Block device-code authentication with Conditional Access where nobody needs it (Entra ID P1 and up). Below P1, Huntress recommends turning on security defaults.
  • Require MFA to register a device and limit how many devices one user may register.
  • Don't count on blocking IPs: the phishing sign-ins came through residential proxies, and none of those IPs served more than two victims. Do search sign-in logs for the five datacenter IPs Huntress lists for scripted sign-ins.

What we know – and what we don't

  • The lure posed as an Adobe-protected non-disclosure agreement from a named sender.
  • After registering the device, the attacker signed in to Microsoft Office and often opened OneDrive, SharePoint or Exchange.
  • The device build is the default of ROADtools, a public toolkit for testing Entra ID.
  • In the 36 organizations that had Defender connected to Huntress, Defender raised an incident for 25 of 47 victims, once about five minutes after the registration.
  • Not known: who runs the campaign. Microsoft described the same chain of steps in February 2025, but Huntress ties it to no named group. Its counts cover only the tenants it monitors.

Why it matters

The attacker never needed the password, so changing it doesn't help. In our view, every phishing clean-up in Microsoft 365 should include a look at the account's registered devices, and device-code sign-in should be off wherever no meeting-room screen or printer needs it.

Sources