Applied Sciences

Encrypted Network Traffic Generation Using a Conditional Diffusion Model

Yansong Li, Shuren Liu, Yanan Li, Xiangyang Zhang, Wuyang Yang, Jiarun Wang

Key points

From the paper's conclusion
  • These results concern application-category classification on the collected dataset under the stated grouped partitioning protocol; they do not establish generalization to unseen DApps.

Abstract

Decentralized applications (DApps) have developed rapidly owing to their censorship resistance, user autonomy, and distributed architecture. However, privacy and regulatory restrictions can limit access to representative traffic samples, while class imbalance complicates traffic classification. To address these challenges, this paper proposes the Traffic-Conditioned Diffusion Model (TCDM) for encrypted traffic feature generation. TCDM uses separate preprocessing pipelines for direction-signed TLS record-body-length sequences and packet payload features, with an independently trained diffusion model for each representation. During generation, application-category labels and session-level metadata condition the diffusion process. Experiments show that TCDM achieves lower Fréchet Inception Distance (FID) scores than the evaluated baseline implementations for both feature-generation tasks. In 12-class DApp application-category classification, the classifier trained exclusively on TCDM-generated samples achieves approximately 97% overall accuracy, representing an improvement of approximately 4 percentage points over the baseline trained solely on original real samples. These results concern application-category classification on the collected dataset under the stated grouped partitioning protocol; they do not establish generalization to unseen DApps.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers