You click a link. A login window pops up, asking you to sign in with Google or Microsoft. The URL in the window reads accounts.google.com. The padlock is there. Everything looks exactly as it should. You type your password. You just handed it to a cybercriminal. And the worst part is, you don’t even know about it.
This is a browser-in-the-browser attack, and it is one of the most convincing phishing techniques in active use today. Unlike traditional phishing, which relies on redirecting you to a suspicious-looking website.
A BitB attack builds the fake login window directly inside the page you are already on, using nothing more than HTML, CSS, and JavaScript. There is no suspicious redirect. There is no obviously wrong URL. There is just a window that looks real because it was designed, pixel by pixel, to look exactly like the real thing.
Understanding how this attack works is the first step to not falling for it.
How a Browser-in-the-Browser Attack Works
Most websites that use single sign-on, the buttons that say “Continue with Google,” “Sign in with Microsoft,” or “Continue with Apple,” open a genuine new browser window from that provider when you click them. That window is the real login page, served from the provider’s own domain, and your browser’s address bar shows a legitimate URL you can verify.
A BitB attack replaces that real pop-up window with a fake one rendered entirely inside the current webpage. The attacker uses HTML and CSS to draw what looks like a browser window, complete with a title bar, window controls, an address bar showing the correct-looking URL, and a padlock icon. It appears to float above the page just like a real pop-up window would. The user has no obvious reason to question it.
When you enter your credentials into this fake window, they go directly to the attacker’s server. There is no real Google login happening. No real Microsoft authentication. Just a well-constructed visual deception that intercepts your password before any legitimate system ever sees it.
Real BitB Attacks That Have Happened
This is not a theoretical threat. Browser-in-the-browser attacks have been used in documented campaigns targeting millions of users across gaming, government, and enterprise platforms.
Steam Gaming Campaign (2025)
Attackers created fake gaming tournament and eSports websites to draw in players. When users clicked to log in, a BitB-style Steam login window appeared with the correct Steam branding and URL display. The goal was credential theft from accounts holding valuable in-game items that could be resold for real money. The campaigns were promoted through YouTube posts with hundreds of likes to build false credibility.
Cloudflare Pages Campaign (2024)
A related operation hosted phishing pages on Cloudflare’s pages.dev platform. The legitimate-looking Cloudflare subdomain helped the attack avoid security filters, and the same BitB technique spoofed Steam’s login window. The trusted infrastructure was the key that got the attack past both users and automated defenses.
Belarus-linked Ghostwriter Campaign (2022)
The Ghostwriter threat group, linked to Belarusian state actors, used BitB to simulate a login page for passport.i.ua, a major Ukrainian email provider. The fake window appeared over a compromised legitimate website, making it nearly indistinguishable from a real authentication request.
What connects these campaigns is that their victims were not careless. They were on pages they had reason to trust, looking at windows that appeared legitimate, and making rational decisions based on what they could see. The attack exploits trust that had been reasonably earned.
Why BitB Phishing Is So Hard to Spot
Traditional phishing has tells. The domain is misspelled. The page design looks slightly wrong. The sending email address is suspicious. Security awareness training has made people better at catching these signals.
BitB removes most of those signals by design.
The fake window appears inside a page you may have navigated to legitimately. The URL displayed in the fake window’s address bar can be set to anything the attacker wants because it is not a real browser address bar. It is a styled HTML element built to look like one. You cannot click it the way you can click a real address bar. If you try, nothing happens. But most users never try because they have no reason to suspect the window is anything other than what it appears to be.
Traditional security tools at the network and email layer struggle with this attack because the phishing page is often hosted on legitimate infrastructure and the credential capture looks like an ordinary form submission. The attack bypasses the filters that phishing normally triggers.
How to Detect a Browser-in-the-Browser Attack
There are concrete physical tests you can perform that will expose a BitB window regardless of how convincing it looks.
Try to drag it outside the browser
A real operating system pop-up window is a separate window at the OS level. You can drag it off the screen, move it behind the main browser window, and resize it independently. A BitB window is an element inside the webpage and cannot leave the browser’s boundaries. If dragging the window stops at the edge of the browser, it is fake.
Click the address bar inside the window
A real browser’s address bar is interactive. You can click it, highlight the URL, and type in it. A BitB address bar is a visual HTML element. Click it, and it does nothing, or it does not respond the way a real address bar does.
Check your taskbar or dock
A genuine new browser window creates a new entry in your operating system taskbar or dock. A BitB window does not appear there because it is not a separate window at any OS level. If a login window appeared but no new taskbar entry exists, that is a warning sign.
Be aware of what triggered it
Login pop-ups that appear on pages you reached through unusual links, social media promotions, or unsolicited emails deserve extra scrutiny before you type anything.
Let your password manager speak first
This is the most reliable check of all, and the one that works even when visual detection fails.
How FastestPass Works in Safeaguarding Your Passwords
Your eyes can be fooled by a well-built fake window. URL-matching logic cannot be fooled by how something looks, only by what the underlying domain actually is. That gap between visual deception and technical verification is exactly where FastestPass protects you.
Every credential stored in FastestPass gets this protection automatically. Your Google password, your Microsoft account, your Steam login, every saved account behaves the same way: it only reaches a form on the domain it belongs to. A fake window on a fake domain gets nothing, even if the fake window looks identical to the real thing.
FastestPass also generates strong, unique passwords for every account you hold, which means that even in the event any single credential is exposed through a separate breach, none of your other accounts are affected. One password manager replacing dozens of reused passwords is one of the most significant single steps anyone can take for their online security.
Frequently Asked Questions
What is a browser-in-the-browser attack?
A BitB attack is a phishing technique that renders a fake browser login window inside a webpage using HTML and CSS, designed to look exactly like a real single sign-on pop-up from Google, Microsoft, Apple, or Steam. When a user enters credentials into the fake window, those credentials are sent to the attacker’s server.
How does a BitB phishing attack work?
The attacker builds a page with a fake browser window drawn in web code. The window displays a realistic address bar, padlock icon, and login form. When the user fills in their username and password and submits, those credentials go to the attacker rather than to the legitimate provider.
How do I detect a browser-in-the-browser attack?
Try to drag the login window outside your browser’s edges. A real pop-up moves freely. A BitB window stops at the browser boundary. Also try clicking the address bar inside the window. If it does not function like a real address bar, it is a visual element. A password manager that validates URLs will refuse to autofill on a fake window regardless of its appearance.
Can antivirus software stop a BitB attack?
Not reliably. Browser-based attacks are increasingly evading traditional email and network-layer security tools. The most consistent defense is a password manager that validates the actual page domain before filling any credentials, which no visual trick can circumvent.
What accounts are most commonly targeted by BitB attacks?
Any account using OAuth-based single sign-on is a target. Google, Microsoft, Steam, and Apple are the most commonly spoofed because they are used to access a wide range of other services, meaning one stolen credential opens many doors.
Does FastestPass protect against BitB attacks?
Yes. FastestPass only autofills credentials when the domain of the current page exactly matches the domain where the credential was saved. A BitB fake window cannot pass that check regardless of what its drawn address bar shows. Your credentials stay in FastestPass and out of the attacker’s hands.
BitB vs. Traditional Phishing: The Key Differences
| Key Differences | Traditional Phishing | BitB Attack |
| Method | Redirect to fake site | Fake window inside real page |
| Suspicious URL visible | Often | Not visible, URL looks correct |
| Detectable by trained eye | Sometimes | Rarely |
| Bypasses email filters | Sometimes | Frequently |
| Defeated by URL-matching password manager | Yes | Yes |
| Defeated by awareness training alone | Sometimes | Unlikely |
The fundamental difference is that traditional phishing asks you to leave the context you trust. BitB keeps you in that context and builds the deception around you. That is what makes it more dangerous than its predecessors, and it is why technical defenses are more reliable than purely behavioral ones.
Conclusion: Why Your Password Manager Is Your Strongest Defense
Here is the technical reality that changes everything: a password manager does not look at the window. It looks at the URL.
When FastestPass stores your Google credentials, it records them against the verified domain accounts.google.com. When a login form appears anywhere on your screen, FastestPass checks whether the domain of the actual underlying page matches that stored domain before it fills in anything.
A BitB fake window has no real domain. The form inside it is not on accounts.google.com regardless of what the drawn address bar displays. It is on the attacker’s domain, on a compromised page, or on a legitimate third-party host with no relationship to Google. The actual page domain does not match. FastestPass sees that mismatch and does not fill the credentials. Your password stays locked.
Generate passkeys, store them in vaults, and safeguard sensitive data! Receive the latest updates, trending posts, new package deals,and more from FastestPass via our email newsletter.
By subscribing to FastestPass, you agree to receive the latest cybersecurity news, tips, product updates, and admin resources. You also agree to FastestPass' Privacy Policy.
Secure and Create Stronger Passwords Now!
Subscribe to Our Newsletter


