Cookieless Monster: Exploring the Ecosystem of Web-Based Device Fingerprinting

Nick Nikiforakis, Alexandros Kapravelos, Wouter Joosen, Christopher Kruegel, Frank Piessens, Giovanni Vigna

Introduction

As internet users increasingly adopt privacy-preserving measures—such as clearing cookies, utilizing "Private Browsing" modes, and installing ad-blockers—the digital tracking industry has undergone a fundamental shift. The transition from stateful tracking (relying on client-side storage like cookies) to stateless tracking (device fingerprinting) represents a significant challenge to user anonymity. While academic research has previously demonstrated the theoretical feasibility of fingerprinting, this study investigates the real-world deployment of these techniques by commercial entities.

The Rise of Stateless Tracking

Device fingerprinting identifies a user by aggregating a unique set of device attributes, ranging from screen resolution and installed fonts to specific browser versions and hardware configurations. Unlike cookies, which can be deleted, a fingerprint is inherent to the device's configuration. This paper pulls back the curtain on the commercial fingerprinting ecosystem, analyzing how major providers like BlueCava, Iovation, and ThreatMetrix operate in the wild.

Methodology and Commercial Landscape

The researchers employed a multi-faceted approach to map the fingerprinting landscape. This included manual reverse-engineering of obfuscated JavaScript and Flash code from leading commercial providers, as well as large-scale web crawling of the Alexa Top 10,000 sites.

Comparison of fingerprinting techniques used by commercial providers and academic projects.

The analysis revealed that commercial trackers go far beyond simple browser headers. They exploit a wide array of browser-level configurations, operating system details, and hardware signatures. As shown in the comparison above, providers like BlueCava and ThreatMetrix utilize Flash-based methods to gather deeper system information that JavaScript alone cannot access.

Technical Exploits: Flash and Font Detection

One of the paper's most significant findings is the Flash Proxy Bypass. Commercial scripts often leverage Adobe Flash to establish direct network connections. Because Flash frequently bypasses browser-level HTTP proxy settings, it can leak a user’s true IP address, effectively unmasking those attempting to hide behind a proxy or VPN.

Mechanism of the Flash proxy bypass, showing how tokens are passed between the browser, proxy, and fingerprinting server.

Beyond network leaks, trackers use "side-channel" techniques for font detection. By rendering a specific string in a hidden <span> and measuring its exact pixel dimensions, trackers can determine if a specific font is installed. If the dimensions match a generic fallback font, the tracker knows the requested font is missing, adding another data point to the device's unique signature.

The "Iatrogenic" Effect of Privacy Extensions

Perhaps the most counterintuitive finding is what the authors term the "iatrogenic" effect. In medicine, an iatrogenic condition is one caused by the treatment itself. Similarly, many privacy-focused browser extensions designed to spoof User-Agent strings actually make users more identifiable. By changing only the User-Agent while leaving other browser properties (like navigator.platform or vendor-specific JavaScript methods) untouched, these extensions create a unique, inconsistent signature that is easier to track than a standard, unmodified browser. In testing, 100% of the evaluated spoofing extensions failed to hide the user's true identity from advanced scripts.

Key Results and Implications

The study found that at least 0.4% of the Alexa Top 10,000 websites utilize commercial fingerprinting, a figure that likely represents a lower bound. Furthermore, a significant portion of fingerprinting activity was observed on "dubious" sites, including those categorized as spam or malicious, suggesting that these techniques are used for purposes beyond simple fraud prevention.

The researchers also demonstrated that the order of enumeration of properties in JavaScript objects (like navigator) serves as a high-entropy signature. Because different browser versions return these properties in different orders, this metadata can pinpoint a browser's version with high accuracy.

Conclusion

The "Cookieless Monster" study highlights the fragility of the current browser ecosystem. As long as browsers are developed by different vendors with varying implementation choices, fingerprinting remains nearly impossible to eliminate through third-party extensions alone. The authors suggest that meaningful defense requires browser vendors to standardize internal implementations or provide a truly unified interface in privacy modes to mitigate the entropy available to trackers.

Summary updated

Abstract

The web has become an essential part of our society and is currently the main medium of information delivery. Billions of users browse the web on a daily basis, and there are single websites that have reached over one billion user accounts. In this environment, the ability to track users and their online habits can be very lucrative for advertising companies, yet very intrusive for the privacy of users. In this paper, we examine how web-based device fingerprinting currently works on the Internet. By analyzing the code of three popular browser-fingerprinting code providers, we reveal the techniques that allow websites to track users without the need of client-side identifiers. Among these techniques, we show how current commercial fingerprinting approaches use questionable practices, such as the circumvention of HTTP proxies to discover a user's real IP address and the installation of intrusive browser plugins. At the same time, we show how fragile the browser ecosystem is against fingerprinting through the use of novel browser-identifying techniques. With so many different vendors involved in browser development, we demonstrate how one can use diversions in the browsers' implementation to distinguish successfully not only the browser-family, but also specific major and minor versions. Browser extensions that help users spoof the user-agent of their browsers are also evaluated. We show that current commercial approaches can bypass the extensions, and, in addition, take advantage of their shortcomings by using them as additional fingerprinting features.
BibTeX
@inproceedings{nikiforakis2013cookieless,
  author = {Nick Nikiforakis and Alexandros Kapravelos and Wouter Joosen and Christopher Kruegel and Frank Piessens and Giovanni Vigna},
  title = {{Cookieless Monster: Exploring the Ecosystem of Web-Based Device Fingerprinting}},
  booktitle = {IEEE Symposium on Security and Privacy},
  year = {2013},
  doi = {10.1109/sp.2013.43},
}
Figure