Two-factor authentication bypass
In plain terms
The scammer already has your password and triggers a login. They call you right afterward to get you to read out the code you received — or flood you with approval requests until you accept one.
Definition
Bypassing two-factor authentication targets the second factor itself: instead of breaking through it technically, the attacker gets the victim to hand it over or approve it.
How it works
The attacker already has the password and triggers a login, which sends a code or a notification to the victim. They then act along one of two paths. In the first, they call or message within the following seconds, posing as the service in question, and ask the victim to share "the verification code" — the code is genuine, which makes the request credible. In the second, they send dozens of approval requests until the victim, worn down or woken at night, accepts one just to stop the notifications. In both cases the protection works as designed: it's consent that's obtained, not the mechanism that's broken.
Why it works
The code is genuine and arrives at the exact moment the caller mentions it: that coincidence passes for proof. Floods of notifications bet on fatigue, since approving seems like the only way to get some peace, especially in the middle of the night.
What this attack relies on
Understanding these levers is worth more than memorizing a hundred pages: it is what lets you recognize a scam no one has described yet.
Warning signs
- A verification code received without having tried to log in
- Repeated approval requests, in a burst or during the night
- A caller asking you to read them a code, whatever the stated reason
- A message urging you to "approve to cancel" a suspicious login
- Contact arriving immediately after the code is received
Example
Fictional example — no real organization or address
Call received a few seconds after a text containing a code, in the evening.
Hello, this is your email provider's security team. We're blocking a fraudulent login on your account right now. To cancel it, I need the six-digit code you just received by text.
What gives it away
- A code is used to log in, never to cancel a login.
- No service calls to have a code read out to it.
- The call follows the code too closely: the caller triggered it.
How to verify
A code received that you didn't trigger means one thing: someone already knows your password. That's the signal to change it immediately. No service, no bank, no support line ever asks you to share a verification code, whatever the channel.
The questions to ask, in order
Did you receive a code or an approval request without trying to log in?
If yes: Don't pass it on and deny the request: someone knows your password. Change it now.
Is someone asking you to read out or send them this code?
If yes: Hang up. No service asks for it, whatever the reason.
Have you already shared the code or approved the request?
If yes: Change the password, sign out of all sessions and check the account's recovery email and phone number.
What to do
Never share a code and refuse any approval request you didn't initiate yourself, the second it arrives. Then change the password of the affected account. Prefer an authenticator app or a physical security key over an SMS code.
If it already happened
Change the password, revoke all active sessions, and check the account's recovery settings — backup address, phone number, forwarding rules — which the attacker changes first to keep access. Regenerate backup codes.
So it doesn't happen again
- Give each account a unique password: with no known password, there's no code to obtain.
- Switch to an authenticator app or a security key where the service allows it.
- Remember the rule: a code is typed in, never read out.
The steps that defeat this attack
- Suspicious message analyzer: is this text or email a scam?Paste a text message, email or message: the tool shows the scam techniques it contains, reads every link and names the attacks it looks like. Nothing is sent.
- How a password actually gets stolenHow do hackers get hold of a password?
- Turn on two-factor authentication, and choose it wellHow do I protect my accounts with two-factor authentication?
- I entered my password on a fake site: what to doI clicked a link and entered my password on a fake page, what do I do?
- I gave out my card details or a code: what to doI gave my bank card or a verification code to a scammer, what do I do?
Test yourself
A code arrives without you asking for anything, and the phone rings right after.
Start the simulation: Two-factor authentication bypassFrequently asked questions
- Is two-factor authentication still worth anything?
- Yes, and it remains essential: it's precisely because it blocks the attacker that they have to ask for your help to get past it. A physical security key or an authenticator app resists far better than an SMS code.
- I approved a notification by mistake — what should I do?
- Change the password immediately, then sign out of all active sessions in the account settings. Then check the recovery address and the email's forwarding rules: these are the first things changed after an intrusion.
Related attacks
Official sources
This article is part of the Credentials and accounts family. Last updated: 2026-08-31.
Published under the responsibility of Mountaga Diallo · methodology.