Cyberattack Detection in Virtualized Microgrids Using LightGBM and Knowledge-Distilled Classifiers
Osasumwen Cedric Ogiesoba-Eguakun, Suman Rath

TL;DR
This paper presents a lightweight, real-time cyberattack detection system for virtual microgrids using LightGBM models trained on simulated attack data, achieving high accuracy and efficiency suitable for edge deployment.
Contribution
It introduces a comprehensive MATLAB-based virtual microgrid with structured attack injection and develops low-cost AI models for practical cybersecurity applications.
Findings
Multiclass attack detection accuracy of 99.72%
Binary attack detection accuracy of 94.8%
Real-time detection with 54-67 ms delay
Abstract
Modern microgrids depend on distributed sensing and communication interfaces, making them increasingly vulnerable to cyber physical disturbances that threaten operational continuity and equipment safety. In this work, a complete virtual microgrid was designed and implemented in MATLAB/Simulink, integrating heterogeneous renewable sources and secondary controller layers. A structured cyberattack framework was developed using MGLib to inject adversarial signals directly into the secondary control pathways. Multiple attack classes were emulated, including ramp, sinusoidal, additive, coordinated stealth, and denial of service behaviors. The virtual environment was used to generate labeled datasets under both normal and attack conditions. The datasets trained Light Gradient Boosting Machine (LightGBM) models to perform two functions: detecting the presence of an intrusion (binary) and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSmart Grid Security and Resilience · Network Security and Intrusion Detection · Software-Defined Networks and 5G
