Zumigo Blog

Can We Retire the Six-Digit Code?

A six-digit SMS code fading away next to a phone verified with a check mark

SHORT ANSWER

For most customers, yes. Zumigo confirms through the mobile carrier that the phone in your customer’s hand is tied to their number, with no code to type. A separate SIM swap check, run before or alongside it, shows whether that phone just changed hands. Silent Network Authentication (SNA) and SIM-Based Authentication (SBA) make that check work across apps, browsers and devices. A one-time code stays as the fallback when a silent check can’t run.

The first text message was sent in December 1992 and said “Merry Christmas”. SMS wasn’t designed for bank authentication. More than thirty years later, we still send a six-digit number down that channel and treat whoever types it back as the account owner.

The habit made sense. Most customers already have a mobile number, nothing needs installing, and adding an SMS code improves protection against password-only attacks. But the industry has been slow to say what the code actually checks. It doesn’t check the person. It checks that whoever is in the session can read messages sent to a phone number. That’s a possession test on a number, and it holds only as long as nobody else can get messages sent to that number. This post is about SMS codes used to verify a phone number or log in. Authenticator-app codes are a different mechanism and out of scope.

How an SMS one-time code gets to you

An OTP passes through more systems than most people picture. Your backend calls an SMS provider’s API, the provider passes the message to one or more aggregators, and they route it to the destination carrier. The carrier’s SMS center (SMSC) stores the message and tries to deliver it, retrying if the phone is off. How it then finds and reaches the handset depends on the carrier’s architecture. It may involve legacy MAP signaling over SS7 (TS 29.002), Diameter interfaces (TS 29.338), or IMS, with interworking between them. TS 23.040 defines the service itself.

Newer networks change the plumbing and not much else. LTE and standalone 5G have no circuit-switched domain, so texts are carried as signaling messages through the core network, or over IMS, and the phone doesn’t normally have to drop to 2G or 3G to receive one (for 5G, see TS 23.501). Radio encryption improves with each generation. But SMS isn’t end-to-end encrypted between your application and the recipient. Intermediaries handling delivery can generally read the content, even when individual connections or stored records are encrypted, and the signaling between carriers still rests largely on trust.

Where SMS codes break

The failures fall into two groups. The first is friction. Messages arrive late, get filtered, or never arrive for roaming and dual-SIM customers. In the U.S., business texts sent over standard 10-digit numbers must be registered (A2P 10DLC), and unregistered traffic can be blocked. Toll-free and short-code programs have their own requirements. Customers may need to switch apps or type the code by hand, though autofill avoids that on some phones, and every code is also a message you pay for.

The second is fraud, and it happens at several layers:

  • A SIM swap or port-out moves the number to a SIM the attacker holds, and from then on the attacker receives the codes.
  • Call forwarding redirects voice calls, so it catches codes read out by phone and bank callbacks without any swap. It doesn’t redirect texts, which is why attackers go for a SIM swap when the target uses SMS.
  • Recycled numbers attach old accounts to new owners.
  • Signaling networks can place too much trust in connected peers. An attacker with suitable access can tell a carrier’s subscriber database that a subscriber has roamed onto the attacker’s equipment, so texts for that number are delivered there. In 2017, attackers who already held victims’ online banking credentials abused SS7 this way to intercept bank authentication codes in Germany.
  • SMS pumping triggers floods of codes to numbers on complicit carriers, and the business pays for each one.
  • Phishing kits and voice bots persuade the customer to hand over the code.

Moving from 4G to 5G doesn’t solve SIM swapping, number recycling, or phishing. Those happen in the carrier’s account systems and in the login flow, and pumping happens on the commercial side. Texts can also be read on the handset itself, by malware or by a paired device that mirrors incoming messages.

Silent network authentication (SNA): asking the network who is on the connection

Every time a phone opens a mobile data session, the carrier’s core network assigns it an IP address and records which subscriber it belongs to. It needs that mapping to bill the line and apply the plan. Silent network authentication (SNA) reuses it.

Here is how we implement that at Zumigo. Your server asks the Zumigo API for a one-time session token. Your app or mobile page then connects to a Zumigo URL over the phone’s cellular data connection. Because that request arrives through the carrier’s own network, the carrier can tell which subscription sent it, and it confirms the number behind the connection. Your server then calls the Zumigo API again and gets back the verified match, plus any risk signals you asked for. In the usual case the customer sees nothing.

Behind the scenes, the carrier-facing steps typically follow OAuth 2.0 and OpenID Connect patterns (RFC 6749, OpenID Connect Core), with the network doing the authenticating where a login page normally would. Your integration only sees the two Zumigo calls.

The catch is in the first step. The request has to travel over the cellular connection. On Wi-Fi it reaches the carrier from some other network, and the carrier has no subscriber to match it to. VPNs and some privacy relays hide the connection as well. How much an app can do to force traffic onto cellular varies by operating system, which is why SNA alone doesn’t cover every login.

SIM-based authentication (SBA): asking the SIM

The SIM holds a secret key that is shared with the carrier and never leaves the chip. When a phone joins the network, the network sends a random challenge, the SIM computes an answer with the key, and the network checks it. That challenge-response is called AKA, for Authentication and Key Agreement. 3GPP defines it for 3G, LTE, and 5G, and it runs in the background all the time.

SIM-based authentication (SBA) borrows that proof. A verification service has the SIM answer a challenge, the carrier confirms that this SIM belongs to this phone number and issues a token, and your backend validates it. Because the proof is the SIM’s challenge-response and not the network path, SBA can work over Wi-Fi as well as cellular, where SNA can’t, subject to implementation and carrier support.

The plumbing comes from the carriers’ entitlement systems. GSMA TS.43 defines how a device authenticates to a carrier’s entitlement server using its SIM, with EAP-AKA (RFC 4187, and the EAP-AKA’ variant in RFC 9048). Carriers already use this for things like Wi-Fi calling. On supported Android devices and carriers, Credential Manager asks the user to approve sharing their number and returns a carrier-backed credential. Your backend validates that credential and exchanges it for the verified number (Android overview, implementation guide).

iOS works differently. In Zumigo’s supported iOS flow, verification hands off to a participating carrier’s app, or to an app link that downloads it on the fly if it’s missing. That app does the SIM step with the carrier’s methods, talks to the carrier’s backend over whatever network is available, and returns the result to your app through a deep link or callback.

What you gain over a text

The main gain is that there’s no SMS code to steal. A code can be phished, read aloud to a bot, intercepted at the SMSC or on the signaling network, or delivered to an attacker’s SIM. With SNA and SBA nothing is typed and no SMS code is sent, so much of the list above has nothing to attack. Signaling interception has no code to read. Phishing kits and voice bots have no code to ask for. Call forwarding doesn’t affect it, because the check doesn’t rely on a call or a text arriving. That form of SMS pumping goes away for those verifications, though API abuse and abuse of an SMS fallback remain possible. SMS delivery problems drop out too: delays, filtering, roaming gaps, and the trip out of the app and back. Carrier APIs, data connectivity, and roaming support can still fail in their own ways.

The limits are real too. SNA needs cellular. SBA depends on operating system and carrier support.

COMPARISON

SNA vs. SBA vs. one-time codes

WITH A ONE-TIME CODE

4 steps

1  Request a code
2  Wait for the text to arrive
3  Switch apps and find it
4  Type six digits before it expires

Still the right fallback when a silent check can’t run.

WITH A SILENT CHECK THROUGH THE CARRIER

0 steps

✓  The phone number is verified in the background, wherever the customer is
✓  Paired with a separate check for a recent SIM swap, port or call forwarding
✓  Works at login, sign-up, checkout, transfers and account changes

One integration. Zumigo picks the right method for each customer.

Method When it’s used How it verifies What the customer does
Silent Network Authentication (SNA) Phone on cellular data The carrier confirms the number behind the data session Nothing
SIM-Based Authentication (SBA) Phone on Wi-Fi or in a browser The SIM proves it holds the number, verified with the carrier No code to type; at most a brief confirmation
Desktop to phone Customer starts on a laptop or desktop The phone is verified by SNA or SBA and passes trust to the desktop session Confirms on their phone
One-time code (SMS) Carrier doesn’t support a silent check A code is sent to the number by text message Enters the code

What neither one tells you: can a SIM swap fool SNA or SBA?

Both methods verify the phone line. They don’t verify the person, and they can’t say how the line came to be in the hands of whoever is holding it. After a SIM swap, the attacker’s SIM is on the network with the victim’s number. SNA passes. SBA passes. So does an SMS code.

What can help detect a swap is the carrier’s record of it, though how well that works depends on coverage, freshness, and how far back the lookup goes. The Zumigo API returns SIM change and device (IMEI) change signals, so you can judge them against a window of your own. Alongside those it can return account tenure, line type (postpaid, prepaid, VoIP), call forwarding status, and port information. Together they describe what the line has been doing lately, while the number check says that the connection or SIM in use is associated with that number. We announced silent authentication with SIM swap checks in October.

A workable pattern is to run the swap check before or alongside the number check and decide on the combination:

  • Number verified, no recent swap: continue through your normal risk checks.
  • Number verified, swap in the last couple of days: step up, with a passkey, a document and selfie check, or approval from a device already enrolled on the account. Avoid anything that goes back to the same phone number, such as a call or a text, because after a swap that reaches the attacker.
  • Number not verified, or no answer: fall back, with extra scrutiny.

The window is policy. A few days for login and longer for moving money is only an illustration, and you should tune both on your own data. One rule I’d hold to: a missing signal is not a clean signal. If the carrier couldn’t answer, record that and treat the line as unknown.

One thing engineers will ask about

A phishing proxy can start a real login with your service, get a genuine verification link, and show it to the victim. The victim’s phone completes the check honestly, but the result belongs to the attacker’s session. The carrier did its job, and your service credited the result to the wrong person.

Verification results should be bound to the intended application, transaction, and initiating session, using the provider’s supported protocol, and the binding has to be enforced where the verification completes.

Where this leaves us

Retire the six-digit code where you can, keep it as a monitored fallback where you can’t, and pair every phone check with the carrier’s record of what has changed on the line. None of this checks the person, which is a different problem and the subject of later posts.

WHAT PEOPLE ASK

Silent authentication FAQ

What is Silent Network Authentication?
When a phone is on mobile data, Zumigo asks the carrier to confirm that the number behind the device’s data session matches the number on the account. The customer sees nothing at all.

What is SIM-Based Authentication?
When a phone is on Wi-Fi or in a browser, the SIM in the device proves it holds the number, verified with the carrier. There’s no code to wait for or type, and no need to switch networks.

How does Zumigo choose between them?
Automatically. SIM-Based Authentication on Wi-Fi, Silent Network Authentication on cellular. Nothing extra for the developer or the customer to do.

Does any of this add a step for the customer?
No. Starting a check and getting the result are calls between your servers and Zumigo. The customer doesn’t see them or do anything differently.

What if my customer starts on a laptop?
Desktop to phone: the customer starts on the laptop, their phone confirms it’s them, and the desktop session carries on.

What if their carrier isn’t supported?
Zumigo can send a one-time passcode by SMS, so every customer still has a way in.

Where else can I use it besides login?
Anywhere you’d otherwise ask for a code: sign-up, checkout, money movement, high-value transactions, and changes to passwords, phone numbers or recovery settings.

Can a SIM swap fool it?
A silent check confirms the SIM tied to the number is present. A separate check on the line’s history, run before or alongside it, can catch a recent SIM swap, port or call forwarding, so a phone that just changed hands gets flagged. Your rules decide what happens next.

What does my business get back?
A verified match on the number, plus optional subscriber, account and device signals you can feed into your own fraud models. Zumigo sees it; you decide.

How hard is it to integrate?
Two calls on your side: one to start a check and one to get the result. Zumigo and the carrier handle what happens in between.

Where does it work?
Zumigo works with every major U.S. carrier and has access to more than 800 carriers worldwide, covering 4.5 billion mobile numbers in 180 countries.

Why trust the carrier over other signals?
The carrier knows, in real time, which phone holds which number and when that last changed. That history is hard to borrow or fake, which makes it a strong anchor for everything else you check.

Is it private?
Zumigo returns answers, not personal information, and holds ISO 27001 and FIDO2 Server certification with SOC 2 Type 2 controls and GDPR and CCPA compliance.

About the author. Harish Manepalli is Chief Technology Officer at Zumigo, where he leads the platform that connects businesses to more than 800 carriers for identity verification, authentication and fraud signals. He previously led workforce authentication, authorization and compliance solutions at Amazon, and his career spans Apple, Intel and several startups.

See it on a real phone

We’ll walk your team through a live silent check, the SIM swap catch and desktop-to-phone sign-in, with your own flows in mind.

Book a demo