IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

Microsoft warns of phishing campaign targeting OAuth tokens

The attack, which gives hackers persistent access to email accounts, has targeted hundreds of organizations

Hackers have been targeting Microsoft 365 users with a fake app that steals their OAuth authentication token, giving them full access to the victim's email, calendar, and contacts.

Microsoft picked up news of the new cybercrime campaign from Twitter user @ffforward. They discovered that the perpetrator has been targeting Microsoft 365 users with an app called Upgrade, using the publisher name Counseling Services Yuma PC.

The phishing group has been sending emails to potential victims with an OAuth request. OAuth is a form of authentication that uses software tokens to maintain access to an online service such as Microsoft 365.

Once the user has signed into a service, it sends an OAuth token to the client device which is then able to access the service without a password for an extended period.

When a phishing victim clicks on the OAuth URL in the phishing email, the app will generate an OAuth consent prompt. If the victim then agrees to give the app access, the attackers get the authorization token and can then access the user's data. The OAuth token allows them to stay in the victim's account until the token expires or is revoked.

The app asks the user for several permissions. If granted, it is able to sign in on the user's behalf and read their user profile, while also changing their user mailbox settings. That means they can create new mailbox rules. The app could also access the user's email, send mail on their behalf, and harvest information on their contacts.

Related Resource

Modern governance: The how-to guide

Equipping organisations with the right tools for business resilience

Whitepaper cover with solid red vertical line, and the title and Diligent logoFree Download

In a tweet last week, Microsoft warned that the phishing campaign had targeted hundreds of organizations. "Microsoft Defender for Cloud Apps, Azure AD, and Defender for Office 365 can help protect against similar attacks by blocking the OAuth consent links or flagging unusual behavior of users or cloud apps," it added.

Microsoft classifies OAuth-based attacks as 'consent phishing'. It advised administrators to configure when users can grant access to apps using Azure Active Directory in an analysis of the problem last June.

Featured Resources

Four strategies for building a hybrid workplace that works

All indications are that the future of work is hybrid, if it's not here already

Free webinar

The digital marketer’s guide to contextual insights and trends

How to use contextual intelligence to uncover new insights and inform strategies

Free Download

Ransomware and Microsoft 365 for business

What you need to know about reducing ransomware risk

Free Download

Building a modern strategy for analytics and machine learning success

Turning into business value

Free Download

Recommended

Microsoft says it's provided over $100 million in tech support to Ukrainian government
cyber attacks

Microsoft says it's provided over $100 million in tech support to Ukrainian government

20 May 2022
Microsoft to double salary budget to retain workers
Careers & training

Microsoft to double salary budget to retain workers

17 May 2022
Microsoft warns of new botnet variant targeting Windows and Linux systems
Security

Microsoft warns of new botnet variant targeting Windows and Linux systems

16 May 2022
Windows Server admins say latest Patch Tuesday broke authentication policies
Server & storage

Windows Server admins say latest Patch Tuesday broke authentication policies

12 May 2022

Most Popular

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack
hacking

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack

16 May 2022
16 ways to speed up your laptop
Laptops

16 ways to speed up your laptop

13 May 2022
Windows Server admins say latest Patch Tuesday broke authentication policies
Server & storage

Windows Server admins say latest Patch Tuesday broke authentication policies

12 May 2022