arXiv:2609.06322cs.CRSep 2026

Manuscript Offprint

arXiv:2609.06322

Inevitability of Encrypted Traffic Side-Channel Leakage in the Multi-Class Setting

Guangjie Liu, Guang Cheng, Weiwei Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Guangjie Liu 1^{1}, Guang Cheng 2^{2}, Weiwei Liu 3^{3}

1^{1}School of Electronic & Information Eng., Nanjing University of Information Science and Technology, Nanjing, China

2^{2}School of Cyber Science & Eng., Southeast University, Nanjing, China

3^{3}School of Automation, Nanjing University of Science and Technology, Nanjing, China

Abstract—The Side-Channel Existence Theorem proves I(X;Y)>0I(X;Y) > 0 in the binary, undefended setting, but is confined to pairwise arguments and ignores active defenses. We extend it to kk classes via the per-class decomposition I(X;Y)=∑iπiDKL(PY∣i∥PY)I(X;Y) = \sum_i \pi_i D_{\text{KL}}(P_{Y|i} \| P_Y), with defense cost modelled by per-class Wasserstein-1 constraints sup⁡xW1(QxD,Px)≤B\sup_x W_1(Q_x^D, P_x) \leq B. Three results follow: (1) a summation-form MI lower bound over all active classes; (2) a cascade critical cost theorem and a per-class budget corollary, nonzero where the uniform-budget bound vanishes; (3) an accuracy corollary Acc∗≥2I0/k>1/k\text{Acc}^* \geq 2^{I_0}/k > 1/k. On a 95-class website fingerprinting dataset the measured MI has a strictly positive 95% confidence lower bound under every defense tested. Against the strongest pairwise baseline—a convex program over all (k2)\binom{k}{2} triangle constraints, also Θ(1)\Theta(1) in kk under the same non-vanishing-gap conditions—the summation form is only 1.45×1.45 \times stronger, so the case for the per-class decomposition is structural: only it gives each class a critical cost and a cascade. FRONT's apparent 122×122 \times gap is inflated mainly by threshold exclusion rather than the inequality chain: on the active classes it is 21×21 \times, within 1.4×1.4 \times of the 15×15 \times measured undefended. Measuring the chain's two steps separately bounds the collapse onto one Lipschitz statistic below by 28×28 \times, against a divergence step measured at 1.5×1.5 \times. undefended OVR distinguishability predicts post-defense per-class leakage at Spearman ρ=0.62−0.77\rho = 0.62-0.77, the transfer the certification procedure relies on. The framework carries over unchanged to a 100-class QUIC/TCP pair.

Index Terms—Side-channel leakage, encrypted traffic analysis, website fingerprinting, mutual information, Wasserstein distance, multi-class classification, one-vs-rest distinguishability

I. INTRODUCTION

The Side-Channel Existence Theorem [1] establishes that in efficiency-first encrypted communication systems, the mutual information (MI) between the semantic variable XX and the observable YY is strictly positive: I(X;Y)≥12ln⁡2(ρ∣Δˉ−2LφC∣2)2>0I(X;Y) \geq \frac{1}{2\ln 2}(\frac{\rho|\bar{\Delta}-2L_{\varphi}C|}{2})^2 > 0, with Δˉ\bar{\Delta} a mean gap between the two semantics, CC a drift bound, LφL_{\varphi} a Lipschitz constant and ρ\rho a retention ratio (all defined in Sec. II). Two limitations are fundamental. First, the framework is binary (k=2k = 2)—a corollary extends it to “there exists at least one distinguishable pair,” still a pairwise argument that does not characterize the kk-class classification capability real attackers have. Second, it does not address active defenses such as padding and morphing, widely deployed in practice.

Multi-class classification is the realistic setting: website fingerprinting targets k=100−1000k = 100-1000 sites [3], [4], application identification dozens of types [6], video fingerprinting single titles [7]. Attacks scale with class count—CountMamba [5] generalizes over closed-world, open-world and defended settings—while defenses advance in step [8], [9]. None carries an information-theoretic guarantee: attackers do not know how well classification can theoretically do, defenders do not know how low MI can be pushed.

Prior information-theoretic treatments all speak about a given system: Li et al. [11] measured I(F;W)=6.63I(F; W) = 6.63 bits over 100 Tor sites against a log⁡2100≈6.64\log_2 100 \approx 6.64 ceiling; Cherubin [12] certified one defense via Bayes error bounds; FRUGAL [9] constructs defenses driving MI down; and closest to this work, [2] computes the exact minimum of I(X;Y)I(X; Y) in a stationary memoryless class at W1W_1 cost DD. None supplies a converse over all of D(B)\mathcal{D}(B): a positive lower bound for every defense meeting the cost constraint. That is what this paper adds—the missing half of a sandwich characterization whose achievability side is [2], [9].

The key insight is to exploit the per-class MI decomposition I(X;Y)=∑i=1kπiDKL(PY∣i∥PY)I(X;Y) = \sum_{i=1}^{k} \pi_i D_{\mathrm{KL}}(P_{Y|i} \| P_Y), where each term captures whether class ii can be identified from the population mixture. We introduce per-class one-vs-rest (OVR) distinguishability, model defense cost via Wasserstein-1 constraints, and establish three results:

  1. k-Class Inevitability Theorem (Theorem 1): a summation-form MI lower bound over all active classes, each contributing independently according to its OVR distinguishability— 1.45×1.45 \times stronger than the best pairwise construction, and unlike it a per-class certificate (Sec. IV-D).

  2. Cascade Critical Cost Theorem (Theorem 2): the ordered per-class critical costs are phase-transition thresholds. Its per-class budget corollary (Corollary 1) replaces the uniform budget by per-class costs BiB_{i} and the prior-weighted average Bˉ−i\bar{B}_{-i}, giving nonzero bounds where the uniform-budget bound vanishes.

  3. Attack Accuracy Corollary (Corollary 2): Acc∗≥2I0/k>1/k\text{Acc}^* \geq 2^{I_0}/k > 1/k for any valid bound I0I_0, with a prior-free per-class balanced-accuracy counterpart for skewed priors.

Scope. The core advance is a shift from “pairwise distinction” to “per-class identification from the mixture,” under a W1W_{1} defense budget. We do not replace attack-specific accuracy analyses (e.g. Deep Fingerprinting [3], over 98% accurate undefended) or derive the optimal defense within

D(B)\mathcal{D}(B). Lemma 1, Theorem 1 and Corollary 1 are proved in full, Theorem 2 and Corollary 2 in sketch. Code and results accompany the paper.