Hackers Exploit Phishing Scheme to Register 400 Unauthorized Devices in 305 Companies
A phishing campaign has led to the registration of rogue devices in 305 Microsoft Entra ID accounts, potentially exposing company data.

NEW DELHI, Dec 4: Hackers have registered over 400 unauthorized Windows devices across 305 organizations using a device-code phishing scheme, according to researchers at Huntress.
The campaign began in November and targeted Microsoft Entra ID environments, compromising 326 identities. This method allows attackers to maintain access even after password resets, posing a significant risk to company resources.
Huntress reported that the attackers utilized a common naming pattern for the rogue devices: ‘MH-‘ followed by 16 hexadecimal characters. Throughout the first two weeks of November, 276 unauthorized devices were documented across 168 organizations, primarily using Windows build 10.0.19041.928.
The phishing attack starts when victims enter a device sign-in code generated by the attackers on Microsoft’s legitimate authentication page, completing both sign-in and multi-factor authentication (MFA) prompts. As a result, attackers receive valid access and refresh tokens to register rogue devices in the victim’s environment.
“If the rogue devices aren’t removed, the attacker’s Primary Refresh Token can survive a password reset,” Huntress warned, emphasizing the need for immediate action by affected organizations.
Separately, a newly identified phishing kit named MadApe exploits similar vulnerabilities in Microsoft 365 accounts, allowing access without capturing passwords. Group-IB, which identified MadApe, noted that phishing emails often include PDF attachments that direct recipients to authenticate on legitimate Microsoft domains, further complicating detection.
The MadApe kit has been deployed across various domains, with most registered between June and August 2026. This kit can fool traditional security measures as it operates under the guise of legitimate sign-in flows.
To mitigate risks, experts recommend that organizations delete rogue devices from Entra ID, revoke user sessions, and reset credentials. Microsoft also advises blocking device-code authentication through Conditional Access where not needed.
“Treat any unexpected request to enter a device code as a possible phishing attempt,” emphasized Group-IB’s researchers.

