What Huntress found
BleepingComputer reports that managed detection and response firm Huntress has been tracking the campaign since November 2026. According to Huntress, it saw 468 device registrations across 326 identities in 305 organizations during that month. BleepingComputer describes the result as more than 400 rogue Windows devices. Some device names were reused across tenants, so 468 registrations does not necessarily mean 468 different machines.
These are the main figures Huntress reported:
| Indicator | Value reported by Huntress |
|---|---|
| Total registrations (November 2026) | 468 |
| Affected identities | 326 |
| Affected organizations | 305 |
| Devices registered on workdays in the first two weeks | 276, across 168 organizations |
| Reported Windows build | 10.0.19041.928 |
| Naming pattern (early wave) | "MH-" followed by 16 uppercase hex characters |
| Device names reused in more than one organization | 46 |
| Maximum reuse of a single name | Up to 24 unrelated organizations, for up to 10 days |
Huntress believes the attacker wants data from company resources such as OneDrive, SharePoint and Exchange. It saw sign-ins to Entra ID and Microsoft Office, often followed by access to those services. That is Huntress's reading of observed activity. The public reporting does not say how much data was accessed or confirm that any data left a tenant. BleepingComputer was the first to report the details, and the campaign is attributed to Huntress's telemetry. One aggregator summarizing the coverage notes that no named threat actor is identified.
Summary: One operator, or one toolkit, used device-code phishing to register rogue devices at scale. It gave the devices sloppy, reused names that defenders can use against it.
How the attack works
Device-code phishing abuses a legitimate OAuth flow designed for devices with no proper keyboard, such as smart TVs, conference room hardware and digital signage. The attack runs in four steps:
- The attacker starts a device-code sign-in and receives a short user code.
- The victim is persuaded to enter that code on Microsoft's genuine sign-in page and complete authentication, including MFA.
- The attacker receives valid access and refresh tokens for the session the victim just approved.
- The attacker uses those tokens to register a rogue device in the victim's Entra tenant and obtain a Primary Refresh Token (PRT). The PRT gives them single sign-on to the organization's resources.
The fourth step is what makes this campaign more serious than ordinary token theft. Microsoft's documentation describes the PRT as the main credential for Entra single sign-on on Windows. Brokers such as the Web Account Manager use it to request tokens for apps like Outlook, Teams and SharePoint. According to Microsoft, a PRT is valid for 90 days and keeps renewing while the device is in use. The attacker is no longer holding one stolen session. To Entra, they look like a device that belongs to the tenant.
Huntress has warned about this pattern before. In an earlier explainer on device-code phishing, it noted that when a device is registered (even by a remote attacker), an event is logged and the device artifact appears in the Entra devices section. Some attackers are lazy and don't change default machine names, which makes detection easier. The "MH-" naming scheme in this campaign fits that description.
The ROADtools fingerprint
Huntress found that every registration in the campaign reported the Windows build used by default in ROADtools. ROADtools is an open-source toolkit that security researchers use to inspect Entra environments and test how sign-ins, tokens and device registration behave. Huntress suspects the attacker misused it to register the rogue devices. Nothing in the reporting suggests ROADtools was compromised or that its maintainers were involved. This is a legitimate testing tool being used for the wrong purpose.
Other researchers have documented the same fingerprint. Palo Alto Networks' Unit 42 explained earlier this year that the ROADtools roadtx module can register new devices in Entra ID. Registration allows a rogue device to appear as a legitimate object in the Entra ID device inventory. Unit 42's published indicators match the build seen here. They list 10.0.19041.928 as the default OS version set by roadtx when registering a rogue device in Entra ID. They also list a default naming convention of "DESKTOP-" followed by random digits.
This campaign kept the default build number but changed the device names. A separate incident write-up from October, which drew on Huntress findings, showed the same split. In that case, the rogue devices carry a custom name and the default version, so the tool behind them uses ROADtools code or a port of it and sets only the device name. That earlier case used the name "iAuthFlow-Device". Nothing in the evidence links it to the current campaign. It does show that the default-build fingerprint keeps showing up even when attackers change device names.
Expert analysis (general industry knowledge): Hunting by device name is fragile because the attacker can change a name instantly. A build string is harder to notice and change, but it is still only a clue. Behavior is the most reliable signal: a device-code sign-in followed shortly by a new device registration from the same identity.
How it fits the wider phishing trend
Device-code phishing is no longer rare. BleepingComputer notes that the technique has become common against Microsoft 365 accounts. Multiple phishing-as-a-service (PhaaS) operations have adopted it, including Tycoon2FA, Greatness and Kali365. Push Security recently found a campaign that used Kali365 with fake OpenAI and SpaceX event invitations to trick victims into authorizing access to their work accounts. None of these services has been tied to the 305-tenant campaign, and readers should not assume a link.
The method is effective because the user never visits a fake site. The URL is Microsoft's. The MFA prompt is real. Training people to "check the address bar" does not help when the address bar is correct. The only warning sign is the situation: why is someone asking you to type a code they gave you?
Remediation order
Huntress recommends three steps for affected organizations, in this order:
- Delete the rogue devices from Entra ID.
- Revoke the user's sessions.
- Reset the user's credentials.
Huntress says device removal must come first because the attacker's PRT can survive a password reset if the rogue device stays registered. Microsoft's own PRT documentation supports this order. It says that when a device is deleted or disabled in Entra ID, the PRT obtained on that device is invalidated and can't be used to get tokens for other applications. It also says a password change invalidates a PRT that was obtained with the password. The attacker's PRT came from a device-code flow, not a password sign-in, so the safe approach is to remove the device the PRT is bound to.
A practical triage checklist:
- Review Entra audit logs for device registrations, especially names beginning with "MH-" or devices reporting build 10.0.19041.928 with no manufacturer or model.
- Correlate those registrations with device-code sign-ins by the same identity shortly beforehand.
- For each affected identity, review OneDrive, SharePoint and Exchange activity during the exposure window.
- Remove confirmed rogue devices, revoke sessions and reset credentials, in that order.
- Look for other persistence. The October incident write-up describes the attacker adding a Windows Hello for Business key to the account, so check authentication methods as well as devices.
Treat these indicators as starting points for investigation. A real but poorly managed device could, in principle, report an old build.
Prevention: block device-code flow in Conditional Access
Microsoft's guidance is to block device-code flow wherever it isn't needed. Its Conditional Access documentation calls device-code flow a high-risk method that can be used in phishing. Microsoft recommends getting as close as possible to blocking it everywhere, and allowing it only for documented, secured cases such as legacy tools that can't be updated.
Microsoft's documented policy setup:
- Sign in to the Microsoft Entra admin center as at least a Conditional Access Administrator.
- Go to Entra ID > Conditional Access > Policies and select New policy.
- Under Users or workload identities, include all users. Exclude emergency access (break-glass) accounts and any users who genuinely need the flow.
- Under Target resources, include All resources.
- Under Conditions > Authentication Flows, set Configure to Yes and select Device code flow.
- Under Access controls > Grant, select Block access.
- Set Enable policy to Report-only and create the policy.
- Review the impact in report-only mode, then switch the policy to On.
Known issues before you turn it on:
- Device registration side effects. Since September 2024, Microsoft has applied authentication-flow policies to the Device Registration Service when a policy targets all resources. If your organization legitimately uses device-code flow to register devices, exclude the Device Registration Service under Target Resources. Its client ID is 01cb2876-7ebd-4aa4-9cc9-d28bd4d359a9.
- Finding legitimate use. Filter Entra sign-in logs with the Device code authentication protocol filter, and by the Device Registration Service resource ID, to see who uses the flow.
- Protocol tracking. Sessions that started with device-code flow stay marked as device-code sessions, even after later token refreshes. A user can therefore be blocked from another app in the same session. Microsoft lists error AADSTS530036 for this case and says it is expected behavior.
- Shared and kiosk hardware. Conference room systems and signage may depend on this flow. Microsoft suggests narrow exceptions, such as allowing it only for specific devices in a specific network location.
Huntress has also suggested further hardening. Its earlier guidance said device writeback being disabled in Entra can also help prevent the device registration abuse piece specifically. Huntress's November product notes also include a check that limits how many devices one user can join to or register with Microsoft Entra ID. Microsoft's default is 50. Lowering that limit won't stop a single rogue registration, but it reduces how many devices one compromised account can add.
User guidance
For end users, the rule is simple: only enter a device code if you started the sign-in yourself, or if you know a trusted party started it. A code that arrives by email, chat or meeting invite with instructions to "verify" something should be treated as a red flag, even when the page it leads to is genuinely Microsoft's.
The bottom line
This campaign does not exploit an Entra vulnerability. It uses standard authentication features, a public testing toolkit and a convincing request to the user. Three facts matter most:
- Device-code flow should be blocked by default. Microsoft recommends it, and the Conditional Access control is available.
- A password reset alone does not fix this. Remove the rogue device first, then revoke sessions, then reset credentials.
- Monitor device registrations. Rogue device registrations are logged. Reused names and a default build number give admins indicators to hunt for.
Huntress describes the campaign as ongoing. If your tenant still allows device-code flow without a policy, now is a good time to put it in report-only mode and review the results.
Correction (December 3, 2026): The table originally labeled the figure 46 as the total number of distinct device names observed. Huntress reports 46 device names beginning with MH- were registered in more than one organization; the table now uses that description.
References
- Device-code phishing campaign plants rogue devices in 305 Entra tenants BleepingComputer · 2026-12-03T09:14:17-05:00
- We Need to Talk About Device Code Phishing huntress.com
- Understanding Primary Refresh Token (PRT) in Microsoft Entra ID - Microsoft Entra ID | Microsoft Learn learn.microsoft.com