Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    Two-factor authentication explained: SMS codes, apps and keys

    Two-factor authentication (2FA), part of what CISA calls multifactor authentication, makes you prove who you are with two or more factors, so a stolen password alone is not enough to get in.[1][2] Not all methods are equal: CISA warns that text-message codes and push prompts can be phished, bombed or intercepted, and calls FIDO/WebAuthn, the standard behind security keys and passkeys, the only widely available phishing-resistant option.[3][4][5]

    Editor reviewedUpdated Explainer19 claims · 100% primaryCybersecurity, Phones, PCs and devices
    Reading level: 1 passage differs; the rest is the same for everyone.

    This explainer summarises what CISA, NIST and the UK NCSC say about sign-in security. It does not test or recommend specific apps or devices. Setup steps differ by service, so follow each provider’s own instructions.

    What two-factor authentication is

    Most accounts start with a password: something you know. Two-factor authentication adds a second, different kind of proof. CISA groups the factors as something you know (a PIN or password), something you have (an authenticator app or a text to your phone) and something you are (a fingerprint or face scan).[6]

    The point is that a thief who steals or guesses your password still can’t get in without the second factor.[2] The UK’s National Cyber Security Centre (NCSC) calls turning it on one of the most effective ways to protect online accounts, and recommends it for email, banking, social media and shopping accounts first.[7]

    CISA treats two-factor authentication, 2FA, two-step authentication and 2-step verification as names for multifactor authentication (MFA): presenting two or more authenticators before access is granted.[1] NIST’s digital identity guidelines, SP 800-63B-4, published in July 2025, set the US federal rules for which authenticators count and at what assurance level.[8]

    How much it helps

    Two company studies give a sense of scale. Microsoft said in 2019 that MFA can block over 99.9 percent of account compromise attacks.[9] A 2019 Google study, run with researchers at New York University and UC San Diego, compared methods: an SMS code sent to a recovery phone blocked 100% of automated bots, 96% of bulk phishing attacks and 76% of targeted attacks, while on-device prompts blocked 100%, 99% and 90%.[10] Both are company-reported figures rather than independent measurements.

    How second factors can be beaten

    CISA warns that not all forms of MFA are equally secure. Some can be beaten by phishing, “push bombing”, exploiting weaknesses in the SS7 telephone signalling network, or SIM swapping.[3]

    • Phished codes. An email lures the user to a fake site that mimics a real login portal, where they enter their username, password and the six-digit code from their authenticator app.[11] For how to spot such pages, see how to spot phishing.
    • Push bombing. Attackers bombard a user with push notifications until the user taps Accept.[12] CISA recommends number matching, where the user must type a number shown on the login screen into the app, as an interim fix for organizations not yet ready for phishing-resistant MFA.[13]
    • SIM swaps and SMS interception. If criminals take over your phone number, they receive your text-message codes; see SIM swapping explained.[14] In December 2024 CISA told highly targeted individuals not to use SMS as a second factor at all, because texts are not encrypted and can be read by an attacker inside a telecom network.[15]

    NIST takes a similar line. SP 800-63B-4 classes one-time codes sent over the phone network as “restricted”, tells services to check warning signs such as a recent SIM change or number port before relying on them, and bars email for this kind of authentication altogether.[16]

    The strongest option: phishing-resistant MFA

    CISA says the only widely available phishing-resistant authentication is FIDO/WebAuthn, which is built into major browsers, operating systems and smartphones. A less common alternative is smart-card authentication tied to an organization’s public-key infrastructure (PKI).[4] FIDO credentials include hardware security keys and passkeys, which work only on the site they were registered for; see passkeys explained.[5]

    NIST’s 2025 guidelines require services at its middle assurance level, AAL2, to offer at least one phishing-resistant option, and require federal agencies to use phishing-resistant authentication for their own staff.[17]

    Putting it together

    The NCSC notes that 2-step verification codes are often sent by SMS or email.[18] Agency advice points in one direction. CISA says users who turn on MFA are significantly less likely to be hacked.[2] Where a choice exists, CISA points to phishing-resistant FIDO methods as the strongest and has told high-risk users to move away from SMS.[4][15] The NCSC also recommends MFA so that passwords stolen by malware can’t easily be reused; see how malware works.[19]

    Developing in AI & Computing

    Questions readers ask

    Is two-factor authentication the same as multi-factor authentication?

    For most purposes, yes. CISA lists two-factor authentication, 2FA, two-step authentication and 2-step verification as other names for multifactor authentication, which requires two or more authenticators.[1]

    What are the three types of authentication factor?

    CISA groups them as something you know (a PIN or password), something you have (an authenticator app or a text on your phone) and something you are (a fingerprint or face scan).[6]

    Is SMS two-factor authentication safe?

    In a 2019 Google study, SMS codes sent to a recovery phone blocked 76% of targeted attacks, against 90% for on-device prompts. In December 2024 CISA told highly targeted people not to use SMS as a second factor because texts are not encrypted.[10][15]

    What is MFA fatigue or push bombing?

    Attackers flood a user with push notifications until the user taps Accept. CISA recommends number matching, which makes the user type a number shown on the login screen into the app, as an interim defense.[12][13]

    What is phishing-resistant MFA?

    CISA says FIDO/WebAuthn is the only widely available form, with PKI-based smart cards a less common alternative. Passkeys, which use this approach, work only on the site or app they were registered with, so a user cannot be tricked into using them on a deceptive site.[4][5]

    How much does 2FA help?

    Microsoft said in 2019 that MFA can block over 99.9 percent of account compromise attacks, and CISA says users who turn it on are significantly less likely to be hacked.[9][2]

    Sources

    · 19 claims from 8 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      CISA describes multifactor authentication as a layered approach that requires two or more authenticators to verify a user's identity before granting access, and lists two-factor authentication, 2FA and 2-step verification as other names for it. confirmedas of 2026-11-08

    2. [2]

      CISA says that even if an attacker compromises one factor, such as a password, they cannot meet the second requirement, so users who enable MFA are significantly less likely to be hacked. confirmedas of 2026-11-08

      • More than a Password · CISA · Primary source · What is Multifactor Authentication? (retrieved 2026-11-08)
    3. [3]

      CISA warns that not all forms of MFA are equally secure, and that some are vulnerable to phishing, push bombing, exploitation of SS7 telephone-network weaknesses, or SIM swap attacks. confirmedas of 2026-11-08

    4. [4]

      CISA says the only widely available phishing-resistant authentication is FIDO/WebAuthn, which is supported in major browsers, operating systems and smartphones; PKI-based smart cards are a less widely available alternative. confirmedas of 2026-11-08

    5. [5]

      Google says passkeys work only on the websites and apps they were registered with, so a user cannot be tricked into authenticating on a deceptive site, and developers store only a public key rather than a password. confirmedas of 2026-11-07

    6. [6]

      CISA groups authentication factors into something you know (a PIN or password), something you have (an authenticator app or a confirmation text on a phone) and something you are (a fingerprint or face scan). confirmedas of 2026-11-08

      • More than a Password · CISA · Primary source · What is Multifactor Authentication? (retrieved 2026-11-08)
    7. [7]

      The UK NCSC calls turning on 2-step verification one of the most effective ways to protect online accounts and recommends it for important accounts such as email, banking, social media and online shopping. confirmedas of 2026-11-08

    8. [8]

      NIST published SP 800-63B-4, its digital identity guidelines for authentication, in July 2025, superseding the 2020 version of SP 800-63B. confirmedas of 2026-11-07

    9. [9]

      Microsoft said in 2019 that MFA can block over 99.9 percent of account compromise attacks. reportedas of 2026-11-08

    10. [10]

      In a 2019 study with researchers from New York University and UC San Diego, Google found that an SMS code sent to a recovery phone blocked 100% of automated bots, 96% of bulk phishing attacks and 76% of targeted attacks, while on-device prompts blocked 100%, 99% and 90% respectively. confirmedas of 2026-11-08

    11. [11]

      CISA says attackers can phish one-time codes by sending users to a fake login portal where they enter their username, password and the six-digit code from their authenticator app. confirmedas of 2026-11-08

    12. [12]

      CISA describes push bombing, or push fatigue, as attackers flooding a user with push notifications until the user presses Accept. confirmedas of 2026-11-08

    13. [13]

      CISA recommends number matching, which makes the user type a number shown on the login screen into their app, as an interim defense against MFA fatigue for organizations that cannot yet use phishing-resistant MFA. confirmedas of 2026-11-08

    14. [14]

      The FBI explains that once a SIM is swapped, the criminal receives the victim's calls and texts, requests password resets, and uses codes sent by SMS-based two-factor authentication to take over online accounts. confirmedas of 2026-11-08

    15. [15]

      In December 2024 guidance for highly targeted individuals, CISA said not to use SMS as a second factor, because SMS messages are not encrypted and can be read by an attacker with access to a telecom provider's network. confirmedas of 2026-11-08

    16. [16]

      NIST SP 800-63B-4 classes out-of-band verification over the public telephone network (SMS or voice) as restricted, tells verifiers to consider risk signs such as a SIM change or number porting before using it, and bars email for out-of-band authentication. confirmedas of 2026-11-08

    17. [17]

      NIST SP 800-63B-4 requires verifiers to offer at least one phishing-resistant authentication option at AAL2, and requires federal agencies to make staff, contractors and partners use phishing-resistant authentication for federal systems. confirmedas of 2026-11-07

    18. [18]

      The NCSC explains that with 2-step verification a user is often sent a PIN or code by SMS or email, which they enter to prove they control that phone or inbox. confirmedas of 2026-11-08

    19. [19]

      The NCSC says there is no way to completely protect an organisation against malware infection and recommends a defence-in-depth approach, including using multi-factor authentication so stolen credentials cannot easily be reused. confirmedas of 2026-11-08

    Revision history (1)
    1. Page created.

    Created Nov 8, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: May 8, 2027.

    Cite this page

    "Two-factor authentication explained: SMS codes, apps and keys." ContentLora, updated Nov 8, 2026. https://contentlora.com/explain/two-factor-authentication-explained

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.