Phishing Bypasses Microsoft 365 MFA via OAuth

💡OAuth phishing evades M365 MFA—secure your enterprise auth before attackers hit.
⚡ 30-Second TL;DR
What Changed
Abuses OAuth 2.0 Device Authorization Grant by pre-registering attacker device
Why It Matters
Enterprises using Microsoft 365 face elevated risk of account compromise, potentially exposing sensitive collaboration data. AI teams integrating with these services must prioritize auth hardening to prevent token-based breaches.
What To Do Next
Enable app consent policies in Microsoft Entra ID to allowlist only approved OAuth applications.
Key Points
- •Abuses OAuth 2.0 Device Authorization Grant by pre-registering attacker device
- •Uses lures like salary bonuses or payments on fake emails
- •Legitimate microsoft.com login fools victims into authorizing access
- •Persistent token theft enables access to all account-linked apps
- •Microsoft admins can allowlist apps to block unauthorized OAuth grants
🧠 Deep Insight
Web-grounded analysis with 9 cited sources.
🔑 Enhanced Key Takeaways
- •The phishing campaign targets North American businesses using OAuth 2.0 Device Authorization Grant, where attackers pre-register a malicious app and provide a device code for victims to enter on the legitimate microsoft.com/devicelogin page, bypassing MFA[1][2][3].
- •Phishing lures include fake emails about salary bonuses, electronic funds payments, or voicemails, directing victims to authorize the attacker's device, granting persistent access to Outlook, Teams, and OneDrive via stolen OAuth access and refresh tokens[1][2][3].
- •This technique does not rely on credential theft but exploits post-MFA token issuance, allowing attackers to poll the token endpoint for real-time hijacking of valid tokens[1][2].
- •Defenses include Microsoft 365 admins using enterprise app allowlists to restrict OAuth consents, monitoring for anomalous device code usage, and revoking suspicious tokens[1][2][3].
- •Similar OAuth abuse has been observed in campaigns by Pawn Storm since 2015 and device code vishing targeting Entra ID accounts in technology sectors[2][6].
🛠️ Technical Deep Dive
- •Attackers register an OAuth app in Microsoft 365 to obtain a client_id, then generate a unique device_code and user_code using open-source tools[1][6].
- •Victim is phished to enter the user_code on https://microsoft.com/devicelogin, completing MFA on the legitimate site, which triggers token issuance to the attacker's polling endpoint[1][2][3][6].
- •Attacker polls Microsoft's token endpoint (e.g., via device_code polling flow in OAuth 2.0 RFC 8628) to capture access_token and refresh_token for persistent, bearer-token access without further auth[1][2].
- •Tokens enable API calls to Microsoft Graph for M365 services; they act as bearer credentials, blending with normal integration traffic and evading MFA[2][3].
- •Distinct from AiTM phishing, which uses reverse proxies for session cookies; this is pure device flow abuse post-legitimate auth[1][4].
🔮 Future ImplicationsAI analysis grounded in cited sources
This campaign highlights OAuth misconfigurations as a persistent blind spot despite MFA investments, likely driving adoption of conditional access policies, enhanced app consent prompts, and token lifecycle monitoring in enterprises. It may prompt Microsoft to tighten device code flows or introduce verification steps, increasing pressure on SaaS providers to secure API grants amid rising token theft in supply chain attacks.
⏳ Timeline
📎 Sources (9)
Factual claims are grounded in the sources below. Forward-looking analysis is AI-generated interpretation.
- blog.knowbe4.com — Uncovering the Sophisticated Phishing Campaign Bypassing M365 Mfa
- computerworld.com — New Phishing Campaign Tricks Employees Into Bypassing Microsoft 365 Mfa 2
- csoonline.com — New Phishing Campaign Tricks Employees Into Bypassing Microsoft 365 Mfa
- threatlocker.com — Aitm Phishing Attacks Against Microsoft 365 Mfa Bypasses Session Hijacking and Bec
- praetorian.com — Gone Phishing Got a Token When Separate Flaws Combine
- bleepingcomputer.com — Hackers Target Microsoft Entra Accounts in Device Code Vishing Attacks
- obsidiansecurity.com — Saas Attack Techniques Threat Actors
- wiz.io — Detecting Malicious Oauth Applications
- cobbtechnologies.com — Microsoft Scan to Email Update
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Computerworld ↗
