OAuth phishing — sometimes called illicit consent grant attacks — tricks users into authorising malicious or abused applications to access their Microsoft 365 data. Unlike credential phishing which steals passwords, OAuth phishing captures a persistent access token that grants the attacker ongoing access to the user's account without needing their credentials or bypassing MFA.
First-party Microsoft applications are particularly dangerous in this context because they are trusted by default in most tenants and are less likely to trigger security warnings during the consent flow. Attackers can abuse the Family of Client IDs (FOCI) mechanism — a feature in the Microsoft identity platform that allows certain first-party apps to share refresh tokens — to escalate from a low-privilege app consent to broader access across multiple Microsoft services.
This technique allows attackers to maintain persistent access that survives password resets, because the OAuth token is independent of the user's credentials.
Once the user consents to a malicious or abused OAuth flow using a first-party Microsoft app, the attacker receives a refresh token. This token can be used to request access tokens for other Microsoft services the app is authorised to access — including Exchange Online, SharePoint, Teams, and OneDrive.
If the attacker leverages FOCI, they may be able to use the refresh token from one first-party app to obtain access tokens for other FOCI-eligible apps, significantly broadening their access. All of this activity can appear in logs as normal, legitimate application access by the user — making it very difficult to detect after the fact.
The attacker can read emails, access files, enumerate the directory, and use the access for reconnaissance or lateral movement, all while the user remains unaware their account is compromised.
OAuth consent flows using first-party Microsoft apps are routine in normal M365 usage. Legitimate scenarios include:
The alert becomes suspicious when: the consent was triggered by an unusual OAuth redirect URI, the application involved is not one the user would typically interact with, the consent grant happened outside business hours or from an unusual location, or the application requests permissions significantly broader than its stated purpose.
Overe Auto-Response: The OAuth Phishing via First-Party Microsoft Application alert can be configured in Overe to trigger automatic session revocation or account block when suspicious OAuth activity is detected. Review your Auto-Response settings under Org Config > Auto-Response to ensure an appropriate automated response is configured.
After investigating an OAuth phishing alert, review these related risk areas: