Season 1 Part of Threat of the Week · Episode 02 of 10
View all 10 episodes →
Threat of the Week · Episode 02 · Consent Phishing · OAuth · MITRE ATT&CK T1528 · Cloud Security · January 25, 2027 · 9 min read

OAuth Consent Phishing: When You Hand Over Access Without Giving Up a Password

Threat of the Week · Ep 02 Consent Phishing OAuth MITRE ATT&CK T1528 Cloud Security · 9 min read
💬 Feedback
T1528
MITRE ATT&CK technique
Steal Application Access Token, under the Credential Access tactic
Dec 2022
Verified publisher badge abused
Attackers enrolled in Microsoft's partner programme as fake companies so their apps looked trustworthy
0
Passwords stolen in the attack
The victim signs in to the real Microsoft or Google page and grants the app access themselves

Most phishing tries to steal your password. Consent phishing does not bother. It sends you to the genuine Microsoft or Google sign-in page and asks you to click "Accept". If you do, a malicious app gets access to your email and files, and your password and MFA never come into it.

Every time you click "Sign in with Microsoft" or "Sign in with Google" on a new app, you see a permissions screen. It lists what the app wants: read your profile, read your email, access your files, keep access when you are not using it. You click Accept, and the app receives a token that lets it act on your behalf.

This system, built on a standard called OAuth, is how thousands of legitimate apps work. Consent phishing abuses it. The attacker builds an app with a believable name and logo, sends you a link, and lets the real permission screen do the persuading.

The sign-in page is real. The permissions screen is real. Only the app is malicious.
MITRE ATT&CK mapping Technique: T1528, Steal Application Access Token
Tactic: Credential Access (TA0006)
Delivered by: T1566.002 Spearphishing Link
Examples, according to MITRE: APT28 used malicious apps posing as Google and Yahoo email-protection tools to steal OAuth tokens. APT29 has used stolen tokens to access accounts without needing a password.

1. How the Attack Works

  1. The attacker registers an app with Microsoft or Google. Anyone can do this. They give it a name such as "Document Viewer", "Secure Mail Scan" or the name of a real business tool.
  2. They send a link by email or chat: a shared file, an invoice, a voicemail, a security check.
  3. The link opens the genuine sign-in page. If you are already signed in, you may go straight to the consent screen.
  4. The consent screen asks for permissions, often including reading your mail, accessing your files and "maintain access to data you have given it access to", which allows the app to keep working long after you close the page.
  5. You click Accept. The app receives tokens and starts reading, searching or forwarding your data through official interfaces.

Because the attacker never needed your password, MFA does not stop this. And because the app was granted access rather than breaking in, the access can survive a password change. The consent grant stays in place until someone revokes it.

2. A Real Campaign: Fake Verified Publishers, 2022

Microsoft marks some apps with a blue "verified publisher" badge, meaning the developer went through a vetting process. In January 2023, Microsoft described how attackers had abused that process.

According to the Microsoft Security Response Center, threat actors impersonated legitimate companies to enrol in the Microsoft Cloud Partner Program. They used those fraudulent partner accounts to add a verified publisher badge to OAuth apps they had created, then ran a consent phishing campaign. The targets were mainly organisations in the UK and Ireland, and Microsoft said the attackers used the apps mainly to take email.

Microsoft disabled the apps and the attacker-owned accounts, notified affected customers and added further checks to partner enrolment. The researchers who found the campaign advised organisations not to trust an app based on the verified badge alone.

The key point Microsoft's own guidance says that even when an app has a verified publisher, it is still important to review the consent prompt and check that the permissions match what the app actually needs to do.

3. How to Prevent It

Restrict who can consent. This is the most effective control for organisations. MITRE recommends that administrators block end-user consent to OAuth applications, so that requests go to an administrator for approval. In Microsoft Entra ID, user consent settings can be turned off, or limited to verified publishers requesting low-risk permissions. Pair this with an admin consent workflow so people can request apps they genuinely need.

Audit existing apps. MITRE and Microsoft both recommend regularly reviewing every OAuth app and the permissions it holds. Look carefully at any app with access to all mail, all files or tenant-wide permissions.

Teach people what a consent screen means. Users should not approve apps they do not recognise, and should be especially careful with requests to read email or keep access offline.

4. How Defenders Can Detect It

MITRE's detection guidance for T1528 and Microsoft's investigation playbooks point to these signals:

  • New consent grants. In Microsoft 365, search the audit log for "Consent to application" activity, and review grants where the consent was given by a user rather than an administrator.
  • High-risk permissions. New grants that include mail read, mail send, full file access or offline access deserve immediate review.
  • A newly registered app gaining consent from several users in a short period, especially after a phishing email.
  • Programmatic access to mailboxes and files by a recently consented app, particularly from unfamiliar IP addresses or at high volume.

Microsoft also warns that the act of consenting is not malicious in itself. Plenty of grants are legitimate, so the goal is review, not automatic blocking of every new app.

Response when you find one Revoke the app's consent grant and disable the app in your tenant. Review what it accessed in the audit and sign-in logs, check affected mailboxes for forwarding rules, and report the app to Microsoft or Google. Changing the user's password alone does not remove the grant.

5. For Personal Accounts

Consent phishing is not only a workplace problem. Personal Google and Microsoft accounts use the same system.

  • Read the permissions screen before clicking Accept. A PDF viewer does not need to read and send your email.
  • Be suspicious when a link from an email jumps straight to a permissions screen. You were expecting to see a document, not grant access.
  • Review connected apps in your Google or Microsoft account settings and remove anything you do not recognise, as described in Security in 5 Minutes, Episode 06.

Final Thoughts

Consent phishing shows why identity security is about more than passwords and MFA. An attacker who is given access through the front door does not need to pick the lock.

For organisations, the fix is mostly a setting: stop ordinary users granting powerful permissions to unknown apps, and review what has already been granted. For individuals, it is a habit: read the screen before you click Accept.

Before you click Accept, ask one question: why does this app need that?

Sources and Further Reading

Cyber Insight | Threat of the Week · Season 1

Making cybersecurity easier to understand, one issue at a time.

Season 1

Threat of the Week · All 10 Episodes

One attack technique explained, mapped to MITRE ATT&CK, with detection tips.

01
MFA fatigue (push bombing): how it works and how to detect it Episode 01 · Published
02
OAuth consent phishing Episode 02 · Now reading
03
QR-code phishing (quishing) Episode 03 · Published
04
Adversary-in-the-middle phishing kits and session theft Episode 04 · Coming soon
05
Software supply-chain attacks: typosquatting and dependency confusion Episode 05 · Coming soon
06
Business email compromise Episode 06 · Coming soon
07
Infostealer malware and stolen browser sessions Episode 07 · Coming soon
08
Living off the land: attackers using your own tools Episode 08 · Coming soon
09
Deepfake voice and video scams Episode 09 · Coming soon
10
Credential stuffing Episode 10 · Coming soon
PS
Poorna Sujampathi Rathnayaka
Writer · Cyber Insight · Digital Literacy

I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.