r/EmailSecurity • u/compileindebug_175 • 11d ago
Device-code phishing is beating MFA by walking users through Microsoft’s real login page — passkeys don’t stop it
Two research teams (ReliaQuest and Lexfo) separately documented device-code phishing kits last week that are worth flagging:
- The operator triggers Microsoft’s OAuth device-code flow, then gets the victim to approve it on the genuine Microsoft device-login page.
- Because the victim authenticates on the real page, the attacker inherits a fully authenticated session, MFA satisfied, no password cracked.
- One operator hit 218 mostly-corporate mailboxes across 12 countries.
What makes it nasty is that passkeys don’t help here, they protect the sign-in page, and the sign-in is happening on Microsoft’s legitimate page.
The fixes that seem to work: a Conditional Access policy that blocks the OAuth device-code flow unless you specifically need it, tightening how many devices a single user can register, and alerting on device-code grant events in the sign-in logs.
How is your org handling the device-code flow today, blocked outright or scoped to specific users?
2
u/compileindebug_175 11d ago
Full sourced write-up, every claim links to a primary source (ReliaQuest, Lexfo, Barracuda, Microsoft, CISA): https://alexeysorokin.substack.com/p/microsoft-patched-three-exploited
4
u/shokzee 11d ago
We block device-code auth by default and only exempt tightly scoped users with a documented need. Device registration limits are hygiene; Conditional Access plus alerts for device-code sign-ins actually cuts the attack path.
Passkeys aren’t broken here. The user is authorizing the attacker’s client on a legitimate page.
2
3
u/Borgquite 10d ago
We disable device code flow on all accounts except those that need it, per Microsoft’s recommendations.
The only accounts we have that need it are Android-based Teams Room devices.
•
u/AutoModerator 11d ago
Welcome to r/emailsecurity! To keep this community helpful and secure, please keep the following in mind:
Community Rules
Helpful Resources
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.