How Attackers Bypass MFA and Conditional Access to Compromise Email Accounts

August 6, 2020

Abnormal Security has detected an increase in business email compromise (BEC) attacks that successfully compromise email accounts, despite multi-factor authentication (MFA) and Conditional Access. While MFA and modern authentication protocols are an important advancement in account security and should be used whenever possible, many common applications—such as those used by mobile email clients, including iOS Mail for iOS 10 and older—do not support modern authentication. This means that it is not possible to enforce MFA when a user signs into their account using one of these applications.

How Do Attackers Take Advantage?

Legacy email protocols, including IMAP, SMTP, MAPI and POP, do not support multi-factor authentication, making it possible for attackers to easily bypass MFA using these legacy applications.

To further protect against compromise, many Office 365 licenses provide the ability to configure Conditional Access policies, which are an excellent way to increase security by blocking access from legacy applications that are often targeted for password-spraying campaigns.

However, they have a few weaknesses and drawbacks. First and foremost, Conditional Access is not included with all licenses, meaning that many enterprises simply have no way to protect themselves from this type of attack. Additionally, legacy applications are still in widespread use in most enterprises. Completely blocking all users from legitimate access using these applications will be quite disruptive to the workforce. Also, legacy access is enabled by default on O365. In order to effectively block legacy access, it must be disabled on a per-tenant basis for all users and platforms.

Even with Conditional Access blocking of legacy apps, Abnormal has observed that attackers are still able to access accounts by obscuring the app that they are using. To avoid this, Microsoft recommends first examining the sign-in logs to determine which users are not using legacy applications, and then applying the Conditional Access policy to them only.

Of course, this leaves those who do use these applications vulnerable. Attempting to apply legacy blocking based on the platform such as Windows, mobile, etc. creates another known vulnerability: the platform is determined by Microsoft based on the user agent, which is very easy to falsify. Attackers simply have to cycle through user agents until they find one with more lax access policies that are easier to bypass.

What Does This Attack Look Like?

Many enterprises are under the mistaken impression that they are fully protected by MFA and do not need to worry about account takeovers. This is a dangerous assumption because MFA and Conditional Access policies are not silver bullets. Any security team that believes they are will be vulnerable to these rare but costly events.

A common pattern we have observed in account takeovers is that after being blocked by MFA, an attacker will immediately switch to using a legacy application. In fact, most credential stuffing campaigns utilize legacy applications such as IMAP4 to ensure they do not encounter difficulties from MFA at any point.

Additionally, even with a Conditional Access policy enabled (which blocks all legacy app access), Abnormal has observed successful account takeovers wherein the attacker bypasses the policy by obscuring the name of the app they were using. In one case, the attacker initially attempted to sign in using a legacy application but was blocked by Conditional Access. The attacker then waited several days before trying again, this time with the app information obscured, and successfully gained access to the account.

This example demonstrates that while most account takeover attempts utilize brute force attacks and password spraying techniques, some attackers are methodical and deliberate. These attackers are able to gain access to accounts even with the most secure protocols in place. Fully protecting users from account takeover requires understanding and modeling normal user behavior in order to identify these types of attacks.

To learn more about how Abnormal Security detects and protects against account takeovers, request a demo today.


Prevent the Attacks That Matter Most

Get the Latest Email Security Insights

Subscribe to our newsletter to receive updates on the latest attacks and new trends in the email threat landscape.

Demo 2x 1

See the Abnormal Solution to the Email Security Problem

Protect your organization from the attacks that matter most with Abnormal Integrated Cloud Email Security.

Related Posts

B 10 3 22 Cobalt Terrapin Blog
Threat group Cobalt Terrapin uses sophisticated impersonation techniques with multiple steps to commit invoice fraud.
Read More
B 09 29 22 CISO Cybersecurity Awareness Month
October is here, which means Cybersecurity Awareness Month is officially in full swing! These five tips can help security leaders take full advantage of the month.
Read More
B Email Security Challenges Blog 09 26 22
Understanding common email security challenges caused by your legacy technology will help you determine the best solution to improve your security posture.
Read More
B 5 Crucial Tips
Retailers are a popular target for threat actors due to their wealth of customer data and availability of funds. Here are 5 cybersecurity tips to help retailers reduce their risk of attack.
Read More
B 3 Essential Elements
Legacy approaches to managing unwanted mail are neither practical nor scalable. Learn the 3 essential elements of modern, effective graymail management.
Read More
B Back to School
Discover how threat group Chiffon Herring leverages impersonation and spoofed email addresses to divert paychecks to mule accounts.
Read More
B 09 06 22 Rearchitecting a System Blog
We recently shared a look at how the Abnormal engineering team overhauled our Unwanted Mail service architecture to accommodate our rapid growth. Today, we’re diving into how the team migrated traffic to the new architecture—with zero downtime.
Read More
B Industry Leading CIS Os
Stay up to date on the latest cybersecurity trends, industry news, and best practices by following these 12 innovative and influential thought leaders on social media.
Read More
B Podcast Engineering 11 08 24 22
In episode 11 of Abnormal Engineering Stories, David Hagar, Director of Engineering and Abnormal Head of UK Engineering, continues his conversation with Zehan Wang, co-founder of Magic Pony.
Read More