Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A Huntress bar chart titled "Devices registered in the first two weeks of the campaign" showing daily counts of rogue MH- device registrations, compromised identities and affected organizations, peaking at 57 registrations on the Tuesday of the second week, with 276 registrations, 184 identities and 168 organizations in total and almost no activity on the weekend.
Image: Huntress (fair use). Figure 1, rogue MH- device registrations in the first two weeks of the campaign, December 3, 2026.

Detection

Huntress Found 468 Rogue Devices Registered in Microsoft Entra ID Across 305 Organizations in November, and Resetting a Victim's Password Does Not Lock the Attackers Out

A device code phishing campaign is turning stolen Microsoft 365 sign-ins into attacker-owned Windows devices that hold a Primary Refresh Token. Huntress says the devices share an MH- naming pattern and a stale Windows build from the public ROADtools kit, which makes them easy to hunt, and the only fix is deleting the device.

Ava Okello, DetectionLondon6 min read

LONDON - A phishing campaign aimed at Microsoft 365 users is leaving something behind in victims' tenants that a password reset does not touch: a Windows device the attackers registered themselves.

Huntress said Thursday that throughout November it observed 468 rogue device registrations in Microsoft Entra ID, tied to 326 identities in 305 organizations. The report, by Andrea Hatcher, Matt Poto and Andrew Schwartz, describes an operator that works weekdays, registers devices whose names begin with "MH-" followed by 16 uppercase hexadecimal characters, and then uses them to reach OneDrive, SharePoint and Exchange.

The registered device is the point of the exercise. It receives a Primary Refresh Token, which gives single sign-on to the user's Microsoft 365 apps and can satisfy Conditional Access policies that require a registered device. Huntress said Microsoft invalidates that token on a password change only when it was obtained with the password, and here it comes from a phished token instead. "A password reset alone doesn't remove the access; the device has to be deleted," the researchers wrote.

A fingerprint in the audit log

The campaign surfaced where two of Huntress's data sources overlap. Microsoft Defender flagged accounts for device code phishing and suspicious device registration, and on the same accounts the Entra audit logs showed a new device that reported a tool's default Windows build and carried no hardware identifiers. Pivoting on those details across every tenant it monitors, the firm found the same naming scheme, the same build and sometimes the exact same device name across hundreds of organizations.

Every registration Huntress found was joined to Entra ID and reported Windows build 10.0.19041.928. That is the default hardcoded in ROADtools, a public Entra ID toolkit that can register devices, and it corresponds to Windows 10 version 2004, which left Microsoft servicing in 2021. "A legitimate, patched Windows machine would not report this build," the report said.

ROADtools names devices DESKTOP- followed by eight characters unless told otherwise, and its random names use uppercase letters and digits rather than hex. Huntress reads the MH- prefix as a deliberate change by the operator. Forty-six MH- names were registered in more than one organization; one, MH-51FB898341CEA47A, turned up in 24 organizations over 10 days. "We don't know how the names are generated or why some get reused," the researchers wrote.

A Huntress diagram titled "How rogue devices are registered" showing six steps between the victim, Entra ID, the attacker and Microsoft 365: the victim approves the attacker's device code, Entra issues a broker token for device registration, the attacker registers a rogue device named MH- plus 16 hex characters with build 10.0.19041.928, a Primary Refresh Token is issued to that device, the attacker signs in to Office with it, and access persists after the victim's password reset.
Image: Huntress (fair use).Figure 2, how a phished account registers a rogue device that keeps access after a password reset, December 3, 2026.

How the intrusions unfold

Victims are tricked into entering an attacker-generated code on Microsoft's real device sign-in page. In most compromised accounts, Huntress saw a successful sign-in through the Microsoft Authentication Broker application from a residential proxy address, mostly on residential and business broadband in the United States and Britain, from providers including DataImpulse, Oxylabs, NodeMaven, IPRoyal and Shifter. "No IP address served more than two victims, so IP blocklists won't stop this activity," the report said.

In one intrusion Huntress walked through, the first interactive sign-ins show the victim receiving error code AADSTS50199, confirming a sign-in to the broker application. The operator immediately redeemed the token against the device registration service. The non-interactive logs then move to a new address in Poland and an automated python-requests user agent. Once the device was registered, the operator used the new Primary Refresh Token to sign in to Azure Active Directory and Microsoft Office and reach other resources.

Behind the proxies sits a scripted backend. Sign-ins identifying as python-requests/2.32.5 came from datacenter addresses, one at a time, rotated every few days. Huntress listed five: 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 and 193.109.193.166, the last still in use. The first and fourth sit in two blocks of leased address space assigned to the same hosting customer in the same second on October 7. That lease ended on the morning of November 9, and the third address went into use less than two hours later.

Together the five addresses signed in, or tried to, against 361 accounts in 337 organizations, with 1,186 failed sign-ins against 197 successful ones. Thirty-eight of the successful sessions had an additional DESKTOP- device registered, and on 13 occasions the same address worked on victims from both naming sets within 10 minutes, which led Huntress to assess that the MH- devices and at least some DESKTOP- devices came from the same operator.

A Huntress Entra audit log entry for a "Register device" activity by the Device Registration Service, initiated from 193.109.193.166, tagged as an attacker indicator on network AS212238 Datacamp Limited in Warsaw, Poland, targeting a device named MH-6235DFDD823EE234 with device trust type Azure AD join and device OS Windows.
Image: Huntress (fair use).Figure 4, a malicious device registration in the Entra audit logs, December 3, 2026.

What Defender caught

Microsoft Defender XDR saw part of the campaign, limited by what tenants licensed and connected. Of the organizations with an MH- device, 36 had Defender connected to Huntress. They held 47 victims, and Defender raised an incident on 25 of them, each titled "User session compromised by device code phishing (attack disruption)" at high severity, meaning Microsoft automatically contained the account. Every incident included the alert "Suspicious Entra device join or registration," and five also carried "Possible use of a stolen session cookie." In one account, Entra recorded the registration at 02:39:15 UTC and Defender raised its incident at 02:44:19 UTC.

Huntress said the two sources answer different questions. Defender says Microsoft considers the account compromised. "The M365 identity logs tell you which device to delete, which is the only way to cut off the threat actor's access," the report said.

Two more naming patterns

Huntress is tracking two other clusters. In one, the operator first registered a device named after the victim's username and email domain, then joined a second device named DESKTOP- plus six characters, within 28 minutes in every case and within a minute in most. That group, which Huntress links with high confidence across 13 accounts, reported build 10.0.19045.2006 on its second device, used python-requests/2.34.2 from its own scripted sign-in addresses and, on more than half of the username-named devices, signed in from headless Chrome on Linux. A third group registers devices named Device- plus eight hex characters, or GraphSpy-Device after the public GraphSpy tool, reports build 10.0.26100 and signs in from datacenter addresses; Huntress found no shared infrastructure with the others and rates that link low.

The firm has not tied any of the activity to a named actor. It noted that Microsoft documented Storm-2372 running the same chain of device code phishing for the Microsoft Authentication Broker followed by device registration in February 2025, but said that because ROADtools and GraphSpy are public, other operators can produce the same defaults.

A Huntress chart titled "Accounts with two rogue devices registered" plotting, for 13 accounts, the time between the first and second rogue device registrations, from 4 seconds on two accounts to 28 minutes 43 seconds on the slowest.
Image: Huntress (fair use).Figure 6, time between first and second rogue device registrations on accounts with both, December 3, 2026.

What SOC teams should do

  • Search Entra audit logs for device registrations named MH- plus 16 hex characters (the pattern ^MH-[0-9A-F]{16}$), or reporting builds 10.0.19041.928, 10.0.19045.2006, 10.0.19045.0 or 10.0.26100 with no hardware identifiers.
  • Search interactive and non-interactive sign-in logs for device code authentications through the Microsoft Authentication Broker that pivot to python-requests, node or other programmatic user agents, and follow the session ID; check the five datacenter addresses Huntress published.
  • On any hit, delete the device in Entra ID, revoke the user's sessions and reset credentials; a password reset on its own leaves the device and its token working. Review the account's registered devices, MFA methods and inbox rules.
  • Limit who can register or join devices and how many each user may register, require MFA for device registration, and where Entra ID P1 licensing allows, block device code authentication through Conditional Access.
  • Do not rely on IP blocklists for the phishing leg; the residential proxy addresses rarely repeat.

About the Author

Ava Okello

Ava Okello covers detection engineering, EDR telemetry, and SOC hunting for SOCtember from London.

Related stories

Detection desk