Tik-Tok: The Utility of Packet Timing in Website Fingerprinting Attacks

Mohammad Saidur Rahman, Payap Sirinam, Nate Mathews, Kantha Girish Gangadhara, Matthew Wright · DOI

Abstract

Website Fingerprinting (WF) is a passive traffic analysis attack that allows an eavesdropper to deanonymize Tor users by observing encrypted traffic patterns. While packet timing has often been dismissed as too volatile for reliable analysis due to network jitter, this paper introduces Tik-Tok, an attack that demonstrates the significant utility of timing information. By utilizing burst-level features and a novel "directional timing" representation within a deep learning framework, Tik-Tok achieves over 98% accuracy on undefended Tor traffic and significantly outperforms existing attacks against state-of-the-art defenses like WTF-PAD.

Introduction

The Tor network protects user privacy by routing traffic through three layers of encryption. However, it remains vulnerable to Website Fingerprinting (WF) attacks, where a local observer (such as an ISP) analyzes the patterns of encrypted packets—their sizes, directions, and timing—to identify the websites being visited. Historically, researchers focused on packet sequences and directions, discounting timing as too "noisy." Tik-Tok challenges this assumption, proving that timing contains unique, non-redundant information that can be exploited by modern deep learning models to bypass current privacy defenses.

Methodology

The researchers propose two primary approaches to weaponize timing data:

1. Handcrafted Burst-Level Features

Instead of analyzing individual packets, the authors group consecutive packets in the same direction into "bursts." They extract eight robust features, such as the Median Packet Time (MED) and Inter-Median Delay (IMD), to capture higher-level application behavior (e.g., a browser requesting an image and the server responding) rather than low-level network artifacts.

Burst-level feature extraction process

2. The Tik-Tok Attack (Directional Timing)

The core of the Tik-Tok attack is the use of "directional timing." Traffic is represented as a 1D vector where each element is the product of a packet's timestamp and its direction (+1 for outgoing, -1 for incoming). This representation allows the model to learn the "rhythm" of a website's loading process.

Packet timestamp and direction data organized by bursts

This vector is then processed by a Deep Fingerprinting (DF) model, a sophisticated Convolutional Neural Network (CNN) that learns to ignore network noise and identify the underlying heartbeat of the traffic.

Key Results

The Tik-Tok attack was evaluated across several scenarios, demonstrating superior performance compared to direction-only attacks:

  • Undefended Tor Traffic: Achieved 98.4% accuracy.
  • WTF-PAD Defense: Reached 93.5% accuracy, several points higher than attacks relying solely on directional information.
  • Onion Site Deanonymization: Improved accuracy by 12% (reaching 64.7%) compared to direction-only baselines.
  • Open-World Setting: Maintained a high precision of 0.979 on WTF-PAD traffic, proving its effectiveness in realistic environments where users visit a wide variety of sites.
  • Undermining Walkie-Talkie: The attack achieved 97% accuracy against simulated Walkie-Talkie defenses, essentially rendering the defense ineffective.

Discussion and Conclusion

Information-theoretic analysis confirms that timing features provide information that is mutually exclusive to directional features, making the classifier significantly more robust. The study also highlights a "simulation gap," where real-world implementation issues in defenses like Walkie-Talkie create leaks that Tik-Tok can exploit. The findings suggest that future traffic analysis defenses must explicitly manipulate packet timing—through methods like constant-rate padding or heavy jitter—to be effective against modern deep-learning-based attacks.

Summary updated

BibTeX
@inproceedings{rahman2020tik,
  author = {Mohammad Saidur Rahman and Payap Sirinam and Nate Mathews and Kantha Girish Gangadhara and Matthew Wright},
  title = {{Tik-Tok: The Utility of Packet Timing in Website Fingerprinting Attacks}},
  booktitle = {Proc. Priv. Enhancing Technol},
  year = {2020},
  url = {https://openreview.net/forum?id=H8XW2X_xKec},
}

Loading related content...

Figure