Browser-in-the-Browser (BitB): Fake Login Popups Stealing Real Credentials
- MAY 4TH, 2026
- 2min read
In Browser-in-the-Browser (BitB) phishing, threat actors create a fake browser pop-up window inside a real webpage to trick users into entering credentials into what appears to be a legitimate Microsoft 365, Google, or enterprise SSO login prompt. These fake windows are built using HTML, CSS, and JavaScript and can closely mimic real browser popups, complete with address bars, padlock icons, and trusted branding.
This technique is dangerous because users are trained to trust familiar login prompts and visible URLs. Instead of redirecting victims to a suspicious phishing site, attackers keep the user on the malicious page while presenting a highly convincing fake sign-in window.
How it works
The attacker lures the victim to a phishing page through email, ads, shared links, or compromised websites. When the user clicks “Sign in with Microsoft” or a similar button, a fake browser-style pop-up appears that looks like a real login window.
The victim enters their username, password, and possibly MFA code into the fake prompt. The attacker captures the information and may use it immediately to access email, cloud storage, or other business services.
How to Protect Your Organisation
1. Use Phishing-Resistant MFA: Deploy Passkeys or FIDO2 security keys. These are tied to legitimate domains and will not authenticate on fake phishing pages.
2. Harden Conditional Access: Require compliant devices, trusted locations, and risk-based sign-in controls to prevent token replay from attacker systems.
3. Employee Awareness: Users should verify login pop-ups carefully. If the pop-up cannot move outside the browser window or appears without opening a real browser window, treat it as suspicious.
4. Use Password Managers: Encourage the use of reputable, secure password managers, which help detect fake login pages by only autofilling credentials on legitimate domains.
5. Monitor for Suspicious Sign-ins: Alert on impossible travel, new devices, concurrent sessions, or unusual post-login activity shortly after authentication.
Explore more CIL Advisories
Supply Chain Attacks: Compromise through Developer Tooling
Modern cyberattacks are increasingly targeting the software development ecosystem itself. Rather than attacking production servers directly, threat actors now compromise…
MAY 25TH, 2026
Read More
Defence Against Deepfake Social Engineering (BEC 2.0)
The days of relying on simple voice or video for identity verification are over. "Business Email Compromise" (BEC) has rapidly…
MAY 20TH, 2026
Read More
Mitigation of API Logic Abuse & Predatory Bots
Traditional security tools like Firewalls and WAFs are unable to stop "Logic Abuse" because they are designed to only block…
MAY 18TH, 2026
Read MoreNever miss a CIL Security Advisory
Stay informed with the latest security updates and insights from CIL.