A device code phishing campaign has placed 468 rogue Windows device registrations in Microsoft Entra ID environments across 305 organizations, according to research published by Huntress and reported by BleepingComputer on December 3. The activity involved 326 identities during November 2026. Huntress says the registered devices can preserve access to Microsoft 365 resources after a victim changes their password.

Huntress identified the pattern by comparing Entra ID audit logs with Microsoft Defender alerts across the environments it monitors. The researchers have not linked the operation to a named threat actor. They say the apparent goal is access to company data in services including OneDrive, SharePoint and Exchange, though the report does not quantify any data stolen.

The attack begins when a user is tricked into completing an attacker-initiated device code sign-in on a legitimate Microsoft authentication page. The attacker then uses the resulting tokens to register a device in the victim organization. Huntress says that device receives a Primary Refresh Token, enabling single sign-on and potentially satisfying policies that trust registered devices.

Most of the rogue device names observed by Huntress start with MH- followed by 16 uppercase hexadecimal characters. They reported Windows build 10.0.19041.928, a default associated with the public ROADtools toolkit. Huntress also observed scripted sign-ins and access to Microsoft 365 services after registration. The researchers cautioned that public tool defaults alone do not identify a particular attacker.

The 305-organization count reflects the environments visible to Huntress, rather than a confirmed global total. BleepingComputer noted that simply resetting a password may leave the attacker-controlled device in place. Huntress advises affected administrators to remove unauthorized devices from Entra ID, revoke sessions and reset credentials, while checking for suspicious inbox rules and other account changes.

For broader detection, Huntress recommends reviewing Entra sign-in and device registration logs for unusual device code activity, the MH- naming pattern and unexpected Windows builds without hardware identifiers. It also recommends restricting who can register devices and requiring multifactor authentication for registration. Organizations that do not need device code authentication can block that flow through Conditional Access, as Microsoft advises.