TSA-WF: Exploring the Effectiveness of Time Series Analysis for Website Fingerprinting

Procedure 1) First, obtain raw datasets from the Github of the Jin et al. Paper. - These should be placed into ../datasets/no_defense/test and ../datasets/no_defense/train. Ensure pipelinetools.py (which contains all the processing and functionality) is in the same directory as the jupyter notebooks. 2) (Optional) Create synthetic multi-tab merged traces using create_merged_traces.ipynb. This will produce ../datasets/no_defense/train_X-tab and ../datasets/no_defense/test_X-tab files. Here, you can configure the number of tabs and overlap between tabs. 3) (Optional) Combine the datasets into a single, large file with merge-files.ipynb. 4) Then, generate shapelet data from the merged datasets with generate-shapelets.ipynb. This will produce shapelets under ../datasets/no_defense/shapelets. Note that regardless of the number of tabs used, the same shapelets will be created from the original data obtained in 1). 5) Compute distances between the dataset and shapelets using compute-distances.ipynb. This will produce distance computations within the ../results/data/X/ folder of the format type={pos,neg}_centroid_id={0,1}_tabs={3,5,7}_dataset={no_defense,...,overlaps,...,defenses}_set={train,test}. 6) Finally, the accuracy scores can be generated with merge-results_classify.ipynb. For demonstration purposes, this is a random forest (XGBoost was used in Table 4), replace with your choice. The Accuracy score will be printed in the notebook. 7) (Optional) To find trace locations in multi-tab traces (From Section 5.4) use check_distances.ipynb. For demonstration purposes we use a random forest classifier, but this can be replaced with any (e.g., TSA-WF/DF/Tik-Tok). Note that the label used is configurable as True, Random, or Predicted. 8) (Optional) Defended traces can be generated by repeating steps 2) - 7) after applying the code provided by the defense's Github Repositories Note: Charts in the paper were created in check_distances_chart.ipynb and graph_figures.ipynb.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-08-11
DOI
https://doi.org/10.5281/zenodo.14991187
Primary Topic
Biometric Identification and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TSA-WF: Exploring the Effectiveness of Time Series Analysis for Website Fingerprinting

Zenodo (CERN European Organization for Nuclear Research)
Biometric Identification and Security
article

TSA-WF: Exploring the Effectiveness of Time Series Analysis for Website Fingerprinting

article en

Abstract

Procedure 1) First, obtain raw datasets from the Github of the Jin et al. Paper. - These should be placed into ../datasets/no_defense/test and ../datasets/no_defense/train. Ensure pipelinetools.py (which contains all the processing and functionality) is in the same directory as the jupyter notebooks. 2) (Optional) Create synthetic multi-tab merged traces using create_merged_traces.ipynb. This will produce ../datasets/no_defense/train_X-tab and ../datasets/no_defense/test_X-tab files. Here, you can configure the number of tabs and overlap between tabs. 3) (Optional) Combine the datasets into a single, large file with merge-files.ipynb. 4) Then, generate shapelet data from the merged datasets with generate-shapelets.ipynb. This will produce shapelets under ../datasets/no_defense/shapelets. Note that regardless of the number of tabs used, the same shapelets will be created from the original data obtained in 1). 5) Compute distances between the dataset and shapelets using compute-distances.ipynb. This will produce distance computations within the ../results/data/X/ folder of the format type={pos,neg}_centroid_id={0,1}_tabs={3,5,7}_dataset={no_defense,...,overlaps,...,defenses}_set={train,test}. 6) Finally, the accuracy scores can be generated with merge-results_classify.ipynb. For demonstration purposes, this is a random forest (XGBoost was used in Table 4), replace with your choice. The Accuracy score will be printed in the notebook. 7) (Optional) To find trace locations in multi-tab traces (From Section 5.4) use check_distances.ipynb. For demonstration purposes we use a random forest classifier, but this can be replaced with any (e.g., TSA-WF/DF/Tik-Tok). Note that the label used is configurable as True, Random, or Predicted. 8) (Optional) Defended traces can be generated by repeating steps 2) - 7) after applying the code provided by the defense's Github Repositories Note: Charts in the paper were created in check_distances_chart.ipynb and graph_figures.ipynb.

Zenodo (CERN European Organization for Nuclear Research)
University of Waterloo (CA)
Openalex Percentile: Top 49%
Biometric Identification and Security
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.

TSA-WF: Exploring the Effectiveness of Time Series Analysis for Website Fingerprinting · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS