The Morning Patch Wire

CYBER SECURITY NEWS REPORT

EXPLAINER · THURSDAY, DECEMBER 3, 2026

Device-code phishing in 305 Entra tenants: why a password reset does not kick the attacker out

Huntress found a phishing campaign that registered 468 fake Windows devices in 305 Microsoft Entra tenants in November. Each fake device gets a long-lived sign-in token that a password reset does not cancel. This page explains the trick in plain words and lists what to check in your own tenant.

This explains reporting by Huntress: M365 Device Code Phishing Campaign Leads to Hundreds of Rogue Entra ID Registrations (Dec. 3, 2026).
Read the original first: https://www.huntress.com/blog/device-code-phishing-m365-registrations

In one minute

How the trick works

Device code sign-in is a Microsoft sign-in method made for things without a keyboard, like a TV. The device shows a short code, and you type it into a Microsoft page on another screen. Whoever started the request gets the sign-in.

In this campaign, the attacker starts the request and sends the code to the victim inside a fake Adobe-protected NDA email. When the victim types the code and approves, the attacker gets access and refresh tokens for the Microsoft Authentication Broker app.

Huntress says the attacker then uses those tokens right away with Microsoft's Device Registration Service. The logs show a new IP address in Poland and the python-requests user agent, which is a script, not a browser.

The script registers a fake Windows device. Huntress says it matches the default settings of ROADtools, a public toolkit for testing Entra ID: Windows build 10.0.19041.928 and no hardware IDs.

A registered device can get a Primary Refresh Token. The attacker used it to sign in to Office and reach OneDrive, SharePoint or Exchange.

Why a password reset is not enough

This is the part that matters most for anyone cleaning up.

Huntress says Microsoft cancels a PRT on a password change only when the token was first obtained with the password. In this attack the victim never typed a password into anything the attacker ran. The token came from the approved code, so the reset leaves it alone.

The PRT can also pass Conditional Access rules that require a registered device, because the fake device is registered.

So the clean-up step that works is deleting the rogue device in Entra ID. Then revoke the user's sessions and reset the credentials.

The numbers Huntress shared

Huntress splits the activity into three operations by tools and devices. It rates the main one high confidence. It notes the method looks like Storm-2372, a group Microsoft wrote about in February 2025, but says that overlap does not prove who is behind it.

Check your tenant

These are the markers Huntress published. We did not run them against a live tenant.

Device name pattern:  ^MH-[0-9A-F]{16}$
OS build, no hardware IDs:  10.0.19041.928 (also 10.0.19045.2006, 10.0.19045.0, 10.0.26100)
Other default names:  DESKTOP- plus 8 characters, GraphSpy-Device
User agents:  python-requests/2.32.5, Dsreg/10.0 (Windows 10.0.19041.928)
Sign-in IPs:  181.214.147[.]42, 92.62.251[.]249, 37.252.11[.]196,
              146.103.38[.]149, 193.109.193[.]166

Which fix needs which license

Huntress sorts its advice by Entra license. Here it is in one list:

Our reading: blocking device code sign-in stops this lure at the first step, but it is the P1 tier. A tenant without P1 still has a cheap fix: stop regular users from registering devices at all.

Who is affected

CaseStatus
Microsoft 365 and Entra ID tenants that allow device code sign-inExposed to this lure.
Accounts that approved a codeAttacker may hold a PRT through a rogue device; a password reset alone does not remove it, per Huntress.
Tenants with Conditional Access blocking device code sign-in (P1 and up)Huntress names this as a main fix.
Tenants with Microsoft Defender connectedDefender raised incidents on 25 of 47 MH- victims Huntress saw.

What to do

What is still unknown

Sources

Today's full edition: Cyber Security News Report · every headline, every morning.