Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Machine Learning-Based Network Intrusion Detection for Industrial Control
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.ORCID iD: 0000-0001-5332-1033
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

The growing connectivity of Industrial Control Systems (ICS) has increased their exposure to cyber threats, posing serious risks to both critical infrastructure (e.g., power plants, water systems) and industrial operations. Although Machine Learning (ML)-based Intrusion Detection Systems (IDS) show potential to detect complex and novel attacks, their practical application in ICS environments remains challenging. This thesis investigates the feasibility, design considerations, and barriers to applying ML-based IDS in ICSs. Key challenges include limited labeled data, high sensitivity to false alarms, distributed architectures, and constrained hardware. Through empirical evaluations and prototype implementations, we show how tailored ML and system design strategies can address these issues.

Our first goal is to enable experimentation with cybersecurity and intrusion detection in industrial systems. The thesis introduces ICSSIM, a novel framework for creating flexible, scalable, and cost-effective ICS testbeds.  It also presents ICSFlowGenerator, a tool for analyzing network traffic and computing customized network flow parameters. Using this tool, the thesis presents ICS-Flow, a new dataset developed to train and evaluate anomaly detection models, which serves as a realistic benchmark for assessing ML-based intrusion detection in ICS networks. 

In addition, the thesis tackles several technical deployment barriers. To support distributed ICS architectures and minimize the reliance on central servers, federated learning is explored as a decentralized training strategy. It also investigates semi-supervised learning techniques for detecting anomalies using only normal traffic.  To reduce the burden of false alarms, we integrate a decision support system with the IDS to filter alerts and suggest mitigation actions. Furthermore, the thesis emphasizes the importance of temporal traffic patterns in identifying attack types and evaluates the efficiency and resource demands of various ML models on ICS-representative hardware. Collectively, these contributions advance the practical application of ML-based intrusion detection in ICSs.

Abstract [sv]

Digitaliseringen och ökande uppkoppling av industriella styrsystem (ICS) har medfört ökad exponering för cyberhot och innebär allvarliga risker för både kritisk infrastruktur (t.ex. kraftverk, vattensystem) och industriella verksamheter. Även om intrångsdetekteringssystem (IDS) baserade på maskininlärning (ML) har potential att upptäcka komplexa och nya attacker, är deras praktiska tillämpning i ICS-miljöer fortfarande utmanande. I den här avhandlingen analyseras genomförbarheten, designöverväganden och hinder för att applicera ML-baserade IDS i ICS. Centrala utmaningar omfattar begränsad mängd annoterad data, hög känslighet för falsklarm, distribuerade arkitekturer och hårdvarubegränsningar. Genom empiriska utvärderingar och prototypimplementeringar visar vi hur skräddarsydda ML- och systemdesignstrategier kan adressera dessa problem.

Det första målet är att möjliggöra cybersäkerhetsexperiment och detektion av intrång i industriella system. Avhandlingen introducerar ICSSIM, ett nytt ramverk för att skapa flexibla, skalbara och kostnadseffektiva ICS-testbäddar. Vi har dessutom utvecklat ICSFlowGenerator, ett verktyg för att analysera nätverkstrafik och beräkna anpassade nätverksflödesparametrar. Med hjälp av detta verktyg har vi skapat ICS-Flow, en ny datamängd (dataset) för att träna och utvärdera anomalidetekteringsmodeller. ICS-Flow fungerar som en realistisk benchmark för att bedöma ML-baserad intrångsdetektering i ICS-nätverk. 

Med stöd av ICS-Flow adresserar avhandlingen flera tekniska hinder vid driftsättning. För att stödja distribuerade ICS-arkitekturer och minimera beroendet av centrala servrar utforskas en decentraliserad träningsstrategi. Vi undersöker även semi-övervakade inlärningstekniker för att detektera anomalier med enbart normal trafik. För att minska risken för falsklarm integrerar vi ett beslutsstödssystem med IDS:en för att filtrera larm och föreslå åtgärder. Vidare betonar avhandlingen betydelsen av tidsberoende trafikmönster för att identifiera attacktyper och utvärderar effektivitet och resurskrav för olika ML-modeller på ICS-representativ hårdvara. Sammantaget främjar dessa bidrag den praktiska tillämpningen av ML-baserad intrångsdetektering för ICS.

Place, publisher, year, edition, pages
Västerås: Mälardalens universitet, 2025. , p. 286
Series
Mälardalen University Press Dissertations, ISSN 1651-4238 ; 440
National Category
Computer Systems Control Engineering Embedded Systems Communication Systems
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:mdh:diva-73132ISBN: 978-91-7485-718-4 (print)OAI: oai:DiVA.org:mdh-73132DiVA, id: diva2:1992939
Public defence
2025-10-23, Delta och digitalt, Mälardalens universitet, Västerås, 13:30 (English)
Opponent
Supervisors
Available from: 2025-08-28 Created: 2025-08-28 Last updated: 2025-10-10Bibliographically approved
List of papers
1. ICSSIM — A framework for building industrial control systems security testbeds
Open this publication in new window or tab >>ICSSIM — A framework for building industrial control systems security testbeds
Show others...
2023 (English)In: Computers in industry (Print), ISSN 0166-3615, E-ISSN 1872-6194, Vol. 148, article id 103906Article in journal (Refereed) Published
Abstract [en]

With the advent of the smart industry, Industrial Control Systems (ICS) moved from isolated environments to connected platforms to meet Industry 4.0 targets. The inherent connectivity in these services exposes such systems to increased cybersecurity risks. To protect ICSs against cyberattacks, intrusion detection systems (IDS) empowered by machine learning are used to detect abnormal behavior of the systems. Operational ICSs are not safe environments to research IDSs due to the possibility of catastrophic risks. Therefore, realistic ICS testbeds enable researchers to analyze and validate their IDSs in a controlled environment. Although various ICS testbeds have been developed, researchers' access to a low-cost, extendable, and customizable testbed that can accurately simulate ICSs and suits security research is still an important issue.

In this paper, we present ICSSIM, a framework for building customized virtual ICS security testbeds in which various cyber threats and network attacks can be effectively and efficiently investigated. This framework contains base classes to simulate control system components and communications. Simulated components are deployable on actual hardware such as Raspberry Pis, containerized environments like Docker, and simulation environments such as GNS-3. ICSSIM also offers physical process modeling using software and hardware in the loop simulation. This framework reduces the time for developing ICS components and aims to produce extendable, versatile, reproducible, low-cost, and comprehensive ICS testbeds with realistic details and high fidelity. We demonstrate ICSSIM by creating a testbed and validating its functionality by showing how different cyberattacks can be applied.

Place, publisher, year, edition, pages
Elsevier BV, 2023
Keywords
Cybersecurity, Industrial Control System, Testbed, Network Emulation, Cyberattack
National Category
Engineering and Technology Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:mdh:diva-62321 (URN)10.1016/j.compind.2023.103906 (DOI)000966310200001 ()2-s2.0-85151016386 (Scopus ID)
Available from: 2023-04-24 Created: 2023-04-24 Last updated: 2026-06-12Bibliographically approved
2. Anomaly Detection Dataset for Industrial Control Systems
Open this publication in new window or tab >>Anomaly Detection Dataset for Industrial Control Systems
(English)Manuscript (preprint) (Other academic)
National Category
Engineering and Technology Computer and Information Sciences
Identifiers
urn:nbn:se:mdh:diva-62392 (URN)
Available from: 2023-05-05 Created: 2023-05-05 Last updated: 2025-10-10Bibliographically approved
3. Federated Learning for Network Anomaly Detection in a Distributed Industrial Environment
Open this publication in new window or tab >>Federated Learning for Network Anomaly Detection in a Distributed Industrial Environment
Show others...
2023 (English)In: Proceedings - 22nd IEEE International Conference on Machine Learning and Applications, ICMLA 2023, Institute of Electrical and Electronics Engineers Inc. , 2023, p. 218-225Conference paper, Published paper (Refereed)
Abstract [en]

Industrial control systems have been targeted by numerous cyber attacks over the past few decades which causes different problems related to data privacy, financial losses and operational failures. One potential approach to detect these attacks is by analyzing network data using machine learning and employing network anomaly detection techniques. However, the nature of these systems often involves their geographical dispersion across multiple zones, which poses a challenge in applying local machine learning methods for detecting anomalies. Additionally, there are instances where sharing complete operational data between different zones is restricted due to security concerns. As a result, a promising solution emerges by implementing a federated model for anomaly detection in these systems. In this study, we investigate the application of machine learning techniques for anomaly detection in network data, considering centralized, local, and federated approaches. We implemented the local and centralized methods using several simple machine-learning techniques and observed that Random Forest and Artificial Neural Networks exhibited superior performance compared to other methods. As a result, we extended our analysis to develop a federated version of Random Forest and Artificial Neural Network. Our findings reveal that the federated model surpasses the performance of the local models, and achieves comparable or even superior results compared to the centralized model, while it ensures data privacy and maintains the confidentiality of sensitive information.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers Inc., 2023
Keywords
Artificial Neural Network, Federated Learning, Machine Learning, Network Anomaly Detection, Random Forest
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:mdh:diva-66501 (URN)10.1109/ICMLA58977.2023.00038 (DOI)2-s2.0-85190154174 (Scopus ID)9798350345346 (ISBN)
Conference
22nd IEEE International Conference on Machine Learning and Applications, ICMLA 2023, Jacksonville, 15 December 2023 through 17 December 2023
Note

Conference paper; Export Date: 24 April 2024; Cited By: 0; Conference name: 22nd IEEE International Conference on Machine Learning and Applications, ICMLA 2023; Conference date: 15 December 2023 through 17 December 2023; Conference code: 198226

Available from: 2024-04-24 Created: 2024-04-24 Last updated: 2025-10-10Bibliographically approved
4. Using Decision Support to Fortify Industrial Control System Against Cyberattacks
Open this publication in new window or tab >>Using Decision Support to Fortify Industrial Control System Against Cyberattacks
Show others...
2024 (English)In: IEEE International Conference on Emerging Technologies and Factory Automation, ETFA, Institute of Electrical and Electronics Engineers (IEEE) , 2024Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents a cybersecurity solution designed to fortify Industrial Control Systems (ICS) against cyberattacks. The proposed solution integrates a Network-based Intrusion Detection System (NIDS) with a Decision Support System (DSS), leveraging machine learning to detect anomalies in network data and employing a filtering mechanism to reduce false alarms. The NIDS protects a simulated ICS testbed, detecting anomalies and forwarding them to the DSS for further analysis and selection of mitigation strategies. We outline the system architecture and showcase promising outcomes from a prototype implementation. Our proof of concept evaluation demonstrates high accuracy in detecting attack scenarios. Challenges such as detection delays between attacks and potential mitigations high-light areas for future improvement. This research contributes to bridging the gap between ML-based IDS and security solutions, paving the way for enhanced cybersecurity in ICS environments. 

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Series
IEEE Conference on Emerging Technologies and Factory Automation, ISSN 1946-0759
Keywords
Decision Support Systems, Industrial Control Systems, Intrusion Detection Systems, Machine Learning, Adversarial machine learning, Delay control systems, Intrusion detection, Cyber security, Cyber-attacks, Decision supports, In networks, Machine-learning, Network based intrusion detection systems, Network data, Support systems, Network intrusion
National Category
Computer Sciences
Identifiers
urn:nbn:se:mdh:diva-68997 (URN)10.1109/ETFA61755.2024.10710892 (DOI)001535140200156 ()2-s2.0-85207853195 (Scopus ID)9798350361230 (ISBN)
Conference
29th IEEE International Conference on Emerging Technologies and Factory Automation, ETFA 2024, Padova 10 September 2024 through 13 September 2024
Available from: 2024-11-13 Created: 2024-11-13 Last updated: 2026-02-16Bibliographically approved
5. Machine Learning-Driven Intrusion Detection and Identification in Industrial Control Systems
Open this publication in new window or tab >>Machine Learning-Driven Intrusion Detection and Identification in Industrial Control Systems
Show others...
2025 (English)In: Proceedings - 33rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2025, Institute of Electrical and Electronics Engineers (IEEE) , 2025, p. 552-559Conference paper, Published paper (Refereed)
Abstract [en]

Using machine learning to detect and identify cyberattacks in Industrial Control Systems (ICS) offers a promising solution for uncovering zero-day attacks that traditional rulebased models cannot detect. However, applying ML-based intrusion detection in ICS environments presents challenges, including limited availability of attack data and difficulty in accurately identifying attack types. This paper addresses these challenges by proposing two key strategies. First, we demonstrate that the predictable traffic patterns of ICS networks enable the use of semi-supervised learning models for attack detection. We validate this approach using a benchmark dataset, showing that semi-supervised models achieve comparable performance to fully supervised models while relying solely on training with normal network data. Second, we propose a sequence-based approach for attack identification, using temporal data to improve the accuracy of identifying specific attack types. Our experiments reveal that incorporating historical network parameters improves the attack identification. Our research underscores the potential of semisupervised learning for effective attack detection and highlights the importance of incorporating network temporal properties to improve attack identification. 

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
Series
Parallel, Distributed and Network-Based Processing (PDP), ISSN 2377-5750
Keywords
Industrial Control Systems, Intrusion Detection Systems, Machine Learning, Semi-supervised and Unsupervised Learning, Sequence-based Anomaly Detection
National Category
Computer Sciences
Identifiers
urn:nbn:se:mdh:diva-71457 (URN)10.1109/PDP66500.2025.00084 (DOI)2-s2.0-105005025392 (Scopus ID)9798331524937 (ISBN)
Conference
33rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2025, Turin, 12 March 2025 through 14 March 2025
Available from: 2025-05-23 Created: 2025-05-23 Last updated: 2026-02-16Bibliographically approved
6. Empirical Evaluation of Deep Learning Models for Intrusion Detection in Industrial Control Networks
Open this publication in new window or tab >>Empirical Evaluation of Deep Learning Models for Intrusion Detection in Industrial Control Networks
(English)Manuscript (preprint) (Other academic)
Abstract [en]

Industrial Control Systems (ICS) are increasingly targeted by cyberattacks, raising the need for effective Intrusion Detection Systems (IDS). However, their operational environments impose strict constraints on the deployment of IDS, particularly regarding computational efficiency and resource usage. ML-based approaches have shown promising performance in providing intelligent cyber detection to detect unknown and evolving threats. In this study, we systematically compare several deep learning models for intrusion detection in ICS networks. Given the scarcity of attack-representing data, we focus on semi-supervised approaches that learn from normal behavior, including Autoencoder (AE), Variational Autoencoder (VAE), Conditional VAE (CVAE), Probabilistic VAE (PVAE), and LSTM Autoencoder (LSTM-AE). Motivated by the need for lightweight models, our evaluation emphasizes both detection performance and deployment-relevant metrics (e.g., RAM usage, CPU load, training/inference time, and model size). All tests were conducted on isolated, resource-constrained hardware that resembles typical ICS edge devices and was dedicated solely to the IDS workload. The results show that AE offers the best trade-off between accuracy and resource efficiency, achieving F1-scores above 0.94 with minimal computational footprint. Importantly, we found that model size alone does not determine resource usage or timing efficiency, as architectural complexity can lead smaller models to consume more resources and run slower than larger ones. Hyperparameter tuning also affected footprint differently across models, emphasizing the need to jointly consider architecture, tuning, and hardware constraints when selecting models for ICS deployment.

Keywords
Industrial Control Systems (ICS), Network Intrusion Detection Systems (NIDS), Semi-supervised Deep Learning, Resource-Constrained, Model Efficiency
National Category
Embedded Systems Computer Systems Control Engineering
Research subject
Computer Science
Identifiers
urn:nbn:se:mdh:diva-73129 (URN)
Available from: 2025-08-28 Created: 2025-08-28 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

fulltext(3709 kB)836 downloads
File information
File name FULLTEXT02.pdfFile size 3709 kBChecksum SHA-512
b9b184ddbdefb030c24283af0d18ef2c1f4f65e248061ef80abd5e7cd9d19480668a7d5528128543045a42e79def6d4486b0c904b30eef8379d0872f63ca2136
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Dehlaghi Ghadim, Alireza
By organisation
Embedded Systems
Computer SystemsControl EngineeringEmbedded SystemsCommunication Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 837 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

isbn
urn-nbn

Altmetric score

isbn
urn-nbn
Total: 3096 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf