Two-Factor Authentication2FA
With two-factor authentication, a stolen password alone is not enough to get in: every login also needs proof from something you hold, such as a code from an authenticator app or a hardware security key. Codes sent by SMS are the weakest option, because a phone number can be hijacked.
Passwords leak. They are reused, guessed, phished and sold in bulk. Two-factor authentication adds a second lock that a leaked password cannot open on its own, which is why every serious exchange and broker offers it. But the second lock is not equally strong in every form: a texted code, an app code and a physical security key fail in very different ways. This entry explains how 2FA works, ranks the common methods using official guidance, and shows the attacks each one does and does not stop.
- Category
- Cryptocurrency and Blockchain
- Reading time
- 7 min
- Also called
- Two-step verification, Multi-factor authentication, Authenticator app
- Updated
Two-factor authentication in plain words
A 2FA login asks for proof from two of three groups: something you know (a password), something you have (a phone or security key) and something you are (a fingerprint).1 The idea is that an attacker who has one of them still lacks the other.
The usual second factors are a one-time code sent by text or email, a code or push prompt from an authenticator app, and a physical security key that plugs into a USB port or connects over NFC.1 Authenticator codes typically refresh about every 30 seconds.2
The methods are not equal. US cyber-security guidance ranks security keys as the strongest option and text or email codes as the weakest.2 A texted code can be stolen through a SIM swap, where a criminal moves your phone number to a SIM card they control.3 See SIM Swap.
How to set up strong 2FA, step by step
Start with your email
Your email account can reset most other passwords, so protect it first. CISA lists email among the first accounts to put behind MFA.2
Pick the strongest method offered
Prefer a security key, then an authenticator app; use text or email codes only when nothing stronger is available.2
Save the backup codes offline
Most services give recovery codes when you enable 2FA. Store them on paper or in a password manager, not in your email.
Remove SMS as a fallback
If SMS stays on as a backup, a SIM swap can still bypass your app or key. The FBI recommends stronger MFA than SMS, such as security tokens or standalone authentication apps.4
Lock down your phone account
Add a PIN or password to your mobile carrier account to make a SIM swap harder.3
Never share a code
Do not give a verification code to anyone who contacted you first; scammers often ask for them.1 See Social Engineering.
Add exchange-level locks
Where offered, combine 2FA with a Withdrawal Whitelist and an Anti-Phishing Code.
Worked examples
Example 1 — Why guessing a code is hopeless
OddsAn attacker has a trader’s password and tries to guess a 6-digit code. The site allows 5 attempts before it locks the login (a hypothetical limit).
| Possible 6-digit codes | 10^6 = 1,000,000 |
| Chance per guess | 1 in 1,000,000 |
| Chance in 5 guesses | 5 ÷ 1,000,000 = 0.0005% |
Brute force almost never works, so attackers try to steal or intercept the code instead — through phishing pages, fake support calls or SIM swaps.
Example 2 — The cost of SMS codes
SIM swapsFBI data on SIM-swap complaints shows how fast attacks on texted codes grew.4
| Complaints, 2018–2020 | 320 |
| Complaints, 2021 | 1,611 |
| Losses, 2021 | More than $68 million |
| Average per 2021 complaint | $68M ÷ 1,611 ≈ $42,200 |
One year of complaints was about five times the previous three years combined. Once a criminal controls the number, texted reset and login codes go straight to them.4
Example 3 — A fake login page meets two methods
Phishing testA trader clicks a link in a fake exchange email and lands on a lookalike login page. The attacker forwards everything typed there to the real site in real time (hypothetical case).
| Password | Captured |
| Authenticator app code | Relayed within 30 seconds |
| Security key | Refuses the wrong domain |
Codes typed by hand can be relayed, so NIST does not count them as phishing-resistant; a key tied to the real site’s name is.5 See Phishing.
Common 2FA methods compared
| Aspect | How it works | Main weakness |
|---|---|---|
| Text or email code | Code sent to your phone number or inbox | Weakest option; a SIM swap redirects texts23 |
| Authenticator app code | App shows a code that changes about every 30 seconds2 | Can be typed into a fake site and relayed |
| App push with number matching | You confirm a number shown on the login screen2 | Still depends on you spotting a fake page |
| Security key | Physical key over USB or NFC1 | Can be lost; keep a second key or backup codes |
Where traders need 2FA most
Exchange and broker logins
A stolen login can mean withdrawals you cannot reverse. See Centralised and Decentralised Exchanges.
Email accounts
Email is the reset path for almost everything else.2
Withdrawals and API keys
Many platforms ask for 2FA again before a withdrawal or a new API Key.
Password managers and cloud storage
These hold the keys to every other account; CISA lists file storage among the first accounts to protect.2
Advantages and disadvantages
Advantages
Disadvantages
- SMS and email codes can be intercepted or redirected.1
- Typed codes can be phished and relayed in real time.5
- Losing the phone or key without backup codes can lock you out.
- It protects accounts, not a self-custody wallet’s Seed Phrase.
Going deeper
Read as far as you need. Each level builds on the one before it.
What counts as a factor
Beginner
Two passwords are still one factor: both are something you know. Real 2FA mixes categories, such as a password plus a code from a device you hold.1
Fingerprints and face scans usually unlock a device rather than prove who you are to the website, so CISA suggests pairing biometrics with another method.2
Why codes are not phishing-resistant
Intermediate
NIST defines phishing resistance as the ability of the login protocol to stop secrets being disclosed to an impostor, and it requires cryptographic authentication for it.5 Codes that you read and type by hand, whether texted or from an app, do not qualify.5
Security keys built on standards such as WebAuthn/FIDO2 check the name of the site asking for the login, so they will not answer a lookalike domain.5 CISA tells organisations to aim for phishing-resistant MFA.2
What the NIST standard says about phones and email
Advanced
NIST’s digital identity guideline treats out-of-band codes sent over the phone network as a restricted authenticator and does not allow email for out-of-band authentication at all.5
It also covers syncable authenticators, whose keys are copied between devices through a sync service, and bars them from its highest assurance level, AAL3, because their private keys can be exported.5 For most traders the practical lesson is simpler: a hardware key or an app beats SMS, and SMS beats nothing.
Common mistakes
Keeping SMS when better options exist
Texted codes are the first target of SIM-swap gangs. Switch to an app or a key.4
Reading a code to “support”
Real support staff do not need your 2FA code. Anyone who asks is trying to log in as you.1
No backup plan
Without recovery codes or a second key, a lost phone can mean days of account recovery.
Protecting the exchange but not the email
If the inbox falls, password resets follow. Put the strongest method on email first.2
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- 2FA means a password alone cannot open the account.
- Security keys are the strongest method; text and email codes the weakest.
- Typed codes can be phished; key-based logins check the site’s real name.
- Protect your email first, then exchanges and password managers.
- Never share a code, and store backup codes offline.
Frequently asked questions
Is SMS 2FA worse than having none?
What happens if I lose my phone?
Does 2FA protect my self-custody wallet?
Further learning
- SIM Swap
The attack that breaks SMS codes.
- Phishing
Fake login pages and how to spot them.
- Social Engineering
Why attackers ask for codes instead of guessing them.
- API Key
Another way into your exchange account that needs locking down.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- Federal Trade Commission. Use Two-Factor Authentication to Protect Your Accounts (opens in a new tab) Checked .
- Cybersecurity and Infrastructure Security Agency (CISA). Require Multifactor Authentication (opens in a new tab) Checked .
- Federal Trade Commission. SIM swap scams: How to protect yourself (opens in a new tab) Checked .
- FBI Internet Crime Complaint Center (IC3). Criminals Increasing SIM Swap Schemes to Steal Millions of Dollars from US Public (I-020822-PSA) (opens in a new tab) Checked .
- NIST. SP 800-63B-4: Digital Identity Guidelines — Authentication and Authenticator Management (opens in a new tab) Checked .
- ethereum.org. Ethereum security and scam prevention (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.