Technology

Hackers plant rogue devices in Microsoft Entra ID across 305 organizations

Hackers plant rogue devices in Microsoft Entra ID across 305 organizations
Image: Help Net Security

A device code phishing campaign registered 468 attacker-controlled Windows devices in the Microsoft Entra ID tenants of 305 organizations, according to Huntress.

The devices, registered in November, were tied to 326 user identities, and each carried a name made of the “MH-” prefix followed by 16 uppercase hexadecimal characters.

Device code phishing abuses a Microsoft sign-in method meant for devices that can’t easily handle a password prompt, such as smart TVs and printers. The victim enters a code on a legitimate Microsoft page and signs in, and the attacker who generated that code receives tokens that give access to the victim’s account.

Huntress describes a lure posing as a non-disclosure agreement (NDA) protected by Adobe. Once the victim approves the code, the attacker receives access and refresh tokens linked to the Microsoft Authentication Broker app. An automated Python script then redeems those tokens from a different IP address and registers a new device in the organization’s Entra ID, Microsoft’s cloud identity service.

That registration hands the attacker a Primary Refresh Token (PRT), a credential used for single sign-on to Microsoft services. When obtained through phishing, the token keeps working after the victim’s password is changed, and it can satisfy Conditional Access policies that only let registered devices in. The attacker used it to get into Office, OneDrive, SharePoint and Exchange.“A password reset alone doesn’t remove the access; the device has to be deleted,” the researchers wrote.

The sign-ins were routed through residential proxy networks, mostly from US and UK broadband connections, and no single IP address was used against more than two victims.

hackersmicrosoftentra iddevice code phishingorganizations

This summary is from Help Net Security, published Dec 4, 2026. NewsFusion links to the original reporting and groups related coverage.

Cyber Security News app icon

Find more in the app

Keep reading in Cyber Security News

Get every Cyber Security News story as it breaks, follow the topics you care about, and get alerts the moment something big happens. Free on iPhone and Android.

  • Breaking-news alerts
  • Follow topics & teams
  • Related coverage grouped by AI