{"id":17001,"date":"2026-12-04T03:06:35","date_gmt":"2026-12-04T03:06:35","guid":{"rendered":"https:\/\/newestek.com\/?p=17001"},"modified":"2026-12-04T03:06:35","modified_gmt":"2026-12-04T03:06:35","slug":"microsoft-365-attackers-are-bypassing-password-resets-by-registering-their-own-rogue-devices","status":"publish","type":"post","link":"https:\/\/newestek.com\/?p=17001","title":{"rendered":"Microsoft 365 attackers are bypassing password resets by registering their own rogue devices"},"content":{"rendered":"<div>\n<div id=\"remove_no_follow\">\n<div class=\"grid grid--cols-10@md grid--cols-8@lg article-column \">\n<div class=\"col-12 col-10@md col-6@lg col-start-3@lg\">\n<div class=\"article-column__content\">\n<section class=\"wp-block-bigbite-multi-title\">\n<div class=\"container\"><\/div>\n<\/section>\n<p class=\"wp-block-paragraph\">A new phishing campaign targeting Microsoft 365 is giving attackers something more valuable than stolen passwords: Persistent access that can survive a reset.<\/p>\n<p class=\"wp-block-paragraph\">Researchers at managed detection and response (MDR) company Huntress have identified an active <a href=\"https:\/\/www.huntress.com\/cybersecurity-101\/topic\/device-code-phishing\" target=\"_blank\" rel=\"noopener\">device code phishing campaign<\/a> that registered hundreds of rogue devices in Microsoft 365 environments.<\/p>\n<p class=\"wp-block-paragraph\">The team surfaced more than 450 such devices in Microsoft Entra ID across 305 organizations. Attackers registered devices to 326 different identities.<\/p>\n<p class=\"wp-block-paragraph\">Alarmingly, password resets alone do not remove their access; rogue devices must be manually deleted from Entra ID. Otherwise, attackers are able to maintain persistent access through single sign-on (SSO).<\/p>\n<p class=\"wp-block-paragraph\">The ongoing campaign began in November, and the target seems to be data theft from OneDrive, SharePoint, and Exchange, <a href=\"https:\/\/www.huntress.com\/blog\/device-code-phishing-m365-registrations\" target=\"_blank\" rel=\"noopener\">the researchers explained<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">\u201cThis device code campaign is super sneaky,\u201d said <a href=\"https:\/\/dicksonresearch.com\/\" target=\"_blank\" rel=\"noopener\">Frank Dickson<\/a> of Dickson Research. \u201cThe attacker gets in with the victim\u2019s blessing and establishes persistence after a password reset.\u201d<\/p>\n<p class=\"wp-block-paragraph\">However, the attacker \u201cdoes leave fingerprints that are easy to find.\u201d<\/p>\n<h2 class=\"wp-block-heading\" id=\"how-this-campaign-works\">How this campaign works<\/h2>\n<p class=\"wp-block-paragraph\">In this campaign, attackers trick victims into approving a sign-in code on a legitimate Microsoft authentication page, the Huntress researchers explained. They then obtain access and session tokens that they immediately use to register a rogue Windows device in the victim\u2019s Microsoft Entra ID environment.<\/p>\n<p class=\"wp-block-paragraph\">A device registered to a compromised account gets a Primary Refresh Token (PRT), a long-lived credential that signs a user into Microsoft 365 apps without prompting again. \u201cThat token came from the <a href=\"https:\/\/www.csoonline.com\/article\/4231923\/we-are-fighting-phishing-at-the-wrong-layer.html\" target=\"_blank\">phished session<\/a>,\u201d Dickson explained. \u201cThe password never entered into it.\u201d<\/p>\n<p class=\"wp-block-paragraph\">Thus, changing the password leaves the token working, and it can even satisfy Conditional Access rules that require a registered device.<\/p>\n<p class=\"wp-block-paragraph\">The threat actors appear to use a public toolkit, <a href=\"https:\/\/github.com\/dirkjanm\/roadtools\" target=\"_blank\" rel=\"noopener\">ROADtools<\/a>, to register devices in Entra ID environments, Huntress explained. ROADtools is a popular open-source framework for analyzing and interacting with Microsoft Entra ID that was <a href=\"https:\/\/dirkjanm.io\/introducing-roadtools-and-roadrecon-azure-ad-exploration-framework\/\" target=\"_blank\" rel=\"noopener\">initially designed<\/a> for defenders.<\/p>\n<p class=\"wp-block-paragraph\">Once inside a compromised environment, attackers usually log into Azure Active Directory and Microsoft Office, then pivot to resources like OneDrive, SharePoint, or Exchange.<\/p>\n<p class=\"wp-block-paragraph\">\u201cThat is everything a business email compromise needs: The mailbox, the files, and a trusted identity to send from,\u201d Dickson said.<\/p>\n<p class=\"wp-block-paragraph\">This could give them the ability to access sensitive emails and other documents, exfiltrate data, impersonate employees, and move even further into an organization\u2019s environment.<\/p>\n<h2 class=\"wp-block-heading\" id=\"why-device-code-phishing-is-still-so-effective\">Why device code phishing is still so effective<\/h2>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.csoonline.com\/article\/4239703\/what-eviltokens-teaches-us-about-defending-against-ai-assisted-attacks.html\" target=\"_blank\">Device code phishing<\/a> attacks are not new, Dickson emphasized. In February 2025, for instance, Microsoft documented a suspected Russia-aligned group phishing device codes and then registering devices to obtain PRTs. And in April 2026, Redmond described a phishing-as-a-service (PHaaS) kit that generates the code the moment the victim clicks, defeating the 15-minute expiration that used to limit such lures.<\/p>\n<p class=\"wp-block-paragraph\">\u201cNation-state tradecraft is now available for rent,\u201d he noted.<\/p>\n<p class=\"wp-block-paragraph\">Device code phishing works because the victim never visits a fake site or types a password into a fake form, and personally approves the MFA prompt, Dickson said. The most dangerous part of this campaign is that the standard first move in incident response, resetting the password, does not end it. \u201cChanging the locks does not help when the burglar installed his own door.\u201d<\/p>\n<p class=\"wp-block-paragraph\">Nothing is broken into, he pointed out. The device code flow exists so smart TVs and printers, which lack a keyboard, can sign in. The attacker starts a legitimate sign-in, then tricks the victim into entering the sign-in approval code on a genuine Microsoft page. The victim does the authenticating. The attacker collects the token. \u201cIt is a clever implementation of a social engineering attack,\u201d he said.<\/p>\n<p class=\"wp-block-paragraph\">Threat actors disguise the approval request as a routine business activity, such as accessing a document or joining a meeting, explained <a href=\"https:\/\/www.infotech.com\/profiles\/ahmad-jowhar\" target=\"_blank\" rel=\"noopener\">Ahmad Jowhar<\/a>, senior research analyst at Infotech. \u201cThis makes the attack difficult to recognize and highlights how traditional MFA can be bypassed through social engineering.\u201d<\/p>\n<h2 class=\"wp-block-heading\" id=\"what-security-teams-should-do-now\">What security teams should do now<\/h2>\n<p class=\"wp-block-paragraph\">Enterprises who discover rogue devices should immediately delete them from Entra ID, revoke the users\u2019 sessions, and reset their credentials, the Huntress researchers advised. Users, meanwhile, should only enter device codes when they begin the sign-in process themselves, or know for sure that it was initiated by a trusted party.<\/p>\n<p class=\"wp-block-paragraph\">Security teams should search both interactive and non-interactive Entra sign-in logs for suspicious device code authentications, the researchers emphasized. Also, audit for any suspicious inbox rules, as well as a compromised identity\u2019s registered devices and MFA methods. Any unrecognized ones should be promptly removed.<\/p>\n<p class=\"wp-block-paragraph\">Adopting an identity-first security approach is important, Infotech\u2019s Jowhar added. This means restricting or disabling device code authentication through Microsoft Entra Conditional Access policies wherever it is not operationally required. Enterprises should also implement phishing-resistant MFA, such as the use of FIDO2 security keys or passkeys, strengthen device registration controls, and monitor for suspicious sign-ins and unauthorized devices.<\/p>\n<p class=\"wp-block-paragraph\">Incident response procedures should also be considered, and must account for compromised tokens and persistent sessions, Jowhar advised. Active sessions and refresh tokens should be revoked, rogue device registrations removed, and potentially compromised accounts and applications reviewed.<\/p>\n<p class=\"wp-block-paragraph\">Employee awareness training is also critical, and enterprises need to treat identity as a security perimeter and continuously validate the users, devices, and authentication sessions accessing corporate resources, he said.<\/p>\n<p class=\"wp-block-paragraph\">Dickson agreed that security teams should turn off device code sign-ins for every user who does not need them. \u201cIn reality,\u201d he said, \u201cmost users do not.\u201d<\/p>\n<p class=\"wp-block-paragraph\">Organizations with Entra ID P1 licensing or above can block device code sign-ins with Conditional Access and require managed, compliant devices to authenticate, not only registered ones, he added. Companies should limit who can register devices, cap how many each user can add, and require MFA to register one.<\/p>\n<p class=\"wp-block-paragraph\">But the cleanup of a compromise is more than just \u201cdelete the device,\u201d he emphasized. While a necessary step, it is only the start. Remove the device, kill the user\u2019s sessions, then change the password. After that, look for anything else the attacker planted, such as a new MFA method or an inbox rule.<\/p>\n<p class=\"wp-block-paragraph\">He complimented Huntress on its overview of the attack: the researchers published the naming pattern, the infrastructure, and the exact log sequence that <a href=\"https:\/\/www.csoonline.com\/article\/4240628\/7-tips-for-achieving-defensive-agility.html\" target=\"_blank\">defenders<\/a> can monitor for. They were also candid about the fact that they were not yet able to tie the activity to a named actor.<\/p>\n<p class=\"wp-block-paragraph\">Ultimately, Dickson noted, in Microsoft 365, \u201cthe password is no longer the key, the device is. Find the rogue device, delete it, and then reset everything else.\u201d<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A new phishing campaign targeting Microsoft 365 is giving attackers something more valuable than stolen passwords: Persistent access that can survive a reset. Researchers at managed detection and response (MDR) company Huntress have identified an active device code phishing campaign that registered hundreds of rogue devices in Microsoft 365 environments. The team surfaced more than 450 such devices in Microsoft Entra ID across 305 organizations&#8230;. <\/p>\n<p class=\"more\"><a class=\"more-link\" href=\"https:\/\/newestek.com\/?p=17001\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17001","post","type-post","status-publish","format-standard","hentry","category-uncategorized","is-cat-link-borders-light is-cat-link-rounded"],"_links":{"self":[{"href":"https:\/\/newestek.com\/index.php?rest_route=\/wp\/v2\/posts\/17001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newestek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newestek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newestek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newestek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17001"}],"version-history":[{"count":0,"href":"https:\/\/newestek.com\/index.php?rest_route=\/wp\/v2\/posts\/17001\/revisions"}],"wp:attachment":[{"href":"https:\/\/newestek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newestek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newestek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}