Website Detection Using Remote Traffic Analysis

Xun Gong, Nikita Borisov, Negar Kiyavash, Nabil Schear

TL;DR

This paper introduces a novel remote traffic analysis attack that allows an adversary to detect which websites a user is visiting without direct access to their network traffic. By exploiting a "queuing side channel" in routers, attackers can infer user browsing activity from a distant location, posing a significant threat to online privacy.

What Problem Does This Paper Address?

Traditional traffic analysis attacks, which infer user activity from network traffic patterns, typically require the attacker to be a "local adversary" – meaning they have direct access to the target's network, perhaps by being on the same Wi-Fi or having a compromised network device. This paper addresses the gap of how such attacks can be performed by a "remote adversary" who is geographically distant and has no direct access to the target's network. The challenge is to extract meaningful information from traffic patterns that are significantly noisier and less granular when observed remotely. This has implications for user privacy, as sensitive browsing habits could be exposed without the user's knowledge or consent.

Methods

The core of the paper's contribution lies in its novel approach to remote traffic analysis. Instead of directly observing traffic, the attacker exploits a queuing side channel in routers. This is achieved by sending frequent, low-rate "probe" packets (e.g., ICMP echo requests or "pings") to the target's router and measuring their Round-Trip Times (RTTs).

Here's a breakdown of the key techniques:

  • Queuing Side Channel: The attacker sends probes to the target's router and measures the RTT. A significant component of this RTT is the queueing delay at the router's buffer. When the target user is actively downloading traffic (e.g., browsing a website), this traffic can cause the router's queue to grow, increasing the delay for the attacker's probe packets. By observing these RTT variations, the attacker can infer the size and timing of the user's downloaded packets.
  • Remote Observation: The attacker can be located anywhere with a good internet connection, even in a different country. The paper demonstrates that the "last-mile" hop (e.g., DSL line) is often the bottleneck, making its queueing delay more pronounced and detectable even from afar.
  • Traffic Pattern Recovery Algorithm: The paper proposes an algorithm to reconstruct approximate traffic patterns from the observed RTTs. This involves estimating arrival and departure times of packets and inferring the size of incoming HTTP packets based on the observed queueing delays.
  • Dynamic Time Warping (DTW) for Website Fingerprinting: To overcome the noise and synchronization issues inherent in remote traffic analysis, the authors adapt website fingerprinting techniques. They use DTW, a method commonly used in speech processing, to find the best alignment between time series of website traffic patterns. This allows for robust comparison of noisy fingerprints.
  • Virtual Training Environment: To create realistic training data for website fingerprints, the authors set up a virtual environment that emulates a DSL link and a user's browsing behavior. This allows them to generate fingerprints under controlled conditions that mimic the attacker's remote observation.

Datasets

  • Real-world DSL traffic: The paper uses data collected from a home DSL line in the USA, with a remote attacker in Montreal, Canada, sending probes.
  • Emulated DSL link: A virtual testbed was created using Dummynet to replicate DSL link conditions for training purposes.
  • Website Fingerprints: Fingerprints were collected for the front pages of 1000 popular websites (from Alexa's top list).
  • Warrior Forum Data: For the deanonymization scenario, samples were collected from 100 different posts on the www.warriorforum.com website.

Key Insights and Ideas

  • Privacy Threat Amplified: The paper demonstrates that traffic analysis is a more significant privacy threat than previously understood, as it can be performed remotely with relatively low cost and effort.
  • Queuing Delay as a Rich Side Channel: The queuing delay in routers, often overlooked, proves to be a surprisingly effective side channel for inferring detailed traffic patterns.
  • DTW's Efficacy for Noisy Data: Dynamic Time Warping is crucial for making website fingerprinting robust against the inherent noise and temporal variations in remotely observed traffic.
  • Training Environment Matters: The accuracy of the attack is significantly influenced by how well the training environment replicates the target's network conditions. Discrepancies between simulated and real-world environments can lead to performance degradation.
  • Website Variability: The success of the attack is highly dependent on the target website. Some sites with stable content and predictable traffic patterns are much easier to fingerprint than those with dynamic content or complex CDNs.

Key Results

  • Remote Website Detection: The attack successfully detected visits to a significant fraction of tested websites with low false-positive rates (as low as 0.5%) and acceptable false-negative rates (e.g., 17% or below for some sites).
  • Deanonymization Feasibility: The paper shows that the technique can be used for deanonymization, successfully linking forum posts to specific users by matching browsing traces to website visits.
  • Low Cost and Accessibility: The attack is characterized by low cost, requiring only a well-provisioned internet connection and minimal bandwidth for probes. This makes it accessible to a wide range of potential attackers.
  • Variable Accuracy: While successful for many sites, the accuracy of the detection varies. For some sites, the attack was unable to achieve any true positives even with a 5% false-positive rate, due to factors like short traces or highly variable content.

Limitations and Future Work

  • Multiple Users: The current attack cannot distinguish between traffic from multiple users sharing the same link. Future work could explore blind source separation techniques to address this.
  • Dynamic Websites: Websites that frequently change their content or structure can pose a challenge, as their fingerprints may become outdated. Continuous updating of training sets is suggested.
  • Content Distribution Networks (CDNs): Websites using CDNs can present localized versions of content, requiring the attacker to obtain fingerprints for the specific version the user is accessing.
  • Cache Issues: The experiments assumed disabled browser caching. Future work could explore how to handle cached content, potentially by building fingerprints for different time intervals since the last visit.
  • Victim's IP Address: The attacker needs to know the victim's IP address, which is typically obtainable through various protocols or reconnaissance methods.
  • Training Environment Replication: Achieving high accuracy requires accurately replicating the target's network conditions. Further work on tuning virtual environments or using actual hardware is suggested.

Summary updated

BibTeX
@inproceedings{gong2012website,
  author = {Xun Gong and Nikita Borisov and Negar Kiyavash and Nabil Schear},
  title = {{Website Detection Using Remote Traffic Analysis}},
  booktitle = {Privacy Enhancing Technologies},
  year = {2012},
  doi = {10.1007/978-3-642-31680-7\_4},
}
Figure