> ## Content Index
> Fetch the complete content index at: https://www.cryptowithblock.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# 2FA Done Right
- URL: https://www.cryptowithblock.com/2fa-done-right/
- Published: 2026-11-01T10:00:07.000Z
- Updated: 2026-11-12T15:03:10.000Z
- Description: Learn how text codes, authenticator apps and security keys differ, how attackers beat each one, and how to set up 2FA without locking yourself out.
- Author: Crypto With Block
- Tags: Protect Your Crypto, #lesson

## 2FA done right

Hi, I'm Block. Two people turn on two-factor login for their exchange account. Both feel safe. A month later, one of them gets robbed anyway. The difference wasn't luck. It was which second step they picked. In this lesson: the three main kinds, how attackers beat each one, and how to set it up without locking yourself out.

## Two different proofs

First, what two-factor actually means, in plain English. Your password is something you know. The second factor is usually something you have, like your phone or a small key on your keyring. To get in, an attacker needs both. A stolen password alone is no longer enough.

> A stolen password alone is no longer enough.

And passwords do get stolen, constantly. As you saw two lessons ago, leaked passwords end up on lists, and bots try them everywhere. With two-factor on, the bot gets the password right, and then hits a wall it can't get past. That's why any second factor is far better than none.

> Any second factor beats none.

But not all second steps are equal. Researchers at Google studied how well each one held up. Against targeted attacks, where someone goes after one person specifically, text codes stopped about three in four. A prompt on your phone stopped nine in ten. A physical security key stopped every one.

Against mass phishing, the gap is smaller: text codes stopped ninety-six percent, phone prompts ninety-nine, and security keys still a hundred. If you hold crypto, assume you're worth targeting. That bottom row is the one that matters to you.

> Hold crypto? Assume you're worth targeting.

## Weakest to strongest

So let's go through them one at a time, from weakest to strongest. Text message codes. Authenticator apps. Login prompts on your phone. And security keys and passkeys. For each one, I'll show you how it works, and how it gets beaten.

Text codes are the most common. You log in, the site texts a six-digit code to your number, and you type it in. The weakness is the one you fixed last lesson: the code goes to your phone number, not your phone. Whoever controls the number gets the code. A SIM swap turns text codes into the attacker's codes.

> Codes go to your number, not your phone.

Here's a simple way to picture it. A text code is like a spare key that gets mailed to your house every time you log in. It works fine, right up until someone quietly redirects your mail to their address. Then every spare key goes straight to them. That's a SIM swap, in one picture.

> Redirect the mail, get the keys.

The second weakness affects every code you type. A fake login page looks exactly like your exchange. You type your email and password. Then it asks for the code. You type that too, and the attacker uses it on the real site within seconds.

So keep text codes only where nothing better is offered. The FTC and the FBI both point people toward authenticator apps or security keys instead. Text codes are better than nothing, and nothing more.

> Text codes: better than nothing, and nothing more.

Next up, authenticator apps. When you set one up, the site shows you a QR code. Scanning it stores a secret inside the app. From then on, the app combines that secret with the current time to make a new code, usually every thirty seconds. The code is made on your phone, so a SIM swap can't touch it.

> Made on your phone. A SIM swap can't touch it.

It even works in airplane mode, because nothing is sent to you. Your phone and the website each do the same math with the same secret, and the answers match. That QR code is the secret itself, so never screenshot it, share it, or scan one somebody sends you.

> Never screenshot or share a 2FA QR code.

But authenticator codes are still typed, so a fake page can still ask for them. Modern phishing kits sit in the middle. They pass everything you type to the real site in real time, and grab the logged-in session that comes back. One campaign like this went after more than ten thousand organizations.

So an authenticator app is a big step up from text codes. It stops SIM swaps cold. But it only protects you from fake pages if you never type a code into a page you reached from a link. Bookmarks and typed addresses only.

> Type codes only on pages you bookmarked.

Third: login prompts. Instead of a code, your phone pops up a message asking, is this you trying to sign in? You tap approve. It's easy, and that's both the strength and the weakness. Because attackers have learned to just keep asking.

That's exactly what happened at Uber. An attacker who had bought a contractor's password sent prompt after prompt. Then they messaged the contractor, pretending to be Uber's IT team, saying the only way to make the alerts stop was to approve one. The contractor approved. The attacker was in.

> Didn't start the login? Deny, every time.

So the rule for prompts is short. If you didn't just try to sign in yourself, deny it, then change that account's password, because a flood of prompts means someone already has it. And nobody real will ever ask you to approve a prompt for them.

> A flood of prompts means they already have your password.

## The gold standard

Now the strongest option: security keys and passkeys. These are the ones the U.S. cybersecurity agency calls the gold standard. And here's the surprising part. They're also the easiest to use, because there's nothing to read, copy, or type.

First, what they are. A security key is a small device that plugs into your computer or taps your phone. A passkey does the same job, but lives on your phone or computer, unlocked with your fingerprint, face, or PIN. Either way, the device makes a unique key pair for each account. The private half never leaves your device. Nothing to type means nothing to steal.

> Nothing to type means nothing to steal.

And here's why fake pages fail. When you set up a key, it's tied to the real website's address. Later, if a lookalike site asks it to sign in, the key checks the address, sees it doesn't match, and simply refuses. It doesn't matter how convincing the fake looks. The key can't be fooled the way people can.

> A key can't be fooled the way people can.

There are two flavors to know. Synced passkeys are backed up through your phone's or password manager's account, encrypted, so a lost phone doesn't lock you out. A hardware security key never leaves that one device, which is strongest, but means you need a backup. Both stop fake pages.

> Both stop fake pages.

## Your ranking

So what should you actually do? Here's the ranking I'd use for anything holding money. Best: a security key or passkey, wherever it's offered. Good: an authenticator app. Last resort: text codes, only when nothing else exists. And please, don't let perfect stop you. Moving off text codes is the biggest single step.

You don't have to do all of this in one sitting. Think of it as a staircase. Each step up shuts another door. Leaving text codes behind shuts out SIM swaps. Moving to a key or passkey shuts out fake pages too. One account at a time is fine. Just keep climbing, and start with the account that matters most.

> Each step up shuts another door.

Start with the account that controls the others: your email, because it can reset almost everything. Then your exchange accounts. Then your password manager. Then anything else that touches money. Upgrade the master key first.

> Upgrade the master key first.

Now the part people skip, and regret. Strong two-factor can lock you out as well as attackers. So before you finish, plan for a lost phone. Register two security keys, and keep the second one somewhere safe at home. One key is a single point of failure.

> Two keys. One on you, one at home.

And save your backup codes. Many sites give you a set of one-time backup codes, for when your phone or key isn't available. A set of ten is common, and each one works only once. Print them or write them down, and store them with your other important papers, not in your email. If they're ever exposed, generate a new set, which cancels the old one.

> Exposed codes? Make a new set.

If you use an authenticator app, check what happens when you replace your phone. Find out whether your app backs up your codes, and how to move them, before the day you need it. Either way, keep backup codes for each important account. And once a stronger method is set up, remove text messages as a fallback wherever the site allows it.

> Remove the text fallback, or attackers will use it.

And whatever you choose, these rules never change. Never read a code to anyone. Never approve a prompt you didn't start. Never scan a setup QR code someone sends you. Real support never needs your code, your approval, or your key.

> Real support never needs your code.

## 2FA in four lines

Here's the whole lesson in four lines. Any second factor beats none. Authenticator apps beat text codes. Security keys and passkeys beat everything, because fake sites can't fool them. And always have a backup, so the only person locked out is the attacker.

> The only person locked out should be the attacker.

## Sources

- [Google/NYU/UCSD study: SMS codes blocked 100% of automated bots, 96% of bulk phishing and 76% of targeted attacks; on-device prompts 100%, 99%, 90%; security keys 100% of all three](https://thenextweb.com/news/google-data-shows-2-factor-authentication-blocks-100-of-automated-bot-hacks?ref=cryptowithblock.com)
- [Google Security Blog original post on the study (May 17, 2019)](https://security.googleblog.com/2019/05/new-research-how-effective-is-basic.html?ref=cryptowithblock.com)
- [FTC: text-message verification may not stop a SIM swap; use an authentication app or security key instead](https://www.bleepingcomputer.com/news/security/ftc-issues-guidance-on-protecting-against-sim-swap-attacks?ref=cryptowithblock.com)
- [FBI recommends stronger multi-factor methods such as physical security keys or standalone authenticator apps rather than texts](https://www.ic3.gov/PSA/2022/PSA220208?ref=cryptowithblock.com)
- [TOTP (RFC 6238) computes a one-time code from a shared secret key and the current time; default time step is 30 seconds](https://www.rfc-editor.org/rfc/inline-errata/rfc6238.html?ref=cryptowithblock.com)
- [Adversary-in-the-middle phishing proxies sit between the user and the real sign-in page, capture the password and session cookie and bypass MFA; one campaign attempted to target more than 10,000 organizations; Microsoft recommends FIDO2 phishing-resistant MFA](https://www.microsoft.com/en-us/security/blog/2022/07/12/from-cookie-theft-to-bec-attackers-use-aitm-phishing-sites-as-entry-point-to-further-financial-fraud/?ref=cryptowithblock.com)
- [Uber 2022: attacker had a contractor's password, sent repeated MFA push requests, posed as Uber IT on WhatsApp saying the only way to stop the notifications was to accept one; the contractor accepted](https://www.infoq.com/news/2022/09/Uber-breach-mfa-fatigue/?ref=cryptowithblock.com)
- [CISA calls phishing-resistant MFA the gold standard; FIDO/WebAuthn are the only widely available phishing-resistant forms](https://www.cybersecuritydive.com/news/cisa-phishing-resistant-mfa/635763?ref=cryptowithblock.com)
- [Passkeys: a key pair per account; the private key stays on your device and is unlocked by biometric or PIN; nothing typed; synced passkeys (end-to-end encrypted via a passkey provider) vs device-bound passkeys such as hardware security keys](https://fidoalliance.org/passkeys/?ref=cryptowithblock.com)
- [FIDO credentials are cryptographically bound to the website domain at registration; if the domain doesn't match, the authenticator refuses (lookalike sites fail)](https://duo.com/learn/what-is-fido?ref=cryptowithblock.com)
- [Backup codes: sets of 10 single-use codes for when you can't use your phone or usual second step; can be regenerated, which disables the old set](https://support.google.com/accounts/answer/1187538?hl=en&ref=cryptowithblock.com)

*Education only. Not financial advice.*