Skip to main content
QUICK REVIEW

[Paper Review] Robust Machine Learning for Encrypted Traffic Classification

Amit Dvir, Yehonatan Zion|arXiv (Cornell University)|Mar 15, 2016
Internet Traffic Analysis and Secure E-votingComputer Science67 references5 citations
TL;DR

This paper proposes a robust machine learning framework for classifying encrypted HTTPS traffic to infer user identity (OS, browser, application) despite adversarial countermeasures. By leveraging novel features from SSL/TLS handshake behavior and browser traffic bursts, the system achieves 96.06% accuracy and remains highly resilient to protocol changes (94% accuracy with cipher suite shifts) and network obfuscation (83% with VPN), even with minimal training data or short session times.

ABSTRACT

Desktops and laptops can be maliciously exploited to violate privacy. In this paper, we consider the daily battle between the passive attacker who is targeting a specific user against a user that may be adversarial opponent. In this scenario, while the attacker tries to choose the best vector attack by surreptitiously monitoring the victims encrypted network traffic in order to identify users parameters such as the Operating System (OS), browser and apps. The user may use tools such as a Virtual Private Network (VPN) or even change protocols parameters to protect his/her privacy. We provide a large dataset of more than 20,000 examples for this task. We run a comprehensive set of experiments, that achieves high (above 85) classification accuracy, robustness and resilience to changes of features as a function of different network conditions at test time. We also show the effect of a small training set on the accuracy.

Motivation & Objective

  • To address the growing threat of passive traffic analysis on encrypted HTTPS traffic despite end-to-end encryption.
  • To develop a machine learning system that can reliably infer user OS, browser, and application from encrypted traffic, even when users actively try to evade detection.
  • To evaluate robustness against adversarial behaviors such as using VPNs or changing cipher suites during testing.
  • To assess performance under realistic constraints like limited training data and short session durations.
  • To provide a practical, real-time classification system for threat intelligence and privacy analysis.

Proposed method

  • The system extracts new features from SSL/TLS handshake patterns and application-level traffic bursts, focusing on timing and packet size distributions.
  • It uses supervised machine learning classifiers—KNN, SVM with RBF kernel, Random Forest—trained on a large, automatically labeled dataset of 20,633 encrypted traffic sessions.
  • Features include peak detection in packet inter-arrival times, statistical summaries of traffic bursts, and common protocol-level statistics.
  • The framework is evaluated under adversarial conditions: users change cipher suites or use VPNs during testing, while models are trained on standard configurations.
  • The training process uses automated labeling to reduce human annotation burden, and models are tested on progressively shorter session windows (1s to 10min).
  • Robustness is evaluated via accuracy degradation under protocol changes and reduced data, with performance measured across multiple classifiers.

Experimental results

Research questions

  • RQ1Can machine learning accurately classify user OS, browser, and application from encrypted HTTPS traffic despite strong encryption?
  • RQ2How does the system perform when users actively evade detection using tools like VPNs or changing cipher suites?
  • RQ3What is the impact of limited training data or short session durations on classification accuracy?
  • RQ4How do novel features derived from SSL/TLS behavior and traffic burstiness improve classification robustness?
  • RQ5To what extent can the system maintain high accuracy under adversarial manipulation during inference?

Key findings

  • The proposed system achieves 96.06% classification accuracy for identifying the user’s OS, browser, and application using novel features from SSL/TLS handshake and traffic burst patterns.
  • When users change cipher suites during testing (a common countermeasure), the system maintains 94% accuracy, demonstrating strong resilience to protocol-level obfuscation.
  • With the use of a VPN during testing, the system’s accuracy drops to 83%, but remains effective, showing that network-level obfuscation does not fully defeat the classifier.
  • Even with only 500 training samples (2.4% of the full dataset), the system achieves 85% accuracy, indicating strong generalization from small datasets.
  • Short session times (as low as 1 second) have minimal impact on performance, with accuracy remaining near 94% for 10-second sessions and comparable to 1-second results, enabling real-time deployment.
  • Testing time is under 1 second across all classifiers, confirming feasibility for real-time network monitoring and deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.