A Texted Code Is Only as Safe as Your Phone Number — SIM Swaps and the Ranked Fix

This guide covers a Texted Code Is Only as Safe as.

A Texted Code Is Only as Safe as Your Phone Number — SIM Swaps and the Ranked Fi
Photo: Hundehalter, Public domain, via Wikimedia Commons

Most people treat a texted login code like a lock. It feels private: the code arrives on your phone, in your pocket, and only you can read it. The weak point is not the code. It is the number. Your phone number is not welded to your phone — your carrier can move it to a different SIM card, and carriers do that routinely for honest reasons: a lost phone, a damaged SIM, an upgrade. A SIM swap is what happens when a criminal talks a carrier into making that move for them. Your phone goes silent. Their phone starts receiving your calls, your texts, and every password-reset code your accounts send. This article explains how the swap works on the record, ranks your second-factor options the way NIST, CISA and the FTC rank them, and gives you the carrier lock and backup-code routine that closes the door.

Disclosure: some links in this article are affiliate links — if you buy through them, ScanderLoud may earn a commission at no extra cost to you. Every defense below is free and comes first; a hardware security key is an optional top tier, never a requirement.

How a SIM swap actually happens

The FBI’s Internet Crime Complaint Center (IC3) laid out the mechanics in its February 8, 2022 public service announcement. Criminals carry out SIM swaps in three main ways: social engineering — impersonating the victim to carrier staff and convincing them to move the number; insider threat — bribing a carrier employee to make the switch; and phishing — tricking carrier employees into giving up access to carrier systems. None of the three requires touching your phone, stealing your phone, or breaking any encryption. The attack is aimed at a customer-service process, not at your device.

Once the number moves, the sequence is mechanical. The victim’s calls and texts go to the criminal’s device. The criminal then requests “forgot password” resets on the victim’s email and other accounts, receives the one-time codes sent by text-message two-factor authentication, and uses them to log in and change passwords — locking the real owner out of accounts the owner may have protected carefully for years. Email is usually the first target, because email resets almost everything else.

The scale is on the record. IC3 received 320 SIM-swap complaints with about $12 million in adjusted losses from January 2018 through December 2020. In 2021 alone, it received 1,611 complaints with more than $68 million in losses. The FBI’s warning focused on what followed the swap: criminals stealing money from bank and cryptocurrency accounts.

The warning signs are also documented by the FTC. Your cell phone suddenly stops working — no calls, no texts, no data — for no reason you caused. Or your provider notifies you that your SIM card has been activated on a new device. Either one, unexplained, is an emergency, not a glitch to wait out.

Why text codes rank last

A texted code proves one thing: whoever typed it could read a message sent to a phone number. It does not prove that person is you — a swap breaks exactly that assumption. The standards bodies have said so, in escalating language.

NIST’s digital identity guidelines, SP 800-63B, treat out-of-band codes sent over the public telephone network — text and voice codes — as a restricted authenticator: usable, but with documented risks that include SIM swapping, number porting and interception, and with an alternative required to be offered. The FTC’s SIM-swap guidance is blunter for consumers: if you use multi-factor authentication, keep in mind that text message verification may not stop a SIM card swap, and use an authentication app or a security key instead if you are concerned about swapping. CISA’s phishing-resistant MFA guidance ranks text and voice codes last — vulnerable to phishing, interception and SIM-swap attacks, to be used only as a last resort or a temporary step toward something stronger.

That produces a clear ranking, and it is the ranking this whole piece is built on. First: passkeys and hardware security keys. Second: authenticator apps. Last: text-message codes — better than no second factor at all, and never the best you can do on an account that matters.

The ranked fix, tier by tier

Tier one — passkeys and security keys. A passkey is a cryptographic credential stored on your phone, computer or password manager, unlocked by your fingerprint, face or device PIN. There is no code to read out, type in, or forward — and the credential is bound to the real website, so it will not sign you in on a lookalike page. CISA calls FIDO/WebAuthn — the technology under passkeys — the only widely available phishing-resistant authentication. A hardware security key, such as a FIDO2 hardware security key, is the same protection on a separate physical object: strongest for your email and financial accounts, and the right buy for anyone whose phone number is widely known. Turn passkeys on first for your email account, then your bank and password manager.

Tier two — authenticator apps. An authenticator app generates a new six-digit code on your device every thirty seconds from a shared secret stored on that device — not sent over the phone network. A SIM swap does not move it, because nothing about it depends on your number. It can still be phished in real time by a fake page, which is why it ranks below passkeys, but it removes the carrier from your login entirely. The FTC names authentication apps as the direct replacement for text codes, and the FBI recommends standalone authenticator apps among its strong methods. Protect the app itself with your device lock, and turn on its cloud backup only inside an account that is itself protected by tier one.

Tier three — text codes, kept honest. Some services still offer nothing else. Where text is the only option, keep it — a texted code still stops a stranger who merely guessed or reused your password, which is why our breach-passwords piece insists on a second factor of some kind. But treat every text-only account as an account to watch, and never let a text code be the only protection on the email address that resets everything else. Our session-hijacking piece covers the related failure mode — a login stolen after the code step is over — and why sign-out-all-devices belongs in the same routine.

Lock the number itself

Ranking your logins is half the job. The other half is making the swap harder to perform in the first place, at the carrier — the same layer where our username-reuse piece tells you to shrink what a stranger can learn about you before they ever make the call.

A Texted Code Is Only as Safe as Your Phone Number — SIM Swaps and the Ranked Fi
Photo: Henry Frederick Lutz, Public domain, via Wikimedia Commons

Set a unique PIN or password on your cellular account. The FTC’s guidance is direct: a PIN or password on the cellular account can help prevent unauthorized changes. Make it long, unique, and unrelated to anything public about you — not a birthday, not an address number, not the last four of anything — and store it in your password manager like any other credential.

Turn on your carrier’s account lock. The major carriers now offer a lock that blocks SIM changes and number ports until you lift it — sold under names such as Number Lock, SIM Protection, Port-Out Protection and Wireless Account Lock. In November 2023 the FCC adopted rules requiring carriers to authenticate customers securely before a SIM change or port-out, to notify customers of those requests, and to offer a free account lock — whatever your carrier calls its version, find it in the app or on the carrier’s site and switch it on for every line on the account, not just yours.

Save your backup codes — offline. When a service gives you one-time backup or recovery codes, treat them as spare keys: save them when they are shown, because most services show them once. Keep a copy in your password manager and a printed copy somewhere physically safe. A backup code is how you get back into an account when the phone is gone, swapped, or broken — the moment you need it is the worst moment to discover you never saved it.

Never hand a code to a caller. No legitimate company — not your bank, not your carrier, not any agency — will call and ask you to read out a login code, your carrier PIN, or your password. The FBI’s advice for callers who ask for your phone-account password or PIN is to hang up and call the carrier’s customer service line yourself, at the number on its official site or your bill. A code you read aloud is a code you have given away, swap or no swap.

If your phone suddenly goes dark

Act in this order, and act immediately. One: contact your carrier — from another phone, a family member’s phone, or in store — and take back control of your number; the FTC names this as the first step. Two: from a clean device, change your email password first, then your bank and other financial passwords, and sign out other sessions where the service allows it. Three: contact your banks and ask for alerts or holds on suspicious logins and transactions. Four: if personal information or money was taken, use IdentityTheft.gov for the recovery plan and report the swap to the FBI at ic3.gov. Speed matters because the swap is rarely the end goal — the account resets that follow it are.

The honest limits

Three, stated plainly. First, ranking your second factors does not make a swap impossible — it makes a swap worth far less, because the codes the criminal receives stop opening your important accounts. Second, a carrier PIN and lock raise the bar at the exact desk where swaps happen, but insider and phishing routes exist on the FBI’s own list, which is why the account-side tiers still matter. Third, passkeys are not everywhere yet: you will keep some text-code accounts for a while, and the routine above is how you live with that honestly — email and money on the strongest tier you are offered, everything else ranked, backup codes saved, number locked.

The routine, in one pass

Tonight: turn on a passkey for your email, move your bank and password manager to a passkey or an authenticator app, and demote text codes to last-resort status everywhere a choice exists. This week: set a unique PIN on your cellular account, switch on your carrier’s number lock for every line, and save every backup code you are offered — in your password manager and on paper. Your phone number was never a lock. Tonight it stops pretending to be one.

By Karl Amber

Sources

  • FBI — Internet Crime Complaint Center (IC3), Public Service Announcement I-020822-PSA, “Criminals Increasing SIM Swap Schemes to Steal Millions of Dollars from US Public” (February 8, 2022): criminals conduct SIM swaps primarily through social engineering, insider threat, or phishing; after a swap the victim’s calls and texts go to the criminal, who requests password resets and uses SMS two-factor codes to take over accounts; IC3 received 320 complaints with about $12 million in adjusted losses from January 2018 to December 2020, and 1,611 complaints with more than $68 million in losses in 2021; the FBI recommends strong multi-factor methods such as biometrics, physical security tokens, or standalone authentication applications, a unique account passcode with the carrier, and never giving a phone-account password or PIN to a caller who asks for it.
  • FTC — “SIM Swap Scams: How to Protect Yourself” (October 2019): a scammer can convince a provider to activate a new SIM connected to your number and then receive your texts, calls and data; warning signs include a phone that suddenly stops working and a provider notice that your SIM was activated on a new device; set up a PIN or password on your cellular account; text message verification may not stop a SIM card swap — use an authentication app or a security key instead; if swapped, contact your provider immediately to regain control of the number, then change account passwords and contact financial institutions.
  • NIST — SP 800-63B, Digital Identity Guidelines (Authentication and Authenticator Management): out-of-band authentication over the public switched telephone network (SMS and voice codes) is a restricted authenticator, with SIM swap, number porting, device theft and interception among its documented risks, and verifiers that use it must offer an alternative.
  • CISA — “Implementing Phishing-Resistant MFA” (fact sheet, October 2022): FIDO/WebAuthn is the only widely available phishing-resistant authentication; SMS and voice codes are vulnerable to phishing, interception and SIM-swap attacks and should be used only as a last resort or a temporary step.
  • FCC — SIM swap and port-out fraud rules (adopted November 15, 2023): wireless providers must use secure methods to authenticate customers before effectuating a SIM change or a port-out, notify customers of SIM-change and port-out requests, and offer customers a free account lock that blocks SIM changes and ports until the customer removes it.

Editor’s note: this article is part of ScanderLoud’s Real-Life Security series. It was researched from the FBI IC3 SIM-swap alert, FTC consumer guidance, NIST SP 800-63B, CISA’s phishing-resistant MFA guidance, and the FCC’s SIM-swap rules — our coverage is original, the examples are our own, and the framing is defensive throughout: this is about protecting your own number and your own accounts, never about moving anyone else’s.

Versión en español: https://scanderloud.com/2026/11/18/a-texted-code-is-only-as-safe-as-your-phone-number-sim-swaps-and-the-ranked-fix-es/

Featured image: Uvarkin.g, CC BY-SA 4.0, via Wikimedia Commons

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *