polito.it
Politecnico di Torino (logo)

Intelligent forensics for the automatic anomaly detection in distributed infrastructures

Giuseppe Piombino

Intelligent forensics for the automatic anomaly detection in distributed infrastructures.

Rel. Cataldo Basile, Andrea Atzeni, Borja Bordel Sanchez. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering), 2024

[img]
Preview
PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (3MB) | Preview
[img] Archive (ZIP) (Documenti_allegati) - Altro
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (9MB)
Abstract:

The constant growth of Denial of Service (DoS) attacks stands as a significant threat in our digital and ultra-connected world. Their danger is enhanced by the difficulties in their detection. In fact, most of the various detection methods do not provide an exhausting and immediate solution to the problem. In particular, the detection of slow attack results problematic and requires a considerable human effort. Modern solutions have opted for an artificial intelligence (AI) oriented approach, which consist of creating of a model trained with a representative dataset, capable of recognising hardly detectable patterns and doing so automatically. Furthermore, the necessity to keep note of traces and proof of the attacks emerged, because they may be lost in the tentative of rebooting the system. In this environment takes application the field of the digital forensic science, that focuses on identifying, acquiring, processing, analysing and reporting on data stored electronically. This thesis presents the development of an AI model designed to detect DoS attacks automatically within a distributed infrastructure. The experiment enlightens the traces left by the DoS attacks and demonstrate the efficiency of the AI in the field of the digital forensics. Once the data about the connections are collected, in fact, they can be analysed on the run or, more importantly, from the stored data log. The distributed system has been emulated by means of a Docker-based virtual network. The virtual network not only serves practical applications but also has a pedagogical purpose, facilitating educational exploration of network security concept, especially those that can be experimented with extended Berkeley Packet Filter (eBPF). The data for the training and testing of the AI model were sourced from a dataset from a previous work, and the extraction of relevant information for the analysis happens by means of tools called tcpLife and tcpTracer, implemented with eBPF. The AI model employed is a Multi-Layer Perceptron (MLP), which has been compared, as a baseline, with the Random Forest classifier. The system has been tested with two types of DoS attack simulations: SYN flood and slowhttp. To perform the attack, have been employed the software programs HULK and Slowhttptest. Results indicated that the system, making use of the MLP model, successfully identifies the slowhttp attack, but gets blocked under the SYN flood attack through HULK. The project contributes to the field of the network security by demonstrating, once more, the potential of AI model in recognising specific types of DoS attack, especially in the forensic practice. Furthermore, the implementation of the virtual network with Docker, underscores the practical and educational value of the developed system, offering a platform for both real-world applications and academic labs.

Relatori: Cataldo Basile, Andrea Atzeni, Borja Bordel Sanchez
Anno accademico: 2023/24
Tipo di pubblicazione: Elettronica
Numero di pagine: 143
Soggetti:
Corso di laurea: Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering)
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-32 - INGEGNERIA INFORMATICA
Aziende collaboratrici: Universidad Politecnica de Madrid
URI: http://webthesis.biblio.polito.it/id/eprint/31761
Modifica (riservato agli operatori) Modifica (riservato agli operatori)