Anomaly Detection in Industrial Control Systems
local graph
Chapter 12 — Anomaly Detection in Industrial Control Systems
Section titled “Chapter 12 — Anomaly Detection in Industrial Control Systems”As a type of control system, an industrial control system (ICS) is used to manage and integrate industrial processes and machines in various scenarios such as manufacturing, energy/water/gas provision, and other types of critical infrastructures. Typically, an ICS plays an essential role in controlling and automating complicated operations and includes several key components, such as sensors as key data acquisition components, actuators as key action components, processing units as key controlling components, and industrial communication protocols as key interfaces. As these components are vulnerable to cyberattacks, detecting the weaknesses of ICSs and preventing advanced cyberattacks are essential for security.
In this chapter, from concept to real examples, we will explain what an ICS is and give several examples, and we will also mention its current techniques and challenges. The chapter is divided into the following sections:
- The ICS and its components
- Cyberattacks on ICSs and their components
- Anomaly detection for ICSs and their components
Introducing the ICS and its components
Section titled “Introducing the ICS and its components”To manage and control most of the industrial processes and machinery in various sectors, industries, and energy plants, an ICS is used to effectively monitor, automate, and optimize complex industrial operations. As mentioned earlier, besides efficiency, there are also other objectives of the ICS, such as process control automation, safety, remote monitoring and control, and high-standard quality control.

Figure 12.1 – Typical ICS at power stations
As Figure 12*.1* shows, typical ICSs normally include two parts. The first part is the control system and the other is the field. The control system includes a central control unit, operation monitoring screen, turbine building, and also a thermal power plant. There are many types of sensors in the thermal power plant to collect data and also various types of controllers receiving commands from remote stations. Central control units and supervisory control and data acquisition (SCADA) systems are used to process the raw data and present the final analysis or real-time changing tendency on the screen of the operation monitoring modules. There are various telecommunication protocols or products that are used to exchange information from one component to another. Figure 12*.1* shows a typical ICS at power stations, which includes a control system and field primarily. There are several components in the control system, such as a human-machine interface (HMI), control processor (CPU), and interconnection modules (Control LAN, I/O bus, etc.)
To classify the ICSs, there are two primary types: SCADA systems and distributed control systems (DCSs).
SCADA is used to control and monitor industrial processes, facilities, and infrastructure in various sectors such as electricity generation, water treatment, power stations, oil and gas pipelines, manufacturing, and many others. SCADA systems are crucial for industrial organizations because they help to ensure efficient, safe, and intelligent operations. Typical SCADA systems include HMIs, supervisory systems, remote terminal units (RTUs), programmable logic controllers (PLCs), communication units, and data historians. The primary functionalities of SCADA systems are monitoring the status of remote equipment and gathering data, controlling commands to remotely adjust the operations of the process, collecting data from sensors and equipment to analyze the performance of the industrial components, providing visual tools to understand the state of the related components, and also ensuring the seamless information flow between the devices and the supervisory systems. SCADA systems offer a method to maximize efficiency, enhance safety, and ensure reliability by combining the software and hardware components in modern industrial operations.
Meanwhile, DCSs are primarily designed for managing complex, large-scale industrial processes across multiple locations. The scenarios of using DCSs are similar to SCADA and include manufacturing plants, power generation, oil and gas pipelines, water treatment facilities, and other applications where process control is critical. Typical DCSs include controllers, HMIs, input/output (I/O) modules, engineering workstations, and communication networks. At the heart of a DCS are the controllers, which are industrial-level computers responsible for executing control logic and managing the process in real time. These controllers are distributed geographically across the plant. The key functionalities of DCSs comprise the maintenance control over continuous processes, ensuring they operate within desired parameters, the provision of comprehensive visualization capabilities allowing operators to monitor process conditions in real time, the management of sophisticated alarm systems to alert operators of process deviations, and the collection and storing process data for the historical analysis and reporting. A DCS is an integrated control system used for managing complex industrial processes within a localized area and it combines several components to ensure precise control, efficient operation, and safety of the manufacturing process.
After introducing various types of ICSs, now is the time to move to the components of ICSs. An entire ICS is normally integrated with other components around it, such as corporate IT, ERP server, production management, and corporate firewall. We define these relative components as the corporate network, which is out of this chapter’s scope.

Figure 12.2 – ICSs
Figure 12*.2* shows the ICS in detail. In our architecture, similar to other works, as with SCADA systems and DCSs, we divide the ICS into two parts due to the primary functionalities of these backbone components. The first one is the supervision network and the other is the production network.
Let us understand each and their functions in more detail with this table:
Parts | Names | Functionalities | Primary Element |
Supervision Network/SCADA | Supervision Console | Host the supervisory control system (software/hardware) Send commands and receive feedback | Control software |
Maintenance/ Remote Diagnostic | Identify and discover risks and abnormal behaviors. Recover to normal situation | Malware detection subsystem Flow analyzer | |
Master Terminal Unit (MTU) | Delivers commands to RTUs in the field | ||
Data Historian | Centralized database for logging all process information | Database | |
SCADA Server | Similar to the MTU, issues commands to the RTUs | ||
Production network | Remote Terminal Unit | Control field device with command and accomplish the indicated tas k | Microprocessor |
Wireless industrial Network | Tele-communication connection for the workstation, PLCs, and other components | Base station Router Switcher | |
Workstation | Controller for the connecting PLCs | ||
PLC | Actuator | Motor Programmable controller |
Table 12.1 – The primary components in the ICS with the aforementioned classification
Table 12.1 illustrates the primary components of an ICS and their functionalities. We will introduce cyberattacks in ICSs in the following section in detail.
Cyberattacks on ICSs
Section titled “Cyberattacks on ICSs”With the development of digitization, digital transformation, and upgrading of ICSs, more and more components in IT technologies are introduced into the ICS. Similar to the increasingly serious risks to security and privacy in the IT infrastructure such as ransomware, key data leakage, and anomaly access control, these issues are also copied into the ICS field.
We will divide our content into two parts:
- Cyberattacks on the entire ICS
- Primarily concentrate on the sub-components in the ICS, targeting the specific components, such as controller, wireless/cellular network, and ICS configuration systems
Cyberattacks on the ICS
Section titled “Cyberattacks on the ICS”Although there are many types of attacks targeting ICSs, some of them aim at the broader ICS network or system as a whole, potentially impacting multiple components and processes simultaneously. A few of them are listed here:
- Ransomware attacks: While these can target specific devices, their impact is often system-wide, encrypting files across the network and disrupting operations at a large scale.
- Denial of service (DoS) and distributed denial of service (DDoS) attacks: These are typically aimed at the entire network or key devices within the ICS to disrupt the availability of the system as a whole.
- Zero-day and n-day vulnerabilities: These are critical concepts in the cybersecurity domain, including the protection of ICSs. These vulnerabilities represent potential security holes in software or hardware that can be exploited by malicious actors to gain unauthorized access, disrupt operations, or cause damage to critical infrastructure.
- Phishing attacks: These attacks in the context of ICSs represent a significant cybersecurity threat, leveraging social engineering techniques to deceive individuals into divulging sensitive information, executing malicious software, or unwittingly providing access to secure systems.
- Advanced persistent threats (APTs): APTs are broad, targeted campaigns that can infiltrate the entire ICS infrastructure, remaining undetected while accessing sensitive information and disrupting operations.
Looking at some real attacks on an ICS is a good practice for presenting the aforementioned attacks.
Stuxnet is a highly sophisticated computer worm discovered in 2010 but believed to have been in development and active since at least 2005. It is notable for being one of the first cyberweapons known to have been specifically created to target and sabotage industrial systems. Stuxnet was designed to infect Windows computers and then seek out software from Siemens STEP 7 and WinCC, which are used to program ICSs that operate machinery in manufacturing and utility facilities, including nuclear power plants.
The primary target of Stuxnet was the nuclear program, specifically, the uranium enrichment facilities at Natanz. The worm was engineered to infect the PLCs used in uranium enrichment centrifuges. These PLCs were responsible for controlling the speed and operation of the centrifuges. Stuxnet operated by first spreading via USB drives and network shares to reach computers within the targeted facility, exploiting multiple zero-day vulnerabilities in Windows to propagate itself and gain administrative privileges. It exploited four zero-day vulnerabilities in Windows systems, along with several other known vulnerabilities, to spread and execute its malicious payload. These zero-day exploits allowed the worm to spread via USB drives, escalate privileges, target Siemens SCADA systems, and spread laterally across networks. Once it infected a system running the Siemens software, it would look for specific configurations that matched those of the Iranian nuclear facility’s control systems.
The exact impact of Stuxnet is difficult to quantify, but it is believed to have successfully damaged approximately 1,000 of the 5,000 centrifuges Iran had operating at the time, significantly setting back the country’s uranium enrichment capabilities. The worm’s discovery led to widespread concern about the potential for cyberattacks to cause physical damage to critical infrastructure and opened a new chapter in cyber warfare.
The attack on the Colonial Pipeline company, which occurred on May 6, 2021, was a significant cybersecurity event that highlighted the vulnerabilities of critical infrastructure to ransomware attacks. Colonial Pipeline is one of the largest pipeline operators in the United States, providing roughly 45% of the East Coast’s fuel supply, including gasoline, diesel fuel, heating oil, and jet fuel. The attack was carried out using a ransomware variant known as DarkSide, which is believed to be operated by a cybercriminal group with the same name. The attackers gained access to Colonial Pipeline’s networks and deployed ransomware that encrypted data on the computers and servers, effectively locking the company out of its own systems.
As a precautionary measure and to contain the attack, Colonial Pipeline proactively shut down its operations. This was a significant step, given the pipeline’s critical role in fuel distribution across the Eastern United States. The shutdown led to widespread concern over fuel availability, resulting in panic buying and fuel shortages in several states. The situation was exacerbated by hoarding and transportation challenges. In response to the crisis, several states declared states of emergency to address the fuel shortages and ensure continued access to essential services. Colonial Pipeline reportedly paid a ransom of approximately $4.4 million to the attackers to obtain a decryption key for the encrypted data, although the effectiveness of the decryption tool was questioned.
Another example of an attack on ICSs is the BlackEnergy attacks, which refer to a series of cyberattacks that targeted Ukraine’s power generation infrastructure, among other targets, and are notable for their sophistication and the extent of their impact. These attacks, which began around 2015, were among the first publicly acknowledged incidents to successfully disrupt a nation’s power grid through cyber means, marking a significant moment in the history of cybersecurity.
BlackEnergy malware was originally created and used around 2007 for relatively simple purposes, such as DDoS attacks and bank fraud. The most notable BlackEnergy attack on Ukraine’s power grid occurred in December 2015. The attackers began by sending spear-phishing emails to employees of Ukrainian power companies. These emails contained malicious attachments that, once opened, would infect the network with the BlackEnergy 3 malware. After gaining initial access, the attackers moved laterally within the networks to gain higher privileges and access control systems. During this phase, they conducted reconnaissance to understand the power grid’s operations and identify key systems. The attackers took control of the systems that operated electrical substations and switched off the power to several regions, affecting tens of thousands of people. The attack was coordinated to occur simultaneously across multiple locations, maximizing its impact.
The impact of the BlackEnergy attacks was significant. The December 2015 attack left approximately 230,000 people without electricity for several hours. It was a stark demonstration of the potential real-world consequences of cyberattacks on critical infrastructure. In the aftermath of the BlackEnergy attacks, there was a significant increase in efforts to secure critical infrastructure against cyber threats. This included greater investment in cybersecurity technologies, enhanced training for staff, and improved incident response and recovery procedures. The attacks also led to increased international cooperation on cybersecurity issues, as nations recognized the global nature of the threat.
Cyberattacks on the components of ICSs
Section titled “Cyberattacks on the components of ICSs”The preceding examples about the Colonial Pipeline company, Stuxnet, and BlackEnergy are three classic examples of attacks on the ICS. However, as we explained in the last section, these cyberattacks occur on the sub-systems and then extend to the whole system. We should mention that these attacks focus on exploiting vulnerabilities in specific parts of an ICS, such as individual devices or software applications, as follows:
- Man-in-the-middle (MitM) attacks: These can occur at any point where data is transmitted between two components within the ICS, such as between sensors and controllers or controllers and actuators. For this type of attack, these are the targeted components in the ICS:
- Communication links: MitM attacks primarily target the data transmission between components. This includes communication between field devices such as sensors and actuators, and control systems such as PLCs, RTUs, and SCADA systems.
- Network devices: Devices that facilitate communication within an ICS, such as switches and routers, can also be targeted to intercept or alter data in transit.
- Communication links: MitM attacks primarily target the data transmission between components. This includes communication between field devices such as sensors and actuators, and control systems such as PLCs, RTUs, and SCADA systems.
- SQL injection: This type of attack targets specific applications or databases within the ICS that use SQL for data management. It’s more about exploiting a software vulnerability than attacking the system’s infrastructure. Similar to MitM attacks, SQL injection attacks are mostly on targeted components as follows:
- Databases: SQL injection attacks target databases used within the ICS for storing configuration data, event logs, or operational data. These databases are often part of larger software systems used for process management, data analysis, or reporting.
- Web applications: Web-based interfaces that provide access to ICS data or control capabilities can be vulnerable to SQL injection. These interfaces might be used for monitoring system status, adjusting configurations, or manual control inputs.
- Databases: SQL injection attacks target databases used within the ICS for storing configuration data, event logs, or operational data. These databases are often part of larger software systems used for process management, data analysis, or reporting.
- Zero-day exploits: While these can have system-wide implications, they initially target specific vulnerabilities in software or hardware components within the ICS. The exploit’s impact depends on the nature of the vulnerability and the role of the compromised component within the overall system:
- Software applications: Any software component of an ICS could be targeted by a zero-day exploit. This includes operating systems, industrial applications, custom-developed software, and third-party utilities used within the ICS environment.
- Hardware devices: Certain zero-day exploits may target vulnerabilities in the firmware or hardware of ICS components, such as PLCs, RTUs, network equipment, and even sensors and actuators. The specific target would depend on the nature of the vulnerability being exploited.
- Software applications: Any software component of an ICS could be targeted by a zero-day exploit. This includes operating systems, industrial applications, custom-developed software, and third-party utilities used within the ICS environment.
The aforementioned devices and their attacks are primarily categorized by the general techniques. Some of them could be found in at least one ICS component, such as communication links and their attacks relative to wireless industrial networks, SCADA servers, RTUs, and remote diagnostics. Meanwhile, others would include multiple ICS components, such as software applications and their security risks covering workstations, supervision servers, IT/OT, and PLCs.
After discussing the attack surface, their risks, and also the sensitive components, in the next section, the methodology connecting with the detection of their attack behaviors will be presented.
Detecting anomaly behaviors in ICSs
Section titled “Detecting anomaly behaviors in ICSs”Anomaly detection in ICSs is a critical aspect of cybersecurity and operational reliability. It involves identifying patterns or activities within the system that deviate from the established normal behavior. These anomalies can indicate potential cybersecurity threats, such as cyberattacks or malware infections, as well as operational issues such as equipment failure, process deviations, or safety risks.
In the following content, we will show various techniques to detect the anomaly behaviors. We start with the classification of various detection techniques and then give examples of each.
Classification
Section titled “Classification”Techniques for anomaly detection in ICSs are primarily classified into four groups: data-driven, model-based, knowledge-based, and also a combination of these. Let us understand each of these in the following sections.
Data-driven techniques
Section titled “Data-driven techniques”Although data-driven methods can cover a bigger scope than deep learning, here, we primarily focus on deep learning.
Deep learning utilizes neural networks with multiple layers to learn from vast amounts of data.
Deep learning models, such as convolutional neural networks (CNNs) and recurrent neural networks (RNNs), are effective in identifying complex patterns and anomalies in time-series data, which is common in ICS monitoring. These models can be applied both to the entire system for general anomaly detection and to specific components such as sensors and actuaries for detailed monitoring. One example of this technique could be a CNN model trained on historical sensor data from a chemical processing plant to detect anomalies in temperature, pressure, and flow rates. The model learns complex patterns in the data and can identify subtle anomalies indicating equipment failure or process deviations. However, applying these methods in resource-constrained environments typical of many ICSs faces several significant limitations. ICS environments often have real-time operational constraints, limited computational power, and stringent safety requirements, which complicate the deployment of deep learning-based approaches.
Model-based techniques
Section titled “Model-based techniques”After mentioning the data-driven techniques, we have to discuss the more theoretical method, which is used to solve the detection problems as the mathematical models:
- System dynamics modeling: This involves creating mathematical models that represent the dynamic behavior of the entire ICS or its components. By simulating the expected operation under various conditions, anomalies are detected when actual operational data deviates significantly from the model’s predictions. This approach is particularly useful for complex systems where physical processes and interactions can be mathematically modeled.
- Digital twins: A digital twin is a virtual replica of a physical ICS or its components. By mirroring the real-time data of the system, it allows for anomaly detection through continuous comparison between the virtual model’s performance and the actual system’s behavior. This technique is effective for both holistic system monitoring and targeted component analysis. Let’s take an example of creating a digital twin of a wind turbine to monitor its operational health. The digital twin simulates the turbine’s performance under various conditions, and by comparing these simulations with actual sensor data, anomalies such as blade damage or gearbox wear can be detected.
Knowledge-based techniques
Section titled “Knowledge-based techniques”In the real industrial application scenario, the most popular technique used in real life to detect anomaly behavior is a knowledge-based one, especially a rule-based technique. This type of technique is easy and very effective:
- Rule-based systems: These utilize a set of predefined rules or heuristics that describe normal and abnormal conditions. These systems can quickly identify anomalies based on deviations from these rules. While effective for known scenarios and specific component monitoring, they require regular updates to remain effective against new or evolving threats. An example is implementing a rule-based system for a water treatment facility that triggers alarms when sensor readings fall outside predefined thresholds, such as chlorine levels below safety standards or unexpected changes in water flow rates, indicating potential contamination or pipe leakage.
- Ontology-based approaches: These use a structured framework of knowledge to understand complex relationships within the ICS and its components. By modeling the system’s entities, properties, and relations, these approaches can infer anomalies through logical reasoning. This is particularly useful for detecting sophisticated cyberattacks or systemic operational issues that may not be immediately apparent. An ontology-based system for a smart grid that models relationships between electricity consumption patterns, weather conditions, and equipment status is extremely popular but also very easy to attack without a good detection method. By reasoning over this knowledge base, the system can detect anomalies such as unusual power usage, which might indicate equipment malfunction or unauthorized access.
Hybrid techniques
Section titled “Hybrid techniques”Combining multiple anomaly detection techniques can leverage the strengths of each approach to improve overall detection accuracy and reduce false positives. For example, a hybrid system might use machine learning to detect broad patterns of anomalies across the ICS while employing system dynamics modeling for high-fidelity monitoring of critical components. Similarly, rule-based systems can provide immediate alerts for known issues, while deep learning models continuously adapt to detect new and evolving anomalies. A hybrid anomaly detection system for a manufacturing assembly line combines machine learning (for pattern recognition in operational data), system dynamics modeling (to simulate expected machine behavior), and rule-based logic (to flag deviations from standard operating procedures).
After discussing the techniques used to do anomaly detection, let us move to real use cases and applications in the next section.
Use cases and applications
Section titled “Use cases and applications”In this section, two examples of anomaly detection in an ICS are presented. The first one uses a graph neural network-based method to illustrate anomaly detection by considering the connections among the components in the ICS. The second example shows ransomware detection, which is targeting one of the most important fields in the ICS. Detailed information about them is presented as follows.
Anomaly detection for the ICS
Section titled “Anomaly detection for the ICS”As mentioned in [8] in the References section, practically, most ICSs and their components have significant time series characteristics, and datasets of ICSs are collected with the multivariate time series (MTS) feature. However, most of the existing anomaly detection that works practically does not consider the structure information of the system, such as the connection among the nodes in the ICS. GDN [9] is an unsupervised anomaly detection method using graph attention networks. It combines the structure of existing relationships among variables to provide explainability for the detected anomalies.
Figure 12*.3* shows the architecture of GDN, and it includes sensor embedding, graph structure learning, graph attention-based forecasting, and graph devi ation scoring. The code of GDN is available at https://github.com/d-ailin/GDN.

Figure 12.3 – The GDN architecture
The motivation of the GDN method is to learn the connections between sensors as a graph and identify and explain the results of the detecting behaviors from the learned patterns.
As Figure 12*.3* illustrates, sensor embedding is used to convert the physical signal to embedding vectors to capture the physical features of each sensor. Graph structure learns about the dependence connections among these sensors. Forecasting the values of each sensor is based on the graph struct function across its connection along with the vector value derived from the sensor embedding, and finally, the graph deviation scoring step is used to identify the learned connection and localize these anomaly behaviors.
The dataset of GDN work includes two real-world sensor datasets: Secure Water Treatment (SWat) and Water Distribution (WADI). Both of them are captured based on water treatment physical testing systems where operators emulate attacking scenarios, which are recorded as ground truth anomaly behaviors.
Let us now check the code from the GDN repo together and explore this framework with several interesting points.
First of all, the GDN GitHub repo gives part of the msl dataset (https://s3-us-west-2.amazonaws.com/telemanom/data.zip) as a demo, which is from telemanom works (https://github.com/khundman/telemanom). It lists the feature names and the training and testing dataset with index, attack ground truth label, and so on.
Before we run the following code, we need to install additional Python libraries and import them:
pip install torch torch-geometricfrom torch.nn import Parameterfrom torch_geometric.nn importimport torchimport torch.nn as nnThe graph neural network (GNN) layer definition includes one gnn layer, one ReLU layer, and one LeakyReLU layer, as shown here. We illustrate how to define a GNN network with the code as follows:
class GNNLayer(nn.Module): def __init__(self, in_channel, out_channel, inter_dim=0, heads=1, node_num=100 ): super(GNNLayer, self).__init__() self.gnn = GraphLayer(in_channel, out_channel, inter_dim=inter_dim, heads=heads, concat=False) self.bn = nn.BatchNorm1d(out_channel) self.relu = nn.ReLU() self.leaky_relu = nn.LeakyReLU()Additionally, the GraphLayer instance’s definition is more complex than the GNNLayer instance’s. It includes channels of input and also channels of output, all of which construct the graph structure in GDN. What’s more, as aforementioned, the sensor embedding step converts the physical signal (each line in the dataset) to an embedding vector; the embedded physical signals are also put into the GraphLayer definition to capture the sensor feature. This is shown here:
from torch.nn import Parameterfrom torch_geometric.nn import MessagePassingclass GraphLayer(MessagePassing): def __init__(self, in_channels, out_channels, heads=1, concat=True, negative_slope=0.2, dropout=0, bias=True, inter_dim=-1,**kwargs ): super(GraphLayer, self).__init__(aggr='add', **kwargs) self.in_channels = in_channels self.out_channels = out_channels self.heads = heads self.concat = concat self.negative_slope = negative_slope self.dropout = dropout self.__alpha__ = None self.lin = Linear( in_channels, heads * out_channels, bias=False) self.att_i = Parameter(torch.Tensor(1, heads, out_channels)) self.att_j = Parameter(torch.Tensor(1, heads, out_channels)) self.att_em_i = Parameter(torch.Tensor(1, heads, out_channels)) self.att_em_j = Parameter(torch.Tensor(1, heads, out_channels)) if bias and concat: self.bias = Parameter(torch.Tensor(heads * out_channels)) elif bias and not concat: self.bias = Parameter(torch.Tensor(out_channels)) else: self.register_parameter('bias', None) self.reset_parameters()Last but not least, the easiest way to run the GDN work is to run the script in the corresponding code folder. Based on the GDN code, we trained our model and put it under this chapter’s code repo at the book’s companion GitHub repository (chapter12).
All in all, the GDN approach learns a graph of connections among sensors in the ICS and detects anomaly behaviors from these patterns with the help of sensor embedding and graph structure learning. Two real-world sensor datasets are used to evaluate the GDN and these results outperform baselines in accuracy. Additionally, GDN provides an interpretable model and helps to pinpoint and understand the anomaly behaviors.
Ransomware detection for the ICS and its components
Section titled “Ransomware detection for the ICS and its components”Ransomware attacks [1, 2, 3, 4, 5, and 6] not only cause operational disruptions but can also lead to financial losses, reputation damage, and legal consequences. Implementing a comprehensive cybersecurity strategy that includes both preventive measures and a robust response plan is essential for protecting against ransomware threats. Ransomware attacks on ICSs represent a significant threat to critical infrastructure sectors, including energy, water treatment, manufacturing, and transportation. These attacks can lead to operational disruptions, safety incidents, and financial losses. Unlike traditional IT environments, ICS networks control physical processes, and disruptions can have immediate and tangible impacts on public safety and the economy. Several classical ransomware attacks include those on Colonial Pipeline (causing the company to pay a ransom of approximately 50 million), and the Snake/Ekans ransomware attack at Honda, targeting its global operations and leading to temporary suspension of production in some of its manufacturing facilities such as US, Turkey, Italy, and Japan.
Therefore, detecting and predicting ransomware attacks attracts more and more academic and industrial researchers and engineers. Several works have already summarized the direction and methods in this field; similar to our previous text as a sub-field of anomaly detection, ransomware detection is also divided into several classifications, such as AI-based (machine learning, deep learning, etc.), knowledge-based (rule or signature), mathematics-based, and so on.
Challenges and future works
Section titled “Challenges and future works”So far, we have discussed the fundamental terms of the ICS attacking surface, and also current techniques for anomaly detection, but there are still many open questions and challenges in this field that need to be explored. We summarize the challenges and future works in the following sections.
Challenges
Section titled “Challenges”So far, we have explained the categorization of anomaly detection and also given examples with AI-based methods for normal anomaly and ransomware detection. There are still several challenges in this field, such as false positives, dynamic environments, and so on. Those factors influence the application of anomaly detection, especially AI, machine learning, and deep learning-based detection systems, in the real industrial control scenario. Let us understand more about each here:
- High false positive rate: Differentiating between normal variations in system behavior and genuine anomalies is challenging, often leading to false alarms.
- Dynamic environments: Industrial processes can change over time, requiring continuous adaptation of the anomaly detection models to maintain accuracy.
- Data quality and availability: Effective anomaly detection requires high-quality, comprehensive data. In many ICS environments, data may be sparse, noisy, or incomplete.
- Complexity of industrial systems: The complexity and heterogeneity of ICSs, with their mix of old and new technologies, proprietary protocols, and customized configurations, make it difficult to establish a baseline for normal behavior.
Future works and directions
Section titled “Future works and directions”From the end of November 2022, when ChatGPT was released by OpenAI, that period was also the time for our book preparation. Although we mention large language models (LLMs) from time to time in various chapters, the primary purpose of this book is not to focus on LLM-based security. What’s more, recently, OpenAI released Sora (a video generation model), Google released Gemini, and Claude 3 has better performance than GPT-4, which means we need to consider how to use these rapidly developing LLM techniques for anomaly detection. Additionally, we also need to consider the cases in which attackers generate anomaly detection with advanced LLMs. Be it the IT field, designing, industrial control field, supply chain field, and so on, more and more works are increasingly involved with LLMs. These models can analyze vast amounts of unstructured data, learn from it, and make predictions or generate insights that can be used to improve anomaly detection methods.
Here are several future directions and applications of LLMs in anomaly detection within the ICS domain.
Enhanced pattern recognition
Section titled “Enhanced pattern recognition”LLMs can process and analyze large datasets from ICS operations, including logs, sensor data, and system alerts, to identify patterns and correlations that may not be evident to human operators or traditional analytical methods. This capability can enhance the detection of subtle anomalies that precede critical events, allowing for earlier intervention.
Natural language processing for security logs
Section titled “Natural language processing for security logs”Security logs and incident reports often contain unstructured text data. LLMs, with their advanced natural language processing (NLP) capabilities, can analyze this text to identify indicators of security incidents or breaches. This can include parsing and understanding logs from various sources, extracting relevant information, and correlating events across different systems.
Predictive maintenance
Section titled “Predictive maintenance”By analyzing historical maintenance records and operational data, LLMs can predict potential equipment failures before they occur. This predictive maintenance approach can help prevent unplanned downtime and extend the lifespan of critical components within ICSs.
Improved situational awareness
Section titled “Improved situational awareness”LLMs can assist in creating more comprehensive situational awareness by integrating data from diverse sources, including ICSs, IT networks, and external intelligence feeds. By understanding the context and content of this data, LLMs can help operators identify potential threats or anomalies that span across the cyber-physical divide.
Automated incident response
Section titled “Automated incident response”Future developments may enable LLMs to not only detect anomalies but also suggest or automate appropriate response actions based on the type of anomaly detected and its potential impact. This could include isolating affected systems, applying patches, or adjusting control parameters to mitigate risks.
Continuous learning and adaptation
Section titled “Continuous learning and adaptation”One of the key advantages of LLMs is their ability to learn from new data continuously. As LLMs are exposed to more operational and anomaly data over time, their accuracy and effectiveness in detecting and responding to anomalies can improve, adapting to the evolving threat landscape and changes in the operational environment.
In this section, we briefly mentioned the future direction for the security log analysis within the NLP area.
Summary
Section titled “Summary”In this chapter, we introduced the basic knowledge about the ICS and its components, and then based on the aforementioned information, attacks targeting ICSs and their components were presented. With the categorization of various types of attacks, and fundamental techniques that cause these attacks, we now know that the attack section not only has similarity with the normal attacks targeting the IT/DT field but also the unique features for the anomaly detection system in the area of ICSs. Last but not least, we covered anomaly detection, which included not only general anomaly detection with consideration of structural information of the ICS but also one of the specific anomaly behaviors in ICSs: ransomware detection. For both examples, we introduced machine learning/deep learning-based methodologies to illustrate the state-of-the-art approaches.
Lastly, at the end of the chapter, we also summarized the challenges. We will discuss data quality and its influence on anomaly detection and other topics in the cybersecurity field on the next chapter.
References
Section titled “References”- [1] Gazzan, M., and Sheldon, F. T. (2023). Opportunities for Early Detection and Prediction of Ransomware Attacks against Industrial Control Systems. Future Internet, 15 (4), 144. https://doi.org/10.3390/fi15040144
- [2] Alanazi, M., Mahmood, A., and Chowdhury, M. J. M. (2023). SCADA vulnerabilities and attacks: A review of the state‐of‐the‐art and open issues. Computers & Security, 125, 103028. https://doi.org/10.1016/j.cose.2022.103028
- [3] E. Berrueta, D. Morato, E. Magaña and M. Izal, “A Survey on Detection Techniques for Cryptographic Ransomware,” in IEEE Access, vol. 7, pp. 144925-144944, 2019, doi: 10.1109/ACCESS.2019.2945839. keywords: {Ransomware;Servers;Encryption;Detection algorithms;Proposals;Computer security;malware detection;ransomware},
- [4] Beaman, C., Barkworth, A., Akande, T. D., Hakak, S., and Khan, M. K. (2021). Ransomware: Recent advances, analysis, challenges and future research directions. Computers & Security, 111, 102490. https://doi.org/10.1016/j.cose.2021.102490
- [5] M. Gazzan, A. Alqahtani, and F. T. Sheldon, “Key Factors Influencing the Rise of Current Ransomware Attacks on Industrial Control Systems,” 2021 IEEE 11th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 2021, pp. 1417-1422, doi: 10.1109/CCWC51732.2021.9376179.
- [6] Formby, David, Surya S. Durbha, and Raheem A. Beyah.“Out of Control: Ransomware for Industrial Control Systems.” (2017).
- [7] Muna Al-Hawawreh and Elena Sitnikova. 2019. Industrial Internet of Things Based Ransomware Detection using Stacked Variational Neural Network. In Proceedings of the 3rd International Conference on Big Data and Internet of Things (BDIOT ‘19). Association for Computing Machinery, New York, NY, USA, 126–130. https://doi.org/10.1145/3361758.3361763
- [8] Kim, B., Alawami, M. A., Kim, E., Oh, S., Park, J., and Kim, H. (2022). A Comparative Study of Time Series Anomaly Dete ction Models for Industrial Contr ol Systems. Sensors, 23(3), 1310. https://doi.org/10.3390/s23031310
- [9] Deng, Ailin, and Bryan Hooi. “Graph neural network-based anomaly detection in multivariate time series.” Proceedings of the AAAI conference on artificial intelligence. Vol. 35. No. 5. 2021.