Abstract
Deep Neural Networks (DNNs) have significantly enhanced traffic analysis capabilities, enabling the identification of encrypted web traffic with high precision. However, these models are vulnerable to adversarial perturbations. This paper introduces "blind" adversarial perturbations—a novel, input-agnostic method to defeat DNN-based network traffic analysis in real-time. Unlike traditional attacks, these perturbations do not require prior knowledge of the entire packet sequence, allowing them to be applied to live traffic as it flows across the wire.
Introduction
The rise of DNNs in the networking domain has empowered entities like ISPs to perform website fingerprinting and flow correlation with unprecedented accuracy. While adversarial examples are a known weakness of DNNs, applying them to network traffic presents unique challenges. Most existing attacks are "non-blind," requiring the full sequence of packets to compute optimal noise. In live environments, defenses must operate without knowledge of future traffic. Furthermore, network perturbations must adhere to physical constraints: delays must be non-negative, and packet sizes cannot exceed protocol limits.
Methodology
The proposed approach formulates perturbation generation as an optimization task centered on a perturbation generator model ($G$).
The Generator and Remapping
Instead of a static noise vector, a small neural network $G$ is trained to take a random trigger ($z$) and produce a perturbation vector. To ensure these perturbations are valid (e.g., non-negative delays), custom remapping functions ($M$) are employed. These functions enforce protocol constraints and limit jitter to maintain stealthiness.
GAN-based Regularization
To prevent perturbations from appearing suspicious, a Generative Adversarial Network (GAN) framework is used. A discriminator distinguishes between adversarial jitter and natural network noise (modeled via a Laplace distribution), forcing the generator to produce natural-looking patterns. The system manipulates three primary features: inter-packet delays (IPDs), packet sizes (via padding), and packet directions (via dummy packet injection).
Experimental Evaluation
The approach was evaluated against three state-of-the-art DNN-based systems: DeepCorr (flow correlation), Var-CNN (website fingerprinting), and Deep Fingerprinting (DF).
Key Results
The results indicate that DNN-based traffic analysis is remarkably fragile:
- DeepCorr: True positive rates dropped from 96% to 40% with minimal jitter (50ms standard deviation).
- Var-CNN: Accuracy decreased by 89.6% using blind timing perturbations.
- Website Fingerprinting: For the DF model, targeted misclassification reached 100% success with only 25% bandwidth overhead.
- Transferability: Direction-based perturbations showed over 96% transferability across different model architectures, proving effective in black-box scenarios.
Discussion and Conclusion
The "blind" nature of these perturbations is critical for practical deployment. Defenses can be applied on-the-fly by Tor relays or VPN clients without buffering traffic. However, there is an inherent trade-off between defense effectiveness and quality of service (latency/bandwidth). While adversarial training can mitigate these attacks, it is computationally expensive. Future research should focus on developing scalable, robust training methods tailored to the unique constraints of network traffic features.
Summary updated