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

Source: https://startwithidentity.com/blog/2026-12-03-device-code-phishing-campaign-registered-468-rogue-devices-in-305-entra-tenants/
Last updated: 2026-12-03
License: content by Start with Identity. Cite the source URL.

---

Huntress reported on December 3 an ongoing campaign that registered 468 rogue devices across 326 identities in 305 organizations during November ([Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations)). Victims were lured, in one case with a fake Adobe-protected NDA, into entering an attacker-generated code on Microsoft's real sign-in page. With the resulting tokens the attacker registered its own Windows device in the victim's [Microsoft Entra](https://startwithidentity.com/vendors/iam/microsoft-entra/) tenant and obtained a Primary Refresh Token, then reached Office, OneDrive, SharePoint and Exchange. The devices report Windows build 10.0.19041.928, the default hardcoded in the open-source ROADtools toolkit, and most are named "MH-" plus 16 uppercase hex characters. [The Register](https://www.theregister.com/security/2026/12/04/microsoft-365-phishers-make-themselves-at-home-in-hundreds-of-corporate-networks/5314595) notes residential proxies were rarely reused across victims, limiting IP blocklists. Huntress states: "A password reset alone doesn't remove the access; the device has to be deleted."

## Why it matters

[Device-code phishing](https://startwithidentity.com/techniques/device-code-phishing/) needs no fake login page and no password: the user completes real MFA for the attacker. Registering a device turns a short-lived token into [PRT-based persistence](https://startwithidentity.com/techniques/primary-refresh-token-theft/) that outlives the usual password-reset response.

Hunt Entra audit logs for device registrations with that build number or name pattern. For each compromised user, delete the rogue device first, then revoke sessions and reset credentials. Block the [device code flow](https://startwithidentity.com/glossary/device-code-flow/) with [Conditional Access](https://startwithidentity.com/glossary/conditional-access/) for everyone who does not need it, require MFA to register devices, and limit who can join devices and how many.

Source: [Huntress](https://www.huntress.com/blog/device-code-phishing-m365-registrations), [BleepingComputer](https://www.bleepingcomputer.com/news/security/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants/), [The Register](https://www.theregister.com/security/2026/12/04/microsoft-365-phishers-make-themselves-at-home-in-hundreds-of-corporate-networks/5314595)
