Detection of False Stealthy Data Injection Attacks in Smart Meters Using Machine Learning and Blockchain Technology
Open Access
Abstract
Despite the benefits associated with the use of smart meters in advanced metering infrastructure, the widespread deployment of such meters has introduced vulnerabilities that leave power systems susceptible to stealthy false data injection attacks which cannot be detected by conventional methods. In this paper, we present a framework that combines a bidirectional long short-term memory network with an attention mechanism and a blockchain integrity layer to provide secure anomaly detection. We utilize the Smart Meter Electricity Consumption Dataset, augmented with synthetically injected anomalies, to detect abnormal consumption behavior. Experimental results demonstrate that the proposed hybrid model achieves up to 96.23% accuracy, 99.88% precision, 92.58% recall, and 96.09% F1-score, outperforming eXtreme Gradient Boosting (XGBoost), Isolation Forest, and Random Forest baselines. Confusion matrix analysis confirms minimal false positives and strong detection capability for stealthy attacks. The blockchain layer ensures immutability and trustworthiness of detection results through cryptographic hashing and consensus mechanisms with negligible overhead. The proposed framework offers a scalable, secure, and interpretable solution for defending smart grid infrastructures against complex cyberattacks.Keywords
This publication has 35 references indexed in Scilit:
- False Data Injection Attacks on Smart Grids: Attack Models, Challenges and Future DirectionsInternational Journal of Information Security, 2026
- Detection of disturbances and cyber-attacks in smart grids using explainable machine learningScientific Reports, 2026
- Cyber-resilient machine learning framework for accurate individual load forecasting and anomaly detection in smart gridsScientific Reports, 2025
- Enhancing secure IoT data sharing through dynamic Q-learning and blockchain at the edgeScientific Reports, 2025
- A hybrid AI-Blockchain security framework for smart gridsScientific Reports, 2025
- Method for identifying false data injection attacks in power grid based on improved CNN-LSTMElectrical Engineering, 2025
- Enhancing Smart Grid Security Using BLS Privacy Blockchain With Siamese Bi‐LSTM for Electricity Theft DetectionTransactions on Emerging Telecommunications Technologies, 2025
- False Data Injection Attacks on Data-Driven Algorithms in Smart Grids Utilizing Distributed Power SuppliesEngineering, 2024
- Detection of false data injection attack in power grid based on spatial-temporal transformer networkExpert Systems with Applications, 2023
- Array programming with NumPyNature, 2020