[Paper Review] Actions speak louder than words: Semi-supervised learning for browser fingerprinting detection
This paper proposes a semi-supervised machine learning approach to detect browser fingerprinting scripts by analyzing their JavaScript execution traces, leveraging behavioral similarity in API access patterns. It achieves 94.9% recall on known fingerprinting scripts and discovers over 100 previously undetected device-class fingerprinting scripts in the wild, marking the first empirical measurement of this fingerprinting class.
As online tracking continues to grow, existing anti-tracking and fingerprinting detection techniques that require significant manual input must be augmented. Heuristic approaches to fingerprinting detection are precise but must be carefully curated. Supervised machine learning techniques proposed for detecting tracking require manually generated label-sets. Seeking to overcome these challenges, we present a semi-supervised machine learning approach for detecting fingerprinting scripts. Our approach is based on the core insight that fingerprinting scripts have similar patterns of API access when generating their fingerprints, even though their access patterns may not match exactly. Using this insight, we group scripts by their JavaScript (JS) execution traces and apply a semi-supervised approach to detect new fingerprinting scripts. We detail our methodology and demonstrate its ability to identify the majority of scripts ($\\geqslant$94.9%) identified by existing heuristic techniques. We also show that the approach expands beyond detecting known scripts by surfacing candidate scripts that are likely to include fingerprinting. Through an analysis of these candidate scripts we discovered fingerprinting scripts that were missed by heuristics and for which there are no heuristics. In particular, we identified over one hundred device-class fingerprinting scripts present on hundreds of domains. To the best of our knowledge, this is the first time device-class fingerprinting has been measured in the wild. These successes illustrate the power of a sparse vector representation and semi-supervised learning to complement and extend existing tracking detection techniques.
Motivation & Objective
- To address the limitations of heuristic and supervised fingerprinting detection methods that rely on manual curation or labeled datasets.
- To detect previously unknown fingerprinting scripts by identifying behavioral similarities in JavaScript execution traces.
- To measure and validate the existence of device-class fingerprinting in real-world web deployments.
- To develop a scalable, semi-automated method for expanding content blocker lists without requiring full manual labeling.
Proposed method
- Representing JavaScript execution traces as sparse vectors of API calls per script, enabling behavioral comparison in a vector space.
- Using known fingerprinting scripts as seed examples to identify similar behavioral patterns in unknown scripts via distributional similarity.
- Applying a semi-supervised learning framework that propagates labels from a small set of labeled scripts to a larger set of unlabeled scripts.
- Employing a programmatic labeling strategy using keyword-based seed sets to reduce reliance on manual curation.
- Aggregating API call sequences into 'snippets' at the script level to enable per-script behavioral analysis.
- Validating the method on the OverScripted web crawl dataset containing ~1.3 million unique script URLs and 114 million API calls.
Experimental results
Research questions
- RQ1Can a semi-supervised approach detect fingerprinting scripts with high recall using only a small set of known examples?
- RQ2Do fingerprinting scripts exhibit consistent behavioral patterns in their API access sequences despite code obfuscation or variation?
- RQ3Can this method discover new classes of fingerprinting, such as device-class fingerprinting, that are missed by existing heuristics?
- RQ4How effective is the method when using keyword-based seed sets instead of state-of-the-art heuristics for initial labeling?
- RQ5To what extent can this approach scale to real-world web deployments and detect scripts not covered by current detection heuristics?
Key findings
- The method detects at least 94.9% of fingerprinting scripts identified by state-of-the-art heuristic techniques.
- The approach successfully identifies over 100 previously unknown device-class fingerprinting scripts across hundreds of domains.
- This is the first empirical measurement of device-class fingerprinting in the wild, revealing a previously unobserved fingerprinting pattern.
- The model generalizes well when using keyword-based seed sets, demonstrating robustness to imperfect or incomplete labeling.
- The vector representation of JS execution traces enables effective detection of obfuscated or modified fingerprinting scripts through behavioral similarity.
- The method surfaces candidate scripts that are similar to known fingerprinting scripts but differ enough to evade existing heuristics, enabling proactive detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.