Detecting Zero-Day Attacks in Digital Substations via In-Context Learning
Faizan Manzoor, Vanshaj Khattar, Akila Herath, Clifton Black, Matthew C Nielsen, Junho Hong, Chen-Ching Liu, Ming Jin
TL;DR
This work tackles zero-day intrusion detection in IEC-61850 digital substations by introducing an in-context learning framework based on GPT-2–style transformers. The authors generate diverse training data through multi-mixing and leverage weak classifiers to provide in-context labels, enabling four training regimes: WCTF, MTF, WCDTF, and MDTF, implemented in two architectures (simple transformer and distributional transformer). Results on the IEC-61850 dataset show strong zero-day detection, with MDTF delivering robust zero-shot performance and minimal failure cases, and high accuracy on known attacks, while meeting real-time latency constraints for deployment in substations. The approach demonstrates practical viability for securing digital substations with limited or no retraining, offering a path toward resilient protection against novel cyber threats in critical infrastructure.
Abstract
The occurrences of cyber attacks on the power grids have been increasing every year, with novel attack techniques emerging every year. In this paper, we address the critical challenge of detecting novel/zero-day attacks in digital substations that employ the IEC-61850 communication protocol. While many heuristic and machine learning (ML)-based methods have been proposed for attack detection in IEC-61850 digital substations, generalization to novel or zero-day attacks remains challenging. We propose an approach that leverages the in-context learning (ICL) capability of the transformer architecture, the fundamental building block of large language models. The ICL approach enables the model to detect zero-day attacks and learn from a few examples of that attack without explicit retraining. Our experiments on the IEC-61850 dataset demonstrate that the proposed method achieves more than $85\%$ detection accuracy on zero-day attacks while the existing state-of-the-art baselines fail. This work paves the way for building more secure and resilient digital substations of the future.
