how do hackers bypass 2fa instagram hacked even with 2fa facebook hacked even with 2fa

How do hackers bypass 2FA? 4 tricks and how to stop them

Adrian Maverick · · 9 min read

Hackers bypass two-factor authentication (2FA) in four common ways: a fake login page that passes your code to the real site, a flood of approval prompts until you tap yes, a SIM swap that moves your text codes to their phone, and stolen session cookies that skip the login altogether. Each one has warning signs you can spot, and each one is blocked by a specific setting.

None of this means 2FA is useless. The US cybersecurity agency CISA says in its phishing-resistant MFA fact sheet that "any form of MFA is better than no MFA." It just means the weakest method still switched on decides how strong your account really is. Our post on whether two-factor authentication is safe ranks every method against every attack. This one is about what each bypass looks like from your side, and what to do about it.

1. Real-time phishing pages

This one beats the codes careful people use.

How it works. You get a message with a link to what looks like your bank, your email or a social app. The page is fake, but it sits in the middle and forwards everything to the real site as you type. CISA describes the user who "submits their username, password, as well as the 6-digit code from their mobile phone's authenticator app." The code is valid for the real site too, so the attacker signs in with it seconds later and keeps the session.

Why your code did not help. The US standards agency NIST explains it in its current guidance, SP 800-63B-4: codes you type by hand "SHALL NOT be considered phishing-resistant because the manual entry does not bind the authenticator output to the specific session being authenticated." In plain words, a six-digit code works wherever it is typed. That goes for text codes, email codes and authenticator app codes alike.

What you would notice.

  • You reached the login page from a link in a message, not by typing the address or using a saved bookmark.
  • The page asked for your code and then something felt off, such as an error, a request to try again, or a jump to the real site.
  • Soon after, you get a "new sign-in" alert, or your recovery email or phone number changes.

What stops it. A passkey or a hardware security key. CISA calls this kind of sign-in "the gold standard" and says "the only widely available phishing-resistant authentication is FIDO/WebAuthn authentication." A passkey only answers the real site it was made for, so a lookalike page gets nothing. Our guide on what a passkey is covers how to add one. Until then, the habit that helps most is never signing in from a link in a message. For the clues in the message itself, see how to spot a phishing email.

2. MFA fatigue (push bombing)

How it works. If your second step is a phone notification with an Approve button, an attacker who already has your password can keep triggering it. CISA's number matching fact sheet says they can "generate hundreds of prompts on the user's device over a short period of time," until the user approves "by accident or out of annoyance."

What you would notice. Sign-in requests you did not start, often several in a row. That is the important part: a prompt you did not start means someone already has your password.

What to do.

  1. Tap Deny on every prompt you did not start. Never approve one to make the others stop.
  2. Change that account's password from a device you trust, by typing the site's address yourself.
  3. Switch to a passkey if the service offers one, or to an authenticator app.
  4. If your workplace controls the app, tell IT. CISA recommends number matching, where you type a number shown on the login screen into the app. CISA notes users "cannot approve requests without entering the numbers on the login screen," so a login you did not start cannot be approved.

NIST now treats approve-only prompts as "no longer considered acceptable" for the same reason, citing "authentication fatigue" attacks.

3. SIM swapping

How it works. The attacker talks your mobile carrier into moving your number to a SIM card they control. From then on, every text code and phone call meant for you goes to them. CISA lists SMS and voice codes as "vulnerable to phishing, SS7, and SIM swap attacks" and says they "should only be used as a last resort." Its 2025 mobile communications guidance is blunter: "Do not use SMS as a second factor for authentication. SMS messages are not encrypted."

What you would notice. Your phone suddenly loses service where it normally works, followed by password reset emails or sign-in alerts you did not ask for.

What to do. Call your carrier from another phone right away. Ahead of time, set a PIN or passcode on your mobile account, which CISA says is required for sensitive changes "such as porting a phone number," and turn on any SIM lock your carrier offers. Then move your important accounts off text codes. Our full guide on SIM swapping has the carrier settings and an "it happened" checklist.

4. Session cookie theft

How it works. After you sign in, the site gives your browser a session cookie so you stay logged in. Information-stealing malware copies those cookies and sends them to the attacker, who loads them into their own browser and is simply already signed in as you. Google's Chrome team put it plainly in April 2024: cookie theft "happens after login, so it bypasses two-factor authentication." No second factor stops this, passkeys included, because the login already happened.

How the malware usually gets in. Google says the people behind it often talk users into clicking past "multiple warnings" to install it. Think cracked software, game cheats, fake updates and unknown browser extensions.

What you would notice. Activity in an account you did not do, with no new sign-in alert, because there was no new sign-in. Several accounts going wrong on the same day is a strong hint, since the malware takes cookies for every site at once.

What to do, in this order.

  1. Clean the device first: remove what you installed recently, run your security software, and if in doubt, reset the device.
  2. Then sign out every other session. Google warns that stolen cookies "continue to work even after the malware is detected and removed," so removing the malware alone does not lock the attacker out. Use the account's option to sign out of all devices where the service offers it, and change the password.
  3. Check recovery details, forwarding rules and connected apps on your email account, since that is where password resets land.

Our guide on removing a hacker from your phone covers the device side.

Which trick got me? Match the symptom

What you saw Most likely bypass First move
You typed a code on a page you reached from a link Real-time phishing page Change the password by typing the real address, then sign out all sessions
Approval prompts you did not start MFA fatigue Deny them all and change the password now
Phone lost service, then reset emails arrived SIM swap Call your carrier from another phone
Account activity with no new sign-in alert, often on several sites Session cookie theft Clean the device first, then sign out all sessions

If you already clicked a link and typed something in, our checklist on what to do if you clicked a phishing link walks through the next hour.

The settings that close each door

  1. Add a passkey or security key to your email, Apple, Google and Microsoft accounts first. CISA's guidance says FIDO "is effective against MFA bypass techniques."
  2. Then remove the weaker methods. CISA tells people who are enrolled in FIDO to "disable other, less secure forms of MFA." A text code left on the account is still a way in. CISA also notes that some services fall back to SMS during account recovery, so check the recovery options too.
  3. Use an authenticator app where passkeys are not offered, instead of text codes.
  4. Put a PIN on your mobile carrier account.
  5. Only sign in by typing the address or using a bookmark, never from a link in a message.
  6. Keep malware off your devices: no cracked software, no unknown extensions, updates on.

Frequently asked questions

Can hackers bypass 2FA without my phone?

Yes. A real-time phishing page only needs you to type the code yourself, and session cookie theft skips the login entirely. Neither needs your phone. A SIM swap takes your number, not the physical phone.

Why was my Instagram or Facebook hacked even with 2FA?

The usual causes are the ones above: a code typed into a fake login page, an approval tapped by mistake, a text code sent to a swapped SIM, or a session stolen by malware. The symptom table above helps narrow down which one.

Can authenticator apps be bypassed?

Yes, by real-time phishing. NIST says any code you type by hand is not phishing-resistant, and CISA rates app codes as vulnerable to phishing. They are still much stronger than text codes, because a SIM swap does not affect them.

Do passkeys stop every 2FA bypass?

They stop fake login pages, prompt floods and SIM swaps. They do not stop session cookie theft, because that happens after you sign in. Keeping malware off your devices covers that gap.

Should I turn off 2FA if it can be bypassed?

No. CISA's position is that any form of MFA is better than none. Upgrade the method instead of removing it.

Protect the inbox that resets everything

Whatever the trick, your email is where password resets for your other accounts land, which makes it the account to lock down first. If you want a separate address for sign-ups, Secria Mail takes a name, the address you want and a password, with no phone number and no card. Aliases let you give each service its own address and delete one for good if it starts getting phishing, and recovery uses a 12-word recovery phrase. Post-quantum encryption is on every plan, free included. Create a free account if that fits.

Turn on the strongest method each account offers, then switch off the weak ones it leaves behind.

Secria fact-checks every post against primary sources. Spotted something wrong or out of date? Email hq@secria.me and we will correct it.