[Paper Review] Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep Learning
The paper introduces Deep Fingerprinting (DF), a CNN-based website fingerprinting attack that outperforms prior attacks, defeating WTF-PAD and partially defeating Walkie-Talkie, with strong open-world performance.
Website fingerprinting enables a local eavesdropper to determine which websites a user is visiting over an encrypted connection. State-of-the-art website fingerprinting attacks have been shown to be effective even against Tor. Recently, lightweight website fingerprinting defenses for Tor have been proposed that substantially degrade existing attacks: WTF-PAD and Walkie-Talkie. In this work, we present Deep Fingerprinting (DF), a new website fingerprinting attack against Tor that leverages a type of deep learning called Convolutional Neural Networks (CNN) with a sophisticated architecture design, and we evaluate this attack against WTF-PAD and Walkie-Talkie. The DF attack attains over 98% accuracy on Tor traffic without defenses, better than all prior attacks, and it is also the only attack that is effective against WTF-PAD with over 90% accuracy. Walkie-Talkie remains effective, holding the attack to just 49.7% accuracy. In the more realistic open-world setting, our attack remains effective, with 0.99 precision and 0.94 recall on undefended traffic. Against traffic defended with WTF-PAD in this setting, the attack still can get 0.96 precision and 0.68 recall. These findings highlight the need for effective defenses that protect against this new attack and that could be deployed in Tor.
Motivation & Objective
- Motivate and study whether deep learning can improve Website Fingerprinting (WF) attacks against Tor defenses.
- Design and evaluate a CNN-based DF attack that does not rely on hand-crafted features.
- Assess DF’s effectiveness against WTF-PAD and Walkie-Talkie in closed- and open-world settings.
- Provide data collection and empirical analysis to understand training data, epochs, and dataset size on DF performance.
- Propose directions for strengthening defenses based on empirical weaknesses found.
Proposed method
- Develop a CNN-based DF model with deeper architecture and tailored activation functions (ELU) for vector-type traffic input.
- Represent traces as fixed-length sequences of packet directions with sign indicating direction, using length 5,000 as input dimension.
- Pad/truncate traces to 5,000 cells and train with categorical cross-entropy loss for multi-class classification.
- Compare DF to state-of-the-art attacks (k-NN, CUMUL, k-FP, AWF) on undefended, WTF-PAD, and Walkie-Talkie datasets.
- Collect closed-world data from 95 sites with 1,000 traces per site and open-world data from up to 40,716 traces across many sites.
- Tune hyperparameters via block-by-block search and leverage transferability of hyperparameters to defended datasets.
Experimental results
Research questions
- RQ1Can a CNN-based WF attack outperform existing attacks on Tor traffic without defenses?
- RQ2Is the DF attack effective against lightweight defenses WTF-PAD and Walkie-Talkie in both closed- and open-world settings?
- RQ3How do training data size, epochs, and input length impact DF’s accuracy?
- RQ4What implications do the DF results have for designing robust WF defenses in Tor?
Key findings
- DF achieves 98.3% accuracy on Tor traffic without defenses, outperforming prior attacks.
- Against WTF-PAD, DF attains about 90% accuracy, significantly better than competing attacks.
- Against Walkie-Talkie, DF reaches 49.7% accuracy, higher than all other attacks and near the theoretical maximum.
- In open-world settings, DF yields 0.99 precision and 0.94 recall on undefended traffic.
- With WTF-PAD in open-world, DF achieves 0.96 precision and 0.68 recall.
- The work demonstrates that existing lightweight defenses may be insufficient against strong CNN-based WF attacks, informing defense design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.