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.

Blog basic office building
Compromised accounts are commonly used by cybercriminals to send additional attacks because they appear to originate from a trustworthy source—typically a known partner or customer, or a known coworker within the organization. In this attack, the account was first...
Read More
Blog modern office
Abnormal recently detected campaigns targeting our customers where malicious actors will impersonate major brands and reach out to accounting teams to ask if there are any outstanding invoices for the company they are impersonating. Abnormal classifies these messages...
Read More

Related Posts

Blog hiring cybersecurity leaders
As with every equation, there are always two sides and while it can be easy to blame users when they fall victim to scams and attacks, we also need to examine how we build and staff security teams.
Read More
Cover automated ato
With an increase in threat actor attention toward compromising accounts, Abnormal is focused on protecting our customers from this potentially high-profile threat. We are pleased to announce that our new Automated Account Takeover (ATO) Remediation functionality is available.
Read More
Email spoofing cover
Email spoofing is a common form of phishing attack designed to make the recipient believe that the message originates from a trusted source. A spoofed email is more than just a nuisance—it’s a malicious communication that poses a significant security threat.
Read More
Cover cybersecurity month kickoff
It’s time to turn the page on the calendar, and we are finally in October—the one month of the year when the spooky becomes reality. October is a unique juncture in the year as most companies are making the mad dash to year-end...
Read More
Ices announcement cover
Abnormal ICES offers all-in-one email security, delivering a precise approach to combat the full spectrum of email-borne threats. Powered by behavioral AI technology and deeply integrated with Microsoft 365...
Read More
Account takeover cover
Account takeovers are one of the biggest threats facing organizations of all sizes. They happen when cybercriminals gain legitimate login credentials and then use those credentials to send more attacks, acting like the person...
Read More
Blog podcast green cover
Many companies aspire to be customer-centric, but few find a way to operationalize customer-centricity into their team’s culture. As a 3x SaaS startup founder, most recently at Orum, and a veteran of Facebook and Palantir, Ayush Sood...
Read More
Blog attack atlassian cover
Credential phishing links are most commonly sent by email, and they typically lead to a website that is designed to look like common applications—most notably Microsoft Office 365, Google, Amazon, or other well-known...
Read More
Blog podcast purple cover
Working at hyper-growth startups usually means that unreasonable expectations will be thrust on individuals and teams. Demanding timelines, goals, and expectations can lead to high pressure, stress, accountability, and ultimately, extraordinary growth and achievements.
Read More
Blog yellow skyline
No one wants to receive an email from human resources that they aren’t expecting. After all, that usually means bad news. And when we think there may be bad news, cybersecurity training tends to fall by the wayside. Threat actors know this, and they’re taking advantage of human emotions.
Read More
Blog rising building
There is little doubt that business email compromise and other advanced email threats are causing significant damage–both financial and reputational—to organizations worldwide. Because these never-before-seen attacks contain few indicators of compromise, they evade secure email gateways and other traditional email infrastructure...
Read More
Blog purple person outline
Identity theft is not a joke, impacting more than 14 million people each year in the United States alone. Over the course of their lifetime, nearly one-third of all people will become victims of identity theft—often as a result of a corporate data breach. Once attackers have access to identifying information like your full name, address, date of birth, and/or social security number...
Read More