TL;DR
HOLMES & WATSON is a novel website fingerprinting (WF) framework that exploits "HTTP version parallelism"—the unique way modern websites mix HTTP/1.1, HTTP/2, and HTTP/3 to load resources. By shifting focus from fragile network-layer timing to stable application-layer features, it achieves 87.7% accuracy with just a single training sample, making it significantly more robust and efficient than current deep-learning approaches.
What Problem Does This Paper Address?
Website Fingerprinting (WF) is a side-channel attack where an eavesdropper (like an ISP) tries to identify which website a user is visiting by analyzing patterns in encrypted traffic.
Historically, WF attacks relied on "transport-layer" features like packet sizes, directions, and inter-packet delays. However, these features are notoriously brittle. If network conditions change (e.g., switching from fiber to a shaky Starlink connection) or if a website updates its content slightly ("concept drift"), the accuracy of these models plummets. Furthermore, state-of-the-art deep learning models for WF are "data-hungry," requiring thousands of samples and days of GPU training time, which limits their practicality for real-world attackers.
Methods
The authors propose a two-part system:
- HOLMES (The Extractor): This component extracts application-layer features without needing to decrypt the traffic. It uses protocol state machines to infer which HTTP versions are being used and how many resources are being requested. For example, it distinguishes HTTP/2 from HTTP/1.1 by identifying the "preface" packets used to establish multiplexing. The result is an H123 fingerprint: a matrix representing the count of resources requested across different HTTP versions over time.
- WATSON (The Recognizer): Instead of a heavy neural network, WATSON uses a Lazy Learning paradigm (similar to k-Nearest Neighbors). It doesn't require a lengthy pre-training phase. To compare fingerprints, it uses a hybrid distance metric:
- Wasserstein Distance: To handle "division/aggregation" variations (where resources are grouped differently into packets).
- LCSS (Longest Common Similar Subsequence): To handle "temporal misalignment" (where resources load in a slightly different order).
Datasets
The researchers collected a massive, high-fidelity dataset to test their method under realistic conditions:
- Scale: 1.5TB of HTTPS traffic, covering 80,000 websites and 220,000 samples.
- Scenarios: 12 distinct environments, including varying bandwidths (unconstrained, Starlink-like, slow), different browsers (Chrome, Firefox, legacy versions), and time-drift (data collected over 30 days).
- Benchmarks: They compared H&W against five state-of-the-art attacks, including k-FP, Deep Fingerprinting (DF), and Triplet Fingerprinting.
Key Insights and Ideas
- Parallelism as a Signature: Website owners rarely upgrade their entire infrastructure at once. A single page might load its main HTML via HTTP/2, some legacy scripts via HTTP/1.1, and newer media via HTTP/3. This specific "version mix" is highly distinctive—the authors found that the count of HTTP/2 resources alone provides more information than 98% of previously reported WF features.
- Stability in the Application Layer: Because HOLMES counts resources rather than just packets, the features are much more resilient to network jitter. A slow connection might delay a packet, but it doesn't change the fact that the browser requested 15 images via HTTP/2.
- Efficiency via Lazy Learning: By avoiding complex model training, the attack can be deployed almost instantly. An attacker only needs to visit a target site once to create a reference fingerprint.
Key Results
- Few-Shot Performance: In a "closed-world" test (identifying a site from a known list), H&W achieved 87.7% accuracy with $N=1$ (one training sample). For comparison, the best existing IP-based method achieved only 70.5% under the same constraint.
- Resilience to Concept Drift: After 30 days, the accuracy of traditional deep learning models (like k-FP+) dropped by over 25%, while H&W maintained 88% accuracy.
- High Throughput: WATSON can process over 2,000 website visits per second, making it capable of monitoring high-traffic network nodes in real-time.
- Open-World Success: In a more realistic "open-world" scenario (distinguishing monitored sites from 80,000 unmonitored ones), H&W maintained a strong F1-score, significantly outperforming transport-layer attacks in few-shot settings.
Limitations and Future Work
- Cross-Browser Sensitivity: While H&W is robust to network changes, it is sensitive to browser changes. Training on Chrome and testing on Firefox leads to a significant drop in accuracy because different browsers handle resource loading sequences differently.
- Defense Mechanisms: While the authors showed that simple packet padding doesn't stop H&W, they acknowledge that more advanced defenses (like traffic splitting or more aggressive resource obfuscation) need further study.
- Expanding the Scope: The authors suggest that this "version parallelism" concept could be extended to other protocols, such as TLS (mixing TLS 1.2 and 1.3) or IP (mixing IPv4 and IPv6), to create even more "information-dense" fingerprints.
Summary updated