Join our Newsletter — 33% off our NHI Course

Does device-code phishing turn the grant into the break point?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Phishing kits have turned OAuth token theft into a rentable service that starts with a real Microsoft sign-in and ends with attacker-held tokens, according to SlashID. Identity teams need to watch the grant and token lifecycle, because password resets do not reliably end the abuse.

Editorial analysis by NHI Mgmt Group, based on content published by SlashID: “The Illicit Consent Grant Part 2: Device-Code Phishing and the AI PhaaS Wave”.

Key questions

Q: Why do OAuth tokens bypass MFA in real attacks?

A: OAuth tokens bypass MFA because the attacker reuses a valid authorization artifact after it has already been issued.

Q: What are the signs that an OAuth phishing campaign has moved past the grant stage?

A: The clearest signs are rapid mailbox and Graph fan-out, especially reads of contacts, manager data, direct reports, sent items and inbox rules shortly after token issuance.

Q: What breaks when device-code phishing is allowed in a Microsoft tenant?

A: The control break is that a legitimate user login can still produce attacker-owned tokens.

Practitioner guidance

  • Block high-risk device-code flows Disable device-code grant use by default and allow it only for tightly justified devices and workflows.
  • Review OAuth consent and app registration posture Set user consent to the most restrictive workable state, limit which scopes can be granted without admin review, and inventory app registrations that could be abused to receive delegated access.
  • Detect post-grant recon bursts Alert when a fresh token immediately triggers parallel reads of mail folders, contacts, manager data, direct reports or sent items.

Bottom line: AI-powered phishing kits have turned OAuth token theft into a rentable, automated service that starts with a real Microsoft sign-in and ends with attacker-held tokens.

Glossary terms: Device code phishing, Authentication Token Theft, Grant review, Mailbox reconnaissance

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 1 week ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20712
 

Device-code phishing is not a login attack, it is a grant attack: The defensive error is to anchor controls at the sign-in screen when the real abuse begins after the user completes a legitimate approval step. That makes consent, token issuance and post-grant behaviour the identity security boundary that matters. Practitioners should therefore model OAuth grants as first-class attack surfaces, not secondary artefacts.

A few things that frame the scale:

A question worth separating out:

Q: How should teams respond when a device-code grant looks suspicious?

A: Contain the identity, revoke the grant, invalidate refresh tokens, kill active sessions and inspect for inbox rules or device-registration persistence before the attacker completes follow-on actions. If the tenant allows it, disable the affected app registration path as well. The response needs to be identity-led because the compromise lives in the token chain.

👉 Read our full editorial: AI-powered device-code phishing is industrialising OAuth token theft



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.