Huntress is tracking an ongoing device-code phishing campaign that has registered rogue devices in 305 organizations using Microsoft Entra ID. The research, published on December 3, says the attackers obtain tokens that keep working after a password reset.
Scale of the Entra Device Registration Campaign Huntress Observed
The campaign began in November. Huntress observed 468 rogue device registrations across 326 identities in 305 organizations. Coverage of the research cites more than 400 devices, a lower round figure consistent with the Huntress count.
During workdays in the first two weeks of November, 276 devices running Windows build 10.0.19041.928 were registered at 168 organizations. The devices were named using a consistent pattern: the prefix “MH-” followed by 16 uppercase hexadecimal characters. Huntress published that naming pattern as an indicator.
How Device-Code Phishing Victims Hand Over Entra Sign-In Tokens
Device-code phishing tricks victims into entering an attacker-generated sign-in code on Microsoft’s legitimate login page. Because the victim authenticates on a real Microsoft page, the lure avoids the fake-login-page signals many users look for.
Once the code is entered, the attacker receives an access token and a refresh token for the victim’s account. The attacker then registers a rogue Windows device in Entra ID.
Why the Primary Refresh Token Outlasts a Password Reset
With the rogue device registered, the attacker obtains a Primary Refresh Token, or PRT, which provides persistent single sign-on access. According to the Huntress findings, that access survives password resets. Changing the victim’s password therefore does not by itself end the attacker’s access.
What the Attackers Appear to Be After in Microsoft 365
Huntress said the objective appears to be data theft from OneDrive, SharePoint and Exchange. Those services hold files, shared documents and email, and a PRT gives the attacker single sign-on reach across them without prompting the user again.
The campaign is still active, according to Huntress, which describes it as ongoing. The firm has not tied the activity to a named threat actor in the material reviewed.
Device-Code Phishing in Phishing-as-a-Service Kits
Device-code phishing is not unique to this campaign. Several phishing-as-a-service kits use the technique, including Tycoon2FA, Greatness and Kali365. Huntress did not say that any of these kits was behind the 305-tenant activity, so the connection is limited to the technique being a known feature of such kits.
Remediation and Open Questions in the Huntress Entra Findings
Huntress is tracking the campaign and has published indicators, including the device naming pattern. Because password resets do not evict an attacker holding a PRT, remediation requires revoking the rogue devices and the tokens they hold, according to the research.
The reported numbers describe different slices of the activity. The 468 registrations, 326 identities and 305 organizations cover the campaign as a whole, while the 276 devices at 168 organizations describe the first two weeks of November. The gap suggests registrations continued through the month, in line with Huntress’s statement that registrations continued through November.
Huntress has not said how many of the affected organizations lost data, and the objective of OneDrive, SharePoint and Exchange theft is described as an apparent goal rather than a confirmed outcome. The research establishes the scale of device registration and the persistence mechanism, while the extent of data theft remains unconfirmed in the public findings.
Rogue Windows Build Number as a Detection Marker
Huntress highlighted the consistency of the registrations as a marker. Windows build 10.0.19041.928 recurs across the 276 devices registered in early November, and the MH- naming scheme with 16 hexadecimal characters appears across 168 organizations. Defenders can search Entra device lists for that prefix and build number, and revoke any matching device together with the tokens issued to it, since a password reset alone leaves the Primary Refresh Token valid.
