Completed Theses

Assurance and Edge Computing in 5G Networks: Synergies and Challenges in the Era of Advanced Connection

The advent of 5G networks has revolutionized wireless communication, offering unprecedented speed, reliability, and capacity. This advancement enables transformative use cases, such as Internet of Things (IoT) applications and satellite-based 5G communication, which extend connectivity into remote and rural areas. However, the increasing complexity of 5G network infrastructures introduces significant challenges in monitoring and securing these networks. This thesis focuses on addressing these challenges by designing, implementing, and evaluating a comprehensive monitoring and security system tailored for 5G networks. The proposed system leverages open-source tools, including Free5GC, Prometheus, and Grafana, to monitor the performance of Network Functions (NFs). Additionally, it integrates an OAuth2 and SIM card-based authentication mechanism to enhance security by providing reliable user and device identity verification. The modifications to Free5GC enable the collection of detailed network metrics, while the authentication system ensures robust protection against unauthorized access. A series of experiments evaluated the system’s performance, scalability, and security. Results demonstrated that the monitoring system introduces minimal resource overhead, with only a modest increase in CPU and memory usage. The authentication mechanism was proven to be secure and effective, significantly enhancing the overall security posture of the 5G network. This thesis proposes solutions to critical challenges in 5G network monitoring and security, offering a scalable and adaptable approach to meet the demands of modern networks. Future work includes developing a high-availability monitoring setup, expanding user equipment (UE) metrics, deploying the system in real-world scenarios, and integrating it with edge computing architectures to ensure optimal performance in distributed environments.

Studio e Verifica di Scenari di Attacco Basati su Shellcode

Nel contesto attuale della sicurezza informatica, si osserva un costante incremento degli attacchi informatici, con Ransomware e Trojan tra i più diffusi. Una caratteristica comune di questi attacchi è l’inclusione di una shellcode all’interno del loro payload. La shellcode rappresenta un elemento fondamentale del malware, e in questa sperimentazione si mostra la semplicità nel crearla ed usarla per effettuare un attacco di “Arbitrary Code Execution” con scalata dei privilegi. Precisamente si crea un’exploit per sfruttare la vulnerabilità nota col nome DirtyCow identificata dalla “CVE-2016-5195”, nel kernel Unix, che rappresenta una problematica di “Race Condition” tra thread nell’implementazione della copia in scrittura durante la modifica di una pagina mappata in memoria. È importante sottolineare che il kernel Linux è il software Open-Source più diffuso al mondo, utilizzato dal 96.3% dei server globali e dal 85% dei dispositivi mobili. Sorprendentemente, questa vulnerabilità è rimasta presente nel Kernel dalla versione 2.x del 2007 fino alla sua correzione nel 2018, con un periodo di undici anni in cui è rimasta latente. Una caratteristica cruciale di questa vulnerabilità è il suo funzionamento completamente in memoria, il che significa che non vengono lasciate tracce nei log di sistema, rendendo gli attacchi praticamente indistinguibili da altre attività normali.