Volpe Gaetano, Fiore Marco, la Grasta Annabella, Albano Francesca, Stefanizzi Sergio, Mongiello Marina, Mangini Agostino Marcello
Department of Electrical and Information Engineering, Polytechnic University of Bari, 70126 Bari, Italy.
Sensors (Basel). 2024 Dec 11;24(24):7924. doi: 10.3390/s24247924.
Intrusion Detection Systems (IDSs) are a crucial component of modern corporate firewalls. The ability of IDS to identify malicious traffic is a powerful tool to prevent potential attacks and keep a corporate network secure. In this context, Machine Learning (ML)-based methods have proven to be very effective for attack identification. However, traditional approaches are not always applicable in a real-time environment as they do not integrate concrete traffic management after a malicious packet pattern has been identified. In this paper, a novel combined approach to both identify and discard potential malicious traffic in a real-time fashion is proposed. In detail, a Long Short-Term Memory (LSTM) supervised artificial neural network model is provided in which consecutive packet groups are considered as they flow through the corporate network. Moreover, the whole IDS architecture is modeled by a Petri Net (PN) that either blocks or allows packet flow throughout the network based on the LSTM model output. The novel hybrid approach combining LSTM with Petri Nets achieves a 99.71% detection accuracy-a notable improvement over traditional LSTM-only methods, which averaged around 97%. The LSTM-Petri Net approach is an innovative solution combining machine learning with formal network modeling for enhanced threat detection, offering improved accuracy and real-time adaptability to meet the rapid security needs of virtual environments and CPS. Moreover, the approach emphasizes the innovative role of the Intrusion Detection System (IDS) and Intrusion Prevention System (IPS) as a form of "virtual sensing technology" applied to advanced network security. An extensive case study with promising results is provided by training the model with the popular IDS 2018 dataset.
入侵检测系统(IDS)是现代企业防火墙的关键组成部分。IDS识别恶意流量的能力是预防潜在攻击和保障企业网络安全的有力工具。在这种背景下,基于机器学习(ML)的方法已被证明在攻击识别方面非常有效。然而,传统方法在实时环境中并不总是适用,因为在识别出恶意数据包模式后,它们没有集成具体的流量管理。本文提出了一种新颖的组合方法,能够实时识别并丢弃潜在的恶意流量。具体而言,提供了一种长短期记忆(LSTM)监督人工神经网络模型,在企业网络中连续的数据包组流动时对其进行考虑。此外,整个IDS架构由Petri网(PN)建模,该Petri网根据LSTM模型的输出在整个网络中阻止或允许数据包流动。将LSTM与Petri网相结合的新型混合方法实现了99.71%的检测准确率,相较于仅使用传统LSTM方法平均约97%的准确率有显著提高。LSTM - Petri网方法是一种创新解决方案,将机器学习与形式化网络建模相结合以增强威胁检测,提供了更高的准确率和实时适应性,以满足虚拟环境和网络物理系统快速的安全需求。此外,该方法强调了入侵检测系统(IDS)和入侵防御系统(IPS)作为应用于高级网络安全的“虚拟传感技术”形式的创新作用。通过使用流行的IDS 2018数据集训练模型,提供了一个有前景结果的广泛案例研究。