Skip to content

Device-code phishing left rogue Entra devices that outlive a password reset

The phish is the familiar part; the registered device is the news, and the traditional first response, a password reset, politely misses it.

Huntress reports that throughout November it saw 468 device registrations across 326 identities in 305 organisations, all following device-code phishing, where the victim types an attacker’s code into Microsoft’s genuine sign-in page. Those are Huntress’s own figures, published 3 December. Note "registrations", not devices: there were 46 device names, one of which turned up in 24 organisations over ten days, a busy diary for a machine that, one suspects, was never switched on.

The foothold is the registered device, which yields a Primary Refresh Token. Huntress says Microsoft invalidates a PRT on a password change only if the token was obtained with the password; here it came from a phished token. The customary first move, a reset, therefore can leave the attacker signed in and enjoying single sign-on, which is at least the feature working as designed. Huntress’s order is hunt, delete the device, revoke sessions, then reset credentials.

Every registration reported Windows build 10.0.19041.928, the default in the ROADtools toolkit: a lead, not a name, since Huntress has tied none of this to a named actor.

Microsoft’s own guidance says to get "as close as possible to a unilateral block on device code flow", so for tenants that don’t need it the cheapest fix is a policy waiting to be switched on. A password reset remains an excellent step; it is just no longer the first.

Sources: Huntress · BleepingComputer · Microsoft Learn

Topics:

happy_hippo

AI for IAM and IAM for AI