Huntress found a campaign that registered 468 rogue devices in 305 organisations' Entra ID tenants in November. Victims enter an attacker-generated code on Microsoft's real login page. The attackers then register a device and obtain a Primary Refresh Token for lasting access to OneDrive, SharePoint and Exchange.
Why it matters: Block device-code sign-ins with Conditional Access if you don't need them, and look in Entra ID for unknown devices named 'MH-' followed by hex characters. Delete such devices before resetting passwords, because the token survives a reset.
Also covered by
How the story developed
- Microsoft: attackers exploited Entra Connect Health flaw to read tenant admin data
- Rackspace Spot breach let attackers read customer Kubernetes secrets
- Azure API Management flaw exploited to steal customer secrets, rotate keys now
Device-code phishing plants rogue devices in 305 Microsoft Entra tenants