In This Article
- What Huntress found
- Why the password reset leaves the attacker signed in
- Hunt for rogue devices this week
- Respond: remove the device, then reset
- Prevent: one policy and three device settings
- What your Microsoft licensing covers
- What to keep for the incident file
- How ABT handles this in the tenants it manages
- Frequently Asked Questions
When a staff member at a bank, credit union or mortgage company approves a phishing prompt, the help desk resets the password and closes the ticket. In a device code phishing campaign that Huntress published on December 3, 2026, the attacker had already registered a Windows device of their own in each victim organization's Microsoft Entra ID. That device holds a Primary Refresh Token, and Huntress reports that a password reset alone did not remove the access.
The fix is short. Find any device the attacker registered, confirm nobody at your institution set it up, disable it, revoke the user's sessions, then reset. When the account is confirmed compromised and the device check is still open, revoke sessions and reset right away, then finish the device check before closing the incident. Block device code sign-in for everyone who has no documented need for it. Require multifactor authentication to register or join a device, and limit who can join one. Review device code use in report-only mode before you enforce the block, and test laptop enrollment, replacement devices and Autopilot before you narrow join permissions or lower the device cap.
This guide covers what the campaign looks like in your logs, why the reset leaves the attacker in, the hunt to run this week, the response order, and the settings that close the entry point. It's current as of December 4, 2026.
What Huntress Found
The security research firm Huntress reported 468 rogue device registrations across 326 identities in 305 organizations during November 2026, all tied to one device code phishing campaign. Huntress names no bank, credit union or mortgage company among the victims. The method works in any Microsoft 365 tenant that still allows device code sign-in and lets ordinary users join devices.
Device code flow is a legitimate Microsoft sign-in method for devices with no keyboard, such as a meeting room display. The device shows a short code, and the user types it into a Microsoft sign-in page on another device. In device code phishing, the attacker starts the sign-in and sends the code to the victim, here in a lure dressed up as an Adobe-protected non-disclosure agreement. The victim signs in on a real Microsoft page, completes MFA, and the token lands with the attacker. Our earlier article on device code phishing at scale covers that entry point in detail, and the FBI's Kali365 warning shows how kits now sell it.
What sets this campaign apart is the next step. With the stolen token, the attacker joined a Windows device to the victim's Entra ID, using a public toolkit called ROADtools. Huntress found the devices easy to recognize:
- The name: most begin with MH- followed by 16 uppercase hexadecimal characters, such as MH-51FB898341CEA47A. That one name appeared in 24 organizations over 10 days.
- The build: every registration Huntress found was Entra joined and reported Windows build 10.0.19041.928, the default written into ROADtools. That build is Windows 10 version 2004, which left Microsoft servicing in 2021, so a patched laptop on your network will report something newer.
- The sign-ins: the phished sign-ins came through the Microsoft Authentication Broker application, mostly from residential and business broadband addresses in the US and UK, many of them on commercial residential proxy networks. Among the victim-facing proxy sign-ins, no IP address served more than two victims, so hunt for these sign-ins by device and application, with any IP blocklist as a supporting layer.
- The backend: a script identifying itself as python-requests/2.32.5 signed in from five datacenter IP addresses. Together those addresses tried 361 accounts in 337 organizations, with 1,186 failed and 197 successful sign-ins.
- February 14, 2025Microsoft updates its Storm-2372 report: the actor is phishing device codes, then registering a device to obtain a Primary Refresh Token. (Microsoft)
- November 2026Huntress observes 468 rogue device registrations across 305 organizations. (Huntress)
- December 3, 2026Huntress publishes the device names, the Windows build, the five datacenter IP addresses and its hunt guidance. (Huntress)
- Your next stepSearch your Entra ID device list for the MH- name pattern and the 10.0.19041.928 build.
Huntress ties the campaign to no named threat actor. Microsoft documented the same chain in February 2025, and because ROADtools is public, other groups can produce the same defaults. Plan for the technique, whoever runs it next.
Why the Password Reset Leaves the Attacker Signed In
A Primary Refresh Token (PRT) is the token Windows uses for single sign-on to Microsoft 365 apps. Microsoft issues it to a device registered in Entra ID, and the device uses it to get access tokens for Outlook, Teams, SharePoint and the rest. Microsoft's PRT documentation lists the events that invalidate one, and the password change rule carries a condition: "If a user obtained the PRT with their password, the PRT is invalidated by Microsoft Entra ID when the user changes their password."
Plan for more than the password reset: Huntress reports that a reset alone leaves the access in place in this campaign. Treat the reset as one step of the response and plan the rest around the device. The same Microsoft page lists the event that does end it: "If a device is deleted or disabled in Microsoft Entra ID, the PRT obtained on that device is invalidated." Huntress put it plainly: "A password reset alone doesn't remove the access; the device has to be deleted."
There is a second reason the device matters. Microsoft notes that "PRTs only satisfy device registration policies if they're issued for registered devices." A Conditional Access policy that requires a registered device treats the attacker's machine as one of yours. A requirement for a compliant device sets a higher bar, which is why our article on the Knight Office kit, which reached the same persistence through a stolen session cookie, focuses on who can join a device in the first place.
Five steps run top to bottom: the lure, the approved code, the joined device, the token on that device, and the password reset, which Huntress found left the access in place, followed by a green box showing that disabling the device revokes its tokens. The same steps are written out in the list below the figure. 1. The lure A code sent as a protected document 2. Code approved On a real Microsoft sign-in page 3. Device joined Most named MH-, build 10.0.19041.928 4. Token on that device Can request the user's access 5. Password reset The device token can keep working Revoke the device token Disable or delete the device in Entra ID, then reset The reset changes the password the attacker never needed; disabling the device revokes the Primary Refresh Token and refresh tokens on it.- The lure: the victim receives a sign-in code presented as a protected document.
- The victim types the code into a real Microsoft sign-in page and completes MFA, and the token goes to the attacker.
- The attacker joins a Windows device to Entra ID with that token. In this campaign most devices were named MH- plus 16 hexadecimal characters, and every registration Huntress found reported build 10.0.19041.928.
- The device receives a Primary Refresh Token and can use it to request access to the services the user is permitted to use. The sign-in logs show which ones it actually reached.
- The help desk resets the password. Huntress reports that a reset alone leaves the access in place.
- Disabling or deleting the device in Entra ID invalidates its token. The reset then protects the account going forward.
Steps 3 and 4 leave records in Entra ID: the device sits in the device list, and its sign-ins appear in the sign-in logs. The hunt below starts with both.
Key Takeaway
When an account falls to device code phishing, check its registered devices as part of the response. A known rogue device: disable it right away, then revoke sessions and reset. Account confirmed compromised, device not yet identified: revoke sessions and reset now, and keep the incident open until the device check is done. Microsoft documents that disabling a device revokes its Primary Refresh Token and refresh tokens.
Hunt for Rogue Devices This Week
Start with the device list, because the names and the build number make this campaign easy to spot, then widen to the sign-in logs.
Search the device list
In the Microsoft Entra admin center, go to Entra ID, then Devices, then All devices. You can filter by operating system version and join type, or use Download devices to export the list. Microsoft's device management page lists the columns the export includes, among them the display name, operating system version, join type and registration date. Look for three things:
- Any display name that matches MH- followed by 16 uppercase hexadecimal characters.
- Any device reporting Windows build 10.0.19041.928, the build on every registration in this campaign. Huntress's wider hunting guidance also lists 10.0.19045.2006, 10.0.19045.0 and 10.0.26100 on devices with no hardware identifiers.
- Any Entra joined device registered since November 1 that your IT team can't match to a laptop it set up.
For an administrator comfortable with Microsoft Graph PowerShell, a first-pass filter for the MH- name pattern and the main build runs in one command with read-only device permission. Review the other builds and any unrecognized joined devices in the device list as well:
Connect-MgGraph -Scopes "Device.Read.All"
Get-MgDevice -All -Property DisplayName,OperatingSystemVersion,TrustType,RegistrationDateTime |
Where-Object { $_.DisplayName -cmatch '^MH-[0-9A-F]{16}$' -or $_.OperatingSystemVersion -eq '10.0.19041.928' } |
Select-Object DisplayName,OperatingSystemVersion,TrustType,RegistrationDateTime
Search the sign-in logs
In the Entra sign-in logs, check both the interactive and the non-interactive views. Filter for device code sign-ins, then look for a sign-in that switches to a programmatic user agent such as python-requests. Search the logs for the five datacenter addresses Huntress published: 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 and 193.109.193.166. Treat those addresses as Huntress's indicators as of December 3; the residential proxy sign-ins change constantly, so the device list is the stronger signal.
Check Microsoft Defender XDR
Huntress could see Defender data for 36 of the affected organizations. Those 36 held 47 victims, and Defender raised an incident on 25 of them, titled "User session compromised by device code phishing (attack disruption)" at high severity. Every one of those incidents included the alert "Suspicious Entra device join or registration." In one account, the device registered at 02:39:15 UTC and Defender raised the incident at 02:44:19 UTC, about five minutes later.
Huntress explains that attack disruption means Microsoft contained the account automatically, for example by disabling it or revoking its sessions. Read the incident for the device name it reports and follow the response steps below. Under M365 Guardian, ABT reads these alerts about every five minutes, at any hour. Defender sees only what the tenant licenses and connects, so a quiet incident queue is a reason to run the device search and check each match against your device inventory.
Respond: Remove the Device, Then Reset
Huntress's order is: delete the device in Entra ID, revoke the user's sessions, and reset the credentials. Microsoft gives you a choice at the first step that matters for a regulated institution. Its device management page says "Disabling a device revokes the Primary Refresh Token (PRT) and any refresh tokens on the device." The same page calls deletion "a nonrecoverable activity" that removes the details attached to the device.
Disabling revokes the rogue device's tokens and keeps the device record for the investigation. Revoking the user's sessions and resetting the password then cover the account itself. We run the response in this order:
| Step | Action | Why |
|---|---|---|
| 1 | Export the device record and the audit log entries for its registration | The record shows when the device joined and which account joined it |
| 2 | Disable the rogue device in Entra ID | Microsoft: disabling revokes the device's PRT and refresh tokens |
| 3 | Revoke the user's sessions | Invalidates the refresh tokens the user's apps received during the compromise |
| 4 | Reset the password | Protects the account going forward |
| 5 | Review the user's MFA methods and remove any the user did not add | Huntress lists this audit; an added method lets an attacker sign in again |
| 6 | Check the mailbox for inbox rules the user did not create | Huntress lists this audit; rules hide replies and forward mail |
| 7 | Delete the device once the investigation closes | Deletion is nonrecoverable, so it waits until the step 1 export is filed |
Microsoft's own Storm-2372 guidance names the session step: "revoke the user's refresh tokens by calling revokeSignInSessions." In the admin center, that's the Revoke sessions button on the user's page.
One line for the help desk runbook
For any account reported as phished: open the user's devices in Entra ID as the first step of the response, and keep the ticket open until that check is done. If a device appears that IT did not set up, check it against your device inventory and with the employee. Once you confirm nobody at the institution registered it, disable it first, then revoke sessions, then reset. When the account is confirmed compromised and the device check is still open, revoke sessions and reset right away, then finish the device check.
The comparison below puts the two actions side by side, so the help desk can see why the device comes first.
Prevent: One Policy and Three Device Settings
Every prevention step here is a setting in your own tenant, so your IT team, or ABT in a tenant we manage, can make each change this week.
Block device code flow in Conditional Access
This policy closes the entry point the campaign used. Microsoft's guidance is direct: "We recommend organizations get as close as possible to a unilateral block on device code flow." The policy targets all users and all resources, excludes your emergency access accounts, and blocks access under Conditions, Authentication Flows, Device code flow.
Create it in report-only mode first. Microsoft recommends auditing existing use and allowing device code flow only "in well documented and secured use cases, like legacy tooling that can't be updated." The usual exception is a shared Teams desk phone or meeting room device that signs in with a code. Put those devices' accounts in an exception group, keep the group small, and review it on the same schedule as your other Conditional Access exclusions.
Require MFA to register or join a device
Microsoft's device settings page sets "Require multifactor authentication to register or join devices with Microsoft Entra ID" to No by default and recommends requiring it. Microsoft prefers the Conditional Access user action called Register or join devices for this. If you use that policy, leave the device setting at No, as the page instructs.
This step stops an attacker who holds only a stolen password. A phished device code sign-in may already carry the MFA the victim completed, so pair it with the device code block above and the join limit below.
Limit who can join devices
Microsoft documents the default for "Users may join devices to Microsoft Entra ID" as All, which lets any account, including a phished one, join a Windows device. Read your tenant's current value first, since some institutions changed it at setup. If IT sets up your laptops, the setting can name the IT staff group instead. Check how new laptops get joined today, including any Windows Autopilot setup, before you narrow it.
Lower the device cap
"Maximum number of devices" defaults to 50 joined or registered devices per user. Huntress recommends limiting how many devices a user can register. A cap close to what staff actually carry, such as five, keeps one phished account from collecting a fleet of attacker devices.
Microsoft's February 2025 report on this technique recommends the same two controls this article starts with: "Microsoft recommends blocking device code flow wherever possible," and it recommends "limiting the user permissions that can enroll devices into your Microsoft Entra ID environment." The 2026 campaign reused a chain Microsoft had already mapped, so a tenant that applied that advice in 2025 already blocks the entry point this campaign used.
What Your Microsoft Licensing Covers
Huntress tied its prevention advice to the Microsoft Entra ID plan a tenant holds, and the same split works as a checklist for your institution:
- Below Entra ID P1: turn on Microsoft's security defaults, as Huntress recommends.
- Entra ID P1, included in Microsoft 365 Business Premium: Conditional Access, which covers the device code block, required MFA, and policies that require a managed, compliant device.
- Entra ID P2: risk-based Conditional Access, which can require MFA or a password change when Microsoft rates a sign-in or a user as risky.
For a Business Premium tenant, Microsoft Defender Suite for Microsoft 365 Business Premium adds Entra ID P2 along with Defender for Endpoint Plan 2, Defender for Office 365 Plan 2, Defender for Identity and Defender for Cloud Apps, at $10 per user per month, paid yearly. It is the step we recommend for Business Premium tenants, and ABT can supply it as your Microsoft Cloud Solution Provider. Our article on the Entra risk policy retirement covers how risk-based policies now work.
What to Keep for the Incident File
An account takeover that survives the first reset is the kind of event your incident response program exists to document. Record the hunt and the response the same day, so the file shows what you looked for, what you found and when it ended.
The worksheet below turns the hunt, the response and the prevention settings into six rows, each with an owner and the record to keep.
- Search the Entra device list for the MH- pattern, the 10.0.19041.928 build and unrecognized joined devices since November 1.
- Search the sign-in logs for device code sign-ins and the five published datacenter addresses.
- For each rogue device found, export its record and registration audit entries, then disable it.
- Revoke sessions, reset the password, and review MFA methods and inbox rules for each affected user.
- Turn on the device code block in report-only mode, review the results, then enforce it with a documented exception group.
- Set MFA for device registration, limit who can join devices, and lower the device cap.
How ABT Handles This in the Tenants It Manages
ABT is a Tier-1 Microsoft Cloud Solution Provider primarily dedicated to financial services, and it manages Microsoft 365 tenants for banks, credit unions and mortgage companies. M365 Guardian starts with a 90-day hardening sprint on your tenant, and for an institution concerned about this campaign, the device code block and the three device settings above belong on that sprint's list. After that, Guardian compares your Conditional Access policies, named locations and authentication methods with the last known copy every 15 minutes. When a change weakens them, such as a policy switched off or a new user excluded from one, ABT's security team gets a ticket showing who made the change and who it affects.
Guardian reads the security alerts Microsoft raises in your tenant about every five minutes, at any hour, on Microsoft Defender XDR signals. Critical risk detections trigger pre-authorized containment, including session revocation. The device the attacker joined is a job for a person, and that is where ABT security engineers come in: for a covered incident, they investigate and remediate at any hour, with up to 20 hours of incident response per incident. For this campaign, that means finding the rogue device, disabling it before the password reset, and closing with a written incident timeline an examiner or an insurer can read.
Find rogue devices now, then keep them out with M365 Guardian
Talk to the ABT team about a rogue device search of your Entra ID, the device code block in report-only mode, and the device settings that limit who can join a device, with each finding recorded for your incident file. With M365 Guardian, the device code block sits in Conditional Access, which ABT compares with the last known copy every 15 minutes.
Frequently Asked Questions
Plan for more than the reset. Microsoft invalidates a Primary Refresh Token on a password change when the token was obtained with the password, and Huntress found that a reset alone left the access in place in this campaign. Disabling or deleting the device in Entra ID invalidates its token. Once a device is confirmed rogue, disable it first, then revoke sessions and reset. When the account is confirmed compromised and the device check is still open, revoke sessions and reset right away, then finish the device check.
Open Entra ID, Devices, All devices in the Microsoft Entra admin center and filter or export the list. For the campaign Huntress reported on December 3, 2026, look for names that start with MH- followed by 16 hexadecimal characters, devices reporting Windows build 10.0.19041.928, and any Entra joined device your IT team did not set up.
Microsoft recommends getting as close as possible to a unilateral block. Run the Conditional Access policy in report-only mode first to see who uses device code sign-in, then enforce it for all users with a small, documented exception group for devices such as shared desk phones that sign in with a code.
Both end the attacker's token. Microsoft documents that disabling a device revokes its Primary Refresh Token and refresh tokens, and that deleting one is nonrecoverable. Export the device record, disable the device, finish the investigation, then delete it.
In the organizations Huntress could see with Defender connected, Defender raised an incident on 25 of 47 victims, each with the alert "Suspicious Entra device join or registration." Defender sees only what a tenant licenses and connects, so run the device list search as well.