Only a phone number and an SMS code: how attackers abuse SMS login
On Sunday morning, November 22 at 10:26, one of our clients received a login using only an employee's phone number and the associated SMS code, from an IP address we had never seen before on that user. The attacker first tried the wrong password and then the correct one, and wanted to access the Azure portal. Our analyst removed the phone methods from the account, revoked the sessions, and reset the password.
For our team, this was no longer a isolated incident. From November 17 to 27, we responded to such a report 217 times, at 20 of our customers, and each time we saw the same picture: a new browser, a new country, and a phone number serving as a username. Until the afternoon of Friday, November 27, new reports were coming in.
A code instead of a password
SMS sign-in is a feature of Microsoft Entra ID intended for employees on the shop floor, who often do not have their own laptop and for whom a password is inconvenient. They enter their phone number, receive a one-time code via SMS, and are in. Microsoft itself states that this way of sign-in does not require MFA and advises against it for office workers. Whoever enables the feature chooses whether it applies to a group or to all users.
For an attacker, this changes the question. The phone number acts as the username, and the SMS code is what remains between them and the account. An accepted code means that the attacker entered the correct code, while it was sent to the employee's number. How the attackers obtained those codes has not yet been established. The Belgian Centre for Cybersecurity (CCB) points out that SMS codes can be phished and intercepted, and that a phone number can be transferred to another SIM card via a SIM swap.
Ten days, twenty customers
The first report of this wave came in on Tuesday evening, November 17 at 22:49, and after that, things moved quickly. We had already seen isolated reports at the beginning of November, even before the warning from Belgium, but such a peak over so many customers at once was new. The busiest day was Friday, November 20, with 50 reports. After that, the number decreased until it picked up again on Thursday, November 26, and on Friday, November 27, the series continued at least into the afternoon.
Daily notifications to our customers, Dutch time.
How we recognized it
A dedicated detection rule. In Microsoft Sentinel, we run a dedicated rule for SMS login abuse. This rule records per notification how the attempt ended: if the code was rejected, it was accepted but then blocked, or the login proceeded entirely. In 73 of the 217 cases, Entra ID accepted the code.
The same browser, always a different country. In the notifications we reviewed, the attempt always came from Firefox 160, on Windows, Linux, or a Mac, from an IP address that had never been seen before for that user. Firefox 160 is a regular, current version that was released on November 10, so that user agent alone says little. Combined with a new country and a login method the user had never used before, it did stand out. For one account, we counted attempts from six IP addresses in six different countries.
Office and the Azure portal as the target. The attackers signed in to the Microsoft 365 homepage or the Azure portal. In some of the attempts, our analysts also saw a correct password, and a password reset is always part of that, because then the attacker knows more than just a phone number.
Guest accounts too. Not only own employees were targeted, but guest accounts of external partners were also targeted. As an organization, you cannot reset the password yourself, so for those accounts we removed the SMS option and suspicious methods and withdrew the sessions.
What we did with each notification
After each report, the same approach followed. Vidara, our own MxDR platform, automatically forwards the report to a Tier 2 analyst, who compares the login alongside previous logins, the user's IP address, and audit logs. After that, we disable SMS login for that user, revoke sessions, reset the password if necessary, and remove suspicious methods or devices. The customer receives a notification advising them to disable SMS login for the entire organization if no one needs it.
In most cases we reviewed, the customer's environment already stopped the attacker themselves, with Conditional Access demanding a trusted device or a sign-in policy blocking the next step. Only for the customer on Sunday, November 22, did the sign-in go through fully. In our monitoring, we saw no follow-up activity for that account afterwards.
Bigger than our customers
That this is not a Dutch phenomenon is evident from the warning the CCB published on November 10, which it also posted on X the same day. A trusted partner had seen that several Belgian organizations had been compromised via SMS as the first factor, with only a phone number and a one-time code. The CCB advises turning off 'Use for sign-in' for SMS with priority, and first checking who still uses the function, so no one is excluded.
Microsoft also writes in the Message Center (MC1465763) that it sees significant fraud around SMS as the first factor. Therefore, since mid-September, Microsoft has automatically disabled the feature in tenants where no one successfully logged in in the past 30 days or where all attempts failed, and the rollout was supposed to be completed by the end of November. That is good news, but a tenant where someone does use the feature simply keeps it. Anyone who still has it on December 1 still uses it or has deliberately kept it. On February 1, 2027, Microsoft will stop sending SMS and voice codes for most users, although those who connect their own telecom provider can continue to use SMS.
How to look it up yourself
With this query in Microsoft Sentinel or Log Analytics, you can see, per user, IP address, and browser how many SMS sign-ins there were, how many codes were accepted, and how many sign-ins went through.
An accepted code from an IP address or country that does not match the user always deserves closer inspection, even if the login was blocked afterwards. Then also look at new MFA methods, changed phone numbers, inbox rules, and app permissions, as recommended by the CCB.
What you can do tomorrow
Now that Microsoft's automatic rollout is ready, these are the steps you can still take yourself.
- Check in the Entra admin center under Authentication methods, SMS, whether 'Use for sign-in' is enabled and who it applies to.
- Use the Authentication methods activity report to see who actually uses SMS sign-in, and first give those people an alternative, such as a passkey or, on shared devices in the workplace, sign in with a QR code.
- Then turn off 'Use for sign-in', or limit it to the smallest possible group as long as that is not yet possible.
- Run the query above over as many days as your logs keep, and treat an accepted code from an unknown IP address as a potentially compromised account: SMS sign-in, session revoke, password reset, and review methods, inbox rules, and app permissions.
- Don't forget guest accounts, because you can't reset their passwords yourself and you need to check their methods separately.
- Require a trusted device via Conditional Access for management portals like the Azure portal, and plan to switch to phishing-resistant MFA before February 1, 2027.
Mapping on MITRE ATT&CK
Our detection links these attacks to T1078 (Valid Accounts), because the attacker logs in with a valid account and a valid code, and to T1111 (Multi-Factor Authentication Interception), because an accepted code means the attacker had a code intended for the employee.
Sources and further reading
- CCB, Warning: attackers are abusing SMS sign-in (10 Nov 2026): https://ccb.belgium.be/news/warning-attackers-are-abusing-sms-sign
- CCB, advisory on SMS as the first factor (10 Nov 2026): https://ccb.belgium.be/advisories/warning-multiple-belgian-organisations-compromised-through-sms-sign-disable-sms-first
- CCB on X, warning about SMS login abuse (10 Nov 2026): https://x.com/CCBbelgium/status/2120168430636503376
- Microsoft Learn, SMS-based user sign-in for Microsoft Entra ID: https://learn.microsoft.com/en-us/entra/identity/authentication/howto-authentication-sms-signin
- Microsoft 365 Message Center MC1465763 (archive): https://mc.merill.net/message/MC1465763
- BleepingComputer, Microsoft urges Entra ID admins to migrate users to passkeys: https://www.bleepingcomputer.com/news/microsoft/microsoft-reminds-entra-id-admins-to-migrate-users-to-passkeys/
- Mozilla, Firefox 160 release notes: https://www.firefox.com/en-US/firefox/160.0/releasenotes/
- MITRE ATT&CK, T1078 Valid Accounts: https://attack.mitre.org/techniques/T1078/
- MITRE ATT&CK, T1111 Multi-Factor Authentication Interception: https://attack.mitre.org/techniques/T1111/
How Wortell can help
This is the kind of work Wortell Enterprise Security does every day. Our 24/7 MxDR team monitors Microsoft Defender and Sentinel and immediately picks up a suspicious SMS login. With a pentest, we map out where your environment is vulnerable, and with incident response, we're ready if something goes wrong.
If you want to know how your organization is doing, or if you want help phasing out SMS, please feel free to contact us.