Microsoft 365 phishers make themselves at home in hundreds of corporate networks
More than 300 organizations had some unwelcome additions to their Microsoft 365 environments in November: devices registered by phishers intent on sticking around.
Researchers at Huntress said on Thursday they'd spotted 468 instances of miscreants registering their own devices in victims' Microsoft Entra ID environments, giving themselves persistent access to corporate cloud services. The researchers traced the activity to 326 compromised user accounts across 305 organizations in November alone, and say the campaign is ongoing.
The attackers are exploiting Microsoft's device code authentication mechanism, which lets users sign in on devices that lack a suitable interface for entering credentials.
Victims are tricked into authorizing a login on Microsoft's legitimate authentication page, handing hackers session tokens without needing to steal passwords. One lure was a bogus non-disclosure agreement supposedly protected by Adobe, which victims were told they needed to authenticate with Microsoft to access.
Rather than simply hijack an account, the crooks appear to be using the publicly available ROADtools toolkit to register their own Windows devices in victims' Entra ID tenants. That means they can keep access even if the victim changes their password.
That's thanks to Microsoft's Primary Refresh Token (PRT), which facilitates single sign-on across applications. In the attacks observed by Huntress, the crooks used their newfound access to get into Microsoft Office and, in some cases, OneDrive, SharePoint, and Exchange.
"Microsoft invalidates a PRT on a password change only when the token was obtained with the password, and here it comes from a phished token instead," the researchers explained.
The attackers have left some fairly conspicuous clues for sysadmins. Their purported Windows machines report a build number associated with a version of Windows 10 that Microsoft stopped servicing in 2021. It's also the default build number used by ROADtools. Most rogue device




Comments
No comments yet. Be the first to share your thoughts.