Huntress says a phishing campaign has quietly registered more than 400 attacker-controlled Windows devices inside Microsoft 365 accounts at 305 organizations since the start of November. Once a device is registered, a password reset alone does not cut the attacker off.
Get the free 5-minute weekday brief. Scam alerts you can act on, major breaches, and what to do next — join 1,600+ readers.
Plus get our free Scam Survival Kit (PDF). Unsubscribe anytime.
The trick starts with a normal Microsoft sign-in page and a short code. If someone is talked into typing that code, they hand over access.
The attacker asks you to type a code on Microsoft’s real sign-in page. That code is how the attacker’s own device gets registered to your account.
Free 5-minute weekday briefGet the free 5-minute weekday brief
Scam alerts you can act on, major breaches, and our free Scam Survival Kit (PDF). Free, every weekday.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.
One sign-in code, and the attacker’s own device is in your account
- The campaign: Huntress counted 468 device registrations across 326 user identities in 305 organizations during November. The devices share a name pattern: “MH-” followed by 16 uppercase letters and numbers.
- How it works: The victim is tricked into entering an attacker-generated code on Microsoft’s genuine device sign-in page. The attacker then gets tokens, registers a rogue device in Entra ID (Microsoft’s identity service) and obtains a token that works across single sign-on.
- What the attackers do: Huntress says they usually then reach OneDrive, SharePoint or Exchange, and it describes data theft as the likely goal. The attacker seems to work weekdays.
- Attribution: Huntress is also tracking two other clusters that may or may not be the same actor. It suspects the open-source ROADtools toolkit was used for the device registration.
A password reset does not remove it
Any company using Microsoft 365 can be a target. The danger is that the stolen access can outlast a password reset, so an organization can believe it cleaned up when the attacker still has a way in.
It also shows why multi-factor authentication is not a cure on its own. The victim completes a real sign-in on Microsoft’s site, so nothing looks wrong at the moment it happens.
Check for odd devices and block code sign-in you do not use
- Never type a device code unless you started the sign-in yourself on that device, or a colleague you know asked you to. If a message pushes you to “verify” with a code, stop and ask IT.
- Admins: look for rogue devices in Entra ID (the Huntress name pattern is a good start), delete them first, then revoke sessions and reset passwords. Deleting the device is the step that removes the persistent access.
- Block device code sign-in with Conditional Access wherever you do not need it, as Microsoft advises. Our multi-factor authentication guide explains what MFA does and does not stop.
For IT teams: No CVE and no KEV listing; this is a phishing and token-abuse technique, not a software flaw. Hunt for Entra device registrations named MH-[16 hex] and Windows build 10.0.19041.928 (276 early devices used it), review Entra sign-in and audit logs for device-code flows, and block the device code flow in Conditional Access if unused. Findings are Huntress’s own telemetry, reported Dec 3.
Sources
- Huntress: M365 device code phishing campaign leads to hundreds of rogue Entra ID registrations (Dec 3)
- BleepingComputer: Device-code phishing campaign plants rogue devices in 305 Entra tenants (Dec 3)
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.