Abstract
Website fingerprinting allows an eavesdropper to identify encrypted web traffic by analyzing patterns such as packet sizes and timing. While previous defenses like "traffic morphing" aimed to disguise packet size distributions, this study demonstrates that the order of packets remains a highly distinctive and robust feature. By employing Levenshtein distance to compare sequences of packet sizes, the authors achieve up to 97% identification accuracy. Furthermore, the proposed method identifies 78% of traffic even when morphing defenses are applied, proving that distribution-based countermeasures are insufficient against sequence-aware attacks.
Introduction
Website fingerprinting is a side-channel attack where a passive observer, often referred to as a "warden," attempts to identify the specific website a user is visiting. This is possible even when the traffic is encapsulated within an encrypted tunnel, such as a Virtual Private Network (VPN) or an SSH tunnel.
Historically, research in this field focused on packet size distributions—the frequency of specific packet sizes. To counter this, "traffic morphing" was proposed to alter these distributions to match a different "target" website. This paper investigates whether the sequence of packets, rather than just their distribution, provides enough information to bypass such defenses.
Methodology
The authors introduce a fingerprinting scheme based on Ordered Feature Sequences. The core idea is that the structural order of web object requests and responses is inherently tied to the website's architecture.
Feature Selection and Representation
To reduce noise, the system filters out control packets and bulk data packets (MTU-sized). It focuses on the "tails" of data chunks, which are more characteristic of individual web objects. Each website visit is represented by two sequences:
- HTTP Request Sizes: Reflects the relative locations and URL lengths of embedded objects.
- Non-MTU Response Sizes: Captures the unique sizes of the final packets in object responses.
Similarity Measurement
Instead of using set-based metrics like Jaccard’s coefficient, the authors utilize Levenshtein distance (edit distance). This metric accounts for insertions, deletions, and substitutions, thereby preserving the critical information contained in the packet order.
Experimental Results
The scheme was evaluated across several datasets, including static50, dynamic150, OpenVPN1000, and OpenSSH2000.
- Accuracy: The method achieved a peak accuracy of 97% on the OpenVPN1000 dataset. On the OpenSSH2000 benchmark, it reached 81% accuracy, an 11% improvement over previous state-of-the-art techniques.
- Resilience to Countermeasures: The most significant finding was the scheme's performance against traffic morphing. While previous methods saw identification rates drop to 52% under morphing, the proposed sequence-based approach maintained 78% accuracy.
- Stability: Fingerprints remained remarkably stable over time, with only 6% of websites requiring updates after one month.
Discussion and Conclusion
The study reveals a fundamental "morphing loophole." Because traffic morphing aims for bandwidth efficiency, it typically maps source packets to the nearest target sizes, preserving the underlying sequence structure. For a defense to be truly effective against sequence analysis, it would need to morph $n$-grams of packets, which incurs a prohibitive bandwidth overhead.
While aggressive padding (e.g., padding all packets to MTU) remains an effective defense, its high cost (>150% overhead) makes it impractical for many users. The authors conclude that packet ordering is a robust feature that must be addressed in the design of future privacy-preserving protocols.
Summary updated