Glossary
Browser-in-the-browser attack (BitB)
Definition
Browser-in-the-browser attack: A phishing technique that draws a fake pop-up sign-in window, including a fake address bar showing a legitimate URL, inside a web page, so that credentials typed into it go to the attacker. It usually imitates single sign-on pop-ups.
Also known asBitB attackbrowser-in-the-browser phishingfake login pop-upBITB
In short
A browser-in-the-browser (BitB) attack is phishing that draws a fake pop-up sign-in window inside a web page, with a fake address bar showing a real provider's URL. It imitates "Sign in with Google" or Microsoft windows. The window can't leave the page, so dragging it past the browser's edge or minimizing the browser exposes it, and a password manager won't fill it in.
Key takeaways
- The fake window, address bar included, is part of the attacker's page.
- It usually imitates a "Sign in with Google" or Microsoft pop-up.
- A real pop-up can be dragged outside the browser; a fake one gets stuck at the edge.
- Password managers check the real address, so a silent password manager is a warning sign.
- Government-backed groups have used the technique since at least 2022.
Last reviewed 3 December 2026 by Foxcolab Team
A browser-in-the-browser attack (BitB) is a phishing technique that draws a fake pop-up sign-in window, complete with a fake address bar, inside an ordinary web page. It copies the windows that appear when a site offers "Sign in with Google" or "Sign in with Microsoft," so the address bar shows the real provider's URL while the form sends your password to the attacker. The researcher who published it in March 2022 described a window that "simulates a browser window within the browser to spoof a legitimate domain" (mr.d0x).
Why it works#
People are taught to check the address bar. In a BitB attack, the address bar is part of the page, drawn with ordinary web code. About two weeks after publication, Google's Threat Analysis Group reported that the Belarusian group Ghostwriter had "quickly adopted this new technique," and that TAG had "previously observed this technique being used by multiple government-backed actors" (Google TAG). In 2026, Kaspersky described a campaign against Facebook users whose forged address bar showed "the real Facebook site" (Kaspersky).
An example#
You visit cheap-tickets.example and select Sign in with Google. A window appears with Google's logo, a padlock and accounts.google.com in its address bar. Everything inside it, the frame included, belongs to cheap-tickets.example, and whatever you type goes there.
How to spot a fake window#
Kaspersky points out that "fake pop-ups are bound to the page where they're located." That gives you three quick tests:
- Drag it. Move the window past the edge of the browser. "A real window will easily cross over; a fake one will get stuck."
- Minimize the browser. A real pop-up stays on screen. A fake one disappears with the page.
- Watch your password manager. It reads the actual address, "not what the address bar appears to show." If it doesn't offer your saved password, stop.
In Foxcolab#
Signing in to Foxcolab never happens in a pop-up. The sign-in page opens in the browser tab itself, at accounts.foxcolab.com or the foxcolab.com address of the app you're opening, and asks for your email, your password and, if you've turned it on, a code from your authenticator app. A box floating over another site that asks for your Foxcolab password is a fake. Turn on two-step verification so a stolen password alone isn't enough, and read how to spot a phishing email.
Keep exploring
Related terms
- PhishingPhishing is impersonation used to trick people into handing over passwords, approving payments or opening malware. Here's how it works and what actually stops it.
- Credential harvestingCredential harvesting tricks people into typing usernames, passwords and codes into pages or messages an attacker controls. It's the first step of most account takeovers.
- Password managerA password manager creates, stores and fills a unique password for every account, so you only have to remember the one that unlocks it.
- TyposquattingTyposquatting registers misspellings of real domains to catch people who mistype or misread an address. Here's how it works, how big it is, and how to catch it.
- Adversary-in-the-middle phishing (AiTM)Adversary-in-the-middle phishing relays your real sign-in through a fake page and keeps the session it creates, so a password plus a one-time code isn't enough to stop it.
- Single sign-on (SSO)Single sign-on lets people sign in once with a central identity provider and reach many apps. Here's how SAML and OpenID Connect make that work.

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.