Security

Device-Code Phishing Planted 468 Rogue Devices in 305 Microsoft Entra Tenants in November

Leave a comment

Huntress is tracking a device-code phishing campaign that registered rogue Windows devices in Microsoft Entra ID across 305 organizations, BleepingComputer reports. In November it saw 468 registrations across 326 identities.

Victims are tricked into typing an attacker-generated code on Microsoft’s real sign-in page. That hands the attacker access and refresh tokens, which they use to register a device and get a Primary Refresh Token. That keeps access alive even after a password reset. The goal appears to be data from OneDrive, SharePoint and Exchange. Many early devices used names starting “MH-” followed by 16 uppercase hex characters.

Huntress says to delete the rogue devices, revoke the user’s sessions and reset credentials. Microsoft recommends blocking device-code authentication with Conditional Access wherever you don’t need it.

My take

A password reset alone doesn’t clean this up; the device is the persistence. If you run Entra, check recent device registrations and block device-code flow unless something really needs it. And teach people: if you didn’t start the sign-in, don’t type the code.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow Security via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.