🛒 Arduino, ESP32 & modules
Device-Code Phishing Plants Rogue Windows Devices in 305 Entra Tenants

Device-Code Phishing Plants Rogue Windows Devices in 305 Entra Tenants

A large-scale device-code phishing campaign abused Microsoft’s legit auth flow to register rogue Windows devices in 305 Entra tenants and steal cloud data via persistent PRT-based access.

December 4, 20262 min read25 tags

Industrialized device-code phishing against Entra ID

From November 2026, a sophisticated device-code phishing campaign has been abusing Microsoft Entra ID to compromise 305 tenants, registering 400+ rogue Windows devices tied to 326 user identities.

Instead of stealing passwords, attackers social‑engineered victims (email/messages with fake events or invitations) into visiting Microsoft’s legitimate device sign‑in page and entering an attacker-generated device code. Because this fully uses the official device code OAuth flow, it effectively bypasses password checks and many forms of MFA.

Once the flow completed, the attacker obtained valid OAuth access tokens and refresh tokens for the victim’s Microsoft 365 account.

PRTs, rogue devices and persistent SSO access

Using these tokens together with the ROADtools open‑source toolkit, the threat actor:

  • Registered rogue Windows devices inside victim Entra tenants (with a recognizable naming pattern),
  • Obtained Primary Refresh Tokens (PRTs) bound to those devices,
  • Leveraged SSO to maintain long‑lived access that often survived password resets.

With PRT-backed sessions, the attacker could perform lateral movement across OneDrive, SharePoint, and Exchange, ultimately focusing on large‑scale data theft from cloud resources.

Cloud kill chain and defensive gaps

Mapped to a cloud kill chain, the campaign scores:

  • High for Initial Compromise, Privilege Escalation, Lateral Movement and Exfiltration,
  • Medium (inferred) for Command & Control and Impact.

Device-code phishing is being industrialized via Phishing-as-a-Service platforms like Tycoon2FA, Greatness, and Kali365, drastically lowering the bar for attacking Microsoft 365 at scale.

For defenders, this highlights the need for:

  • Monitoring device code auth flows and unusual device registrations,
  • Strong conditional access and token protection policies,
  • Regular review of PRT usage and rogue device patterns in Entra ID.

Source: Gündəm · aviatrix.ai