When an account gets phished, most small businesses do the sensible thing: reset the password and move on. New research shows why that is no longer enough. Attackers tricking people into approving Microsoft 365 sign-ins are quietly adding a device of their own to the company’s account, and that device keeps working after the password is changed.
Opinion. Written on Sunday 6 December 2026. The facts below come from security firm Huntress and The Register, linked at the end. The campaign is ongoing, so details may change.
What happened
Huntress says that in November it saw 468 rogue devices registered across 326 user accounts in 305 organisations it monitors, and that the campaign is still running. Victims are tricked into approving a sign-in using a device code, a legitimate Microsoft feature for signing in on things like smart TVs. Huntress says lures often pose as a protected NDA document.
Once a victim approves, the attacker registers a fake Windows device in the company’s Microsoft Entra ID, the system behind Microsoft 365 sign-ins. That device gets a long-lived sign-in token. Huntress is blunt about the consequence: a password reset alone does not remove the attacker’s access. Huntress says the fake devices are named “MH-” followed by 16 letters and numbers.
The Register reports that Microsoft did not respond to questions about the campaign. We wrote about a related device code phishing kit earlier this week in the phishing page that uses Microsoft’s real sign-in.
What we do not know
Huntress can only see the organisations it protects, so the true number of victims is likely higher. It has not said how the lures are being sent, or tied the campaign to a named group. And it is not yet clear whether Microsoft plans to change how device codes or device registration work.
Our view: the password reset is not the end of the job
For years, “reset the password” has been the standard response to a phished account, and for good reason. But modern sign-ins run on tokens and trusted devices, not just passwords. If an attacker has managed to add their own device, changing the password is like changing the front door lock while they still have a key to the back door.
The fix is not complicated, but it has to be part of the routine. After any suspected account compromise, check what devices and sign-in methods are attached to that account, remove anything you do not recognise, and sign the user out everywhere. Then, ideally, stop device code sign-ins altogether, because most small businesses never use them.
Five things to do this week
1. Look for devices you do not recognise
In the Microsoft Entra admin centre, open the list of devices and look for anything unfamiliar, especially names starting “MH-” followed by a long code. Delete any rogue devices you find.
2. Change your “compromised account” checklist
After a phishing incident: reset the password, delete unknown devices, remove unknown sign-in methods and inbox rules, and revoke the user’s sessions so every token stops working. On Google Workspace, the equivalent is to reset the password, sign the user out of all sessions, and review their devices and connected apps in the Google Admin console.
3. Block device code sign-in
If you have Microsoft Entra ID P1, included in Microsoft 365 Business Premium, use Conditional Access to block device code flow for everyone who does not need it. Huntress also recommends requiring multi-factor authentication to register a device.
4. Limit who can add devices
In Entra device settings, restrict which users can register devices and how many each person can add. If you do not have P1 licences, at least make sure Security defaults are switched on.
5. Tell your team about the NDA trick
Warn staff that a document asking them to enter a code on a Microsoft page is a red flag. Microsoft will never ask them to type a code they were sent by email to open a file.
The basics still do most of the work
Phishing-resistant sign-in and regular staff training stop most of these attacks before they start. Our sister company fromIT runs security awareness training and helps small businesses through Cyber Essentials. For regulated firms that need stronger identity controls and monitoring, our other sister company, Privion, can help.
If you would like us to check your Microsoft 365 or Google Workspace account for unknown devices and switch off device code sign-in, call 0800 112 6789 or book a review.
Frequently asked questions
Does resetting the password stop device code phishing?
Not on its own. Huntress says attackers register their own device, which keeps a sign-in token after a password reset. You also need to delete the device and revoke the user’s sessions.
How do I find rogue devices in Microsoft 365?
Check the devices list in the Microsoft Entra admin centre. Huntress says the devices in this campaign are named “MH-” followed by 16 letters and numbers and report the same Windows build.
What is device code sign-in?
A legitimate Microsoft feature for signing in on devices without a keyboard, such as TVs. Attackers abuse it by getting victims to enter a code that approves the attacker’s session.
Can I turn off device code sign-in?
Yes, with Conditional Access in Microsoft Entra ID P1 or above, which is included in Microsoft 365 Business Premium. Most small businesses do not need it.
Does this affect Google Workspace?
This campaign targets Microsoft 365. The same lesson applies to Google Workspace: after a compromise, sign the user out of all sessions and review their devices and connected apps, not just the password.
Sources
- M365 device code phishing campaign leads to hundreds of rogue Entra ID registrations, Huntress, 3 December 2026
- Microsoft 365 phishers make themselves at home in hundreds of corporate networks, The Register, 4 December 2026
- Manage device identities, Microsoft Learn