Dev.to Security 🔐 Cybersecurity 👁 0 📖 3 min read

What NIST says about SMS one-time codes

SMS codes are everywhere, so it is worth reading what the current US federal guidance says about them. This article summarizes one source: NIST SP 800-63B-4, "Authenticator and Verifier Requirements", part of the Digital

SMS codes are everywhere, so it is worth reading what the current US federal guidance says about them. This article summarizes one source: NIST SP 800-63B-4, "Authenticator and Verifier Requirements", part of the Digital Identity Guidelines. It covers what the text requires. It does not say how often SMS codes are attacked, and it does not rank products.

SMS is a "PSTN" out-of-band authenticator

NIST describes an out-of-band authenticator as a physical device, uniquely addressable, that communicates with the verifier over a separate channel. A typical case is a 6-digit code received on a phone and typed into the sign-in session. SMS and voice calls travel over the public switched telephone network, which the document abbreviates as PSTN.

What the text says about the PSTN

  • "Use of the PSTN for out-of-band verification is restricted as described in this section."
  • Setting or changing the pre-registered telephone number "is considered to be the binding of a new authenticator."
  • Verifiers "SHALL ensure that alternative authenticator types are available to all subscribers" and "SHOULD remind subscribers" of the limits of PSTN delivery before binding a device.
  • Verifiers "SHOULD consider risk indicators (e.g., device swap, SIM change, number porting, other abnormal behavior)" before sending a code over the PSTN.

What "restricted" means (Sec. 3.2.9)

At the time of publication, NIST lists one restricted authenticator: the use of the PSTN for out-of-band authentication. Restricted authenticators "remain necessary for some government-to-public applications", but NIST calls them "a less secure approach to multi-factor authentication". The section sets these conditions:

  • The organization that accepts a restricted authenticator has to assess, understand and accept its risks, and acknowledge that the risks "will likely increase over time."
  • If the relying party decides the risk to any party is unacceptable, the restricted authenticator "SHALL NOT be used" and an alternative type "SHALL be used."
  • The credential service provider (CSP) has to offer subscribers at least one alternative authenticator that is not restricted, give them meaningful notice of the security risks and of the unrestricted alternatives, address additional risks to subscribers and relying parties in its risk assessment, and develop a migration plan in case the restricted authenticator is not acceptable in the future.
  • NIST "may adjust the restricted status" of PSTN out-of-band authentication as the threat landscape and the technical operation of the PSTN change.

Rules for the code itself

For out-of-band verifiers (Sec. 3.1.3.2): in all cases the authentication is invalid unless completed within 10 minutes, a given secret is accepted only once in that period, and the verifier generates secrets of at least six decimal digits (or equivalent). If the secret is shorter than 64 bits, the verifier has to rate-limit failed attempts, and generating a new code does not reset the failed-attempt count.

Two other points

  • "Out-of-band authentication is not phishing-resistant."
  • Email "SHALL NOT be used for out-of-band authentication." The page adds that confirmation codes sent to validate an email address, or issued as recovery codes, are a different thing and not affected by that rule.

Scope

These are requirements for the organizations that implement NIST's guidelines (relying parties and credential service providers). NIST says restricted authenticators remain necessary for some government-to-public applications. The text does not say SMS codes must never be used. It makes PSTN delivery a restricted option with conditions: assess the risk, offer a non-restricted alternative, tell users, and plan for the option becoming unacceptable. How a particular service applies this is outside what the document says.

Sources (read Nov 24, 2026)

This article was drafted by an AI assistant at the author's direction and checked against the sources above before publishing. #ABotWroteThis

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.