+44 (0)203 88 020 88

Menu

Search

Cyber Security News & Articles

 

Cyber Security
News & Articles

Trusted Cyber Security Experts
25+ Years Industry Experience
Ethical, Professional & Pragmatic

Oauth attack against Office365

A novel attack vector has been seen in the wild: using OAuth permissions to compromise Office365 Accounts

Reported by anti-phishing security firm PhishLabs, the new attack leverages the persistent permissions of OAuth authentication to get access to the target Office365 accounts without ever compromising the login credentials.

The attack starts with a phishing email which pretends to be a file shared for a Sharepoint site or OneDrive.  These emails have often been customised with the name of the target organisation, increasing the chance they will be clicked.  Embedded phishing link actually points to a malicious Office365 App (plug-in).

By default, all Office365 users can install plug-ins for Outlook, and these can be side loaded direct from a URL without going through the Microsoft Office Store.  In the case of this attack, the phishing link in the email points to the installation URL for the malicious app.  However, the URL is actually the legitimate Office365 domain with a parameter which is the source URL for the app.  A cursory check by a user hovering their mouse over the link in their email will see the real Office365 domain as the target.

As you can see from this sanitised example, the target URL is not obvious:

hXXps://login{dot}microsoftonline{dot}com/common/oauth2/v2.0/authorize?
%20client_id=fc5d3843-d0e8-4c3f-b0ee-6d407f667751&
response_type=id_token+code&
redirect_uri=https%3A%2F%2Fofficemtr.com%3A8081%2Foffice&
scope=offline_access%20contacts.read%20user.read%20mail.read%20
notes.read.all%20mailboxsettings.readwrite%20Files.ReadWrite.All%20
openid%20profile&state=12345Ajtwmd&response_mode=%20form_post&
nonce=YWxsYWh1IGFrYmFy

The source url for the malicious app is at officemtr{dot}com:8081/office

When the user clicks the link, they are first taken to the legitimate Office365 login page to enter their credentials, and then are presented with an application permissions box to approve the plug-in installation.  If the user simply accepts the permissions the app is installed into their Office365 with sweeping permissions to access their files and emails.

Because the malicious app is using persistent OAuth permissions, changing the user’s password or activating two factor authentication will not affect the access the app has.

Microsoft offers detailed guidance for Office365 Administrators to hunt down and disable malicious OAuth applications in their environment.

 

 

 

Subscribe to our monthly newsletter today

If you’d like to stay up-to-date with the latest cyber security news and articles from our technical team, you can sign up to our monthly newsletter. 

We hate spam as much as you do, so we promise not to bombard you with emails. We’ll send you a single, curated email each month that contains all of our cyber security news and articles for that month.

Why Choose SecureTeam?

CREST
CCS
ISO9001
ISO27001
CE-PLUS

Customer Testimonials

“We were very impressed with the service, I will say, the vulnerability found was one our previous organisation had not picked up, which does make you wonder if anything else was missed.”

Aim Ltd Chief Technology Officer (CTO)

"Within a very tight timescale, SecureTeam managed to deliver a highly professional service efficiently. The team helped the process with regular updates and escalation where necessary. Would highly recommend"

IoT Solutions Group Limited Chief Technology Officer (CTO) & Founder

“First class service as ever. We learn something new each year! Thank you to all your team.”

Royal Haskoning DHV Service Delivery Manager

“We’ve worked with SecureTeam for a few years to conduct our testing. The team make it easy to deal with them; they are attentive and explain detailed reports in a jargon-free way that allows the less technical people to understand. I wouldn’t work with anyone else for our cyber security.”

Capital Asset Management Head of Operations

“SecureTeam provided Derbyshire's Education Data Hub with an approachable and professional service to ensure our schools were able to successfully certify for Cyber Essentials. The team provided a smooth end-to-end service and were always on hand to offer advice when necessary.”

Derbyshire County Council Team Manager Education Data Hub

“A very efficient, professional, and friendly delivery of our testing and the results. You delivered exactly what we asked for in the timeframe we needed it, while maintaining quality and integrity. A great job, done well.”

AMX Solutions IT Project Officer

“We were very pleased with the work and report provided. It was easy to translate the provided details into some actionable tasks on our end so that was great. We always appreciate the ongoing support.”

Innovez Ltd Support Officer

Get in touch today

If you’d like to see how SecureTeam can take your cybersecurity posture to the next level, we’d love to hear from you, learn about your requirements and then send you a free quotation for our services.

Our customers love our fast-turnaround, “no-nonsense” quotations – not to mention that we hate high-pressure sales tactics as much as you do.

We know that every organisation is unique, so our detailed scoping process ensures that we provide you with an accurate quotation for our services, which we trust you’ll find highly competitive.

Get in touch with us today and a member of our team will be in touch to provide you with a quotation. 

0

No products in the basket.

No products in the basket.