Single Sign-On and identity management built for developers, organizations, and enterprises. Explore documentation →
Logo

Retiring SMS OTP: A Zero-Friction Migration Blueprint Against SIM-Swap Attacks

How to phase out vulnerable PSTN text codes for TOTP and FIDO2 passkeys without triggering helpdesk surges or user lockouts.

AT
SSO.ID Authentication Team
Credential & WebAuthn Engineering · 2026-11-23 · 8 min read
LinkedIn Share
Why This Matters Right Now

SMS one-time passcodes remain the default second factor for millions of enterprise and consumer logins despite rampant SIM-swap hijacking, telecom insider bribery, and automated SMS pumping toll fraud. Organizations know they must retire PSTN-based authentication, yet abrupt cutoffs risk locking out field workers, executives on travel, and legacy accounts.

Key Takeaways

  • SMS OTP inherits the security posture of hundreds of global mobile carriers, exposing accounts to SIM swaps, eSIM transfers, SS7 rerouting, and runaway IRSF SMS pumping bills.
  • Successful SMS retirement relies on cohort-based rollout waves paired with post-login inline enrollment prompts rather than cold email campaigns.
  • Inspecting client WebAuthn capability on login lets you route modern devices straight to one-tap passkeys while cleanly offering RFC 6238 TOTP to older endpoints.
  • Closing the SMS recovery loophole and revoking gateway credentials at the final phase ensures attackers cannot downgrade migrated accounts back to text messages.

Why SMS OTP Fails Modern Threat Models and Budgets

Unlike cryptographic authenticators controlled by your identity platform, SMS OTP delegates possession verification to the global cellular telecom network. Attackers routinely bribe carrier retail staff or socially engineer call-center representatives to port a victim's phone number onto an attacker-controlled SIM or eSIM in minutes. Once the number transfers, every login verification code and password-reset SMS arrives directly on the adversary's handset with zero visibility to your security operations team.

Beyond account takeover risk, SMS OTP introduces severe financial exposure through International Revenue Share Fraud (IRSF), commonly known as SMS pumping. Automated bots flood signup and login endpoints with phone numbers belonging to high-cost international mobile network operators that kick back termination fees to the fraudsters. Engineering teams frequently discover tens of thousands of dollars in unexpected Twilio, AWS SNS, or MessageBird charges over a single weekend before rate limits catch the spike.

  • SIM-swap and eSIM port-out attacks defeat SMS without requiring malware or physical access to the victim's device.
  • SS7 and Diameter inter-carrier signaling vulnerabilities allow nation-state and commercial surveillance actors to intercept SMS messages silently in transit.
  • Lock-screen notification previews and cloud-synced messaging apps expose 6-digit codes on unattended desktops and shared devices.
  • NIST SP 800-63B guidance classifies PSTN-delivered OTP as a restricted authenticator that requires mitigating controls and does not satisfy phishing-resistant AAL3 mandates.
json
{
  "smsRiskTelemetry": {
    "windowHours": 24,
    "otpDispatched": 48210,
    "otpVerified": 1409,
    "conversionRatio": 0.029,
    "topAnomalousPrefixes": ["+234", "+62", "+998"],
    "estimatedTollFraudCostUsd": 3940.50,
    "recommendedAction": "Enforce country allowlist, per-phone cooldown, and accelerate Passkey/TOTP migration"
  }
}

Segmenting Users for a Zero-Lockout Migration

The fastest way to stall an MFA modernization project is to email thousands of users a deadline and flip a global switch on Monday morning. Users ignore advance notices until they are blocked mid-workflow, overwhelming IT service desks and forcing leadership to roll back enforcement. Instead, segment your directory into four risk-and-readiness waves based on privilege level, login frequency, and detected device capabilities.

Wave 1 targets internal administrators, developers, and security staff who already carry modern laptops and smartphones and can validate enrollment UX within a week. Wave 2 covers B2B organization owners, finance teams, and high-value customer accounts. Wave 3 brings in general workforce and frequent web users via a 14-day grace period, while Wave 4 isolates infrequent logins and corporate shared devices where hardware security keys or TOTP apps replace personal phone numbers.

  • Audit active factor usage via directory telemetry before scheduling waves so you know exactly how many users rely exclusively on SMS.
  • Configure an explicit enrollment grace period (for example, 14 days with a visible countdown banner) so users can defer enrollment during urgent meetings without getting locked out.
  • Pair every migration wave with a dedicated Tier-2 Application or Tier-3 Organization MFA override so progress never blocks on the slowest business unit.
  • Pre-provision backup FIDO2 hardware keys for executives, call-center staff, and shift workers who do not use personal smartphones for corporate authentication.

Inline Enrollment Nudges and Programmatic Policy Cutoff

The highest-converting moment to upgrade a user off SMS is immediately after they complete a successful SMS sign-in. At that exact second, the user has already verified their identity, holds their device in hand, and is focused on authentication. By running a lightweight browser capability check during the session handshake, your login flow can detect whether FaceID, TouchID, Windows Hello, or Android biometrics are available and offer a one-click 'Upgrade to Passkey' interstitial—falling back cleanly to a QR-based TOTP setup screen on older workstations.

Once a cohort crosses 95% enrollment in stronger factors, update the application or organization factor policy programmatically to disable SMS OTP while keeping PASSKEY and TOTP active. During the transition window, harden any remaining SMS gateway with strict per-number rate limits, E.164 country allowlists, and non-reusable 5-minute code expirations to choke off SMS pumping while the final stragglers migrate.

  • Detect platform authenticators asynchronously with PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() before displaying the passkey upgrade prompt.
  • Require immediate verification of the newly enrolled passkey or TOTP code before marking the user's SMS factor as eligible for removal.
  • Apply application-level MFA factor policies via REST API so CI/CD or security governance scripts can transition apps deterministically.
  • Keep SMS gateway credentials scoped to approved country codes until the final wave completes, preventing IRSF toll fraud during the deprecation window.
bash
# Disable SMS OTP and enforce Passkeys + TOTP on a migrated application in SSO.ID
curl -X PUT "https://api.sso.id/api/applications/app_billing_prod/factors" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{
    "factors": [
      { "factorType": "PASSKEY", "enable": true, "priority": 1 },
      { "factorType": "TOTP", "enable": true, "priority": 2 },
      { "factorType": "SMS", "enable": false },
      { "factorType": "EMAIL", "enable": false }
    ],
    "passkeyAsPrimary": true,
    "enrollmentGracePeriodDays": 0
  }'
Security Guidance

Never leave SMS enabled as a silent account-recovery fallback after disabling it for login MFA. If an attacker can trigger a password or MFA reset via SMS to a SIM-swapped number, the entire migration provides zero protection against targeted takeovers.

Measuring Adoption Metrics and Decommissioning SMS Gateways

Track four operational metrics weekly throughout the migration: active MFA adoption rate by factor type, inline-prompt conversion percentage, helpdesk MFA reset volume per 1,000 logins, and monthly SMS termination spend. Healthy inline passkey prompts routinely convert 65% to 80% of eligible users within their first two logins because biometric sign-in removes the annoyance of waiting for delayed carrier text messages.

After the final cohort clears its grace period, execute a formal SMS sunset checklist. Disable the tenant-level SMS factor in your identity control plane, rotate and revoke unused Twilio, AWS SNS, or MessageBird API tokens, and purge unneeded phone numbers from authentication schemas where privacy regulations such as GDPR demand data minimization. Archive the final factor-mix telemetry report for SOC 2 and ISO 27001 auditors as concrete evidence of phishing-resistant progression.

  • Monitor factor distribution daily via analytics dashboards to spot B2B organizations or regional teams needing targeted enablement.
  • Alert security teams automatically if SMS authentication volume ticks back up after a deprecation milestone.
  • Revoke third-party SMS provider API keys upon full retirement to eliminate stale secret risk and accidental billing spikes.
  • Retain TOTP or secondary backup passkeys rather than SMS as the offline fallback for travelers without cellular roaming.

How SSO.ID Simplifies Phased SMS Retirement Across Every Tier

SSO.ID v2 supports FIDO2 Passkeys, RFC 6238 TOTP, Email OTP, and Twilio/AWS SNS/MessageBird SMS gateways side by side—with per-Application, per-Organization, and per-Organization Unit factor overrides and configurable enrollment grace periods so you can retire SMS wave by wave.

  • ✓Four-tier MFA policy inheritance lets you turn off SMS on high-risk apps and migrated B2B organizations via /api/applications/{id}/factors and /api/organizations/{id}/factors.
  • ✓Configurable enrollment grace periods and trusted-device remember windows eliminate lockouts while guiding users into Passkeys or TOTP.
  • ✓Real-time Executive Dashboard telemetry tracks mfaAdoptionRate, failed login attempts, and suspicious anomalies throughout every migration wave.
  • ✓Built-in Country Geofencing and brute-force lockout controls immediately throttle SMS pumping bots while legacy cohorts transition off PSTN codes.

Frequently Asked Questions

Should we migrate users from SMS directly to FIDO2 passkeys or use TOTP as an intermediate step?

Migrate WebAuthn-capable devices directly to FIDO2 passkeys while enabling RFC 6238 TOTP as the companion fallback for older devices or restricted environments. Skipping straight to passkeys where supported gives users faster logins and full AiTM phishing resistance immediately.

How long should an MFA migration grace period last?

For workforce employees who sign in daily, 7 to 14 days strikes the right balance between urgency and uninterrupted productivity. For B2B partners or consumers who log in monthly, trigger an enrollment prompt after three consecutive SMS logins or a 30-day window.

What if a regulated customer still requires SMS OTP for a specific legacy division?

Use organization-level or application-level MFA factor overrides to isolate SMS strictly to that division while enforcing Passkeys and TOTP everywhere else, and restrict the SMS gateway to approved country prefixes with tight velocity caps.

Topics: #SMS OTP #SIM Swap #Passkeys #MFA Migration