{'fraction_non_alphanumeric': 0.023133543638275498, 'fraction_numerical': 0.0, 'mean_word_length': 5.56551724137931, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Machine Learning Classification on Traffic of Secondary Encryption

Encrypted traffic classification plays an important role in network management. In this paper, we take as an example of the web browsing application, and propose a machine learning classification scheme, Bali, that can identify the encrypted traffic from various websites. We employ packet length statistics as discriminative features of encrypted traffic. In order to further investigate the differences among encrypted traffic from various websites, we develop a clustering method based on an observation that the first outgoing and incoming packets with specific flags from the same website have similar features. The above two techniques can be incorporated into typical machine learning models (e.g., random forests, SVM, kNN) for traffic classification. Experiment results using real-world datasets demonstrate that the proposed method outperforms the state-of-the-art methods.