基于状态图的多线程工业控制系统异常检测模型的自动构建
Automatic Construction of Statechart-Based Anomaly Detection Models for Multi-Threaded Industrial Control Systems
摘要:
工业控制系统(ICS)中人机界面(HMI)和可编程逻辑控制器(PLC)之间的通信量是高度周期性的。然而,由于异步调度,它有时是多路复用的。使用用于异常检测的确定性有限自动机(DFA)对复用ICS流的网络流量模式进行建模通常会产生非常大的DFA和高误报率。我们引入了一种新的建模方法来解决这一差距。我们的Statechart DFA模型包括多个DFA,每个循环模式一个,以及一个DFA选择器,将传入的流量解复用到子信道中,并将它们发送到各自的DFA。我们演示了如何从捕获的流量流自动构建状态图。我们的无监督学习算法从流中构建离散时间马尔可夫链(DTMC)。接下来,它根据DTMC图中的符号频率和节点度将符号划分为多个集合,每个复用周期一个集合。然后为每个循环创建子图,并为每个子图提取欧拉循环。最终的状态图由每个欧拉循环的一个DFA组成。这些算法允许出现在多个周期中的非唯一符号,也允许出现在一个周期中多次出现的符号。我们使用Siemens S7- 0x 72协议对生产ICS的跟踪进行了评估。我们还在一组合成生成的迹线上对我们的算法进行了压力测试,这些迹线模拟了具有不同级别的符号唯一性和时间重叠的多路复用ICS迹线。这些算法能够以99.6%的准确率将符号分割成集合。由此产生的状态图模拟的痕迹具有较低的中位数误报警率为0.483%。除了最极端的情况外,与简单的单DFA模型相比,Statechart模型大大降低了误报率和学习模型的大小
英文摘要:
Traffic of Industrial Control System (ICS) between the Human Machine Interface (HMI) and the Programmable Logic Controller (PLC) is known to be highly periodic. However, it is sometimes multiplexed, due to asynchronous scheduling. Modeling the network traffic patterns of multiplexed ICS streams using Deterministic Finite Automata (DFA) for anomaly detection typically produces a very large DFA, and a high false-alarm rate. We introduce a new modeling approach that addresses this gap. Our Statechart DFA modeling includes multiple DFAs, one per cyclic pattern, together with a DFA-selector that de-multiplexes the incoming traffic into sub-channels and sends them to their respective DFAs. We demonstrate how to automatically construct the Statechart from a captured traffic stream. Our unsupervised learning algorithm builds a Discrete-Time Markov Chain (DTMC) from the stream. Next it splits the symbols into sets, one per multiplexed cycle, based on symbol frequencies and node degrees in the DTMC graph. Then it creates a sub-graph for each cycle, and extracts Euler cycles for each sub-graph. The final Statechart is comprised of one DFA per Euler cycle. The algorithms allow for non-unique symbols, that appear in more than one cycle, and also for symbols that appear more than once in a cycle. We evaluated our solution on traces from a production ICS using the Siemens S7-0x72 protocol. We also stress-tested our algorithms on a collection of synthetically-generated traces that simulated multiplexed ICS traces with varying levels of symbol uniqueness and time overlap. The algorithms were able to split the symbols into sets with 99.6% accuracy. The resulting Statechart modeled the traces with a low median false-alarm rate of 0.483%. In all but the most extreme scenarios the Statechart model drastically reduced both the false-alarm rate and the learned model size in compare to a naive single-DFA model
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。