{'fraction_non_alphanumeric': 0.023054755043227664, 'fraction_numerical': 0.0, 'mean_word_length': 5.27710843373494, '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}}
Encoded Flow Features for Network Intrusion Detection in Internet of Things

In the recent years, the Internet of Things has been becoming a vulnerable target of intrusion attacks. As the academia and industry move towards bringing the Internet of Things (IoT) to every sector of our lives, much attention needs to be given to develop advanced Intrusion Detection Systems (IDS) to detect such attacks. In this work, we propose Codebook-based Encoded Flow Features (CEFFs) as an innovative method to transform the raw flow-based statistical features into more discriminative representations taking into account the different flow features and patterns of various devices. Based on the proposed CEFFs, we build and leverage Support Vector Machine (SVM)-based classifiers to discriminate the malicious flows from the benign ones. The effectiveness of the proposed CEFFs for intrusion detection is evaluated on two state-of-the-art realistic datasets, achieving high accuracies and low false positive rates across a variety of intrusion attacks.