TL;DR
- Consent phishing does not steal your password. You approve a malicious app that then reads your data with its own token.
- The app keeps access that survives a password change, because the grant is separate from your sign-in.
- Check the apps your account has approved and remove the ones you do not recognise.
Before you start: read Scopes vs consent. It explains the list you see on the screen.
Most phishing wants your password. Consent phishing wants something else: your yes. The attacker builds an app, sends you a link to it, and lets the real sign-in page do the rest. Your password goes to the real page, and the attacker never sees it.
What the attack looks like#
The message looks ordinary. It might be a shared invoice, a meeting note, or a link that seems to come from someone you know. The link opens a sign-in page. It is the real one, so the address is right. After you sign in, a screen lists what the app wants to do: read your mail, send mail as you, or see your files. If the list looks like something a helpful tool would ask for, you click Accept.
Microsoft’s guidance on this says the consent screen shows every permission the app receives. Users accept because the sign-in platform hosting the app is legitimate. The platform does its job correctly. The app is the problem.
The yes is the attack#
Think of consent as a spare key you hand to a courier. The courier is supposed to leave a parcel at the door. If you give the key to a stranger who says he is from the building, that key keeps working until someone takes it back. Changing the code on your own front door does nothing to a key you already handed out.
That is the whole attack. The app never gets your password. It gets a grant, and the grant is a separate thing.
Example: a calendar add-on asks to read your mail and send mail as you. You approve it. Later you change your password after a scare. The add-on still reads your mail, because it holds the grant, not your password.
The sequence below shows the steps. You type your password only on the real sign-in page. The last step is the one that hurts.
The app receives its token through the OAuth protocol, which is described in RFC 6749. The token is what the app uses to call the mail service. Read the list on the screen, not the app name. The name costs nothing to pick.
What the app keeps#
Microsoft’s page on consent phishing describes what happens when it disables a flagged app. New token requests and refresh requests are denied. Tokens that were already issued stay valid until they expire.
So a block is not an instant stop. For a while after it, the old tokens still work. This is also why the wider cleanup matters, and not only the block itself.
Why a password reset is not enough#
Microsoft’s Defender documentation says that the usual steps, such as resetting passwords or requiring multifactor sign-in, are not effective against this type of attack. The reason is simple: the app sits outside your organisation, and the grant does not depend on your password.
The Microsoft Entra blog makes the same point from another side. The user’s authentication method does not matter, because the app calls services with the permissions the user already delegated.
So a passkey does not close this door either. A passkey guards the sign-in page, and the attacker is not trying to get past that page. The guide to multifactor sign-in and passkeys explains what those methods do protect.
A related trick uses a similar step. In device code phishing, someone gets you to approve a short code on a different screen. Same idea, different place to click.
What to check#
Check the apps your account has approved. Remove the ones you do not recognise or no longer use. This takes a few minutes, and it is the step most people skip.
If you run the tenant, Microsoft’s Entra blog says administrators decide which permissions users can grant and what kinds of apps users can consent to. That is the setting to review first. Limit user consent, and let an administrator approve the rest.
Before you click Accept, read the list and ask whether the app needs every item. Scopes vs consent explains what each item means.
Where to go next#
- OAuth 2.0 flows explained: which sign-in routes show a consent screen.
- Device code phishing for managers: the sibling attack, with a short code.
- Scopes vs consent: the list on the screen, one item at a time.
Sources#
This post as Markdown · RSS · JSON feed
New posts by email
One email a week with new posts and labs. Unsubscribe anytime.
Your address is stored with Kit, which sends the emails. Details