Executive Summary
Beginning in November 2026, a sophisticated device-code phishing campaign compromised 305 Microsoft Entra ID tenants, registering more than 400 rogue Windows devices across 326 user identities. Attackers leveraged Microsoft's legitimate device-code authentication flow to trick employees into entering attacker-generated sign-in codes, yielding valid access tokens and Primary Refresh Tokens (PRTs). These PRTs enabled persistent single sign-on access to OneDrive, SharePoint, and Exchange—surviving even password resets. Rogue devices followed a recognizable naming pattern and were provisioned using the ROADtools open-source toolkit, indicating a structured, tooled operation focused on large-scale data theft.
This campaign reflects an accelerating trend of identity-centric attacks that bypass traditional MFA by abusing legitimate authentication protocols. Device-code phishing has been industrialized through Phishing-as-a-Service platforms like Tycoon2FA, Greatness, and Kali365, lowering the barrier for threat actors targeting Microsoft 365 environments at enterprise scale.
Why This Matters Now
Device-code phishing has become a dominant enterprise threat vector in 2026, with PhaaS platforms commoditizing attacks against Microsoft 365 at scale. Because PRTs survive password resets and persist through standard incident response steps, organizations face prolonged exposure windows. Regulatory scrutiny around identity governance and conditional access controls is intensifying, making rapid detection and remediation of rogue device registrations a compliance imperative.
Attack Path Analysis
Attackers launched a device-code phishing campaign targeting Microsoft 365 and Entra ID users across 305 organizations, tricking victims into submitting attacker-generated device sign-in codes on Microsoft's legitimate authentication portal, yielding valid access and refresh tokens. Using these tokens and the ROADtools toolkit, the attacker registered rogue Windows devices in victim Entra ID tenants to obtain Primary Refresh Tokens (PRTs), establishing persistent SSO-based access that survived password resets, enabling lateral movement across OneDrive, SharePoint, and Exchange, and culminating in data theft from organizational cloud resources.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Victims were socially engineered via phishing (likely email or messaging lures referencing fake events or invitations) into visiting Microsoft's legitimate device authentication page and entering an attacker-controlled device code. Upon completion, the attacker captured valid OAuth access tokens and refresh tokens for the victim's Microsoft 365 account, bypassing password-based controls and MFA by abusing the legitimate device code flow.
MITRE ATT&CK® Techniques
Phishing: Spearphishing Link
Steal Application Access Token
Use Alternate Authentication Material: Application Access Token
Account Manipulation: Device Registration
Valid Accounts: Cloud Accounts
Data from Cloud Storage
Email Collection: Remote Email Collection
Automated Collection
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-53 Rev. 5 – Identification and Authentication: Multi-Factor Authentication
Control ID: IA-2(1), IA-2(6)
PCI DSS 4.0 – Multi-Factor Authentication and Authentication System Management
Control ID: Requirement 8.4.2, 8.6.1
NYDFS 23 NYCRR 500 – Multi-Factor Authentication and Access Privileges
Control ID: Section 500.12, Section 500.7
DORA (EU) 2022/2554 – ICT Security Controls and ICT-Related Incident Management
Control ID: Article 9(4)(c), Article 10
NIS2 Directive (EU) 2022/2555 – Cybersecurity Risk Management: Access Control and Authentication
Control ID: Article 21(2)(a), Article 21(2)(b)
CISA Zero Trust Maturity Model 2.0 – Device Trust and Identity Verification for Cloud Access
Control ID: Identity Pillar: Device Compliance Verification, Identity: Credential Management
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
Device-code phishing across 305 Entra tenants enables persistent rogue device registration, threatening Microsoft 365 environments with credential theft, lateral movement into OneDrive, SharePoint, and Exchange, requiring Zero Trust segmentation and multicloud visibility controls.
Financial Services
Credential theft via device-code phishing targeting Entra ID identities exposes financial institutions to unauthorized access, PCI 4.0 compliance violations, and data exfiltration from cloud-hosted resources requiring immediate egress security and Zero Trust policy enforcement.
Health Care / Life Sciences
Rogue device registration surviving password resets in Microsoft Entra environments threatens HIPAA-regulated healthcare organizations with persistent attacker access to sensitive patient data across SharePoint and Exchange cloud workloads.
Government Administration
Widespread Entra ID compromise across 305 organizations using PhaaS toolkits like Tycoon2FA and ROADtools abuse risks sensitive government data exfiltration, demanding NIST 800-53 compliant anomaly detection and conditional access enforcement.
Sources
- Device-code phishing campaign plants rogue devices in 305 Entra tenantshttps://www.bleepingcomputer.com/news/security/device-code-phishing-campaign-plants-rogue-devices-in-305-entra-tenants/Verified
- Huntress: Device Code Phishing and M365 Registrationshttps://www.huntress.com/blog/device-code-phishing-m365-registrationsVerified
- Microsoft Entra ID Conditional Access: Block Device Code Flowhttps://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-grantVerified
- CISA: Phishing Guidance - Stopping the Attack Cycle at Phase Onehttps://www.cisa.gov/resources-tools/resources/phishing-guidance-stopping-attack-cycle-phase-oneVerified
- New Phishing Kits Target Microsoft 365 Accounts, Evade MFAhttps://www.bleepingcomputer.com/news/security/new-phishing-kits-target-microsoft-365-accounts-evade-mfa/Verified
- ROADtools - Open Source Microsoft Entra ID Toolkit (GitHub)https://github.com/dirkjanm/ROADtoolsVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
This incident involved stolen OAuth tokens and rogue device registrations enabling persistent SSO-level access across Microsoft 365 workloads, making identity-aware segmentation and controlled east-west enforcement directly relevant. Aviatrix Zero Trust CNSF would likely reduce attacker reachability across cloud workloads and constrain the blast radius of compromised identities moving laterally through collaborative data stores.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: CNSF-enforced workload segmentation would likely reduce the reachable surface area available to token-bearing sessions originating from unrecognized or unregistered network contexts, constraining how far a captured OAuth token could traverse cloud-hosted workloads without matching an expected identity and network posture.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation would likely constrain the privilege scope reachable by newly registered device identities by requiring that device-sourced sessions match defined segment membership and trust posture before accessing protected workloads, reducing the effective elevation gain even where a PRT has been successfully obtained.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement would likely reduce the attacker's ability to traverse freely between cloud workloads by requiring that inter-workload sessions conform to defined segmentation policies, constraining how a single rogue device identity could pivot across OneDrive, SharePoint, and Exchange without matching expected east-west communication patterns.
Control: Multicloud Visibility & Control
Mitigation: Multicloud visibility and control would likely surface anomalous outbound session patterns and cross-tenant coordination traffic that could indicate centralized attacker infrastructure operating across organizational boundaries, potentially allowing policy-driven constraints to reduce the attacker's ability to reliably refresh tokens or coordinate device registrations at campaign scale.
Control: Egress Security & Policy Enforcement
Mitigation: Egress security and policy enforcement would likely constrain the outbound data paths available to rogue device sessions, reducing the volume and variety of data that could be exfiltrated by limiting which destinations and protocols are permitted for cloud workload egress from sensitive collaboration services.
Where prior segmentation and egress controls constrained lateral movement and outbound data paths, the residual impact across affected OneDrive, SharePoint, and Exchange stores would likely be reduced in scope, limiting the attacker's ability to reach all organizational data stores and narrowing the window of persistent access before detection could occur.
Impact at a Glance
Affected Business Functions
- Identity and Access Management (Entra ID / Azure AD)
- Collaboration and Productivity Services (OneDrive, SharePoint, Exchange)
- Corporate Email Communications
- Cloud-based Document and File Storage
Estimated downtime: 10 days
Estimated loss: N/A
Across 305 affected organizations and 326 compromised identities, attackers obtained persistent access via Primary Refresh Tokens (PRTs) enabling single sign-on to Microsoft 365 resources. Data categories at risk include: internal business communications and email content via Exchange, corporate documents and intellectual property stored in SharePoint and OneDrive, employee and organizational identity metadata, and potentially sensitive business data such as financial records, HR information, and strategic materials depending on the access level of the compromised accounts. The persistent nature of PRT-based access means data exposure continued even after password resets until rogue devices were removed, with some attacker devices remaining active for up to 10 days.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Zero Trust Segmentation (ZTMM.Network, NIST.800-53.AC-6) to enforce identity-based access policies in Entra ID using Conditional Access policies that block device-code authentication flows for all users and groups where interactive device enrollment is not operationally required, minimizing the attack surface for PRT-based privilege escalation.
- • Deploy Multicloud Visibility & Control (ZTMM.CrossCutting.Visibility, NIST.800-53.AU-6) to baseline normal Entra ID device registration activity and generate alerts on anomalous registration spikes, unusual device naming patterns (e.g., 'MH-' hex strings), or ROADtools-associated build fingerprints (Windows 10.0.19041.928) across all tenants.
- • Enforce Egress Security & Policy Enforcement (ZTMM.Data, NIST.800-53.SC-18) with FQDN-level filtering and outbound data controls to detect and limit bulk data access to OneDrive, SharePoint, and Exchange APIs from newly registered or unrecognized device identities, reducing exfiltration success rates.
- • Leverage East-West Traffic Security (ZTMM.Network, NIST.800-53.SC-7) to enforce workload-to-workload and service-to-service segmentation within Microsoft 365 environments, ensuring that a compromised identity or device cannot freely traverse across OneDrive, SharePoint, and Exchange without explicit policy authorization at each service boundary.
- • Activate Cloud Native Security Fabric (CNSF) inline enforcement and real-time inspection (ZTMM.CrossCutting.Automation, NIST.800-53.SI-4) to continuously evaluate device trust posture, detect token reuse from unexpected geographic locations or device fingerprints, and autonomously revoke sessions associated with rogue device registrations before data exfiltration completes.



