The growing adoption of the Internet of Things (IoT) has widened the attack surface of networks, creating the need for safe experimentation environments in which their security can be analysed without compromising the real infrastructure. Two paradigms, so far treated separately, address this need: the Network Digital Twin (NDT), a digital replica of a real network used to study and predict its behaviour, and the Cyber Range (CR), an isolated environment for simulating attacks for security purposes. This work proposes a testbed that combines the two concepts: starting from an IoT network, the system automatically discovers it, identifies its devices and builds a Network Digital Twin of it, aligned with the real network in structure and temporal profile through a self-discovery mechanism. Behavioural alignment is entrusted to a time-series foundation model which, starting from the data observed on the real devices, forecasts their dynamics and drives the corresponding twins live, so that they reproduce the expected behaviour of the network. The resulting digital twin is then employed as a Cyber Range, providing an isolated environment in which to carry out analyses and to experiment with attacks and the corresponding countermeasures. The infrastructure is built with Docker containers, the Mosquitto MQTT broker, the InfluxDB time-series database and the PyTorch libraries. The goal is twofold: to assess the fidelity of the NDT with respect to the real IoT network, and its effectiveness as a Cyber Range environment. The experiments show that the driven twin faithfully reproduces the behaviour of the real devices, and that the testbed's sensors detect the attacks acting on the identity and connection of the devices, while the introduction of authentication and access control prevents such attacks from being carried out.

La crescente diffusione dell’Internet of Things (IoT) ha ampliato la superficie di attacco delle reti, rendendo necessari ambienti di sperimentazione sicuri in cui analizzarne la sicurezza senza compromettere l’infrastruttura reale. A questa esigenza rispondono due paradigmi finora trattati in maniera separata: il Network Digital Twin (NDT), replica digitale di una rete reale impiegata per studiarne e prevederne il comportamento, e il Cyber Range (CR), ambiente isolato per la simulazione di attacchi a fini di sicurezza. Il presente lavoro propone un testbed che unisce i due concetti: a partire da una rete IoT, il sistema ne effettua la scoperta automatica, ne identifica i dispositivi e ne costruisce un Network Digital Twin, allineato alla rete reale per struttura e profilo temporale tramite un meccanismo di self-discovery. L'allineamento comportamentale è affidato a un modello di fondazione per serie temporali che, a partire dai dati osservati sui dispositivi reali, ne prevede la dinamica e pilota dal vivo i rispettivi gemelli, così che questi riproducano il comportamento atteso della rete. Il gemello digitale così ottenuto viene impiegato come Cyber Range, offrendo un ambiente isolato in cui condurre analisi e sperimentare attacchi e relative contromisure. L'infrastruttura è realizzata con container Docker, il broker MQTT Mosquitto, il database time-series InfluxDB e le librerie PyTorch. L'obiettivo è duplice: valutare la fedeltà del NDT rispetto alla rete IoT reale e la sua efficacia come ambiente di Cyber Range. La sperimentazione mostra che il gemello pilotato riproduce fedelmente il comportamento dei dispositivi reali e che i sensori del testbed rilevano gli attacchi che agiscono sull'identità e sulla connessione dei dispositivi, mentre l'introduzione di autenticazione e controllo degli accessi ne impedisce l'esecuzione.

PROGETTAZIONE E SVILUPPO DI UN NETWORK DIGITAL TWIN PER LA REALIZZAZIONE DI UN CYBER RANGE IOT

TRICARICO, MARCO
2025/2026

Abstract

The growing adoption of the Internet of Things (IoT) has widened the attack surface of networks, creating the need for safe experimentation environments in which their security can be analysed without compromising the real infrastructure. Two paradigms, so far treated separately, address this need: the Network Digital Twin (NDT), a digital replica of a real network used to study and predict its behaviour, and the Cyber Range (CR), an isolated environment for simulating attacks for security purposes. This work proposes a testbed that combines the two concepts: starting from an IoT network, the system automatically discovers it, identifies its devices and builds a Network Digital Twin of it, aligned with the real network in structure and temporal profile through a self-discovery mechanism. Behavioural alignment is entrusted to a time-series foundation model which, starting from the data observed on the real devices, forecasts their dynamics and drives the corresponding twins live, so that they reproduce the expected behaviour of the network. The resulting digital twin is then employed as a Cyber Range, providing an isolated environment in which to carry out analyses and to experiment with attacks and the corresponding countermeasures. The infrastructure is built with Docker containers, the Mosquitto MQTT broker, the InfluxDB time-series database and the PyTorch libraries. The goal is twofold: to assess the fidelity of the NDT with respect to the real IoT network, and its effectiveness as a Cyber Range environment. The experiments show that the driven twin faithfully reproduces the behaviour of the real devices, and that the testbed's sensors detect the attacks acting on the identity and connection of the devices, while the introduction of authentication and access control prevents such attacks from being carried out.
2025
DESIGN AND IMPLEMENTATION OF A NETWORK DIGITAL TWIN FOR AN IOT CYBER RANGE
La crescente diffusione dell’Internet of Things (IoT) ha ampliato la superficie di attacco delle reti, rendendo necessari ambienti di sperimentazione sicuri in cui analizzarne la sicurezza senza compromettere l’infrastruttura reale. A questa esigenza rispondono due paradigmi finora trattati in maniera separata: il Network Digital Twin (NDT), replica digitale di una rete reale impiegata per studiarne e prevederne il comportamento, e il Cyber Range (CR), ambiente isolato per la simulazione di attacchi a fini di sicurezza. Il presente lavoro propone un testbed che unisce i due concetti: a partire da una rete IoT, il sistema ne effettua la scoperta automatica, ne identifica i dispositivi e ne costruisce un Network Digital Twin, allineato alla rete reale per struttura e profilo temporale tramite un meccanismo di self-discovery. L'allineamento comportamentale è affidato a un modello di fondazione per serie temporali che, a partire dai dati osservati sui dispositivi reali, ne prevede la dinamica e pilota dal vivo i rispettivi gemelli, così che questi riproducano il comportamento atteso della rete. Il gemello digitale così ottenuto viene impiegato come Cyber Range, offrendo un ambiente isolato in cui condurre analisi e sperimentare attacchi e relative contromisure. L'infrastruttura è realizzata con container Docker, il broker MQTT Mosquitto, il database time-series InfluxDB e le librerie PyTorch. L'obiettivo è duplice: valutare la fedeltà del NDT rispetto alla rete IoT reale e la sua efficacia come ambiente di Cyber Range. La sperimentazione mostra che il gemello pilotato riproduce fedelmente il comportamento dei dispositivi reali e che i sensori del testbed rilevano gli attacchi che agiscono sull'identità e sulla connessione dei dispositivi, mentre l'introduzione di autenticazione e controllo degli accessi ne impedisce l'esecuzione.
Internet of Things
Network Digital Twin
Cyber Range
MQTT
File in questo prodotto:
Fulltext non presente su UNITESI – Verifica la disponibilità della tesi in formato cartaceo interrogando il Catalogo di Ateneo

I documenti in UNITESI sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14253/111363