Browser-in-the-Browser (BitB) Phishing Campaigns Target Microsoft 365 Credentials

New Phishing Wave Uses Fake Browser Windows to Target Microsoft 365 Users

HIGH
June 14, 2026
4m read
PhishingThreat ActorSecurity Operations

Related Entities

Products & Tech

Microsoft 365 Browser-in-the-Browser (BitB)

Full Report

Executive Summary

Security researchers at Palo Alto Networks Unit 42 have identified a new wave of sophisticated phishing campaigns targeting Microsoft 365 users. These attacks employ the Browser-in-the-Browser (BitB) technique, which uses a fake, but highly realistic, browser window rendered inside the actual browser tab to deceive users. This fake window is designed to perfectly mimic a legitimate Microsoft authentication pop-up, tricking users into entering their usernames and passwords. Because the fake pop-up is just HTML and JavaScript within the attacker's webpage, any credentials entered are sent directly to the attacker. This technique is particularly dangerous because it can defeat common user training, as the main browser window can be on a legitimate-looking, but attacker-controlled, domain, and the fake pop-up can display a legitimate URL like login.microsoftonline.com.

Threat Overview

The Browser-in-the-Browser (BitB) attack is a social engineering technique that enhances the credibility of a phishing page.

  • Target: Users of Microsoft 365, whose credentials provide access to a wealth of sensitive corporate data, including email (Exchange), file storage (SharePoint, OneDrive), and collaboration tools (Teams).
  • Technique: The attack begins with a standard phishing link. When a user clicks it, they are taken to a webpage controlled by the attacker. This page then uses HTML, CSS, and JavaScript to render a fake browser window on top of the existing page content.
  • Deception: This fake window is a pixel-perfect replica of a browser pop-up, complete with a fake address bar, title bar, and even an SSL/TLS padlock icon. The attacker can make the fake address bar display any URL they want, such as login.microsoftonline.com, making the prompt appear completely legitimate.

Technical Analysis

The BitB technique is an evolution of traditional phishing, focusing on psychological manipulation rather than exploiting a technical vulnerability. It leverages the following MITRE ATT&CK techniques:

The core of the attack is the use of <iframe> or <div> elements styled with CSS to look exactly like a native window of the user's operating system (e.g., a Chrome window on Windows 11). This is purely a visual trick; there is no actual new browser window created.

Impact Assessment

  • High Success Rate: BitB attacks can have a much higher success rate than traditional phishing because they bypass the common advice to 'check the URL in the address bar.' The user sees what they expect to see, even though it's a fabrication.
  • Account Takeover: A successful attack leads to the compromise of a Microsoft 365 account. This gives the attacker access to the user's email, contacts, and files.
  • Business Email Compromise (BEC): The compromised account can be used to launch internal phishing attacks, commit invoice fraud, or escalate privileges within the organization.
  • Data Exfiltration: Attackers can access and exfiltrate sensitive data from the user's OneDrive and SharePoint sites.

Detection & Response

Detecting a BitB attack from the user's perspective is difficult but not impossible.

  • Window Behavior: A key giveaway is that the fake window cannot be moved outside the boundaries of the real browser tab it is rendered in. If you try to drag the 'pop-up' and it gets cut off by the edge of your browser, it's fake.
  • URL Filtering: Backend detection relies on web security gateways identifying and blocking the initial phishing page. This involves D3FEND's URL Analysis to check for newly registered domains and suspicious content.

Mitigation

Since BitB is a social engineering trick, mitigation relies on a combination of technical controls and advanced user awareness.

  1. Phishing-Resistant MFA: The single most effective mitigation is to enforce the use of phishing-resistant Multi-Factor Authentication, such as FIDO2 security keys. With this in place, even if a user is tricked and enters their password, the attacker cannot complete the login without the physical key. This is D3FEND's Multi-factor Authentication.
  2. Advanced User Training: Train users on the specifics of the BitB technique. Show them examples and teach them the 'drag the window' test to see if a pop-up is legitimate.
  3. Password Managers: Using a password manager can help, as it will refuse to autofill credentials if the domain of the real browser tab doesn't match the domain stored in the vault, regardless of what the fake pop-up says.

Timeline of Events

1
June 14, 2026
This article was published

MITRE ATT&CK Mitigations

Using phishing-resistant MFA (like FIDO2) is the most effective technical control, as it prevents the use of stolen credentials.

Mapped D3FEND Techniques:

Training users to recognize the specific tells of a BitB attack, such as the 'drag the window' test.

Using web filters to block the initial phishing page before the BitB attack can be rendered.

Mapped D3FEND Techniques:

D3FEND Defensive Countermeasures

The most robust defense against Browser-in-the-Browser (BitB) attacks targeting Microsoft 365 is the enforcement of phishing-resistant Multi-Factor Authentication. Organizations should prioritize the rollout of FIDO2/WebAuthn compliant authenticators, such as YubiKeys or Windows Hello for Business. Unlike passwords or even TOTP codes, these methods tie the authentication ceremony to the specific domain the browser is actually on. When a user tries to authenticate, the security key or biometric prompt will only work if the origin domain matches what is expected (login.microsoftonline.com). Since the BitB attack occurs on an attacker-controlled domain, the FIDO2 challenge will fail, completely neutralizing the attack. This technical control removes the burden from the user to spot the visual deception and provides a nearly foolproof way to prevent credential theft from this technique.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Tags

PhishingBrowser-in-the-BrowserBitBMicrosoft 365Social EngineeringUnit 42Credential Theft

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.