Dual-Layer Defense: Blockchain-Secured Federated Learning Architecture for Trustworthy Anomaly Detection in IoT-Enabled Smart Grids

Integrating the Industrial Internet of Things (IIoT) into smart grids improves their operational efficiency but expands their attack surface. Federated learning (FL) enables privacy-preserving collaborative anomaly detection, but exchanged model updates remain exposed to tampering, impersonation, and replay. This paper proposes a dual-layer architecture in which FL performs distributed anomaly detection at edge nodes without sharing raw data, while a blockchain layer secures the exchanged parameters. Each local update is encrypted using ephemeral elliptic-curve Diffie–Hellman key agreement, a hash-based message authentication code-based key-derivation function, and Advanced Encryption Standard in Galois/Counter Mode; committed through a Merkle root and a digital signature; and recorded by an Ethereum smart contract that enforces node registration and round consistency. Evaluated with nine non-independent and identically distributed clients on the UNSW-NB15 and Edge-IIoTset datasets, the architecture achieves accuracies of 81.41% and 94.76% and F1 scores of 85.55% and 94.81%, respectively. Because the parameters are recovered exactly, detection performance is unaffected. Securing one update requires 0.394 ms at the edge node and 0.518 ms at the global node for the UNSW-NB15, and 1.884 ms at the edge node and 2.229 ms at the global node for the Edge-IIoTset dataset. Functional security testing demonstrates that all tampering, replay, impersonation, and unauthorized-submission attempts were detected. Parameter-level integrity protection can therefore be added to FL-based anomaly detection at low cost.

Authors

Institutions

Publication Details

Journal
Energies
Published
2026-11-05
DOI
https://doi.org/10.3390/en19215317
Primary Topic
Blockchain Technology Applications and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Dual-Layer Defense: Blockchain-Secured Federated Learning Architecture for Trustworthy Anomaly Detection in IoT-Enabled Smart Grids

Bassem Mahmoud Mokhtar, Ali Ismail Awad, Ghada Afifi, Hamza Kheddar et al.
Energies
Blockchain Technology Applications and Security
article

Dual-Layer Defense: Blockchain-Secured Federated Learning Architecture for Trustworthy Anomaly Detection in IoT-Enabled Smart Grids

Bassem Mahmoud Mokhtar, Ali Ismail Awad, Ghada Afifi, Hamza Kheddar, Bhabendu Kumar Mohanta
article en

Abstract

Integrating the Industrial Internet of Things (IIoT) into smart grids improves their operational efficiency but expands their attack surface. Federated learning (FL) enables privacy-preserving collaborative anomaly detection, but exchanged model updates remain exposed to tampering, impersonation, and replay. This paper proposes a dual-layer architecture in which FL performs distributed anomaly detection at edge nodes without sharing raw data, while a blockchain layer secures the exchanged parameters. Each local update is encrypted using ephemeral elliptic-curve Diffie–Hellman key agreement, a hash-based message authentication code-based key-derivation function, and Advanced Encryption Standard in Galois/Counter Mode; committed through a Merkle root and a digital signature; and recorded by an Ethereum smart contract that enforces node registration and round consistency. Evaluated with nine non-independent and identically distributed clients on the UNSW-NB15 and Edge-IIoTset datasets, the architecture achieves accuracies of 81.41% and 94.76% and F1 scores of 85.55% and 94.81%, respectively. Because the parameters are recovered exactly, detection performance is unaffected. Securing one update requires 0.394 ms at the edge node and 0.518 ms at the global node for the UNSW-NB15, and 1.884 ms at the edge node and 2.229 ms at the global node for the Edge-IIoTset dataset. Functional security testing demonstrates that all tampering, replay, impersonation, and unauthorized-submission attempts were detected. Parameter-level integrity protection can therefore be added to FL-based anomaly detection at low cost.

EnergiesVol. 19(21)
United Arab Emirates University (AE), University Yahia Fares of Medea (DZ)
Openalex Percentile: Top 9%
Blockchain Technology Applications and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon