NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Analysis of Private Browsing Modes in Modern Browsers

Gaurav Aggarwal, Elie Bursztein, Collin Jackson, Dan Boneh

Introduction

As web privacy became a central concern for users, major browser vendors introduced "private browsing" modes—often marketed as a way to browse the web without leaving a trace. However, when these features first appeared, there was no industry standard for what "private" actually meant. This research provides the first rigorous analysis of private browsing modes in Google Chrome, Mozilla Firefox, Microsoft Internet Explorer (IE), and Apple Safari. By defining a formal threat model and conducting extensive forensic audits, the authors reveal significant gaps between marketing promises and technical reality.

The Privacy Gap: Expectations vs. Reality

The authors identify three primary challenges that undermine the effectiveness of private browsing:

  1. Lack of Definition: There was no consensus on whether these modes should protect against a "local attacker" (someone with physical access to the computer) or a "web attacker" (an online entity like an ad network).
  2. Implementation Flaws: Browsers frequently "leak" private data by accidentally writing it to permanent storage (the disk).
  3. The Ecosystem Problem: Third-party extensions and the underlying Operating System (OS) often operate outside the browser's privacy controls, systematically betraying the user's trust.
Firefox's Private Browsing start page illustrates the specific promises made to users regarding history and cookies.

Methodology

To evaluate these browsers, the researchers employed a multi-pronged approach:

  • Remote Detection: Using JavaScript and CSS (specifically the :visited pseudo-class), they developed a technique to remotely detect if a visitor was in private mode.
  • Usage Measurement: They purchased over 150,000 ad impressions across Adult, News, and Shopping sites to quantify how often people actually use these modes.
  • Forensic Analysis: The team tested whether private data survived in the OS swap file or DNS cache after a session ended.
  • Automated Auditing: For Firefox, they used the MozMill automation framework to monitor file system writes across 196 unit tests, combined with a manual source code review of 24 sensitive code points.
  • Extension Survey: They audited the top 40 most popular Firefox extensions to see if they respected private browsing boundaries.

Key Insights: The Marketing Myth

Browser vendors often market private browsing as a tool for "buying surprise gifts" for family members. However, the data tells a different story. Ad-network measurements showed that private mode was significantly more popular on adult sites (~14%) than on gift-shopping sites (~5%). This suggests that the "local attacker"—a spouse or family member—is indeed the primary concern for most users.

UI and "Shoulder Surfing"

The study highlighted a trade-off in User Interface (UI) design. Chrome and IE use obvious icons to remind users they are in private mode, whereas Safari and Firefox are more subtle. Interestingly, users tended to stay in private mode longer in browsers with subtle indicators, likely because they forgot the mode was active.

Google Chrome's Incognito mode uses a distinct "spy" icon to provide a clear visual indicator to the user.

Technical Vulnerabilities and Forensic Leaks

The research uncovered several ways that private browsing fails at a technical level:

  • OS Betrayal: Even a perfectly implemented browser can be undermined by the Operating System. In experiments on Ubuntu, the authors recovered visited URLs and page text from the system swap file after a session ended. Additionally, DNS caches often leak a history of visited domains that persists on the machine.
  • Extension Anarchy: Extensions represent a massive privacy hole. The audit found that 16 out of 32 JavaScript-only extensions violated privacy goals by writing traces of activity to the disk. Most extensions at the time were "private-mode blind."
  • Firefox Specifics: Firefox 3.6 was found to leak information through SSL certificates, custom protocol handlers (like mailto:), and site-specific permissions (like popup blocker exceptions), all of which were saved permanently to the user's profile.
  • Inconsistent Policies: The study noted bizarre inconsistencies; for instance, Firefox 3.6 would block cookies but still allow sites to access saved passwords and SSL client certificates, which could be used as "crude cookies" to identify the user.

Conclusion and Future Work

This paper remains a foundational text in web security, demonstrating that privacy is a "full-stack" problem. While browsers have improved since this study, the core issues—volatile memory persistence, extension behavior, and web fingerprinting—remain relevant. The authors suggest that a truly "perfect" private browsing architecture might require a virtual machine (VM) approach, though they acknowledge the practical hurdles of performance and updates that make this difficult for mainstream browser vendors to implement today.

Summary updated

BibTeX
@inproceedings{aggarwal2010analysis,
  author = {Gaurav Aggarwal and Elie Bursztein and Collin Jackson and Dan Boneh},
  title = {{An Analysis of Private Browsing Modes in Modern Browsers}},
  booktitle = {USENIX Security},
  year = {2010},
}
Figure