Enterprise Cybersecurity IntelligenceFriday

An enterprise cybersecurity intelligence company.For security and technology leaders.

Security.io Intelligence

What changed, why it matters,
and how it evolved.

Identity · Executive briefing

Rogue Entra devices turn password resets into false containment

Huntress observed 468 rogue Entra device registrations across 305 organisations, creating Primary Refresh Tokens that can remain valid after password resets.

IdentityThreat IntelligenceIncident Response
Why it is in today’s brief

Huntress’s December 3 publication materially expanded an established device-code phishing technique into a quantified, active cross-tenant campaign with reusable hunt artefacts and a remediation-order trap: password resets do not remove the rogue device. It warrants inclusion because identity teams can test their own estates today, and because the control decision differs from patching, supplier continuity and regulatory readiness elsewhere in the edition.

Read first

An active device-code phishing campaign used legitimate Microsoft authentication flows to register attacker-controlled Windows devices in Entra ID. Huntress identified reusable device-name, build, user-agent and infrastructure artefacts.

Act now

Query Entra audit logs for the published device-name pattern and Windows build.

Accountable owner

Head of identity with the SOC and incident-response lead

Decision horizon

Hunt immediately; contain confirmed matches as identity incidents today.

AssessmentHigh confidence
Emerging riskNew device-name patterns, Microsoft confirmation, mailbox or file-access outcomes, and evidence linking the three observed operations.

What happened

Throughout November 2026, Huntress observed 468 rogue device registrations across 326 identities in 305 organisations. On December 3, 2026, Huntress published the campaign analysis and described the activity as active. Victims were induced to complete an attacker-initiated device-code flow on Microsoft’s legitimate authentication service. The resulting access and refresh tokens were used to register an attacker-controlled device, obtain a Primary Refresh Token and access Microsoft Entra ID, Microsoft Office, OneDrive, SharePoint or Exchange in observed cases.

Most rogue devices used names matching ^MH-[0-9A-F]{16}$, reported Windows build 10.0.19041.928, and carried no hardware identifiers. The build is the default hardcoded in ROADtools, a public Entra ID toolkit that can register devices, although its presence does not identify an exclusive operator. The example device MH-51FB898341CEA47A appeared in 24 organisations and remained in use for 10 days. Huntress says a Primary Refresh Token obtained through this chain can survive a password reset until the rogue device is deleted.

Huntress published five scripted sign-in IP addresses: 181.214.147.42, 92.62.251.249, 37.252.11.196, 146.103.38.149 and 193.109.193.166. The scripted sign-ins identified themselves as python-requests/2.32.5, while interactive logs could show AADSTS50199 before the token was redeemed against the device-registration service. No malicious domains, file hashes or filenames were published for this campaign. Attribution posture: Huntress has not tied the activity to a named threat actor.

Why this matters now

The operational trap is remediation order. Huntress says a Primary Refresh Token obtained through this chain can survive a password reset until the rogue device is deleted. An organisation can therefore rotate credentials, declare the user contained and leave the attacker’s registered-device trust intact. Identity response procedures must treat device objects and their tokens as compromise artefacts, not merely account administration.

Microsoft Defender raised an incident on 25 of the 326 compromised identities Huntress identified; only 36 affected organisations had Defender connected to Huntress. The comparison does not measure Defender’s total effectiveness, but it shows why relying solely on correlated endpoint or identity alerts can miss tenant-wide patterns. Entra audit logs, device inventory and non-interactive sign-ins need independent review.

The campaign targets the cloud identity control plane rather than a vulnerable software version. Conditional Access can inadvertently reward the attacker after registration because a Primary Refresh Token may satisfy policies requiring a registered device. The exposed operating model includes tenants that allow unnecessary device-code authentication, broad device-registration rights or weak controls over registered-device lifecycle.

The decision for security leaders

Identity leadership should decide whether device-code authentication is required at all, then define the small set of users, devices and applications permitted to use it. Where the flow remains necessary, device registration must require stronger conditions than a successfully phished session, including restricted registration rights and managed-device controls.

Incident response must use a containment sequence that starts with the directory object. Delete the unauthorised device, revoke active sessions, reset credentials and revalidate authentication methods. Then determine whether the attacker accessed mail, files, contacts, applications or delegated permissions. Closing only the phishing alert or password-reset task is insufficient.

The SOC should operationalise both exact indicators and behavioural pivots. Exact searches should cover the regular expression, builds, IPs and user agent; behavioural detection should identify device-code authentication followed by a location or user-agent change, device registration and rapid access to Microsoft 365 resources.

Evidence of closure

  • A tenant-wide query returns no untriaged devices matching the published names, builds or infrastructure.
  • A tested Conditional Access policy blocks device-code authentication outside approved exceptions.
  • Each confirmed incident records rogue-device deletion before session revocation and credential reset.
  • An approved access review documents mailbox, OneDrive, SharePoint and authentication-method impact for each affected identity.

The Security.io assessment

The 305 organisations are those visible in Huntress telemetry, not an estimate of total campaign prevalence. The observed access to OneDrive, SharePoint and Exchange supports a data-access objective, but the cited sources do not establish data exfiltration for every affected identity. Each matching tenant requires its own access and audit review before impact is declared.

ROADtools is credible detection context, not actor attribution. The build, device defaults and automated user agent indicate likely tool use, but public tool availability means unrelated operators can reproduce them. Huntress separated the observed registrations into three operations with differing levels of confidence, reinforcing the need to preserve distinctions rather than merge every rogue device into one campaign.

Huntress reported that no residential proxy IP served more than two victims, so blocking the published infrastructure cannot replace behaviour-based detection. The more durable controls are limiting device-code authentication, constraining who may register devices and continuously reconciling newly registered devices against managed hardware and approved business workflows.

Questions for the morning meeting

  • Which users and applications are permitted to use device-code authentication?
  • Can the SOC delete a confirmed rogue Entra device without waiting for business-owner approval?
  • Are Entra audit and sign-in logs retained long enough to reconstruct device registration and subsequent data access?

Related intelligence

Shared decision context