Call us today on: +44 (0)203 88 020 88
SecureTeamSecureTeamSecureTeamSecureTeam
  • Home
  • Our Services
    • Infrastructure Testing
      • Internal Network Penetration Test
      • External Network Penetration Test
      • Wireless Network Penetration Test
      • Vulnerability Assessment
      • Network Segregation Test
      • Voice over IP (VoIP) Penetration Test
    • Application Testing
      • Web Application Penetration Test
      • Mobile Application Penetration Test
      • Desktop Application Security Assessment
      • Citrix Breakout Test
    • Configuration Review
      • Windows Server Build Review
      • Linux Server Build Review
      • Citrix Configuration Review
    • Information Assurance
      • ISO 27001 Gap Analysis
    • Cyber Essentials
  • News
  • Articles
  • About
    • About SecureTeam
    • STORM Appliances
      • Installing a STORM Device
      • Returning a STORM Device
    • White-Label Consultancy
    • Jobs
    • Cookie Policy
    • Privacy Notice
    • Website Terms & Conditions
  • Contact Us

News

Home  >  News  >  Oauth attack against Office365
NextPrevious

Oauth attack against Office365

News | 11 December, 2019 | 3

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 cybersecurity newsletter
Stay up-to-date with the very latest cybersecurity news & technical articles delivered straight to your inbox
We hate spam as much as you do. We will never give your email address out to any third-party.
microsoft, OAuth, phishing

Related Post

  • Email fraud costs Nikkei millions

    By Mark Faithfull

    Publishing giant Nikkei has reported they have lost $29million in an email fraud. In a press release they said: In late September 2019, an employee of Nikkei America, Inc. (New York City, United States) (“NikkeiRead more

  • MS Office now most targeted malware vector

    By Mark Faithfull

    Kaspersky has recently published information on what their security products are observing in their clients systems – and the dramatic rise of MS Office as a malware target. In 2016 MS Office was the targetRead more

  • Exchange 0-day exploits need patching today

    By Mark Faithfull

    Microsoft has published details and out of cycle patches for several 0-day Exchange exploits under active attack. Microsoft Security Response Center advises: Due to the critical nature of these vulnerabilities, we recommend that customers apply the updates to affectedRead more

  • What is a dependency confusion attack?

    By Mark Faithfull

    A new whitepaper from Microsoft highlights the risks of software supply chain attacks for organisations that pull package dependencies from public repositories like npm, RubyGems and PIP. A dependency confusion attack or supply chain substitutionRead more

  • Critical Windows Fax Server Vulnerability Patched – and Why You Should Care

    By Mark Faithfull

    In the February 2021 Patch Tuesday security update Microsoft fixed 56 flaws, one zero-day vulnerability and two remote code execution vulnerabilities in the Windows Fax Service.  That’s right, someone can send you a fax andRead more

NextPrevious

Recent Posts

  • Rockwell Automation Critical Vulnerability in PLC
  • Exchange 0-day exploits need patching today
  • What is a pass the hash attack?
  • VMware patches critical RCE in vCenter Server
  • What is a dependency confusion attack?

Tags

Android Apple Bluetooth Chrome Cisco credential stuffing cyber crime cyber essentials cyber security cyber security news Data Protection DDoS DNS Exchange Server exim fileless formjacking GDPR Intel IoT Linux MacOS Meltdown microsoft ncsc patching penetration testing phishing ransomware RDP security breach Security operations security testing SIEM software development Spectre supply chain attacks Sysinternals Tomcat TPM Unix vulnerability management web applications web browsers wireless

Archives

  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • July 2018
  • June 2018
  • April 2018
  • January 2018
  • October 2017
BCS Cyber Essentials Cyber Essentials Cyber Essentials PLUS ISO 9001 ISO 27001
information. secured.
  • Home
  • Our Services
    • Infrastructure Testing
      • Internal Network Penetration Test
      • External Network Penetration Test
      • Wireless Network Penetration Test
      • Vulnerability Assessment
      • Network Segregation Test
      • Voice over IP (VoIP) Penetration Test
    • Application Testing
      • Web Application Penetration Test
      • Mobile Application Penetration Test
      • Desktop Application Security Assessment
      • Citrix Breakout Test
    • Configuration Review
      • Windows Server Build Review
      • Linux Server Build Review
      • Citrix Configuration Review
    • Information Assurance
      • ISO 27001 Gap Analysis
    • Cyber Essentials
  • News
  • Articles
  • About
    • About SecureTeam
    • STORM Appliances
      • Installing a STORM Device
      • Returning a STORM Device
    • White-Label Consultancy
    • Jobs
    • Cookie Policy
    • Privacy Notice
    • Website Terms & Conditions
  • Contact Us
SecureTeam