Events Securing Finance in the Age of AI · Secure.com X ZIG Finance · London, 12 Nov Register now

Device Code Phishing Leaves Attacker Computers Inside 305 Microsoft 365 Organizations

Device code phishing let an attacker add computers to Microsoft 365 accounts at 305 organizations, and a password reset does not remove them.

Device code phishing: password reset, attacker still in, with an unknown Windows PC registered to a staff account

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 response order: delete the unknown device in Entra ID first, then revoke sessions, then reset the password and check sign in methods and inbox rules

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.

Device code phishing indicators of compromise in Entra ID logs: NDA lure, device code sign in, new device registration with no hardware identifiers, ROADtools default OS build, script user agents and follow on Office activity

FAQs

What is device code phishing?
Device code phishing tricks a person into entering a short code on Microsoft's real sign in page. Approving that code lets the attacker's device into the person's account without the attacker ever seeing the password.
How many organizations did the device code phishing campaign hit?
Huntress counted 468 device registrations on 326 accounts in 305 organizations during November 2026, across the organizations it monitors. It is not a count of every victim, and Huntress says the campaign is still active.
Does a password reset remove the attacker?
No. Huntress says the computer the attacker registered gets a token that keeps working after a password reset, so access continues until that computer is deleted from the account.
What order should IT follow to remove the attacker?
Delete any computer nobody recognizes from the user's registered devices in Entra ID, then revoke the user's sessions, then reset the password. Finally, check sign in methods and inbox rules for anything new.
How can organizations prevent device code phishing?
Block device code sign in with Conditional Access for staff who don't need it, limit who may register or join computers, lower the per user device cap, require a second check to add a device, and name an owner for the list of registered computers.