A device-code phishing campaign has registered more than 400 rogue Windows devices inside 305 Microsoft Entra ID tenants since November, giving attackers persistent access that survives a password reset. UK organisations running hybrid identity and access management setups should treat this as an immediate audit trigger, not a watch-and-wait item.
View the data behind this chart
| First two weeks | Rest of November | |
|---|---|---|
| Devices registered | 276 count | 192 count |
| Organisations hit (cumulative) | 168 count | 305 count |
What happened: inside the device-code phishing campaign
Researchers at managed detection and response firm Huntress say they tracked 468 rogue device registrations across 326 Entra ID identities in 305 organisations through November 2026. In the first two working weeks of the month alone, the attacker registered 276 devices at 168 organisations, all reporting the same Windows build, 10.0.19041.928, and following a distinctive naming pattern: "MH-" followed by 16 uppercase hex characters.
Huntress notes that build number is the default reported by the open-source ROADtools toolkit, which is designed to inspect Entra environments and test sign-in and device registration behaviour — but appears here to have been repurposed to mass-register fraudulent devices.
The attack chain itself is a classic device-code phishing flow: victims are tricked into entering an attacker-generated code on Microsoft's own, legitimate authentication page and completing sign-in. That hands the attacker valid access and refresh tokens, which are then used to register a rogue device and obtain a Primary Refresh Token — the credential that underpins single sign-on across Microsoft 365.
Why this matters for hybrid cloud access control
This is not a bug in Entra ID; it is an abuse of a legitimate authentication flow that many hybrid environments still leave wide open. Once a Primary Refresh Token is issued to a rogue device, it keeps working even after the compromised user changes their password — because the device, not just the credential, is what Entra trusts.
For UK organisations that have spent the last few years consolidating on-premises Active Directory and cloud identity into a single Entra tenant, that persistence is the real sting. A single phished user can give an attacker a durable foothold across OneDrive, SharePoint and Exchange, exactly the resources Huntress observed being accessed in this campaign, without tripping the usual "password changed" remediation reflex.
It also exposes a gap in how many teams think about zero trust: device trust decisions made at registration time can quietly outlive every subsequent identity control layered on top.
Audit your Entra ID device registrations today
Huntress's indicators give defenders something concrete to search for right now, but the broader lesson is that device registration needs to become a routine audit item, not an afterthought.
Teams should prioritise:
- •Search Entra ID device records for the "MH-" plus 16-character hex naming pattern and the 10.0.19041.928 build string
- •Cross-reference any matches against potentially compromised user identities' recent sign-in and device-code activity
- •Delete confirmed rogue devices before resetting passwords — removal must come first, or the attacker's Primary Refresh Token survives the reset
- •Revoke all active sessions for affected users immediately after device removal
- •Treat any device name reused across unrelated business units as a red flag — Huntress saw some of the 46 observed naming variants reused in up to 24 unrelated organisations and active for as long as 10 days

Closing the device-code phishing loophole with Conditional Access
Microsoft's own guidance is to block device-code authentication through Conditional Access wherever it is not genuinely needed, since most users never require it for day-to-day sign-in. UK buyers reviewing their tenant configuration should use this campaign as the forcing function to implement that restriction properly, rather than leaving the flow enabled "just in case".
This is also a reminder that device-code phishing deliberately routes around multi-factor authentication rather than defeating it — the victim is completing a genuine Microsoft sign-in, so even strong MFA does not stop the token theft on its own. Combining tightly scoped Conditional Access starter policies with device-code restrictions closes the specific loophole this campaign relies on.
Why phishing-resistant MFA still isn't enough alone
Because device-code phishing abuses a legitimate Microsoft sign-in page rather than a fake login portal, it sits outside what most MFA prompts are designed to catch. Organisations that have already rolled out phishing-resistant MFA methods should not assume that investment alone neutralises this risk — it needs to sit alongside device registration monitoring and restricted authentication flows, not replace them.
The campaign's use of a PhaaS-style approach, echoing other device-code kits such as Tycoon2FA, Greatness and Kali365, also signals that this attack pattern is becoming a commodity service rather than a one-off operation, meaning UK organisations of all sizes are realistic targets, not just large enterprises.
View the data behind this chart
| Layer | Detail |
|---|---|
| Victim enters attacker's device code | On Microsoft's legitimate sign-in page |
| Access and refresh tokens issued | Attacker captures valid session tokens |
| Rogue device registered in Entra ID | Named with MH- plus 16 hex characters |
| Primary Refresh Token obtained | Survives password resets until device removed |
| Access to OneDrive, SharePoint, Exchange | Persistent data theft via single sign-on |
Building ongoing detection capability for rogue devices
A one-off audit addresses the current 305-tenant campaign, but the underlying technique will keep evolving. Organisations without the internal capacity to continuously monitor device registrations, session anomalies and token abuse should weigh up dedicated managed detection & response coverage, which is precisely how this campaign was first identified and characterised.
Left unaddressed, persistent access of this kind is often the quiet precursor to more damaging follow-on activity, including data exfiltration and, in the worst cases, deployment ahead of a ransomware incident. Reviewing the full cyber security posture around identity, device trust and conditional access now is considerably cheaper than remediating a breach later.
