@inproceedings{SchaadBinder2021, author = {Schaad, Andreas and Binder, Dominik}, title = {FEX - A Feature Extractor for Real-Time IDS}, booktitle = {Information Security}, volume = {LNCS 13118}, editor = {Liu, Joseph K. and Katsikas, Sokratis and Meng, Weizhi and Susilo, Willy and Intan, Rolly}, isbn = {978-3-030-91355-7 (Print)}, doi = {10.1007/978-3-030-91356-4_12}, institution = {Fakult{\"a}t Medien (M) (ab 22.04.2021)}, pages = {221 -- 237}, year = {2021}, abstract = {In the field of network security, the detection of possible intrusions is an important task to prevent and analyse attacks. Machine learning has been adopted as a particular supporting technique over the last years. However, the majority of related published work uses post mortem log files and fails to address the required real-time capabilities of network data feature extraction and machine learning based analysis [1-5]. We introduce the network feature extractor library FEX, which is designed to allow real-time feature extraction of network data. This library incorporates 83 statistical features based on reassembled data flows. The introduced Cython implementation allows processing individual packets within 4.58 microseconds. Based on the features extracted by FEX, existing intrusion detection machine learning models were examined with respect to their real-time capabilities. An identified Decision-Tree Classifier model was thus further optimised by transpiling it into C Code. This reduced the prediction time of a single sample to 3.96 microseconds on average. Based on the feature extractor and the improved machine learning model an IDS system was implemented which supports a data throughput between 63.7 Mbit/s and 2.5 Gbit/s making it a suitable candidate for a real-time, machine-learning based IDS.}, language = {en} }