Trusence Every claim has a source
Last updated 5 December 2026 Search Türkçe
Security

Device-code phishing plants rogue devices in 305 Entra tenants

A Primary Refresh Token lets the attacker keep single sign-on access even after passwords are reset.

Huntress has tracked a device code phishing campaign that registered 468 rogue Windows devices across 326 identities in 305 organizations during November 2026. Victims were tricked into entering an attacker-generated code on Microsoft's real sign-in page, which handed the attacker tokens used to enrol a rogue device and obtain a Primary Refresh Token, giving persistent single sign-on access that survives password resets. In the first two weeks, 276 devices were added at 168 organizations under names beginning with MH- followed by 16 hex characters, while 46 device names were seen across all attacks. Huntress says the attacker's aim appears to be data theft from OneDrive, SharePoint and Exchange, and it recommends deleting the rogue devices from Entra ID, revoking sessions and resetting credentials. Microsoft advises blocking device-code authentication through Conditional Access where it is not required.

Why it matters

The campaign shows that a legitimate Microsoft sign-in page can be used to hand an attacker lasting access to a user's account, and that a password reset alone does not remove it. Huntress says the attacker appears to be aiming at data in OneDrive, SharePoint and Exchange, so the risk falls on the people and organisations whose mail and files are held there. Microsoft's advice to block device-code sign-in where it is not needed shows that the weak point is the sign-in method itself, not only the individual victims who entered the code.

Sources · 1