[Paper Review] Anomaly Detection Dataset for Industrial Control Systems
This paper introduces the ICS-Flow dataset, a large-scale, realistic benchmark for machine learning-based anomaly detection in Industrial Control Systems (ICS), comprising over 25 million raw network packets, network flow records, and process state variable logs from a simulated bottle-filling factory. The dataset captures normal and attack traffic using real-world cyberattack techniques and includes the open-source ICSFlowGenerator tool to convert raw packets into structured flow features, enabling effective training and evaluation of supervised and unsupervised ML models for intrusion detection.
Over the past few decades, Industrial Control Systems (ICSs) have been targeted by cyberattacks and are becoming increasingly vulnerable as more ICSs are connected to the internet. Using Machine Learning (ML) for Intrusion Detection Systems (IDS) is a promising approach for ICS cyber protection, but the lack of suitable datasets for evaluating ML algorithms is a challenge. Although there are a few commonly used datasets, they may not reflect realistic ICS network data, lack necessary features for effective anomaly detection, or be outdated. This paper presents the 'ICS-Flow' dataset, which offers network data and process state variables logs for supervised and unsupervised ML-based IDS assessment. The network data includes normal and anomalous network packets and flows captured from simulated ICS components and emulated networks. The anomalies were injected into the system through various attack techniques commonly used by hackers to modify network traffic and compromise ICSs. We also proposed open-source tools, `ICSFlowGenerator' for generating network flow parameters from Raw network packets. The final dataset comprises over 25,000,000 raw network packets, network flow records, and process variable logs. The paper describes the methodology used to collect and label the dataset and provides a detailed data analysis. Finally, we implement several ML models, including the decision tree, random forest, and artificial neural network to detect anomalies and attacks, demonstrating that our dataset can be used effectively for training intrusion detection ML models.
Motivation & Objective
- To address the lack of realistic, labeled, and comprehensive datasets for evaluating machine learning-based intrusion detection systems (IDS) in Industrial Control Systems (ICS).
- To create a benchmark dataset that reflects real-world ICS network behavior and attack patterns, including both network traffic and process state variables.
- To develop and release an open-source tool, ICSFlowGenerator, to convert raw network packets into structured network flow records with 50+ features for improved anomaly detection modeling.
- To enable both supervised and unsupervised machine learning evaluation by providing labeled attack instances and comprehensive data for diverse detection techniques.
- To support the development of robust, low-false-positive IDS solutions by offering data that captures both network-level anomalies and their impact on physical process states.
Proposed method
- The ICS-Flow dataset was generated using the ICSSIM framework to simulate a virtual ICS testbed for a bottle-filling factory with realistic ICS components and protocols.
- Cyberattacks were emulated using techniques from ENISA and MITRE ATT&CK, including replay, DoS, and command injection attacks, to generate realistic anomalous traffic.
- Raw network packets were captured during both normal and attack scenarios, resulting in over 25 million packets, which were then processed using the ICSFlowGenerator tool.
- The ICSFlowGenerator tool extracts 50 network flow features—such as flow duration, packet counts, byte counts, and TCP flags—transforming raw packets into structured flow records.
- Network flow records were labeled using multiple strategies to support both supervised and unsupervised learning, with attack types clearly annotated.
- A 50-20-30 split was used for training (50%), validation (20%), and testing (30%) to prevent data leakage and ensure reliable model evaluation on unbalanced data.
Experimental results
Research questions
- RQ1Can a realistic, large-scale ICS network dataset with both raw packets and process state logs effectively support the training and evaluation of machine learning-based intrusion detection systems?
- RQ2How well do standard supervised ML models (e.g., decision trees, random forests, neural networks) perform on a realistic, unbalanced ICS anomaly detection dataset?
- RQ3To what extent can the ICSFlowGenerator tool accurately and efficiently convert raw network packet data into structured network flow records with semantically meaningful features?
- RQ4Can the inclusion of physical process state variables in the dataset improve the detection of cyberattacks that alter system behavior beyond network traffic alone?
- RQ5How does the performance of ML models vary across different types of ICS attacks when evaluated on a dataset that reflects real-world attack patterns and network flow characteristics?
Key findings
- The ICS-Flow dataset contains over 25 million raw network packets, 2.5 million network flow records, and corresponding process state variable logs, providing a comprehensive and realistic benchmark for ICS anomaly detection.
- The ICSFlowGenerator tool successfully extracts 50 distinct network flow features from raw packets, enabling efficient transformation of low-level traffic into high-level flow data suitable for ML modeling.
- Supervised ML models, including artificial neural networks, decision trees, and random forests, demonstrated effective anomaly detection performance on the unbalanced dataset, with F1-scores and precision-recall metrics indicating strong detection capability.
- The dataset’s inclusion of both network flow records and physical process state variables enables cross-layer analysis, supporting detection of attacks that alter system behavior without obvious network anomalies.
- The use of a 50-20-30 data split for training, validation, and testing helped prevent overfitting and ensured reliable evaluation, with results showing minimal bias from hyperparameter tuning.
- The dataset is publicly available and includes attack logs and labeled flow records, enabling reproducible research and benchmarking across different IDS approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.