Mockingbird: Defending Against Deep-Learning-Based Website Fingerprinting Attacks With Adversarial Traces

Mohammad Saidur Rahman, Mohsen Imani, Nate Mathews, Matthew Wright

Introduction

Website Fingerprinting (WF) attacks pose a significant threat to user privacy on encrypted networks like Tor. By analyzing the "shape" of traffic—specifically the timing and size of packet bursts—an ISP or local observer can identify the website a user is visiting with high precision. While traditional defenses used simple padding, modern Deep Learning (DL) classifiers, such as Deep Fingerprinting (DF), have become incredibly effective, achieving over 98% accuracy.

The Challenge: Adversarial Training

Existing defenses often fail because DL models are adept at finding patterns even in noisy traffic. Furthermore, if a defense follows a predictable mathematical gradient to hide traffic, attackers can employ adversarial training. By generating their own "defended" traces and adding them to their training sets, attackers teach their models to "see through" the noise, rendering the defense ineffective.

The Mockingbird Defense

Mockingbird introduces a novel defense mechanism that leverages adversarial traces to confuse DL-based attackers. Unlike standard adversarial attacks that seek the "shortest path" to misclassification, Mockingbird prioritizes non-determinism and sub-optimality to resist adversarial training.

System architecture of Mockingbird's adversarial trace generation.

Key Mechanisms

  1. Random Target Selection: Instead of just trying to "not look like Site A," Mockingbird picks a random "target" trace (Site B) from a pool and gradually perturbs the user's traffic to look more like that target.
  2. Dynamic Switching: During generation, Mockingbird periodically switches to a new random target. This creates a "random walk" in the trace space, making the defense non-deterministic and much harder for an attacker to learn via adversarial training.
  3. Burst-Level Padding: To maintain user experience, Mockingbird only adds dummy packets (padding) to existing traffic bursts. It never drops or delays real packets, which would otherwise introduce latency.
Visualization of packet bursts and the padding strategy used by Mockingbird.

Evaluation and Results

The researchers evaluated Mockingbird using Full-Duplex (FD) and Half-Duplex (HD) datasets, including an open-world scenario with over 40,000 unmonitored sites to simulate realistic internet usage.

  • Security: Against state-of-the-art DL attacks hardened with adversarial training, Mockingbird reduced classification accuracy from 98% to between 42% and 58%.
  • Efficiency: The defense achieves this with a 58% bandwidth overhead, which is significantly lower than many existing high-security defenses that often exceed 100% overhead.
  • Information Leakage: Analysis using the WeFDE framework confirmed that Mockingbird leaks significantly fewer bits of information about the underlying website compared to previous defenses like WTF-PAD or Walkie-Talkie.

Conclusion and Future Work

Mockingbird demonstrates that predictability is the primary weakness of modern traffic defenses. By embracing intentional "sub-optimality" and randomness, it provides a robust shield against sophisticated Deep Learning attacks while maintaining reasonable bandwidth efficiency.

Future work aims to address the challenges of live, packet-by-packet generation and reducing the computational cost for mobile devices. Additionally, the authors suggest that server-side participation (e.g., at a Tor bridge) could further enhance performance.

Summary updated

BibTeX
@article{rahman2021mockingbird,
  author = {Mohammad Saidur Rahman and Mohsen Imani and Nate Mathews and Matthew Wright},
  title = {{Mockingbird: Defending Against Deep-Learning-Based Website Fingerprinting Attacks With Adversarial Traces}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2021},
  doi = {10.1109/tifs.2020.3039691},
}
Figure