FlowCoPCL: Enhanced Flow Correlation Attacks on Tor Using Patching and Contrastive Learning

Flow correlation is a key technique for deanonymization attacks on Tor, while Tor can be used to achieve anonymous communication between Internet of Things (IoT) nodes in edge intelligence. Recent works treat flows as time series and use Convolutional Neural Network (CNN) to extract flow embeddings to improve the effectiveness of flow correlation attacks. However, unlike the consistent time intervals of data points in general time series, the arrival time intervals between flow packets are unequal, so the flow embeddings extracted are temporal inconsistent, which affects the effectiveness of flow correlation attacks. To address this challenge, we propose enhanced Flow Correlation attacks on Tor using Patching and Contrastive Learning (FlowCoPCL). First, FlowCoPCL uses a time-based patching mechanism to split the flow into patches of the same duration. The patch embeddings are extracted as the input of the CNN model to ensure the temporal consistency of the flow embeddings. Second, FlowCoPCL adapts the contrastive learning framework SimCLR to train the feature embedding networks, which enables the model to learn flow embeddings efficiently. The experimental results demonstrate that FlowCoPCL significantly outperforms existing flow correlation attacks on Tor, achieving over 99% True Positive Rate (TPR) at 10<sup>−5</sup> False Positive Rate (FPR). Additionally, FlowCoPCL shows the robustness against website fingerprinting defenses.

Authors

Publication Details

Journal
Tsinghua Science & Technology
Published
2025-10-21
DOI
https://doi.org/10.26599/tst.2024.9010165
Citations
1
Primary Topic
Internet Traffic Analysis and Secure E-voting
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FlowCoPCL: Enhanced Flow Correlation Attacks on Tor Using Patching and Contrastive Learning

Tianlang Zhang, Kaipeng Li, Weina Niu, Yanfeng Zhang et al.
1 citations
Tsinghua Science & Technology
Internet Traffic Analysis and Secure E-voting
2.48
article

FlowCoPCL: Enhanced Flow Correlation Attacks on Tor Using Patching and Contrastive Learning

Tianlang Zhang, Kaipeng Li, Weina Niu, Yanfeng Zhang, Ruoyu Wang, Xiaosong Zhang, Shiping Huang
article en
1 citations

Abstract

Flow correlation is a key technique for deanonymization attacks on Tor, while Tor can be used to achieve anonymous communication between Internet of Things (IoT) nodes in edge intelligence. Recent works treat flows as time series and use Convolutional Neural Network (CNN) to extract flow embeddings to improve the effectiveness of flow correlation attacks. However, unlike the consistent time intervals of data points in general time series, the arrival time intervals between flow packets are unequal, so the flow embeddings extracted are temporal inconsistent, which affects the effectiveness of flow correlation attacks. To address this challenge, we propose enhanced Flow Correlation attacks on Tor using Patching and Contrastive Learning (FlowCoPCL). First, FlowCoPCL uses a time-based patching mechanism to split the flow into patches of the same duration. The patch embeddings are extracted as the input of the CNN model to ensure the temporal consistency of the flow embeddings. Second, FlowCoPCL adapts the contrastive learning framework SimCLR to train the feature embedding networks, which enables the model to learn flow embeddings efficiently. The experimental results demonstrate that FlowCoPCL significantly outperforms existing flow correlation attacks on Tor, achieving over 99% True Positive Rate (TPR) at 10<sup>−5</sup> False Positive Rate (FPR). Additionally, FlowCoPCL shows the robustness against website fingerprinting defenses.

Tsinghua Science & TechnologyVol. 31(2)
National Natural Science Foundation of China, Natural Science Foundation of Sichuan Province
Openalex Percentile: Top 8%
Internet Traffic Analysis and Secure E-voting
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.