{'fraction_non_alphanumeric': 0.019056261343012703, 'fraction_numerical': 0.010889292196007259, 'mean_word_length': 4.93010752688172, '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}}
Automated flow-based rule generation for network intrusion detection systems

Snort is a popular open-source Intrusion Detection System (IDS). Since rules are updated offline and network environment changes dynamically, Snort has a low detection rate especially for new types of attacks. Since attack signatures are not stored in the system, attackers could intrude without being detected. The aim of this research is to automate rule generation for system by use of logs of performed attacks. This approach has been implemented using two data mining algorithms called Ripper and C5.0. Automatic rule generation improves security of Snort and attacks are detected better. Five types of attacks, like Denial of service and Brute Force, have been investigated in this work and tested on newly released ISCX 2012 dataset which has 84.42 Gigabytes. By processing the dump, it can be used to generate general rules and eight new features from known features of streams. Detection rate of more than 99 percent was obtained for some attacks, which represent sensible impact of this approach on Snort software.