OAuth Token Abuse: How Attackers Stay Inside Microsoft 365 and Google Workspace After a Password Reset
When a company discovers a compromised account and resets the password, most IT teams exhale. The attacker – if they knew what they were doing – stopped needing that password days ago. They already authorized a malicious third-party application to the victim’s Microsoft 365 or Google Workspace tenant, and that application still holds a live, valid token with broad permissions: reading email, pulling files, forwarding contacts. The password reset changed nothing. This is not a theoretical edge case. CISA, the FBI, and Microsoft’s own threat intelligence teams have all flagged OAuth token abuse as a growing attack vector, and the evidence points to one consistent gap: most small and mid-sized businesses have never audited their OAuth application inventories at all.
- What OAuth Token Abuse Actually Means
- Why a Password Reset Does Not Stop the Attacker
- Real-World Campaigns and CISA Advisories
- Who Is Most at Risk
- Indicators Your IT Provider Should Be Auditing Right Now
- Building a Defense Posture That Actually Addresses This
- What to Ask Your IT Firm About OAuth Security
What OAuth Token Abuse Actually Means
OAuth (Open Authorization) is the protocol behind “Sign in with Google” and “Connect this app to your Microsoft account.” Instead of handing a third-party app your actual password, the identity provider – Microsoft or Google – issues a token: a digital key that grants the app specific permissions for a defined period. Those permissions are called “scopes,” and they range from benign (read your profile name) to serious (read all email, send mail on your behalf, access every file in OneDrive or Google Drive).
Under normal conditions, this is a sensible system. The problem is that tokens can be issued to malicious applications just as easily as legitimate ones – and once issued, they stay valid until someone explicitly revokes them. A threat actor who tricks a user into authorizing a malicious app through a phishing link, a lookalike login page, or a compromised third-party integration does not need a stolen password. The token does the work, often for 90 days or longer before expiration. In some configurations, refresh tokens extend that access indefinitely. Your identity perimeter is defined not just by passwords, but by every application consent your users have ever clicked through.
Why a Password Reset Does Not Stop the Attacker

This is the piece most organizations miss. The instinct when a credential is compromised is to reset the password and enable multi-factor authentication. That response is correct and necessary – but it is not sufficient. OAuth tokens are issued at the moment of user consent and stored by the third-party application, not by Microsoft or Google. Resetting a password does not invalidate those tokens unless someone takes the specific additional step of revoking application consent inside the tenant’s admin portal.
Microsoft’s own documentation states this explicitly: user-level tokens issued to consented applications persist independently of the user’s authentication credentials. An attacker who obtained a token with Mail.Read, Files.ReadWrite.All, or Calendars.ReadWrite permissions before the password reset still holds every one of those permissions after it. The only fix is finding the application, revoking the consent, and invalidating the token – steps that require knowing where to look and what you are looking for.
Microsoft’s Security team documented a specific 2023 campaign where the threat actor group tracked as Storm-0062 used exactly this technique: compromise credentials through phishing, register an OAuth application with high-privilege scopes, then abandon the credentials entirely. Even after the victim organization detected and remediated the initial phishing event, the attacker retained persistent access through the OAuth application for weeks. OAuth token abuse is not an afterthought in credential incident response – it is a required remediation step.
Real-World Campaigns and CISA Advisories
This is not an emerging or theoretical threat. It is documented, repeated, and underreported in the small and mid-sized business space specifically because victims often do not know it happened.
In January 2024, CISA released a joint advisory with partner agencies warning about threat actors targeting cloud environments, specifically calling out OAuth application abuse as a primary persistence mechanism. Attackers were creating new OAuth applications within compromised tenants, granting them tenant-wide admin consent, and using them to maintain long-term access even after the initial compromise was detected and “remediated.” The full advisory library is at cisa.gov/news-events/cybersecurity-advisories.
Microsoft’s 2024 Digital Defense Report documented that token theft and OAuth application abuse accounted for a significant and growing share of cloud identity compromises. Notably, attackers are increasingly targeting lower-privilege accounts – precisely because those accounts are less monitored – and then using OAuth application permissions to reach data they could never access through the compromised credential alone.
The FBI’s Internet Crime Complaint Center 2023 annual report recorded over $2.9 billion in business email compromise losses – a category of crime that increasingly depends on persistent cloud access through token-based mechanisms. Once an attacker has email access through an authorized application, they do not need your password. They can monitor inbound wire transfer requests, intercept vendor communications, and redirect payments indefinitely.
Midnight Blizzard – the Russian state-sponsored group behind the SolarWinds supply chain attack – was confirmed by Microsoft in early 2024 to have used OAuth applications as part of their persistence infrastructure during their compromise of Microsoft’s own corporate email systems. If that technique was used against Microsoft itself, it is being used against far less defended targets at scale.
Who Is Most at Risk
Every organization running Microsoft 365 or Google Workspace is exposed to this attack class. That is not alarmism – it is the consequence of how both platforms are built. That said, certain profiles carry meaningfully higher risk.
- Companies where employees regularly authorize third-party productivity apps – scheduling tools, e-signature platforms, project management integrations – without IT review. Each authorization is a potential entry point if any of those apps is malicious or gets compromised itself.
- Organizations where Microsoft 365 user consent settings allow end users to grant application access without administrator approval. This is a default-on configuration that most small and mid-sized businesses have never changed.
- Businesses that have experienced phishing incidents and responded by resetting passwords only, without reviewing OAuth application consent logs as part of incident response.
- Companies running a large volume of software-as-a-service integrations where the authorized application inventory has never been audited – and where legitimate and malicious applications are indistinguishable without active review.
- Organizations where IT is handled by a generalist or part-time resource who is not monitoring Microsoft Entra ID (formerly Azure AD) audit logs or Google Workspace’s OAuth token reports.
The profile that carries the most practical risk is the small professional services firm: 10 to 50 employees, running Microsoft 365, a mix of authorized software-as-a-service tools, and no one actively reviewing the application consent inventory. These organizations make up the bulk of the small and mid-sized business market, and they are almost entirely blind to the OAuth token abuse attack surface.
Indicators Your IT Provider Should Be Auditing Right Now
The following are specific, actionable indicators that any competent IT provider managing your Microsoft 365 or Google Workspace environment should be able to pull and review. If your current provider cannot answer these, that gap is itself the finding.
- A full inventory of OAuth applications granted consent in your Microsoft 365 tenant – found in Microsoft Entra ID under “Enterprise Applications.” This list should be reviewed for any application with permission scopes covering mail access, file access, or directory read/write.
- Applications granted tenant-wide admin consent rather than per-user consent. These carry the highest risk because they have access to data across every user in your organization, not just the individual who authorized them.
- App registrations created within your own tenant that were registered recently or by accounts that are no longer active. A common attacker technique is registering an application inside the compromised tenant so it appears internal.
- Microsoft Entra ID sign-in logs for service principal activity. Unusual patterns from application identities – especially outside business hours or from foreign IP ranges – are a strong indicator of active OAuth-based persistence.
- Google Workspace equivalent: the “Connected Apps” report under Admin Console, Security section. This shows every third-party application granted OAuth access to your domain and the specific scopes each one holds.
- Any application holding the
offline_accessscope in Microsoft 365. This scope allows the application to receive refresh tokens, enabling indefinite access renewal without user re-authorization. - Unified audit log entries in Microsoft 365 showing
Add service principal,Consent to application, orAdd OAuth2PermissionGrantevents – particularly events that coincide with any phishing incident or anomalous login.
Microsoft has published detailed guidance on detecting and remediating unauthorized consent grant attacks: Microsoft’s app consent incident response playbook. Any IT team actively managing this risk should be familiar with it.
Building a Defense Posture That Actually Addresses OAuth Token Abuse
Addressing OAuth token abuse requires changes at the policy, configuration, and monitoring layers simultaneously. A single control is not enough.
Restrict user consent settings in Microsoft 365. By default, Microsoft 365 tenants allow end users to grant OAuth consent to any application that requests it. Change this so that user consent is either disabled entirely or restricted to verified publisher applications only. Admin consent workflows let users request access to an application while requiring an administrator to approve the actual permission grant. This one configuration change eliminates a large percentage of the social engineering surface for this attack.
Implement application allow-listing. Both Microsoft and Google support policies restricting which third-party applications can be authorized in your environment. A reviewed, approved list of applications – with everything else blocked – is the highest-confidence control available. It requires ongoing maintenance, but it works.
Configure Conditional Access policies to evaluate application context. Microsoft Entra ID’s Conditional Access can require additional verification for application-level access and restrict which locations and devices can authenticate via OAuth. These controls do not stop token theft directly, but they limit where stolen tokens can be used.
Enable Continuous Access Evaluation. Microsoft’s Continuous Access Evaluation feature forces real-time re-evaluation of access tokens when certain risk signals are detected, rather than waiting for the standard token expiry window. Enabling it significantly narrows the window of abuse when a token is compromised.
Treat OAuth application audits as a recurring process, not a one-time event. New applications are authorized constantly in active organizations. A point-in-time audit surfaces existing problems; ongoing monitoring is what prevents new ones from becoming entrenched. Your IT provider should have a defined cadence for reviewing the OAuth application inventory – quarterly at minimum, monthly in higher-risk environments.
Include OAuth application review in incident response procedures. Any phishing incident, credential compromise, or suspicious login event should automatically trigger a review of OAuth consent grants for the affected account and for any administrator accounts active during the same window. This step is missing from most small and mid-sized business incident response processes today.
If your environment has managed cybersecurity monitoring in place, your provider should be able to confirm which of the above controls are active in your tenant right now. If the answer is uncertain, that uncertainty is the finding. You can also review our broader managed IT services to understand how continuous identity monitoring fits into a layered security program.
What to Ask Your IT Firm About OAuth Security
The technical complexity here is real. The questions you need answered as a business owner or operations leader are not. These questions are designed to surface whether your IT provider is actively managing OAuth token abuse risk – or simply unaware of it.
- Have you audited our Microsoft 365 or Google Workspace OAuth application consent inventory in the last 90 days? Can you show me the list?
- What is our current user consent setting in Microsoft Entra ID? Can end users authorize third-party applications without administrator approval?
- If we had a phishing event today and reset the affected user’s password, would that also terminate any OAuth applications the attacker may have authorized? What is your process for checking?
- Are you monitoring our Microsoft 365 unified audit log for application consent events and service principal sign-ins? How frequently, and who reviews the alerts?
- Do we have Continuous Access Evaluation enabled in our Microsoft 365 tenant?
- What is your process for removing an application from our tenant if we discover it is malicious or no longer needed?
A qualified IT provider managing your cloud environment should answer every one of these questions specifically and quickly. Vague responses – “we have security tools in place,” “we monitor for threats” – are not answers. They are indicators of a gap between what your provider knows and what your environment actually requires.
The uncomfortable truth about OAuth token abuse is that it rewards patience and punishes reactive security. An attacker who plants an OAuth foothold in January and waits until April to act has been inside your environment for months while every password rotation, every phishing training email, and every firewall renewal happened around them without touching their access. The organizations that defend against this successfully have IT providers managing access at the identity and application layer continuously – not just responding to incidents after the fact. That distinction, between proactive identity hygiene and reactive credential management, is where most small and mid-sized business cloud environments are currently underserved.
If you want to know exactly where your environment stands, Book a Free Cybersecurity Strategy Call. We will walk through what is actually authorized in your tenant and what needs to change.
Get a Second Opinion
Sometimes the best thing you can do for your business is have someone outside your current vendor relationship take a fresh look. That’s what a strategy call gives you — 20 focused minutes with our team and a no-strings-attached read on what we’d recommend.