Cybersecurity protects your systems. Cybersecurity risk management protects your business.®

The Information Highway

The Information Highway

Font size: + –
6 minutes reading time (1153 words)

Cybersecurity Threat Advisory: Forgotten Entra ID SMS Sign-In Setting Lets Attackers Skip MFA

Threat update

You can have MFA turned on for every user and still have a back door open. Security researchers recently investigated a break-in where an attacker got into two Microsoft 365 accounts with nothing more than a phone number and a text-message code. No password. No MFA prompt. The organization had done the right thing and required MFA across the board, but a little-known Microsoft Entra ID setting called SMS sign-in let the attacker walk around it entirely. Any Microsoft 365 tenant that has this setting turned on, even if someone enabled it years ago and forgot about it, may be exposed. The fix takes a few minutes. We recommend checking your tenant this week.

Technical Detail and Additional Info

What is the threat?

Most people think of text-message codes in Microsoft 365 as a second step: you type your password, then confirm with a code. But Entra ID (formerly Azure AD) can also use SMS as the first and only step. With SMS sign-in, a user enters their mobile number, receives a one-time code, and they're in. Microsoft built this for situations like frontline workers who share devices and don't have email-style passwords.

Here's the catch: SMS sign-in doesn't follow the normal "password plus MFA" path. Microsoft's own documentation notes that SMS sign-in doesn't enforce multifactor authentication. That means a Conditional Access policy that simply says "Require MFA" may never kick in. The attacker isn't breaking MFA. They're taking a different door that MFA isn't guarding.

In the incident researchers investigated:

  • The organization required MFA for all users and all cloud apps.
  • A tenant setting still allowed SMS as a primary sign-in method.
  • The attacker signed into two Microsoft 365 accounts using only each victim's phone number and an SMS code.
  • The company reset the password, and the attacker signed back in roughly 13 minutes later, because a password reset doesn't touch SMS sign-in.

Investigators have not said exactly how the attacker got the text codes. The usual suspects are SIM swapping, number porting, intercepted texts, malware on the phone, or simply talking someone into reading the code aloud. 

Why is it noteworthy?

This one is dangerous because it hides behind a false sense of security. If you've been told "MFA is on for everyone," it's natural to assume you're covered. But SMS sign-in is a separate switch from SMS for MFA or password resets, and turning off one doesn't turn off the others. Many tenants enabled it during a pilot or a frontline rollout and never looked at it again.

It's also not an isolated case. In November, Belgium's national cybersecurity center warned that multiple Belgian organizations had been compromised through SMS sign-in and urged everyone to disable SMS as a first factor immediately.

Microsoft is moving away from SMS altogether. It has already retired SMS sign-in for Entra ID Free tenants, begun automatically switching it off in tenants that haven't used it in 30 days, and plans to stop delivering Microsoft-provided SMS and voice codes starting February 1, 2027. But until your tenant is actually switched off, the door stays open, and existing user registrations don't disappear on their own.

What is the exposure or risk?

Organizations face the most risk when:

  • SMS is enabled in the Entra ID authentication methods policy with "Enable first factor sign-in" checked for any user or group
  • Users still show a "Phone (used for sign-in)" registration, even if the tenant policy has since been turned off
  • Conditional Access relies on a generic "Require MFA" control instead of authentication strengths
  • The same phone number is used for sign-in and for password resets, so one SIM swap unlocks both
  • Executives, finance staff, or admins have their mobile numbers published or easy to find
  • The response to a suspected compromise is "reset the password" and nothing else

If attackers exploit this setting, they could:

  • Take over Microsoft 365 mailboxes and send convincing fraudulent emails (business email compromise)
  • Create inbox rules or forwarding to hide their activity and siphon off messages
  • Access files in Exchange Online, SharePoint, and OneDrive
  • Reach the Azure portal if the compromised account has those rights
  • Register their own authentication methods so they can keep getting back in

What are the recommendations?

LBT Technology Group recommends the following actions:

  • Turn off SMS sign-in. In the Microsoft Entra admin center, go to Entra ID > Authentication methods > Policies > SMS (older menus show this under Protection > Authentication methods). Either set Enable to Off or, if you still need SMS for MFA, uncheck Enable first factor sign-in for every targeted user and group. You'll need at least the Authentication Policy Administrator role.
  • Double-check the right switch. Removing SMS from MFA or self-service password reset does not disable SMS sign-in. Look specifically at the first-factor sign-in setting and who it's targeted to.
  • Clean up existing registrations. Review each user's authentication methods and remove any "Phone (used for sign-in)" entries. These stick around after the tenant policy is turned off. Before removing one, make sure the user has another working way to sign in. For larger tenants, Microsoft Graph can help automate this.
  • Move to phishing-resistant sign-in. Roll out passkeys, FIDO2 security keys, or Windows Hello for Business. At a minimum, require Microsoft Authenticator with number matching. Start with admins, executives, and anyone who handles money.
  • Use authentication strengths in Conditional Access. Instead of a generic "Require MFA" control, use Conditional Access authentication strengths so policies spell out which sign-in methods are acceptable.
  • Watch for method changes. Review Entra ID audit logs for new authentication methods being registered, deleted, or removed by an admin, and look for methods an attacker may have added.
  • Don't stop at a password reset. If you suspect an account was compromised, revoke refresh tokens (sign the user out everywhere), remove the compromised method, check every method registered to the account, and review inbox rules and forwarding.
  • Plan for February 2027. Microsoft-provided SMS and voice codes begin retiring February 1, 2027. Identify who still depends on text or voice codes now so the cutover doesn't lock anyone out.

Not sure whether SMS sign-in is turned on in your Microsoft 365 tenant, or ready to move your team to passkeys before Microsoft's 2027 deadline? Contact LBT Technology Group for a no-pressure review of your Microsoft 365 identity and MFA settings.

References

Your IT Tools Weren't Supposed to Be the Attack Ve...

Top Breaches Cost ($) of 2024

HEALTHCARE
FINANCIAL
INDUSTRIAL
TECHNOLOGY
ENERGY
Source: IBM Cost of a Data Breach Report 2024