arXiv(opens in a new tab)cs.CRAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.22683

The Colossus with Feet of Clay: Debunking Encrypted Traffic Classifiers under PQC Evolution

Bingzhen Li, Lingjia Meng, Runhan Song, Chuanzhou Pan, Tongjun Pu, Ziqiang Ma, Yupeng Jiang, Lei Cui, Zhiyu Hao

Bingzhen Li 1^{1}, Lingjia Meng 2,⊗^{2,\otimes}, Runhan Song 2^{2}, Chuanzhou Pan 2^{2}, Tongjun Pu 3^{3}, Ziqiang Ma 3^{3}, Yupeng Jiang 1^{1}, Lei Cui 2^{2}, Zhiyu Hao 2^{2}

1^{1}School of Cyber Science and Technology, Beihang University, Beijing, China

2^{2}Zhongguancun Laboratory, Beijing, China

3^{3}School of Information Engineering, Ningxia University, Ningxia, China

Abstract—Encrypted traffic classifiers often achieve high accuracy under matched training and testing conditions, implicitly assuming that deployment traffic follows the training distribution. TLS migration toward post-quantum cryptography (PQC) challenges this assumption because hybrid key establishment can reshape observable traffic without changing application labels. We frame this change as PQC-induced protocol drift and study its effects through closed-world HTTPS website fingerprinting using the deployed TLS 1.3 Hybrid-PQC group X25519MLKEM768. We build a controlled, PQC-aware benchmark pairing Traditional (Non-PQC) and Hybrid-PQC traffic, then evaluate five representative classifiers and side-channel representations under matched-domain, cross-domain, and deployment-ratio settings. Collectively, the experiments show that PQC evolution does not remove learnable website information. Instead, it changes how that information appears in traffic, causing classifiers and feature combinations that perform well in-domain to lose reliability across cryptographic domains. By exposing the fragility of matched-domain evaluation, we offer strategic guidance, identify cross-domain robustness as a research priority, and recommend protocol-aware practices for dependable real-world encrypted traffic classification. The code is available at http://anonymous.4open.science/r/PQ-WF-Eval.

Index Terms—Encrypted Traffic Classification, Post-Quantum Cryptography, Protocol Drift, Website Fingerprinting.

I. INTRODUCTION

Encrypted traffic classifiers are typically evaluated with training and test traffic drawn from the same distribution, implicitly assuming that this distribution remains representative after deployment [1]–[3]. One representative security task in this area is closed-world HTTPS website fingerprinting (WF) [4], [5], in which a passive adversary infers the visited website without decrypting TLS payloads. The adversary does so by exploiting packet lengths, directions, timing, and byte-level packet representations [6]–[10]. Under matched training and testing conditions, prior WF methods have reported high classification accuracy. Such results, however, do not establish whether classifiers remain reliable as the underlying cryptographic protocol stack evolves.

The deployment of post-quantum cryptography (PQC) provides a concrete instance of this evolution. TLS migration currently centers on hybrid key establishment, which combines a traditional key exchange with a PQC key-encapsulation mechanism (KEM) [11], [12]. We focus on the deployed TLS 1.3 Hybrid-PQC group X25519MLKEM768. Compared with the Traditional (Non-PQC) X25519, this group introduces substantially larger key shares and expands the corresponding handshake messages. These additional bytes can alter TCP segmentation, packet positions, and timing [13]–[15]. Thus, although the website label is unchanged, the key-establishment mechanism can reshape the observable traffic trace used for classification.

Distribution drift arises when the traffic distribution observed during deployment differs from that represented in the training data. Within this broader category, we define protocol drift as shifts in traffic distribution resulting from the evolution or deployment of protocol mechanisms. Unlike temporal, network, or application drift, protocol drift alters the traffic-generation process under otherwise fixed experimental conditions [14], [16]–[18]. The transition from Traditional (Non-PQC) X25519 to Hybrid-PQC X25519MLKEM768 key establishment provides a concrete instance of PQC-induced protocol drift. We examine its effects through closed-world HTTPS website fingerprinting. Accordingly, this study investigates how the transition to PQC in TLS affects the reliability of encrypted traffic classifiers.

This transition presents two closely related challenges for evaluating encrypted traffic classifiers.

• Representation shifts despite stable task semantics. The larger key shares introduced by PQC key establishment increase TLS handshake message sizes and may alter packet-length sequences, burst boundaries, TCP segmentation, and byte-level alignment [11], [15], [19]. These changes reshape classifier inputs even though the website label and application semantics remain unchanged. Classifiers may consequently learn configuration-specific correlations that fail to transfer across cryptographic domains.

• Deployment heterogeneity and cross-domain mismatch. The Internet is unlikely to transition directly from Traditional key establishment to a single PQC configuration. Traditional, Hybrid-PQC, and future Pure-PQC mechanisms may therefore coexist throughout an extended migration period [3], [13]. Once deployed, a classifier trained in one cryptographic domain may encounter traffic from a mixture of configurations, some absent from its training data. Matched-domain accuracy alone cannot characterize this mismatch or its sensitivity to the Hybrid-PQC deployment ratio.

We examine these effects using a controlled, PQC-aware encrypted traffic benchmark. First, we measure the deployment of TLS key-establishment mechanisms across 2,060 Trancor-ranked websites and select the 200 highest-ranked websites supporting X25519MLKEM768 as collection candidates [20], [21]. After validation, 195 websites remain in the shared label set. For each retained website and cryptographic configuration, we collect 120 complete visits, which form the Non-PQC Website Dataset and PQC Website Dataset, respectively. Four Mixed test sets, together with the two endpoint test sets, span six Hybrid-PQC deployment ratios from 0% to 100%. Under a common closed-world WF task with visit-level partitions, we evaluate CUMUL, DF, Tik-Tok, ET-BERT, and YaTC while retaining their native inputs and preprocessing pipelines [6]–[10]. The evaluation examines matched-domain learnability, bidirectional cross-domain transfer, sensitivity to Hybrid-PQC deployment ratios, and the contributions of side-channel features.

Matched-domain results show that website identity remains learnable in either cryptographic domain. Each classifier achieves comparable performance in the two matched-domain settings. For example, ET-BERT achieves accuracies of 0.9316 and 0.9332, while YaTC obtains 1.0000 and 0.9991. This learnability, however, does not ensure cross-domain reliability. When models trained on Non-PQC traffic are applied to Hybrid-PQC traffic, the accuracies of CUMUL, ET-BERT, and YaTC drop from 0.7731, 0.9316, and 1.0000 to 0.1919, 0.6255, and 0.3582, respectively. We next examine how this mismatch changes during migration. As the Hybrid-PQC deployment ratio increases, performance declines monotonically for four classifiers, whereas YaTC follows a non-monotonic trajectory; none maintains its Non-PQC baseline across the full range. Finally, controlled comparisons of side-channel representations show that packet length is the most discriminative individual feature, although its advantage diminishes as the Hybrid-PQC deployment ratio increases. Direction and timing provide limited additional benefit. Overall, PQC migration creates classifier mismatch without eliminating learnable website information.

The main contributions are as follows.

• PQC-aware traffic benchmark for isolating protocol drift. To the best of our knowledge, we introduce the first encrypted traffic benchmark designed to isolate distribution shifts induced by PQC key establishment. Its paired Non-PQC and Hybrid-PQC datasets and controlled Mixed test sets support evaluation across cryptographic domains and deployment ratios while holding the label space and visit-level partitions fixed.

• Systematic evaluation of cross-domain classifier reliability under PQC-induced protocol drift. We assess five representative classifiers spanning aggregate statistics, packet sequences, timing-aware inputs, and pre-trained byte-level representations. Contrasting matched-domain and cross-domain performance separates domain-specific learnability from transfer reliability.

• Controlled analysis of side-channel feature transferability. Using DF as a fixed architecture, we isolate the individual and combined contributions of packet direction, length, and timing. Packet length remains the strongest individual feature, yet no evaluated feature composition prevents cross-domain degradation. These findings offer practical guidance for feature engineering in traffic analysis as cryptographic protocols evolve.

The remainder of this paper is organized as follows. Section II reviews background and related work. Section III analyzes PQC-induced changes in TLS 1.3 traffic and formulates the corresponding hypotheses. Section IV describes the construction of the PQC-aware benchmark. Section V evaluates representative classifiers under PQC-induced protocol drift, Section VI discusses the implications, and Section VII concludes the paper.

References (58)