UK’s trusted IT infrastructure partner since 2003
Servnet
FinanceToolsConfiguratorGet in Touch
Cyber security

Entra ID Device-Code Phishing Attack 2026: Audit Devices

London · Servnet News Desk · IT infrastructure analysis4 min read
Share

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.

Rogue device registrations across November 2026
310 count233 count155 count78 count0 count276 count168 countFirst two weeks192 count305 countRest of NovemberDevices registeredOrganisations hit (cumulative)
View the data behind this chart
Rogue device registrations across November 2026
First two weeksRest of November
Devices registered276 count192 count
Organisations hit (cumulative)168 count305 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
Illustration: Entra ID Device-Code Phishing Attack 2026: Audit Devices

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.

Device-code phishing attack chain
5Victim enters attacker's device codeOn Microsoft's legitimate sign-in page4Access and refresh tokens issuedAttacker captures valid session tokens3Rogue device registered in Entra IDNamed with MH- plus 16 hex characters2Primary Refresh Token obtainedSurvives password resets until device removed1Access to OneDrive, SharePoint, ExchangePersistent data theft via single sign-on
View the data behind this chart
Device-code phishing attack chain
LayerDetail
Victim enters attacker's device codeOn Microsoft's legitimate sign-in page
Access and refresh tokens issuedAttacker captures valid session tokens
Rogue device registered in Entra IDNamed with MH- plus 16 hex characters
Primary Refresh Token obtainedSurvives password resets until device removed
Access to OneDrive, SharePoint, ExchangePersistent 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.

Share
Key takeaways
  • ✓A device-code phishing campaign has planted 468 rogue devices across 326 identities in 305 organisations since November 2026
  • ✓Rogue devices obtain a Primary Refresh Token that survives password resets, so device removal must happen before credential resets
  • ✓UK Entra ID admins should search for the "MH-" plus 16-character hex device naming pattern and Windows build 10.0.19041.928
  • ✓Blocking device-code authentication via Conditional Access, as Microsoft recommends, closes the specific flow this campaign exploits
Frequently asked

FAQs — Entra ID Device-Code Phishing Attack 2026

What is device-code phishing?

It tricks a victim into entering an attacker-generated sign-in code on Microsoft's genuine authentication page, letting the attacker capture valid access and refresh tokens from a real sign-in rather than a fake login page.

How big is this Entra ID campaign?

Huntress reports 468 rogue device registrations across 326 Entra ID identities in 305 organisations during November 2026, with 276 of those devices registered at 168 organisations in just the first two weeks of the month.

Why doesn't a password reset fix a compromised account?

Because the rogue device retains a Primary Refresh Token, which keeps providing single sign-on access until the device itself is removed from Entra ID — password resets alone don't revoke that trust.

How can organisations block this attack method?

Microsoft recommends restricting device-code authentication through Conditional Access starter policies wherever it isn't operationally required, alongside routine device registration audits.

Related

Turning this into a buying decision?

One conversation with an engineer who's specced this before. No sales script.

Talk to Servnet →

Talk to a UK specialist

Get expert advice or a no-obligation quote — servers, storage, networking, maintenance, finance and cloud. We reply the same working day.

or call 0800 987 4111