Back to all lessons
Awareness Lessons
2 months ago

EvilTokens PhaaS Bypasses MFA via Device-Code Phishing, Hits 12,000 Accounts

Written by AI from the linked story. Not reviewed by an editor. How this works

The EvilTokens platform exploited device-code phishing — a technique that tricks users into authorizing attacker-controlled sessions — effectively bypassing multi-factor authentication by stealing OAuth tokens rather than passwords. This highlights a critical blind spot: MFA alone is not a silver bullet when authentication flows themselves can be weaponized. Over 12,000 Microsoft accounts across 10,000 organizations were compromised, demonstrating the massive scale achievable through Phishing-as-a-Service commoditization. Organizations that assumed MFA guaranteed protection were left exposed because they lacked controls to detect or restrict unusual device-code authorization flows.

Tactical Insight

Immediate actions

  • Disable or restrict the OAuth device-code authentication flow in Microsoft Entra ID (Azure AD) Conditional Access policies unless explicitly required by business needs.
  • Audit all recent device-code authorization grants and revoke suspicious or unrecognized OAuth tokens across your Microsoft 365 tenant.
  • Enable Conditional Access policies requiring compliant, managed devices and known locations before permitting token issuance.

Long-term improvements

  • Migrate users to phishing-resistant MFA methods (FIDO2 hardware keys or Windows Hello for Business) that are immune to token-hijacking attacks.
  • Implement a Zero Trust architecture that continuously validates session context, device health, and behavioral signals rather than trusting a token at face value.
  • Conduct regular security awareness training specifically covering device-code phishing scenarios and how to recognize unexpected authorization prompts.

Detection measures

  • Configure SIEM alerting on anomalous OAuth consent grants, device-code flow usage from unfamiliar locations, or bulk token issuance events.
  • Integrate threat intelligence feeds (e.g., SpyCloud, Microsoft Sentinel) to detect compromised credential indicators before attackers pivot deeper into the environment.
  • Establish a baseline of normal device-code authentication usage and alert on deviations exceeding defined thresholds.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.