Microsoft 365 device-code phishing led to 468 rogue Windows device registrations at 305 organisations
Attackers tricked Microsoft 365 users into approving sign-ins and registered their own devices at 305 organisations. Their access could survive a password reset. IT teams should remove rogue devices from Entra ID and block device-code sign-in where it is unnecessary.
Only enter a Microsoft device code for a sign-in you started. If you entered one to open a document, contact your work IT team immediately so they can check Entra ID for unfamiliar devices, delete any confirmed rogue device, revoke your sign-in sessions and reset your password. Administrators can block ‘Device code flow’ in Entra Conditional Access wherever staff do not need it.
What’s happening
A request to open what looked like an Adobe-protected confidentiality agreement tricked Microsoft 365 users into approving a sign-in for someone else. Huntress counted 468 unauthorised Windows device registrations linked to 326 work accounts across 305 organisations in November. It saw attackers access Exchange email, OneDrive and SharePoint. Changing a password alone could leave the attacker’s device with access. For IT teams checking Microsoft Entra ID, most suspicious device names began with MH- followed by 16 characters drawn from 0–9 and A–F. Huntress said the campaign was still active on 3 December. Microsoft recommends blocking device-code sign-in wherever an organisation can operate without it.
- What
- Scam
- Affects
- Microsoft 365 work accounts and Microsoft Entra ID
- Fixed in
- Nothing to patch
- Since
- 3 Dec 2026
Timeline
- Made publicNothing to patch
Huntress disclosed that its November count had reached 468 unauthorised device registrations linked to 326 accounts at 305 organisations. It said the campaign was still active.
- Update
In the first two weeks of November, attackers registered 276 Windows devices across 168 organisations, according to Huntress figures reported by BleepingComputer.
Sources
- Block authentication flows with Conditional Access policyMicrosoft · 7 Apr 2026
- M365 Device Code Phishing Campaign Leads to Hundreds of Rogue Entra ID RegistrationsHuntress · 3 Dec 2026
- Device-code phishing campaign plants rogue devices in 305 Entra tenantsBleepingComputer · 3 Dec 2026

