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

DevFeed: [Device-code phishing campaign plants rogue devices in 305 Entra tenants](<https://devfeed.tech/articles/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants-169401.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants/>)

Author: Bill Toulas

Published: 2026-12-03T14:14:17Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [Endpoint security](<https://devfeed.tech/topics/endpoint-security.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [Duo](<https://devfeed.tech/topics/duo.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [data-theft](<https://devfeed.tech/tags/data-theft.md>), [device-code](<https://devfeed.tech/tags/device-code.md>), [device-code-phishing](<https://devfeed.tech/tags/device-code-phishing.md>), [entra-id](<https://devfeed.tech/tags/entra-id.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [microsoft-365](<https://devfeed.tech/tags/microsoft-365.md>), [microsoft-entra-id](<https://devfeed.tech/tags/microsoft-entra-id.md>), [phishing](<https://devfeed.tech/tags/phishing.md>), [rogue](<https://devfeed.tech/tags/rogue.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

Huntress observed 468 rogue Windows device registrations tied to 326 identities in 305 Entra ID organizations during November 2026. Victims entered attacker-generated device codes on Microsoft's legitimate sign-in page, enabling attackers to obtain tokens, register devices, and gain persistent single sign-on access through Primary Refresh Tokens, which can survive password resets. Observed activity included sign-ins to Microsoft 365 and access to OneDrive, SharePoint, or Exchange; Huntress suspects ROADtools' default Windows build setting was abused. For affected organizations, Huntress recommends removing rogue devices first, then revoking sessions and resetting credentials. Microsoft recommends blocking device-code authentication through Conditional Access where it is unnecessary.

## Source excerpt

Hackers in an ongoing device code phishing campaign registered more than 400 rogue Windows devices in Microsoft Entra ID environments across 305 organizations. [...]