[HIGH] Device-code phishing campaign plants rogue devices in 305 Entra tenants

Yes, if you use Microsoft Entra ID (Azure AD) and allow device code sign-ins: attackers are actively phishing users to register rogue devices that grant persistent access to your OneDrive, SharePoint, and Exchange data, surviving password resets. · Fixed in: Block device code authentication via

← Part of Daily Briefing (2026-12-04)  ·  All Advisories  ·  Official Vendor Source ↗


Device-code phishing campaign plants rogue devices in 305 Entra tenants

BleepingComputer [ACTIVELY EXPLOITED]

❓ Why Should I Care?
Yes, if you use Microsoft Entra ID (Azure AD) and allow device code sign-ins: attackers are actively phishing users to register rogue devices that grant persistent access to your OneDrive, SharePoint, and Exchange data, surviving password resets.

🎯 Affected versions: Microsoft Entra ID tenants allowing device code authentication; users of Microsoft 365/Office 365
Not affected: Tenants with device code authentication blocked via Conditional Access policies

🎭 In plain English:
Attackers are tricking employees into entering a code on a legitimate Microsoft login page, which lets the attacker register a fake 'computer' in your company's system. This fake computer gives the attacker a permanent key to your files and emails that doesn't break even if you change your password. For example, an attacker could silently copy all your OneDrive documents and read your emails for months without you noticing.

🔧 Prerequisites:

  • User receives a phishing email with a device code
  • User enters the code on the legitimate Microsoft sign-in page
  • Entra ID tenant allows device code authentication

⏱ Urgency: Urgent: Immediately review Entra ID device registrations for suspicious names (e.g., 'MH-' prefix), delete rogue devices, revoke user sessions, and block device code authentication via Conditional Access if not strictly required.

✅ Fixed in / Action: Block device code authentication via Entra Conditional Access, Delete rogue devices from Entra ID, Revoke user sessions and reset credentials

💡 Context: The attack abuses the legitimate device code flow to obtain a Primary Refresh Token (PRT) associated with a rogue device, which persists independently of user credentials.


🦅 Read full 2026-12-04 Briefing  |  Release Radar  |  ☕ Support WSIC

Subscribe to Why Should I Care?

Subscribe to post in blogs!
jamie@example.com
Subscribe