A request for a signature
The email brings a non-disclosure agreement to sign, "protected by Adobe". To open it, it asks you to go to the Microsoft sign-in page and type a short code. The page is the real one. The address is the real one. You sign in with your usual account and confirm on your phone, as you do every day.
Except the code is not yours. It was generated by the attacker, and by typing it you have just authorised their computer to sign in to your account. It is called device code phishing and it abuses a legitimate mechanism, designed to connect televisions, printers and other equipment without a keyboard.
On 3 December, the security company Huntress described an ongoing campaign that uses this trick. In November alone, it counted 468 rogue devices registered in Microsoft 365 accounts of 326 users, at 305 organisations. Almost all on weekdays: attackers take weekends off too.
The intruder who stays
What sets this campaign apart is the next step. With the access obtained, the attacker registers a computer of their own in the victim's account, as if it were one more company machine. That registration gives them a Primary Refresh Token, a kind of long-lasting pass that lets the device into email and files without asking for credentials again.
And here is the problem. Changing the password does not throw them out. Huntress explains why: Microsoft only invalidates that pass on a password change when it was obtained with the password. This one was obtained with a code. As long as the rogue device is on the list, the access remains.
It is like changing the lock on your front door without noticing there is one toothbrush too many in the bathroom cup. Whoever put it there no longer needs a key.
What is not known
Huntress does not attribute the campaign to any group. It notes similarities with an operation Microsoft documented in 2025, but says they are not enough to link the two. Nor does it describe what data was viewed or taken: it says the rogue devices accessed services such as email, OneDrive and SharePoint, not what they did there.
And the numbers are the cases Huntress itself observed. The company does not say how large the campaign is overall.
Enlarge infographic ↗
Why multi-factor is not enough
Multi-factor authentication remains indispensable. But here it is the victim who completes it, on the real page, convinced they are opening a document. Microsoft describes this method as a way around traditional multi-factor protections, because it separates the sign-in from the device that requested it.
There is a telling detail. All the rogue devices present themselves with the same version of Windows 10, which stopped receiving updates in 2021, and with names from the same mould: "MH-" followed by 16 characters. It is the mark of an open-source tool that Huntress believes the attacker is using.
Not everyone notices. Microsoft Defender was connected in only 36 of the affected organisations and raised incidents for 25 of the accounts. In one example, the alert fired about five minutes after the registration and contained the account automatically. Where it was not, the registration is just one more line in a list almost no one looks at.
What changes for your company
The main defence is a configuration decision. Microsoft recommends blocking device code sign-in wherever possible, and Huntress advises the same. Legitimate exceptions, such as some meeting room devices, are handled separately.
The second is a habit: looking at each account's list of devices from time to time. The third is knowing the right order when something goes wrong, because the instinctive reaction, changing the password, does not solve it on its own.
- Block device code sign-in. With Entra ID Conditional Access, for everyone who does not need it. Without that licence, turn on security defaults.
- Review registered devices. Look for recent registrations no one recognises, especially names starting with "MH-" and old versions of Windows.
- Respond in the right order. First remove the rogue device, then revoke the user's sessions and only then reset the credentials.
- One rule for everyone. Never type a code that arrived by email, message or phone. That code is for connecting a device of your own, not for opening a document.
Change the lock, yes. But count the toothbrushes first.
Sources in this edition
Huntress, "M365 Device Code Phishing Campaign Leads to Hundreds of Rogue Entra ID Registrations" (3.12.2026); BleepingComputer, "Device-code phishing campaign plants rogue devices in 305 Entra tenants" (3.12.2026); Microsoft Learn, Conditional Access documentation on authentication flows (accessed 4.12.2026); Microsoft Security Blog, "AI-enabled device code phishing campaign" (6.4.2026).
