Machine Learning-Based Cyberattack Detection in Industrial Control Systems Using the SWaT Dataset

Faculty Mentor Information

Dr. Hoda Mehrpouyan, Boise State University

Presentation Date

7-16-2026

Abstract

Industrial control systems are essential to the operation of critical infrastructure, including water treatment facilities, and are increasingly vulnerable to cyberattacks that can disrupt essential services and public safety. Reliable methods for detecting malicious activity are critical for improving the security, resilience, and reliability of these systems. The objective of this project is to investigate the application of machine learning for cyberattack detection using the Secure Water Treatment (SWaT) dataset.

To support this objective, the SWaT attack and normal operation datasets were preprocessed by cleaning the data, identifying attack periods, and preparing sensor measurements for machine learning analysis. A Random Forest classifier was implemented in Python using the scikit-learn library and evaluated using standard performance metrics, including accuracy, precision, recall, F1 score, and a confusion matrix, to assess its ability to distinguish between normal operation and cyberattack events. This work establishes a reproducible workflow for preprocessing cybersecurity data and applying supervised machine learning to intrusion detection in industrial control systems. By demonstrating the application of machine learning to cyberattack detection in industrial control environments, this project contributes to ongoing efforts to strengthen the security and resilience of critical infrastructure.

This document is currently not available here.

Share

COinS
 

Machine Learning-Based Cyberattack Detection in Industrial Control Systems Using the SWaT Dataset

Industrial control systems are essential to the operation of critical infrastructure, including water treatment facilities, and are increasingly vulnerable to cyberattacks that can disrupt essential services and public safety. Reliable methods for detecting malicious activity are critical for improving the security, resilience, and reliability of these systems. The objective of this project is to investigate the application of machine learning for cyberattack detection using the Secure Water Treatment (SWaT) dataset.

To support this objective, the SWaT attack and normal operation datasets were preprocessed by cleaning the data, identifying attack periods, and preparing sensor measurements for machine learning analysis. A Random Forest classifier was implemented in Python using the scikit-learn library and evaluated using standard performance metrics, including accuracy, precision, recall, F1 score, and a confusion matrix, to assess its ability to distinguish between normal operation and cyberattack events. This work establishes a reproducible workflow for preprocessing cybersecurity data and applying supervised machine learning to intrusion detection in industrial control systems. By demonstrating the application of machine learning to cyberattack detection in industrial control environments, this project contributes to ongoing efforts to strengthen the security and resilience of critical infrastructure.