Non-uniformity is All You Need: Efficient and Timely Encrypted Traffic Classification With ECHO

Anat Bremler-Barr, David Hay, Tal Shapira, Shilo Daum
arxiv,
2024
Technical reports
Cybersecurity

Abstract

With 95% of Internet traffic now encrypted, an effective approach to classifying this traffic is crucial for network security and management. This paper introduces ECHO — a novel optimization process for ML/DL-based encrypted traffic classification. ECHO targets both classification time and memory utilization and incorporates two innovative techniques.
The first component, HO (Hyperparameter Optimization of binnings), aims at creating efficient traffic representations. While previous research often uses representations that map packet sizes and packet arrival times to fixed-sized bins, we show that non-uniform binnings are significantly more efficient. These non-uniform binnings are derived by employing a hyperparameter optimization algorithm in the training stage. HO significantly improves accuracy given a required representation size, or, equivalently, achieves comparable accuracy using smaller representations.
Then, we introduce EC (Early Classification of traffic), which enables faster classification using a cascade of classifiers adapted for different exit times, where classification is based on the level of confidence. EC reduces the average classification latency by up to 90\%. Remarkably, this method not only maintains classification accuracy but also, in certain cases, improves it.
Using three publicly available datasets, we demonstrate that the combined method, Early Classification with Hyperparameter Optimization (ECHO), leads to a significant improvement in classification efficiency.

@misc{daum2024nonuniformity,
title={Non-uniformity is All You Need: Efficient and Timely Encrypted Traffic Classification With ECHO},
author={Shilo Daum and Tal Shapira and Anat Bremler-Barr and David Hay},
year={2024},
eprint={2406.01852},
archivePrefix={arXiv},
primaryClass={id=’cs.NI’ full_name=’Networking and Internet Architecture’ is_active=True alt_name=None in_archive=’cs’ is_general=False description=’Covers all aspects of computer communication networks, including network architecture and design, network protocols, and internetwork standards (like TCP/IP). Also includes topics, such as web caching, that are directly relevant to Internet architecture and performance. Roughly includes all of ACM Subject Class C.2 except C.2.4, which is more likely to have Distributed, Parallel, and Cluster Computing as the primary subject area.’}
}