OAuth Consent Phishing: Bypassing Passwords & MFA
· by Spicy Stromboli · identity-security, oauth, mfa-bypass, account-protection, phishpond
OAuth consent phishing (also known as an illicit consent grant attack) is a high-level compromise technique targeting modern app authentication structures. Instead of stealing your password or intercepting your multi-factor authentication tokens, attackers trick you into authorizing a malicious application built on developer platforms like Microsoft Azure or Google Cloud. Once permission is granted, the application receives an access token that allows the attacker to read emails, access files, and hijack accounts indefinitely without ever triggering a password alert.
For years, the cybersecurity community has repeated a single piece of advice: enable multi-factor authentication (MFA) to secure your accounts. It is a vital defense, but in 2026, cybercriminals have found a way to render passwords and MFA completely irrelevant. They are no longer trying to break in through your front door. Instead, they are exploiting the API integrations you use to connect apps to your work environment.
This technique is known as OAuth consent phishing. By mimicking standard integrations (such as a calendar sync tool or a document viewer), attackers manipulate the open authentication protocols that modern platforms rely on. If you click “Accept” on a spoofed authorization screen, you aren’t just logging in: you are signing away direct access to your data.
Here is an analysis of how OAuth consent phishing bypasses security systems, how to spot malicious permission requests, and how to audit your active integrations to keep your accounts secure.
The OAuth Shift: Moving Beyond Passwords
To understand why consent phishing is so dangerous, you must first understand how modern single sign-on (SSO) works.
In legacy systems, if an app wanted to read your calendar, you had to type your email password directly into that app. This was highly insecure, as it gave third-party developers your master key. To fix this, the industry adopted OAuth 2.0.
Under OAuth, when you connect an app (like a scheduling tool) to your Microsoft 365 or Google Workspace account, you are redirected to an official Microsoft or Google login screen. You log in securely, and then you see a “Consent Screen” listing the permissions the app is requesting (e.g. read your calendar, send emails, access contacts). When you click “Accept,” Google or Microsoft generates a unique digital pass called an Access Token and hands it to the app.
From that point forward, the app never asks for your password. It simply presents the access token to access the requested data. If you change your password, the access token remains valid. If you have MFA enabled, it only challenges you during the initial setup: the token itself operates silently in the background.
The Attack: How Illicit Consent Grants Work
Cybercriminals have realized that access tokens are far more valuable than passwords. They do not expire immediately, they bypass password changes, and they bypass MFA.
In an OAuth consent phishing campaign, the attack proceeds in five distinct stages:
- App Creation: The attacker registers a new application on a developer portal (like Microsoft Azure Active Directory or Google Cloud Console). They name the app something trusted, like “M365 Mail Search Utility” or “DocuSign Secure Portal,” and upload official logos to make it look legitimate.
- Lure Delivery: The victim receives an email containing a link. The email might claim that a secure document is waiting for them, or that their corporate email account needs to be re-synchronized.
- Official Redirection: When the victim clicks the link, they are taken to the official login portal of their provider (e.g.
login.microsoftonline.com). Because the domain is legitimate, security gateways and browser filters mark the page as safe. - The Consent Trap: Once the victim logs in, the official provider displays the app’s consent screen. The screen lists the permissions the app wants. Scammers request high-level access: “Read and write mail,” “Access contacts,” or “Have full access to all files.”
- Token Harvest: The moment the victim clicks “Accept,” the access token is sent to the attacker’s server. The attacker now has programmatic access to the mailbox. They can read sensitive messages, steal attachments, and set up forwarding rules to monitor all future communications.
Why This Bypasses Traditional Security
Consent phishing represents a major challenge for traditional defense architectures because it uses legitimate features of the cloud ecosystem:
- No Malicious Domains: The login and consent screens are hosted on official Microsoft or Google servers. There are no typo-squatted domains or fake login forms for browsers to block.
- MFA Compliance: The victim logs in using their real credentials and satisfies their real MFA prompts. The system registers the login as completely authorized.
- Password Change Immunity: Because OAuth tokens do not rely on your password, changing your password after the attack does not kick the attacker out. The access token remains active until it is explicitly revoked.
- Bypassing Mail Gateway Scanners: Email scanners look for malicious links. If the link leads directly to an official Azure authentication endpoint, the scanner has no reason to block it.
Spotting Malicious App Approvals
Defending against consent phishing requires careful inspection of the consent screen before clicking “Accept.” When a permission prompt appears, audit the following details:
- Verify the Publisher Status: Official providers display a verification status for developers. On Microsoft Azure, look for a blue checkmark next to the publisher name, indicating a “Verified Publisher.” If the publisher name is “Unverified” or “Unknown Developer,” treat it as a high-risk request.
- Analyze the Requested Scopes: Look closely at what the app wants to do. A basic calendar scheduling tool should not require permission to “Read all files in your OneDrive” or “Send mail on your behalf.” If the permissions do not match the function of the app, deny the request.
- Check the App URL: Make sure the app registration originates from a trusted partner. On the consent screen, expand the app details to see the origin domain. If it points to a random cloud host or a suspicious subdirectory, it is an exploit.
Remediation: How to Clean Up a Compromised Account
If you suspect you have clicked an unauthorized consent link, you must audit your active app integrations immediately.
- Access the Integration Panel:
- For Microsoft accounts, navigate to the My Applications Dashboard or your account portal’s “App Permissions” section.
- For Google Workspace, go to Google Account Permissions.
- Audit the List: Review every application that has access to your account. Look for unfamiliar names, apps with high-level access permissions, or integrations you haven’t used recently.
- Revoke Access: Click on any suspicious app and select “Remove Access” or “Revoke.” This instantly invalidates the access token, blocking the attacker’s connection.
- Check for Persistence Rules: Attackers often use their initial access to set up email forwarding rules or create new inbox filters. Verify that no unauthorized forwarding rules exist in your email settings.
We see this same token-hijacking strategy used across other platforms. For example, attackers steal session tokens to hijack accounts in messaging tools; our breakdown on recovering hacked Discord accounts covers how token logging works on desktop apps.
For administrators, the most effective defense is to disable user-consent for unverified apps entirely. In Microsoft 365 and Google Workspace, admins can configure settings so that users must request administrator approval before connecting any third-party app. This removes the decision from the user and ensures all integrations are vetted by a security professional.
Sources and References
- CISA Security Advisory: Mitigating Illicit Consent Grant Attacks in Microsoft 365
- Microsoft Security Research: Defending Against OAuth Application Consent Attacks
- Google Workspace Admin Help: Manage OAuth Apps and App Access Control
- PhishPond Research: Bypassing Multi-Factor Authentication via Session and Token Theft