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.

Image

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 05 17 22 Impersonation Attack
See how threat actors used a single mailbox compromise and spoofed domains to subtly impersonate individuals and businesses to coerce victims to pay fraudulent vendor invoices.
Read More
B 05 14 22 Best Workplace
We are over the moon to announce Abnormal has been named one of Inc. Magazine's Best Workplaces of 2022! Learn more about our commitment to our workforce.
Read More
B 05 13 22 Spring Product Release
This quarter, the team at Abnormal launched new features to improve lateral attack detection, role-based access control (RBAC), and explainable AI. Take a deep dive into all of the latest product enhancements.
Read More
B 05 11 22 Champion Finalist
Abnormal has been selected as a Security Customer Champion finalist in the Microsoft Security Excellence Awards! Here’s a look at why.
Read More
Blog series c cover
When we raised our Series B funding 18 months ago, I promised our customers greater value, more capabilities, and better customer support. We’ve delivered on each of those promises and as we receive an even larger investment, I’m excited about how we can continue to further deliver on each of them.
Read More
B 05 09 22 Partner Community
It’s an honor to be named one of CRN’s 2022 Women of the Channel. Here’s why I appreciate the award and what I love about being a Channel Account Manager at Abnormal.
Read More
B 05 05 22 Fast Facts
Watch this short video to learn current trends and key issues in cloud email security, including how to protect your organization against modern threats.
Read More
B 05 03 22
Like all threats in the cyber threat landscape, ransomware will continue to evolve over time. This post builds on our prior research and looks at the changes we observed in the ransomware threat landscape in the first quarter of 2022.
Read More
B 04 28 22 8 Key Differences
At Abnormal, we pride ourselves on our excellent machine learning engineering team. Here are some patterns we use to distinguish between effective and ineffective ML engineers.
Read More
B 04 26 22 Webinar Re Replacing Your SEG
Learn how Microsoft 365 and Abnormal work together to provide comprehensive defense-in-depth protection in part two of our webinar recap.
Read More
Blog mitigate threats cover
Learn about the most common socially-engineered attacks and why these tactics are still so successful—despite a growing awareness from employees.
Read More
B Podcast Engineering8
In episode 8 of Abnormal Engineering Stories, Kevin interviews Saminda Wijegunawardena, an engineering leader who is no stranger to fast-growing enterprise startups.
Read More