468 Unauthorized Device Registrations in Microsoft Entra ID: Unauthorized Access Can Persist After a Password Change
The article's text, from Joho no Todai's page.
Unauthorized device registrations found at 305 organizations
US security firm Huntress published its findings on December 3, 2026, about phishing attacks targeting organizations that use Microsoft 365. In November 2026, it observed 468 unauthorized device registrations associated with 326 identities across 305 organizations.
The 468 figure counts registrations in Microsoft Entra ID, the organizations’ identity platform. The data does not show how many physical PCs were used.
The attacks abused a legitimate sign-in method called device code authentication. It allows devices without a browser or adequate input controls to sign in by having the user authenticate on another device.
In its technical documentation, Microsoft explains that this type of phishing uses Microsoft’s legitimate sign-in page. If a user approves an authentication request they did not intend to make, a third party could get a token tied to the user’s authenticated permissions.
Checking a sign-in page’s URL is a good habit, but the URL alone cannot establish whether an authentication request is legitimate in an attack like this. Users also need to know whether they initiated the request and which device or service they are authenticating.
Why unauthorized access can survive a password change
In the attacks Huntress examined, unauthorized devices joined Microsoft Entra ID and received credentials called Primary Refresh Tokens (PRTs). A PRT enables single sign-on, which gives users access to multiple apps and services after authenticating once.
When Microsoft Entra ID invalidates Primary Refresh Tokens (PRTs)
| Action | Password-based | Based on a stolenToken |
|---|---|---|
| Change password | Invalidated | May remain valid |
| Remove or disableThe device | Invalidated | Invalidated |
Microsoft’s PRT documentation states that changing a user’s password invalidates a PRT when the user obtained it using that password.
Huntress said the PRTs in this incident were issued based on tokens obtained without authorization, so they could remain valid after a password change. Microsoft’s documentation also explains that removing or disabling a device in Entra ID invalidates the PRT obtained on that device.
The investigation also found access to OneDrive, SharePoint, and Exchange. The unauthorized access reached services that handle work files and email through the same identity platform.
Changing passwords is important for securing user credentials. It is risky to assume recovery is complete while unauthorized devices are still registered. Administrators also need to manage which devices are tied to those credentials.
What audit logs and Defender XDR showed
Most of the registrations Huntress identified had device names starting with MH-. All the registrations it found showed the devices as Entra joined, with Windows build number 10.0.19041.928. Huntress said the suspicious registration that prompted the investigation also lacked hardware identifiers.
Across organizations, researchers identified 46 distinct device names starting with MH-, one of which appeared at 24 organizations. These device registration characteristics, including the shared names, helped investigators connect activity across organizations.
Among the organizations with unauthorized registrations using names starting with MH-, 36 had integrated Microsoft Defender XDR with Huntress. There were 47 affected identities at those organizations. Huntress said Defender XDR detected incidents involving 25 of those identities.
The tally is based on records Huntress obtained from those integrations. It cannot be used to infer Defender XDR’s detection rate across all the affected organizations.
Unauthorized Microsoft Entra ID device registrations (November 2026)
| Metric | Count |
|---|---|
| All observed attacks abusing device code authentication | |
| Affected organizations | 305 organizations |
| Affected identities | 326 identities |
| Unauthorized device registrations | 468 registrations |
| Defender XDR integrations (registered device names beginning with MH-) | |
| Affected organizations | 36 organizations |
| Affected identities | 47 identities |
| Identities with incidents detected | 25 of 47 |
Huntress used Entra ID audit logs to collect device names, build numbers, and account information tied to registered devices.
Alerts about suspicious accounts matter, and administrators responding to an incident also need records that show which devices to disable.
How to remove unauthorized devices and prevent new registrations
Huntress recommends reviewing suspicious device registrations and sign-in history, along with users’ registered multifactor authentication methods and email inbox rules.
Use device names and build numbers as leads and check them against actual users and the organization’s device management records. When a registration is confirmed to be unauthorized, remove the device, revoke the user’s sessions, and reset credentials.
To prevent unauthorized registrations, Huntress recommends limiting who can register devices and how many devices each user can register, and requiring multifactor authentication during registration.
According to Huntress, a PRT can satisfy a Conditional Access requirement for a registered device. Conditional Access determines whether to grant access based on factors such as the state of the user or device.
Microsoft’s Conditional Access documentation also describes how to use a tool such as Microsoft Intune to determine whether a device meets an organization’s security requirements and use that result to decide whether to grant access. Device registration is a prerequisite for checking compliance. The security requirements are evaluated separately.
An organization’s defenses depend in part on how much it trusts a device merely because it is registered. It is worth reviewing both the conditions for registering a device and the conditions for granting it access to work data after registration.
Some meeting room devices need device code authentication
In its documentation on restricting authentication flows, Microsoft recommends auditing device code authentication and allowing it only where needed. Organizations that do not use it should block the flow through Conditional Access. Users covered by Conditional Access need a license that includes Entra ID P1 or higher.
Some Microsoft Teams devices use device code authentication for initial enrollment or reauthentication. Microsoft advises organizations that operate these devices to limit exceptions to the accounts that need them and test how the devices behave in report-only mode before enforcing the policy.
Alongside efforts to help users avoid approving suspicious requests, organizations can also restrict the authentication flow itself. They first need to identify which methods their operations require.
How much trust to place in the identity platform
One example from Japan is a case study Microsoft published on September 30, 2024, about NTT Communications. The company moved employee identities to Entra ID and management of 40,000 Windows PCs to Microsoft Intune. It also moved 550 TB of existing files to OneDrive and SharePoint.
The case study cites stronger security from multifactor authentication and device authentication, as well as less work for the staff who manage devices.
Maintaining security in an environment with centralized authentication means knowing which devices are associated with each user. Huntress’s findings point to the need to review the devices registered with the organization alongside resetting passwords.
