# How Session Hijacking Can Bypass Two-Factor Authentication

- Original post: https://www.twitter.com/i/status/2125132984529678487
- Source account: [@CyberRacheal](https://x.com/CyberRacheal)
- Source language: English
- Duration: 1:28
- Published: 2026-11-26
- Canonical URL: https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication

## Transcript

[0:00](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication) I'm going to show you how hackers bypass two-factor authentication.

[0:04](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=4) This specific method works even if you have the strongest password in the entire world.

[0:08](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=8) This is for educational purposes only, and you should never use this to harm anyone.

[0:13](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=13) Think of this method like having a wristband at a theme park to prove that you can go on the rides, rather than having to show your ID each time.

[0:21](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=21) This method is called session hijacking.

[0:24](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=24) Here's the attack on a vulnerable test environment.

[0:27](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=27) On your first account, right-click anywhere on the page and select Inspect, or press Control plus Shift plus I. This opens developer tools.

[0:37](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=37) Go to the Application tab, then Cookies.

[0:40](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=40) You'll see the session ID. Copy that value.

[0:43](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=43) Now open another browser where you're logged into a different account.

[0:47](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=47) Navigate to the same site, open the same cookies section, find the session ID, and replace it with the one you copied from the first account.

[0:55](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=55) Refresh the page. You're now logged into the first account.

[1:00](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=60) You completely bypassed the password and 2FA.

[1:03](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=63) You're in, just like that. This is exactly why you should never stay logged in on public computers.

[1:09](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=69) Always sign out of all devices regularly and be careful on public Wi-Fi.

[1:14](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=74) Now, this was just a glimpse. If you want to really master these techniques and understand cybersecurity from the ground up, I teach all of this in depth in my bootcamp.

[1:24](https://www.translate.mom/transcript/0dAOZXIc5dC9/en/how-session-hijacking-can-bypass-two-factor-authentication?t=84) Link in bio if you want to go further than just the basics.
