Master's Thesis

Automatic Rule Generation for Network Intrusion Detection Systems

João Cruz — 2022

Key information

Authors:

João Cruz (João Cruz)

Supervisors:

Nuno Miguel Carvalho dos Santos (Nuno Miguel Carvalho dos Santos)

Published in

November 25, 2022

Abstract

Attacks originating from the Internet are now very common and can target vulnerabilities in enterprises' systems to compromise them and the data they contain. To mitigate this problem, popular network monitoring tools such as Suricata have programmable rules that dictate how they will detect and try to react to possible attacks on the system. However, these rule-based systems have long struggled with the level of granularity and application-specific information that can be used for specifying these rules. On one hand, fine-tuning rules with too much detail makes them hard and error-prone to design and set up. On the other hand, being too generic makes them easier to program but leads to an excessively high number of logs hindering their practical usability and being way costly on the storage side. In this work, we developed Nautilus, a tool that will use static analysis on an application to identify its most vulnerable endpoints that deal with personal data and automatically generate application-specific rules for Suricata, according to the user's preference of granularity and data, making it easier and more intuitive to set up while reducing the number of logs. This way, Nautilus reduces the hardship of programming complex rules while increasing the user-friendliness of the whole process and improving the storage efficiency, all this without compromising the logging. Our results show that Nautilus makes setting up rules simpler and more user-friendly while reducing the number of logs and keeping the overhead low, even though they are not the most complex rules.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

September 13, 2023

Institution name

Instituto Superior Técnico