
Microsoft 365 accounts may be open to attackers even with MFA enforced. Barracuda Managed XDR recently investigated an intrusion where an attacker used a forgotten Microsoft Entra ID setting to sign in with nothing but a phone number and an SMS code, with no password and no MFA prompt. Read on to learn how this attack works, whether your tenant is exposed, and the steps to shut it down.
What is the threat?
Microsoft Entra ID can use SMS for MFA and password resets or as a primary sign-in credential.
With SMS sign-in, users authenticate using only a phone number and one-time code. As a result, they can access accounts without a password.
Barracuda Managed XDR investigated an intrusion where an attacker accessed two Microsoft 365 accounts without the victims’ passwords. The organization correctly enforced MFA across all users and cloud resources. However, the attacker used an authentication path that did not trigger the MFA policy. A tenant setting allowed a mobile number and SMS code to act as the primary credential. Therefore, the attacker did not need a password or MFA prompt.
Microsoft has signaled plans to retire SMS sign-in. Until then, tenants that previously enabled it may remain exposed.
Why is it noteworthy?
This technique bypasses MFA without defeating it. The authentication path may avoid triggering a “Require MFA” control entirely.
Anyone controlling the phone number could potentially access the account through SIM swapping, number porting, SMS interception, malware, or social engineering.
Standard containment can also fail. In the observed incident, an attacker successfully signed in approximately 13 minutes after a cloud password reset. This shows that password resets alone may not stop an attack using SMS as the primary credential.
What is the exposure or risk?
Any Microsoft Entra ID tenant with SMS enabled for sign-in may be exposed.
Users with a “Phone (used for sign-in)” registration may remain at risk after the tenant policy is disabled. Existing registrations are not automatically removed.
Successful abuse can enable Microsoft 365 and Azure Portal account takeover, including:
- Business email compromise
- Inbox rules and mail forwarding
- Exchange Online, SharePoint, and OneDrive data access
- Persistence through newly enrolled authentication methods
Risk increases when the same phone number is used for sign-in and password resets. A SIM swap could compromise both authentication paths.
How Barracuda protects its customers
Barracuda Managed XDR monitors Microsoft Entra ID sign-in and audit activity with 24/7 Security Operations Center (SOC) analyst review.
Relevant coverage includes:
- Anomalous locations and impossible travel. Detects sign-ins from unexpected locations, unfamiliar IP addresses, or geographically implausible activity.
- High-risk follow-on activity. Detects inbox rules, mail forwarding, administrative role changes, and Microsoft-generated file and mailbox alerts.
- Post-authentication correlation. Connects sign-ins with suspicious activity across Exchange Online, SharePoint, OneDrive, and Azure.
- Analyst-led response. SOC analysts investigate impact and guide containment, including token revocation, authentication method removal, and tenant configuration review.
What are the recommendations?
Barracuda recommends taking the following actions:
- Disable SMS sign-in. Go to Protection > Authentication methods > Policies > SMS in the Microsoft Entra admin center and set Enable to Off.
- Verify the setting. Removing SMS from MFA or password resets does not disable SMS sign-in.
- Remove existing registrations. Delete any “Phone (used for sign-in)” entries under individual users’ authentication methods.
- Use phishing-resistant authentication. Deploy FIDO2 security keys or Windows Hello for Business. Otherwise, require Microsoft Authenticator with number matching.
- Use authentication strengths. Configure Conditional Access with Authentication Strengths instead of relying only on a generic “Require MFA” control.
- Audit method changes. Review Entra ID audit logs for authentication method registration, deletion, and administrator-initiated removal.
- Don’t rely on password resets. Revoke refresh tokens, remove the compromised authentication method, and verify all methods registered to the account.
References
For more in-depth information on the above recommendations, please visit the following links:
- https://learn.microsoft.com/entra/identity/authentication/howto-authentication-sms-signin
- https://learn.microsoft.com/entra/identity/authentication/concept-authentication-strengths
- https://learn.microsoft.com/entra/identity/users/users-revoke-access
- https://pages.nist.gov/800-63-3/sp800-63b.html
- https://www.cisa.gov/resources-tools/resources/mobile-communications-best-practice-guidance
- https://attack.mitre.org/techniques/T1111/
If you have any questions about this Cybersecurity Threat Advisory, don’t hesitate to get in touch with Barracuda Managed XDR’s Security Operations Center.
This post originally appeared on Smarter MSP.

