Device Code Phishing Leaves Attacker Computers Inside 305 Microsoft 365 Organizations
In November 2026, the security company Huntress saw an attacker add computers of their own to staff accounts at 305 organizations that use Microsoft 365. In the vast majority of cases, Huntress says, the signs point to device code phishing: a member of staff was tricked into approving a short sign in code that lets another device into their account. Huntress says changing the person’s password does not remove the attacker’s computer.
- Who should care: Any organization whose staff sign in to Microsoft 365 for email and files.
- What could go wrong: An attacker could keep reaching a staff member’s email and files after the password is changed.
- Do this: Ask IT to list the computers registered to any phished account and delete the ones nobody recognizes.
- Worth remembering: A password reset ends access that depends on the password. Here the access sits on a computer the attacker added, so the response is not finished until that computer is deleted.
What Happened?
Huntress published its report on Thursday, December 3, 2026, and says the campaign is still active. Across the organizations it monitors, it counted 468 registrations on 326 accounts in 305 organizations during November. That is not a count of every victim. The lure was an email offering a “protected” NDA, styled as Microsoft or Adobe, that asked the reader to enter a code on Microsoft’s real sign in page. Once a code was approved, a script registered a Windows computer to the account. The report does not say what was taken, and it names no group.
What’s the Impact?
Huntress says the registered computer receives a token that keeps working after a password reset. That token can open Office, OneDrive, SharePoint and Exchange. A team that resets the password and closes the ticket may leave the attacker with working access inside the account. Device code phishing is one of several ways attackers now get around sign in checks on Microsoft 365, alongside kits like CodeStorm.
Who Owns the Device List?
Microsoft’s default settings let every user join computers, up to 50 each, and the setting that requires a second check before adding one is off. That setting being off does not by itself mean a company is exposed, because Microsoft recommends enforcing the check through Conditional Access instead. Still, someone has to own those settings and the list of registered computers, because one phished sign in may be able to add to it.
How to Avoid This
- Search the Entra audit log for computers added to any phished account, and delete the ones nobody recognizes.
- Then revoke the user’s sessions, and only then reset the password. That is the order Huntress recommends.
- Check the account’s sign in methods and inbox rules for anything new.
- Block device code sign in with Conditional Access for staff who don’t need it.
- Limit who may register or join computers, lower the cap per user, and require a second check to add one.
- Name an owner for the list of registered computers and review it on a schedule.

Device Code Phishing: Indicators of Compromise
Huntress lists device names and sign in addresses in its report. We don’t repeat them here. The behavior to hunt for in Entra ID logs is below.
