Skip to main content
Emerging ThreatsMalware & Ransomware

Rogue Devices Infiltrate 305 Entra Tenants via Phishing Campaign

Microsoft Entra ID login page on a laptop in a brightly-lit office setting.

"Throughout November 2026, we observed 468 registrations across 326 identities in 305 organizations," researchers at Huntress wrote — a concise tally that describes how a device-code phishing campaign turned legitimate Microsoft authentication flows into footholds for data theft.

How the device-code phishing chain worked

The attacks began with victims being tricked into entering an attacker-generated device sign‑in code on Microsoft's genuine authentication page and completing the sign‑in. That interaction yielded valid access and refresh tokens to the attacker, who used them to register a rogue Windows device inside the victim's Microsoft Entra ID environment and obtain a Primary Refresh Token (PRT). With the PRT, the actor could sustain single sign‑on access to an organization's resources even after a user changed their password.

Scale, timing and forensic clues

Huntress traced the operation to November 2026 and reported 468 registrations mapped to 326 Entra identities across 305 organizations. During the workdays of the first two weeks of the month the attacker registered 276 devices at 168 organizations. The registrations reported a single Windows build — 10.0.19041.928 — and device names followed a recognisable pattern: names beginning with “MH-” plus 16 uppercase hexadecimal characters. Across all observed attacks Huntress logged 46 distinct device names; some names appeared in as many as 24 unrelated organizations and remained active for up to 10 days.

Data access observed and tools allegedly abused

Huntress observed sign‑ins to Microsoft Entra ID and Microsoft Office that in many cases were followed by access to OneDrive, SharePoint or Exchange — the precise resources the researchers say the threat actor appeared to target for data theft. The device registrations reported a Windows build that is the default in ROADtools, an open‑source toolkit used to inspect Entra environments and test sign‑ins, tokens and device registration. Huntress says it suspects the toolkit was abused to register rogue devices. The broader tactic — device‑code phishing — has been adopted by a number of phishing‑as‑a‑service operations, with named examples including Tycoon2FA, Greatness and Kali365. Push Security recently described a campaign that used the Kali365 service and fake OpenAI and SpaceX event invitations to trick victims into authorizing access to work accounts.

Remediation steps Huntress and Microsoft recommend

Huntress advises impacted organisations to delete the rogue devices from Entra ID, revoke the affected user's sessions and reset their credentials — and to delete the device first. If the rogue devices are not removed, Huntress warns, the attacker's Primary Refresh Token can survive a password reset. Microsoft’s guidance echoed this defensive angle: block device‑code authentication through Entra Conditional Access wherever it is not needed.

How technologists, affected enterprises, and end users should respond

  • Technologists and security teams — Prioritise identification and removal of any unknown devices named with the "MH-" pattern or reporting the 10.0.19041.928 build, revoke sessions tied to compromised identities, and treat device removal as the first remediation step because a PRT can survive a password reset.
  • Affected enterprises and procurement leaders — Review whether device‑code authentication is required for business processes and, where it is not, implement Entra Conditional Access blocks as Microsoft recommends. Also assess exposure of OneDrive, SharePoint and Exchange accounts that were accessed following the observed sign‑ins.
  • End users and the public — Only enter device codes when you initiated the sign‑in yourself or a trusted party did; device‑code prompts that arrive unsolicited can be the opening of a persistent access vector.

The practical lesson in these findings is simple and stark: removing unauthorized device registrations closes the door the attacker used. Until that door is explicitly unlocked from the Entra tenant, a password reset alone may leave the attacker’s single sign‑on capability intact — and the observed activity shows they will use it to reach cloud storage and mail. Organisations that rely on Microsoft Entra ID need not only to reset credentials after an intrusion, they must inventory and remove any devices they did not authorize and, where possible, reduce unnecessary device‑code authentication through conditional access.

Original story: https://www.bleepingcomputer.com/news/security/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants/