Threat feed

Device-code phishing rogue Entra devices

Device-code phishing planted 468 rogue devices in Entra ID tenants across 305 organizations, keeping access after password resets

Posted · Spectrum Delta Research Team

Summary

An unattributed actor ran a device-code phishing campaign through November 2026 that registered 468 rogue Windows devices in Microsoft Entra ID tenants across 305 organizations, using stolen Microsoft Authentication Broker tokens and the public ROADtools toolkit to mint Primary Refresh Tokens that keep working after password resets. Huntress reported that lures disguised as an Adobe-protected nondisclosure agreement pushed victims through the legitimate Microsoft device-code flow, after which a Python script using python-requests redeemed tokens from five rotating datacenter IP addresses against the Device Registration Service, reaching 361 accounts in 337 organizations. Rogue devices were named MH- followed by 16 hexadecimal characters, reported Windows build 10.0.19041.928, the ROADtools hardcoded default that left servicing in 2021, and carried no hardware identifiers; the devices then reached OneDrive, SharePoint and Exchange. Microsoft Defender raised its device-code phishing attack-disruption incident on only 25 of 326 compromised identities, and remediation requires deleting the rogue device, not just resetting the password.

Breakdown

Countries

  • United States
  • United Kingdom

Targets

  • Industry: Cross-sector

Technical exposure

  • Microsoft 365 tenants allowing users to register and join devices
  • Conditional Access without device-code authentication blocking
  • Primary Refresh Tokens honoring phishing-derived device grants
  • Device registration without an MFA requirement

Adversary

Unattributed actor · device-code phishing plus scripted Entra ID device registration (Huntress, B/2)

Procedures (4)

  1. Adobe-agreement lure walks victim through device-code flow

    • T1566Phishing
    • T1528Steal Application Access Token

    Logs

    • Entra ID interactive sign-in logs · Interactive sign-ins to the Microsoft Authentication Broker application failing with CMSI interrupt AADSTS50199, originating from residential proxy exits with at most two victims per IP; requires Entra sign-in log retention covering the broker app

    Detectors

    • Microsoft Defender XDR device-code phishing attack disruption · High-severity incident 'User session compromised by device code phishing (attack disruption)' with automatic account containment; raised on 25 of 326 compromised identities observed by Huntress
  2. Stolen token redeems ROADtools device registration

    Logs

    • Entra ID audit and non-interactive sign-in logs · Device registrations with names matching ^MH-[0-9A-F]{16}$ reporting Windows build 10.0.19041.928 or 10.0.19045.2006 with no hardware identifiers; paired non-interactive sign-ins pivoting from a browser user agent to python-requests or Dsreg/10.0 from a new datacenter IP location; 46 MH- names appeared in more than one organization

    Detectors

    • Microsoft Defender XDR suspicious device registration alert · 'Suspicious Entra device join or registration' and 'Suspicious Entra device join or registration using an uncommon user agent' inside device-code phishing incidents
  3. Scripted sign-ins rotate five datacenter IP addresses

    Logs

    • Entra ID non-interactive sign-in logs · Sign-ins with user agent python-requests from 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 or 193.109.193.166, one at a time and switched every few days; together 1,186 failed and 197 successful sign-ins against 361 accounts in 337 organizations
  4. Rogue-device token reaches mail and file workloads

    • T1550.001Use Alternate Authentication Material: Application Access Token

    Logs

    • Entra ID sign-in logs · Single sign-on sessions via the rogue device satisfying registered-device Conditional Access, followed by access to OneDrive, SharePoint and Exchange; sessions persist after password resets because the Primary Refresh Token came from a phished grant

Indicators of compromise

IPs (5)

  • 181.214.147.42Scripted sign-in IP, BK Customers hosting, 16 days in use against 51 accounts (Huntress)
  • 92.62.251.249Scripted sign-in IP, FREAKHOSTING, 8 days against 95 accounts (Huntress)
  • 37.252.11.196Scripted sign-in IP, Artnet, 4 days against 79 accounts (Huntress)
  • 146.103.38.149Scripted sign-in IP, BK Customers, 5 days against 81 accounts (Huntress)
  • 193.109.193.166Scripted sign-in IP, Datacamp, in use at publication against 60 accounts (Huntress)

Sources

Questions, detections or sightings of Device-code phishing rogue Entra devices? Bring them to the community.