M365 Device Code Phishing and Rogue Entra ID Registrations
Score: 9/10
ills3c Intel&Coffee@Ills3C
updated yesterday1300

M365 Device Code Phishing and Rogue Entra ID Registrations

A campaign likely involving Storm-2372 uses device code phishing to register rogue Entra ID devices and maintain persistent access to Microsoft 365 environments.

Executive Summary

Huntress is tracking a large-scale phishing campaign that has led to hundreds of rogue device registrations within Microsoft 365 environments. The campaign leverages device code phishing, a social engineering technique that tricks users into authorizing a session code, allowing the threat actor to obtain session and refresh tokens. While not definitively attributed, the attack chain closely mirrors tactics used by Storm-2372, involving the automation of device registrations using public toolkits like ROADtools.

The technical workflow involves stealing session tokens to register a malicious device in the victim's Entra ID. This registration generates a Primary Refresh Token (PRT) that satisfies many Conditional Access Policies and, critically, persists even after a user performs a standard password reset. The actors use residential proxies to hide their location during the phishing phase and rotate datacenter IPs for their scripted sign-in operations. Affected organizations risk long-term unauthorized access to OneDrive, SharePoint, and Exchange resources unless the rogue devices are manually identified and removed.

Key Details

Threat Name

M365 Device Code Phishing

Affects

—

Adversary

Storm-2372 Other Adversaries and Aliases: cl0p

Malware/Tools

None identified

Report Score

9out of 10
Quality Score
Excellent
IOC Quality9
TTP Details9
Detection Guidance7
Enterprise Relevance10
Clarity & Structure9
Technical Depth8

Sources