MGMassimiliano Gaffurini

Massimiliano Gaffurini

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Massimiliano Gaffurini has a total of 18 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Enhancing Industrial Resilience: NIS2-Compliant Architectures Through Early Warning Systems for OT Monitoring

    by Tommaso Bianchin, Dennis Brandão, Emiliano Sisinni, Paolo Ferrari, Massimiliano Gaffurini

    The NIS2 Directive strengthens governance and time-bound incident reporting obligations for cybersecurity in critical sectors, while Industrial Ethernet and IT/OT convergence expose deterministic shop-floor networks to broader threat propagation. This paper introduces an engineering approach to the application of the NIS2 Directive for reducing the detection latency at the OT level without excessively increasing the costs. The proposed architecture is based on an innovative complementary device, the Early Warning System (EWS), tailored for OT monitoring and designed for integration with enterprise monitoring (Security Information and Event Management—SIEM) and operational response (SOC/MDR—Security Operations Center/Managed Detection and Response). The EWS adopts a silent device paradigm: because the honeypot has no production role, any interaction becomes a high-confidence signal, minimizing false positives. The EWS is freely available open-source and, to fit heterogeneous plants, it offers two deployment modes, both with zero impact on network latency and timing: Full Mode combines passive monitoring via SPAN/port mirroring with a low-interaction honeypot, while Light Mode provides a pure decoy for resource-constrained edge hardware. The implementation is containerized (Docker) and forwards events to an external SIEM. Two validation steps are presented: the first, on a real PROFINET robotic cell using the Full-mode, demonstrates the zero false positives in normal operations, the detection of reconnaissance scans, baseline deviations, and ARP spoofing attempts; while the second, on three emulated industrial control systems using the ICS-NAD dataset, shows the effectiveness in realistic industrial applications.

  • Open Access

    From the Commissioning of Data to Large-Scale Real-World Industrial Network Datasets for AI-Based Maintenance and Security Applications in the Automotive Industry

    by Massimiliano Gaffurini, Dennis Brandão, Emiliano Sisinni, Paolo Ferrari

    Over the last two decades, the automotive industry has spearheaded a shift toward data-centric manufacturing, where Real-Time Ethernet (RTE) networks defined in IEC61784-2 serve as critical components for ensuring deterministic communication at the Operation Technology level. Although AI-based systems offer significant potential for predictive maintenance and cybersecurity, their effectiveness is currently limited by a lack of structured datasets from real-world industrial environments. Most existing research relies on small-scale simulations or laboratory setups that fail to capture the scale and complexity of actual production. To address this gap, this paper introduces a novel methodology for repurposing network data collected throughout a plant’s lifecycle, specifically during the commissioning and validation phases of RTE networks according to IEC61918. An additional important contribution is the creation of the first multi-plant dataset for real RTE (PROFINET) traffic in the automotive sector, aggregating 300 GB of data from 54,000+ devices across nearly 700 production lines in 17 industrial sites. The work defines standardized methodologies and replicable processes for systematic data acquisition, validation, and labeling to ensure long-term usability for training AI models. Finally, four case studies (focused on performance, maintenance, security, and machine learning) show how this dataset can be used to enhance the reliability of modern smart manufacturing.


  • Open Access

    Smartwatch data from non-competitive athletes during the GiroE-2024 e-bike multi-stage race

    by Paolo Bellagente, Dennis Brandāo, Salvatore Dello Iacono, Paolo Ferrari, Alessandra Flammini, Massimiliano Gaffurini, Luigi Gaioni, Paolo Malighetti, Stefano Rinaldi, Emiliano Sisinni, et al.


  • Open Access

    Analyzing Microservice Communication Performance in Industrial Edge Platform

    by Ricardo P. Pontarolli, Massimiliano Gaffurini, Eduardo P. Godoy, Paolo Ferrari

    The integration of legacy manufacturing systems into Industry 4.0 ecosystems necessitates architectures that balance interoperability and performance across infrastructures. This paper addresses these challenges by proposing a hybrid system leveraging Docker containers, the Moleculer framework, and the Asset Administration Shell (AAS) to enable semantic interoperability while quantifying communication latencies in bidirectional industrial workflows, analyzing microservice communication performance in edge platforms through a hybrid architecture that combines legacy protocols with edge virtualization, and contextualizing it against fieldbus-based systems and fully virtualized containerized microservices. Experimental validation on a Siemens S7-1500 Programmable Logic Controller (PLC) evaluates latency distributions across architectures, revealing average round-trip times of 7.23 ms for hybrid sensor updates and 5.94 ms for virtualized command writes, with 75% of operations under 10 ms. Performance tradeoffs emerge between protocol translation overhead in hybrid systems and transporter-induced variability in virtual deployments. By correlating temporal metrics with architectural choices, this work provides actionable insights for modernizing brownfield installations, enabling manufacturers to select optimal strategies based on legacy constraints and real-time requirements. The results highlight the viability of gradual migration paths, preserving existing investments while adopting Industry 4.0 capabilities through performance-aware microservice orchestration.


  • Open Access

    Characterizing the Real-Time Communication Performance of Virtual PLC in Industrial Edge Platform

    by Massimiliano Gaffurini, Dennis Brandão, Stefano Rinaldi, Alessandra Flammini, Emiliano Sisinni, Paolo Ferrari

    The integration of virtual Programmable Logic Controllers (vPLCs) into industrial automation systems introduces the potential for enhanced maintainability and scalability through container-based automation. Unlike traditional hardware-based PLCs, vPLCs operate within edge computing environments, leveraging lightweight virtualization to provide flexibility and support modern microservices architectures. However, the open question is: can vPLCs meet the stringent real-time performance requirements of industrial control applications, particularly in communication with sensors and actuators? The paper objective is to fill this gap. Differently from other works in literature, the performance of the real-time data exchange between virtual PLCs and sensors/actuators is evaluated. Inparticular, the paper presents and describes a methodology designed for comparing real PLC and virtual PLC in real-time industrial automation scenarios. The methodology includes the definition of specific performance metrics, the design of a standardized experimental setup to characterize both device real-time performance and uncertainty sources, and the development of analytical models to support simulations and digital twin applications. The proposed method of comparison is demonstrated in a reference use case including real-time Ethernet connectivity; results lead to: a) important conclusions about methodology effectiveness; and b) the analytical model of the considered use case. Indetails, the analysis indicates that vPLCs exhibit approximately 50% higher jitter, suggesting a minimum recommended PROFINET cycle time of 2 ms for optimal performance. The findings contribute to the broader understanding of vPLC capabilities in industrial automation, offering practical insights for industries aiming to transition to modern, containerized control systems without compromising real-time communication performance.


  • Open Access

    End-to-End Emulation of LoRaWAN Architecture and Infrastructure in Complex Smart City Scenarios Exploiting Containers

    by Massimiliano Gaffurini, Alessandra Flammini, Paolo Ferrari, Dhiego Fernandes Carvalho, Eduardo Paciencia Godoy, Emiliano Sisinni

    In a LoRaWAN network, the backend is generally distributed as Software as a Service (SaaS) based on container technology, and recently, a containerized version of the LoRaWAN node stack is also available. Exploiting the disaggregation of LoRaWAN components, this paper focuses on the emulation of complex end-to-end architecture and infrastructures for smart city scenarios, leveraging on lightweight virtualization technology. The fundamental metrics to gain insights and evaluate the scaling complexity of the emulated scenario are defined. Then, the methodology is applied to use cases taken from a real LoRaWAN application in a smart city with hundreds of nodes. As a result, the proposed approach based on containers allows for the following: (i) deployments of functionalities on diverse distributed hosts; (ii) the use of the very same SW running on real nodes; (iii) the simple configuration and management of the emulation process; (iv) affordable costs. Both premise and cloud servers are considered as emulation platforms to evaluate the resource request and emulation cost of the proposed approach. For instance, emulating one hour of an entire LoRaWAN network with hundreds of nodes requires very affordable hardware that, if realized with a cloud-based computing platform, may cost less than USD 1.


  • Open Access

    Virtual PLC in Industrial Edge Platform: Performance Evaluation of Supervision and Control Communication

    by Massimiliano Gaffurini, Paolo Bellagente, Alessandro Depari, Alessandra Flammini, Emiliano Sisinni, Paolo Ferrari

    Edge computing allows for data processing at reduced latency since the computational power is moved close to the data sources. Traditionally, edge computing has been often used in industrial scenarios for implementing gateways between the OT (operational technology) worlds and the IT (cloud) world. Recently, big manufacturers of industrial PLC (programmable logic controller) started promoting the use of containerized virtual PLC hosted inside edge computing platforms. They foresee an innovative integration of container based applications, including automation control, with all the data centric services and application already available for edge ecosystems. Even if a clear advantage from the scalability and maintainability could be expected, would virtual PLCs meet the stringent requirements of industrial automation? This paper is part of a multistage research work, and, as a first step, it is focused on the evaluation of the performance of virtual PLC when exchanging data with other machines, controllers, supervisors, and data acquisition systems in a machine-to-machine scenario. After a brief overview of the involved technology, the design of a methodology for comparing real PLC and virtual PLC is described. Then, performance metrics, and an experimental setup for the evaluation of existing devices are defined taking care of the sources of uncertainty. The effectiveness of the proposed methodology is demonstrated considering a real use case. Through the use of the suggested methodology, important insights of the use case are revealed: for instance, the considered virtual PLC could work as fast as a real PLC with minimum communication latency in the order of 3 ms but, currently, there is a random delay with an average of 50ms whose source has been identified to be the IP stack implementation of the virtual PLC. Finally, the proposed methodology allows for the creation and the validation of analytical models of the use case.


  • Open Access

    LoRaWAN end device disaggregation and decomposition by means of lightweight virtualization

    by Emiliano Sisinni, Alessandra Flammini, Massimiliano Gaffurini, Marco Pasetti, Stefano Rinaldi, Paolo Ferrari