Skip to content
FOR THE LOVE OF ALL THINGS TECH
Cybersecurity

OAuth consent phishing can expose business data after MFA

Hero visual representing OAuth Consent Phishing: The MFA Blind Spot Security Teams Need to Recheck
Featured visual for OAuth Consent Phishing: The MFA Blind Spot Security Teams Need to Recheck

OAuth consent phishing can give a malicious application access to business data even when a user signs in through a legitimate identity provider and completes multifactor authentication. The attack targets the user’s approval of application permissions, rather than simply obtaining a password.

OAuth allows applications to access specified resources without receiving the user’s password. In a consent-phishing attack, the user is deceived into approving an application’s permission request. Depending on the approved scopes, that access can include email, files, calendars, contacts or other information.

Authentication and application consent

Microsoft described the consent-phishing pattern in July 2020: an attacker registers an application, makes it appear trustworthy and directs a user to an authentic consent prompt. If the user accepts, the application can obtain an access token and, potentially, a refresh token.

Completing MFA does not establish whether the application is trustworthy or its requested permissions are appropriate. The application’s access remains subject to the granted permissions, applicable user access rights and platform policies.

Google’s OAuth documentation describes the same distinction between signing in and granting permissions. An access token is valid for the operations and resources covered by its scopes. A token issued for one service does not automatically authorize access to another.

EvilTokens uses a different authorization flow

In an account of its March 2026 investigation, Sekoia’s Threat Detection & Research team described EvilTokens, a phishing-as-a-service kit targeting Microsoft 365 through device-code phishing. The researchers said its phishing pages had been circulating since mid-February 2026.

Sekoia described decoy pages impersonating familiar services and instructing users to enter a short code on Microsoft’s legitimate device sign-in page. The attacker initiates the device authorization request and deceives the target into completing authentication. Sekoia said the attacker can then receive access and refresh tokens.

This differs from persuading a user to approve a malicious third-party application’s consent request. Sekoia described device-code requests using legitimate application identifiers, including Microsoft first-party clients. The technique therefore does not necessarily involve a newly registered malicious application.

Microsoft separately documented device-code phishing in February 2025, describing attackers who captured tokens after users completed an attacker-initiated sign-in flow. Both techniques can produce token-based access following legitimate authentication, but their mechanisms differ. Reachable data and persistence depend on the application, permissions, token validity and tenant policies.

Tokens and existing consent grants

An access token authorizes requests to a protected resource. A refresh token, when issued, can obtain new access tokens after an earlier access token expires. Continued OAuth access depends on token validity, granted permissions and platform policies.

Microsoft’s guidance for account recovery after suspected device-code phishing recommends revoking the user’s refresh tokens. Its identity-platform documentation states that refresh tokens can expire or be revoked before their expiration.

Consent-policy changes have a separate limitation. Microsoft states that changes to user-consent settings affect future consent operations. Existing grants remain unchanged, with access continuing under the permissions previously approved.

Compromised integrations create another access path

The 2025 Salesloft-Drift incident involved compromised integration tokens rather than a malicious consent request. Google Threat Intelligence Group said an attacker used OAuth tokens associated with Salesloft Drift to steal data from Salesforce customer instances between at least August 8 and August 18, 2025. The group said the issue did not stem from a vulnerability in the core Salesforce platform.

The investigation also identified compromised tokens for the Drift Email integration. Google said the attacker accessed email from a very small number of Google Workspace accounts specifically configured to connect with Drift. Google revoked the affected tokens and disabled that integration pending investigation; it said Google Workspace itself had not been compromised.

For an AI assistant, scheduling tool or other connected service using OAuth, each token’s scopes define the authorized operations and resources. The resulting access also depends on the approving user’s permissions and the provider’s policies.

Microsoft’s published guidance addresses these access paths through different controls. App-consent policies can restrict which applications and permissions users may approve, with administrator review available for requests users cannot authorize themselves. Its device-code guidance separately recommends blocking that flow where unnecessary and applying Conditional Access policies where it is needed. Microsoft continues to recommend MFA alongside controls governing application permissions and token access.