Skip to main content
QUICK REVIEW

[Paper Review] Robust Website Fingerprinting Through the Cache Occupancy Channel

Anatoly Shusterman, Lachlan Kang|arXiv (Cornell University)|Nov 17, 2018
Internet Traffic Analysis and Secure E-votingComputer Science81 references14 citations
TL;DR

This paper demonstrates that website fingerprinting via browser cache side channels is highly effective, even under modern defenses. By measuring last-level cache occupancy using JavaScript, the authors achieve high-accuracy classification of visited websites—matching or exceeding network-based fingerprinting—while remaining resilient to traffic-shaping and reduced timer resolution defenses.

ABSTRACT

Website fingerprinting attacks, which use statistical analysis on network traffic to compromise user privacy, have been shown to be effective even if the traffic is sent over anonymity-preserving networks such as Tor. The classical attack model used to evaluate website fingerprinting attacks assumes an on-path adversary, who can observe all traffic traveling between the user's computer and the secure network. In this work we investigate these attacks under a different attack model, in which the adversary is capable of sending a small amount of malicious JavaScript code to the target user's computer. The malicious code mounts a cache side- channel attack, which exploits the effects of contention on the CPU's cache, to identify other websites being browsed. The effectiveness of this attack scenario has never been systematically analyzed, especially in the open-world model which assumes that the user is visiting a mix of both sensitive and non-sensitive sites. We show that cache website fingerprinting attacks in JavaScript are highly feasible. Specifically, we use machine learning techniques to classify traces of cache activity. Unlike prior works, which try to identify cache conflicts, our work measures the overall occupancy of the last- level cache. We show that our approach achieves high classification accuracy in both the open-world and the closed- world models. We further show that our attack is more resistant than network-based fingerprinting to the effects of response caching, and that our techniques are resilient both to network-based defenses and to side-channel countermeasures introduced to modern browsers as a response to the Spectre attack. To protect against cache-based website fingerprinting, new defense mechanisms must be introduced to privacy-sensitive browsers and websites. We investigate one such mechanism, and show that generating artificial cache activity reduces the effectiveness of the attack and completely eliminates it when used in the Tor Browser.

Motivation & Objective

  • To investigate the feasibility of website fingerprinting using CPU cache side channels via malicious JavaScript injection.
  • To evaluate cache-based fingerprinting in the open-world model, where users visit a mix of sensitive and non-sensitive websites.
  • To assess resilience against common defenses like traffic shaping and reduced timer resolution in browsers.
  • To propose and evaluate a defense mechanism based on artificial cache activity to mitigate cache-based fingerprinting.

Proposed method

  • Developed two memorygrammers to capture browser cache activity by measuring last-level cache occupancy over time.
  • Used deep learning models to classify website fingerprints based on cache activity traces.
  • Trained classifiers on cache occupancy patterns collected from real user browsing sessions.
  • Injected JavaScript into victim browsers to monitor cache behavior without requiring full control of the website.
  • Evaluated robustness against traffic-shaping defenses by simulating network-level obfuscation.
  • Proposed and tested a defense mechanism involving artificial cache activity to disrupt fingerprinting.

Experimental results

Research questions

  • RQ1Can website fingerprinting be effectively performed using only CPU cache side channels via JavaScript injection?
  • RQ2How does cache-based fingerprinting perform in the open-world model compared to closed-world settings?
  • RQ3To what extent is cache-based fingerprinting resilient to network-based defenses like traffic shaping?
  • RQ4How effective are modern browser countermeasures (e.g., reduced timer resolution) against cache-based fingerprinting?
  • RQ5Can artificial cache activity serve as a viable defense against cache-based website fingerprinting?

Key findings

  • Cache-based website fingerprinting achieves classification accuracy comparable to state-of-the-art network-based fingerprinting.
  • The method outperforms network-based fingerprinting when browser response caching is active, due to reduced network traffic variability.
  • The attack remains effective even when timer resolution is reduced to 100 ms, as in the Tor Browser, demonstrating resilience to browser-side countermeasures.
  • Artificial cache activity significantly reduces fingerprinting accuracy and can completely eliminate it when used in the Tor Browser.
  • The approach is robust across different hardware configurations, with classifiers trained on one system generalizing reasonably well to others.
  • Cache activity can serve as a noisy but usable signal for trace synchronization, even without precise timing alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.