Next Article in Journal
Direct Internal Voltage Control-Based Fault Current-Limiting Control Strategy for Grid-Forming Converters with LCL Filter
Previous Article in Journal
Adaptive Intra-Class Variation Contrastive Learning for Unsupervised Person Re-Identification in Substation Worker Safety Monitoring
Previous Article in Special Issue
Dynamics Modeling Dedicated to the Operation and Control of Underwater Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Moving Target Defense-Based Event-Triggered Attack Detection and State Estimation in WSN

1
School of Artificial Intelligence, Shenyang University of Technology, Shenyang 110870, China
2
School of Automation, Nanjing University of Posts and Telecommunications, Nanjing 210023, China
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(11), 2340; https://doi.org/10.3390/electronics15112340
Submission received: 24 April 2026 / Revised: 16 May 2026 / Accepted: 26 May 2026 / Published: 28 May 2026

Abstract

This paper is concerned with the attack detection and state estimation problems in wireless sensor networks (WSNs) under stealthy false data injection (FDI) attacks. Firstly, to better detect stealthy FDI attacks on the system, an extended moving target defense strategy was introduced to expand the system’s attack surface. Then, based on the construction of an extended system, a distributed Kalman filter was designed, and the χ 2 detector was constructed using the prior estimation information of the filter to jointly achieve attack detection and state estimation. To reduce the occupation rate of WSN communication resources, an event-triggered mechanism was designed between the sensor and the estimator. Finally, simulation results demonstrate the efficiency and advantage of the proposed approach.

1. Introduction

As a class of distributed sensor networks, wireless sensor networks (WSNs) have found extensive applications across various fields due to their straightforward network deployment, low-cost sensor nodes, diverse types, and ease of replacement and arrangement. They have garnered significant attention and research interest from both the academic and industrial sectors [1]. As the significance of WSNs has grown, numerous national research institutions have successively joined the study of WSNs. This has led to rapid advancements in wireless sensor technology. However, there are still many issues that need to be further studied and resolved. In numerous pragmatic contexts, the comprehensive state of a dynamic system is not invariably quantifiable or attainable. For instance, the system model may be contaminated by external disturbances and noise. Therefore, state estimation is challenging [2]. On the other hand, communication networks increase the flexibility and scalability of WSNs by enabling more nodes to access the network media. Nonetheless, this also increases the risk of WSNs being attacked [3,4]. In particular, bit-flip errors in noisy communication channels can severely degrade the performance of dynamic encoding-based control schemes, necessitating active error-resistant mechanisms [5]. These communication imperfections not only threaten data integrity but also provide potential attack vectors for adversaries to inject false data stealthily. With the diversification and complexity of attack types, it has been difficult for single intrusion detection systems to meet network security requirements. Therefore, it is necessary to conduct new research based on existing detection technologies [6,7].
Currently, the most frequently used and earliest proposed attack detection method is the residual-based attack detection method. By comparing the discrepancies between the actual output and the estimated output of the system, it determines whether the system is under attack. However, with the rapid advancement of computer science and technology, intelligent adversaries can steal system model information to launch stealthy attacks that are hard to detect. Merely relying on residual anomalies has become insufficient for detecting some covert attack signals [8,9,10]. In response to this situation, it is necessary to actively incorporate defense strategies to enhance the performance of the attack detector. Watermarking-based attack detection methods and moving target defense (MTD)-based attack detection methods have gradually become new research hotspots [11,12].
Considering that each sensor node may be susceptible to false data injection (FDI) attacks when transmitting local estimates to the fusion center, a straightforward encryption scheme was designed for the transmission channel in [13]. Building upon this encryption scheme, an attack detection mechanism was developed to enable real-time detection of FDI attack signals. To address FDI attacks, a random watermark signal was embedded into the original measurement data of the system sensors in [14], thereby concealing the true sensor measurements from potential attackers. This approach offers a novel solution to the security challenges faced in WSNs. However, since the watermarking method relies on embedded signals, it is challenging to guarantee that these signals will not be predicted by malicious adversaries, allowing them to bypass or disrupt the watermark. This can lead to delayed or failed attack detection, rendering the watermark actively added by defenders ineffective. To address this shortcoming, ref. [15] addressed the scenario where multi-sensor systems may be subjected to spoofing attacks by incorporating watermark signals into each sensor of the system. Since the watermark signals are artificially added by the defender, even if adversaries detect the presence of the watermark, the defender can dynamically adjust the parameters of the watermark to ensure the proper functioning of the attack detection mechanism. It is noteworthy that although watermarking methods have been widely applied in WSNs, the system performance may degrade due to the added watermark signals.
In [16], three MTD methods for cyber-physical systems under covert attacks are proposed, namely, hybrid MTD, extended MTD and nonlinear MTD. These three MTD strategies were combined with the χ 2 detector, and the detection performance of these methods in cyber-physical systems under covert attacks was analyzed. However, considering only covert attacks has certain limitations; ref. [17] combined MTD and watermarking to propose a new hybrid active detection scheme for detecting invisible attacks on cyber-physical systems with unknown but bounded noise. Different from [16], this active detection framework can be used to detect multiple varieties of attacks within a singular system. Moreover, the MTD strategy was applied to the power system subject to cyber attacks to enhance the ability to detect expected cyber attacks in [18,19]. In summary, MTD strategies have been broadly utilized in cyber-physical systems. Furthermore, modifications and enhancements have been made to MTD strategies to address specific kinds of cyber attacks, with the aim of achieving the objective of effective attack detection. As another active defense mechanism, MTD strategies offer a viable solution to secure systems without compromising their performance. Furthermore, the application of MTD strategies in the context of WSNs remains an underexplored area in the research on active defense mechanisms.
The most commonly considered method for state estimation in existing work is distributed state estimation. A set of interconnected sensors collaboratively estimate some parameters of interest from noisy measurements without a fusion center. Compared with the traditional centralized or decentralized processing with a fusion center, distributed state estimation avoids the vulnerability of central node dysfunction [20]. In [21], a recursive distributed Kalman fusion estimator was designed for a cyber-physical system under replay attacks in the sense of linear minimum variance. However, once the fusion center fails, the effectiveness of this method on state estimation may be significantly reduced. Therefore, ref. [22] considers the design of distributed filters for WSNs under the influence of deception attacks. Additionally, the distributed secure state estimation problems of WSNs under different cyber attacks are studied in [23,24]. From the perspective of resource conservation, the traditional continuous or periodic sampling transmission mode will lead to inefficient utilization of limited resources such as sensor power and bandwidth. Therefore, it is necessary to introduce an event-triggered (ET) mechanism [25]. The ET mechanism was set in different transmission channels of the system to save communication resources in [26,27] while also considering the impact on system performance. It can be seen that the ET mechanism has a significant effect on reducing the pressure on system communication bandwidth.
In this paper, a distributed secure state estimation method based on ET mechanism for WSNs is proposed. Based on the extended MTD strategy, an extended subsystem was designed for each sensor system to prevent the effect of stealthy FDI attacks injected by malicious attackers. On this basis, a distributed Kalman filter and χ 2 detector were devised to solve the attack detection and state estimation problems of WSNs under stealthy FDI attacks. The proposed framework introduces the following technical breakthroughs: (1) For WSNs under stealthy FDI attacks, an extended MTD strategy was designed to attain secure defense. The dynamically varying extended system parameter matrix can prevent adversaries from obtaining the specific system model, thereby achieving secure defense. (2) Based on the extended system, a distributed Kalman filter utilizes the ET mechanism was designed. Moreover, the χ 2 detector was constructed by utilizing the prior state estimation information from the Kalman filter. The method can not only detect the stealthy FDI attacks well but also achieve good state estimation results and realize attack detection and state estimation at the same time.
The modeling of WSNs and the problems considered are described in the next section. Section 3 presents the main results of the design of attack detector and distributed Kalman filter. In Section 4, an illustrative example is presented to show the effectiveness of the proposed method. Finally, conclusions are drawn in Section 5.

2. System Description and Problem Statement

2.1. System and Extended Moving Target Defense Model

In this paper, a spatially distributed network system composed of multiple sensor nodes is considered, with the aim of achieving precise monitoring of targets. These sensors collaborate through wireless communication technology to accomplish the tasks of data measurement and transmission. To precisely describe the topological structure of this complex network, this paper employs directed graph theory as an analytical tool. This approach provides a solid theoretical foundation and an intuitive representation for subsequent research. Consider the discrete time linear system model:
x k + 1 = A x k + B u k + ω k y i , k = C i x k + ν i , k
where x k R n represents the system state at time k, u k R p is a vector of control inputs. y i , k R q denotes the measurement output of sensor i, and i = 1 , 2 , , s is the number of sensors. The process noise ω k N ( 0 , Q k ) and the sensor noise ν i , k N ( 0 , R i , k ) are independent and identically distributed Gaussian processes. A, B, C i are known real matrices. A is a stable matrix. The initial state x 0 has the mean x ^ 0 and covariance P 0 , which is assumed to be mutually uncorrelated with ω k and ν i , k .
To better address potential stealthy FDI attacks on the system, this paper introduces an extended MTD strategy. This involves adding an extension system that is coupled with the original system without affecting its performance. The dynamic expression for this system is given as presented below:
x ˇ k + 1 x k + 1 = A ˇ A ˇ k 0 A x ˇ k x k + B ˇ k B u k + ω ˇ k ω k y ˇ i , k y i , k = C ˇ i C ˇ i , k 0 C i x ˇ k x k + ν ˇ i , k ν i , k
In this context, x ˇ k R n represents the extended system state, y ˇ i , k R q denotes the measurement output of sensor i in the extended system. The extended MTD strategy follows a simple design principle. It assumes that attackers try to inject stealthy FDI attack signals. These signals aim to change the original system state without affecting its measurements. However, the same signals will also alter the state of the extended system. As a result, the measurement values of the extended system will change. Due to the lack of understanding of the extended system, attackers are unable to conceal the impact of the attack signal on the sensor measurement values of the extended system. The time varying parameter matrices are determined by an encrypted pseudo random number generator and entirely governed by its seed. The extended MTD strategy introduced by sensor i is shown in Figure 1.
With the rapid development of intelligent technologies, cyber attack methods are increasingly showing a trend towards high intelligence. Their concealment and complexity are constantly increasing, presenting unprecedented challenges to traditional detection mechanisms. These intelligent attacks often cleverly evade conventional security defenses, making timely and accurate detection and defense more difficult. Attackers can access and modify the input and output data transmitted through networks, thereby deducing the system model parameters A, B, C i , Q k and R i , k through these inputs and outputs. Finally, they use these parameters to generate attack signals. This paper considers the stealthy FDI attack model on the WSN as follows:
x k + 1 a = A x k a + B u k a s i , k a = C i x k a x ˇ k + 1 a = A x ˇ k a + B u k a s ˇ i , k a = C i x ˇ k a
In this context, u k a represents the attack signal injected by the attacker into the input channel. The states after being subjected to an attack are denoted as x k a and x ˇ k a . Similarly, s i , k a and s ˇ i , k a represent the attack signals injected by the attacker into the sensor measurement channels.
Assumption 1. 
There exists a positive integer ε such that
u k a u k a T ε I
Assumption 1 means the constraint of unknown attacks. We consider a stealthy FDI attack model that enables the system’s output data to be consistent with normal operation during an attack, thus making it difficult to detect. The introduction of an extended subsystem limits the malicious attacker’s understanding of the system model, enabling the subsequently designed detector to detect the attack signal.
Remark 1. 
Assumption 1 is a standard assumption in the literature to ensure the physical implementability of the attack. Following the stealthy FDI attack model in [28], we assume that the attacker is capable of eavesdropping on and tampering with the input and output data transmitted through the network. By exploiting these data, the attacker can identify the system model parameters A, B, C i , Q k and R i , k and subsequently construct stealthy attack signals that evade conventional detection mechanisms.
Under these conditions, the extended system in (2) can be rephrased as presented below:
x ¯ k + 1 = A k x ¯ k + B k u ¯ k + ω ¯ k y ¯ i , k = C i , k x ¯ k + s ¯ i , k + ν ¯ i , k ,
where x ¯ k = x ˇ k x k , y ¯ i , k = y ˇ i , k y i , k , u ¯ k = u k + u k a , s ¯ i , k = s ˇ i , k a s i , k a , ω ¯ k = ω ˇ k ω k , ν ¯ i , k = ν ˇ i , k ν i , k , A k = A ˇ A ˇ k 0 A , B k = B ˇ k B , C i , k = C ˇ i C ˇ i , k 0 C i .
   To address the issue of conserving network resources, the following ET mechanism is incorporated between the sensor nodes and the Kalman filter:
γ i , k = 1 , if ϕ i , k ϕ ¯ i , k η i y i , k y i , k 0 , otherwise
where ϕ ¯ i , k = y ¯ i , k i y ¯ i , k , η i represents a positive constant that can be adjusted based on the practical operating conditions of the system.
Remark 2. 
The ET mechanism inevitably introduces a small detection delay between the occurrence of an attack and its identification, as the detector is only activated at triggered instants rather than at every sampling step. However, this delay is typically bounded by a few sampling periods and is negligible compared to the time scale of physical system dynamics. The analysis and mitigation of such delays are beyond the scope of this paper and are deferred to future work.

2.2. Estimation and Detection

To effectively combat network attacks and conserve communication resources, the form of distributed Kalman filter for sensor i is constructed as follows:
x ¯ ˘ i , k = A k 1 x ¯ ˘ i , k 1 + + B k 1 u ¯ k 1 x ¯ ˘ i , k + = x ¯ ˘ i , k + L ¯ i , k r N i γ r , k ( y ¯ r , k C r , k x ¯ ˘ r , k )
where x ¯ ˘ i , k and x ¯ ˘ i , k + represent the prior and posterior state estimates of sensor i, L ¯ i , k is the Kalman filter gain which should be designed. γ r , k is a constant. γ r , k = 1 indicates that the sampled data at the current moment satisfies the event triggered condition. Otherwise, the exemplified data at the present instant does not conform to the event triggered condition.
In order to detect stealthy FDI attacks, this section adopts the χ 2 detector for attack detection. When the data passes through the Kalman filter, these data will also be received by the detector. The model of the χ 2 detector is as follows:
G k = i = k J + 1 k Z i , k T z 1 Z i , k δ
where Z i , k = γ i , k ( y ¯ i , k C i , k x ¯ ˘ i , k ) , J represents the window size, δ denotes the detection threshold. Z i , k is the residual at the current time, and z is the covariance of Z i , k . When G k < δ , the system is considered to be operating normally. Conversely, when G k > δ , the system is deemed to be under attack, which will trigger an alert. The system model diagram is shown in Figure 2.
Remark 3. 
The threshold setting of the χ 2 detector follows the standard criterion established in [29]. Under the null hypothesis, the detection statistic G k asymptotically follows a central χ 2 distribution with m J degrees of freedom, and the threshold is selected as the ( 1 α ) -quantile for a prescribed significance level α.

3. Main Results

3.1. Design of Distributed State Estimator

Lemma 1 
([30]). For any matrices A , B , C , D R n and any positive scalar θ > 0 , if ( θ A B ) and ( θ C D ) are bounded, then there exists a bounded matrix ξ R n such that the following matrix inequality holds:
A D T + B C T θ A C T + θ 1 B D T + ξ .
Theorem 1. 
For the augmented system in (5), considering the prior state estimation error covariance as Λ i i , k and Λ i j , k , the posterior state estimation error covariance as Λ i i , k + and Λ i j , k + . For the given positive scalars θ 1 and ς 1 , as well as the bounded matrix ξ 1 , if there exist two matrices, denoted as Ω i i , k and Ω i i , k + , that satisfy the following equations:
Ω i i , k = A k 1 Λ i i , k 1 + A k 1 T + Q ¯ k 1 Ω i j , k = A k 1 Λ i j , k 1 + A k 1 T + Q ¯ k 1
Ω i i , k + = Ω i i , k r N i γ r , k Ω i r , k C r , k T L ¯ i , k T L ¯ i , k r N i γ r , k C r , k Ω r i , k + L ¯ i , k r N i γ r , k C r , k Ω r r , k C r , k T L ¯ i , k T + L ¯ i , k r N i γ r , k ( N r , k + R r , k ) L ¯ i , k T Ω i j , k + = ( 1 + θ 1 ) Ω i j , k + L ¯ i , k r N i , s N j r s γ r , k γ s , k N r s , k L ¯ j , k T + ξ 1 + ς 1 I + ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j r s γ r , k γ s , k C r , k Ω r s , k C s , k T L ¯ j , k T
the matrix Ω i i , k + represents the upper bound of Λ i i , k + , and the gain is furnished by
L ¯ i , k = D ¯ i , k E ¯ i , k 1
where E ¯ i , k = r N i γ r , k ( C r , k Ω r r , k C r , k T + N r r , k + R r , k ) , D ¯ i , k = r N i γ r , k Ω i r , k C r , k T .
Proof. 
For the convenience of analysis, define the prior state estimation error is ψ i , k = x ¯ k x ¯ ˘ i , k , the posterior state estimation error is ψ i , k + = x ¯ k x ¯ ˘ i , k + . Combining Equation (7), the state estimation can be written as
ψ i , k = A k 1 ψ i , k 1 + + ω ¯ k 1 ψ i , k + = ψ i , k L ¯ i , k r N i γ r , k ( C r , k ψ r , k + s ¯ r , k + v ¯ r , k )
The prior state estimation error covariances Λ i i , k and Λ i j , k are obtained as follows:
Λ i i , k = E { ψ i , k ψ i , k T } = E { ( A k 1 ψ i , k 1 + + ω ¯ k 1 ) ( A k 1 ψ i , k 1 + + ω ¯ k 1 ) T } = A k 1 Λ i i , k 1 + A k 1 T + Q ¯ k 1 = Ω i i , k Λ i j , k = E { ψ i , k ψ j , k T } = E { ( A k 1 e i , k 1 + + ω ¯ k 1 ) ( A k 1 ψ j , k 1 + + ω ¯ k 1 ) T } = A k 1 Λ i j , k 1 + A k 1 T + Q ¯ k 1 = Ω i j , k
In the subsequent derivation process, the attack signals s ¯ i , k injected by the attacker into the system’s sensor measurement channels need to be addressed. This section employs a method for solving the dynamic equations of a linear discrete system to handle s ¯ i , k .
For ease of expression, the attack signal model is
δ ¯ k + 1 = D δ ¯ k + F u k a s ¯ i , k = H i δ ¯ k
where δ ¯ k = x ˇ k a x k a , D = A 0 0 A , F = B B , H i = C i 0 0 C i .
   By solving the dynamic equations of the linear discrete system, the solution for the aforementioned attack signal model leads to
δ ¯ k = D k δ ¯ k 0 + j = 0 k 1 D k j 1 F u j s ¯ i , k = H i δ ¯ k = H i ( D k δ ¯ k 0 + j = 0 k 1 D k j 1 F u j )
Applying the boundedness of u k a in Assumption 1, the attack signal covariances N i i , k and N i j , k can be formulated as
N i i , k = E { s ¯ i , k s ¯ i , k T } = E { [ H i ( D k δ ¯ k 0 + j = 0 k 1 D k j 1 F u j ) ] [ H i ( D k δ ¯ k 0 + j = 0 k 1 D k j 1 F u j ] T } N i j , k = E { s ¯ i , k s ¯ j , k T } = E { [ H i ( D k δ ¯ k 0 + r = 0 k 1 D k r 1 F u r ) ] [ H j ( D k δ ¯ k 0 + s = 0 k 1 D k s 1 F u s ] T }
Based on the above conditions, the posterior state estimation error covariance Λ i j , k + can be obtained as presented below:
Λ i j , k + = E { ψ i , k + ψ j , k + T } = E { [ ψ i , k L ¯ i , k r N i γ r , k ( C r , k ψ r , k + s ¯ r , k + ν ¯ r , k ) ] [ ψ j , k L ¯ j , k s N i γ s , k ( C s , k ψ s , k + s ¯ s , k + ν ¯ s , k ) ] T } = E { ψ i , k ψ j , k T s N i γ s , k ψ i , k ψ s , k T C s , k T L ¯ j , k T L ¯ i , k r N i γ r , k C r , k ψ r , k ψ j , k T + L ¯ i , k r N i , s N j γ r , k γ s , k C r , k ψ r , k ψ s , k T C s , k T L ¯ j , k T + L ¯ i , k r N i , s N j γ r , k γ s , k s ¯ r , k s ¯ s , k T L ¯ i , k T }
By applying Lemma 1, we obtain
E { s N i γ s , k ψ i , k ψ s , k T C s , k T L ¯ j , k T L ¯ i , k r N i γ r , k C r , k ψ r , k ψ j , k T } E { θ 1 ψ i , k ψ j , k T + θ 1 1 L ¯ i , k r N s N γ r , k γ s , k C r , k ψ r , k ψ s , k T C s , k T L ¯ j , k T + ξ 1 }
where ξ 1 is a bounded matrix. θ 1 is a scalar which satisfies θ 1 > 0 , making θ 1 ψ i , k L ¯ i , k r N γ r , k C r , k ψ r , k and θ 1 ψ j , k s N i γ s , k L ¯ j , k C s , k ψ s , k bounded.
Therefore, the error covariance Λ i j , k + can be further described as
Λ i j , k + ( 1 + θ 1 ) E { ψ i , k ψ j , k T } + L ¯ i , k r N i , s N j γ r , k γ s , k E { s ¯ r , k s ¯ s , k T } L ¯ i , k T + ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k E { ψ r , k ψ s , k T } C s , k T L ¯ j , k T + ξ 1 ( 1 + θ 1 ) Λ i j , k + ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k Λ r s , k C s , k T L ¯ j , k T + L ¯ i , k r N i , s N j γ r , k γ s , k N r s , k L ¯ j , k T + ξ 1
For the convenience of expression, let us define a bounded matrix as λ r s , k = ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k × ( Λ r s , k Ω r s , k ) C s , k T L ¯ j , k T .
   Through the aforementioned definition, it is thereby deducible that
( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k Λ r s , k C s , k T L ¯ j , k T = ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k Ω r s , k C s , k T L ¯ j , k T + λ r s , k ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k Ω r s , k C s , k T L ¯ j , k T + ς 1 I
where ς 1 is a constant. Ultimately, the upper bound Ω i j , k + leads to
Λ i j , k + ( 1 + θ 1 ) Ω i j , k + ( 1 + θ 1 1 ) L ¯ i , k r N i , s N j γ r , k γ s , k C r , k Ω r s , k C s , k T L ¯ j , k T + L ¯ i , k r N i , s N j γ r , k γ s , k N r s , k L ¯ j , k T + ξ 1 + ς 1 I = Ω i j , k +
The posterior state estimation error covariance Λ i i , k + is formulated as
Λ i i , k + = E { ψ i , k + ψ i , k + T } = E { [ ψ i , k L ¯ i , k r N i γ r , k ( C r , k ψ r , k + s ¯ r , k + ν ¯ r , k ) ] [ ψ i , k L ¯ i , k r N i γ r , k ( C r , k ψ r , k + s ¯ r , k + ν ¯ r , k ) ] T }
Further processing of Equation (23) leads to
Λ i i , k + = E { ψ i , k ψ i , k T } r N i γ r , k E { ψ i , k ψ r , k T } C r , k T L ¯ i , k T + L ¯ i , k r N i γ r , k C r , k E { ψ r , k ψ r , k T } C r , k T L ¯ i , k T + L ¯ i , k r N i γ r , k ( E { s ¯ r , k s ¯ r , k T } + E { ν ¯ r , k ν ¯ r , k T } ) L ¯ i , k T L ¯ i , k r N i γ r , k C r , k E { ψ r , k ψ i , k T } = Λ i i , k r N i γ r , k Λ i r , k C r , k T L ¯ i , k T L ¯ i , k r N i γ r , k C r , k Λ r i , k + L ¯ i , k r N i γ r , k C r , k Λ r r , k C r , k T L ¯ i , k T + L ¯ i , k r N i γ r , k ( N r r , k + R r , k ) L ¯ i , k T
Therefore, the upper bound Ω i i , k + is formulated as
Λ i i , k + Ω i i , k r N i γ r , k Ω i r , k C r , k T L ¯ i , k T L ¯ i , k r N i γ r , k C r , k Ω r i , k + L ¯ i , k r N i γ r , k C r , k Ω r r , k C r , k T L ¯ i , k T + L ¯ i , k r N i γ r , k ( N r r , k + R r , k ) L ¯ i , k T = Ω i i , k +
Then, the partial derivative of Ω i i , k + is computed with respect to L ¯ i , k :
t r { Ω i i , k + } L ¯ i , k = 2 L ¯ i , k r N i γ r , k ( C r , k Ω r r , k C r , k T + N r r , k + R r , k ) 2 r N i γ r , k Ω i r , k C r , k T = 0
Ultimately, upon reorganizing Equation (26), the gain L ¯ i , k is formulated as (12).    □
Remark 4. 
The filter gain L ¯ i , k is derived by minimizing the trace of the upper bound Ω i i , k + , rather than the true error covariance. Consequently, the obtained gain is sub-optimal. Nevertheless, this sub-optimal gain guarantees a bounded estimation error and is computationally tractable for distributed implementation.
Remark 5. 
The per-step computational complexity at each sensor node is 𝒪 ( n 3 + q 3 ) , dominated by the Kalman filter covariance update ( 𝒪 ( n 3 ) ) and the χ 2 detector ( 𝒪 ( q 3 ) ), where n and q are the dimensions of the extended state x ˘ k and measurement y ˘ i , k , respectively. The ET mechanism reduces communication to 𝒪 ( 1 ) per trigger, versus 𝒪 ( q ) for periodic transmission.

3.2. Stability Analysis

Assumption 2. 
There exist positive real numbers a ̲ , a ¯ , c ̲ , c ¯ , r ̲ , r ¯ , q ̲ , q ¯ , n ̲ , n ¯ such that for all i = 1 , 2 , , s , the following inequalities hold:
a ̲ A k a ¯ , c ̲ C i , k c ¯ , r ̲ R i , k r ¯ , q ̲ Q k q ¯ , n ̲ N i i , k n ¯
Theorem 2. 
For the augmented system in (5) and the designed distributed Kalman filter (7), under Assumption 2, let Ω i i , 0 + Ω i i + , where Π ¯ i i + are positive real numbers. If
Ω i i r N i γ r , k Ω i r c ¯ k ¯ k ¯ r N i γ r , k c ¯ Ω r i + k ¯ 2 r N i γ r , k ( c ¯ 2 Ω r r + n ¯ + r ¯ ) Ω i i +
then for any k 1 , the inequality Ω i i , k + Π ¯ i i + holds.
Proof. 
This section employs mathematical induction to address the difficulties arising from the coupling between covariances.
We assume Ω i i , k 1 + Ω i i + , and then we prove its validity for any k. Since Ω i i , k 1 + Ω i i + holds, it follows that Ω i j , k 1 + Ω i j + , where Ω i j + Ω i i + Ω j j + . The following inequality can be obtained from Equations (12) and (14):
Ω i i , k = A k 1 Ω i i , k 1 + A k 1 T + Q ¯ k 1 a ¯ 2 Ω i i + + q ¯ = Ω i i Ω i j , k = A k 1 Ω i j , k 1 + A k 1 T + Q ¯ k 1 a ¯ 2 Ω i j + + q ¯ = Ω i j
D ¯ i , k = r N i γ r , k Ω i r , k C r , k T r N i γ r , k Ω i r c ¯ = d ¯
E ¯ i , k = r N i γ r , k ( C r , k Ω r r , k C r , k T + N r r , k + R r , k ) r N i γ r , k ( c ̲ 2 Ω r r , k + n ̲ + R ̲ ) = e ̲
Therefore, the gain L ¯ i , k satisfies
L ¯ i , k = D ¯ i , k E ¯ i , k 1 d ¯ e ̲ = L ¯
Then, the following inequality is formulated as
Ω i i , k + Ω i i r N i γ r , k Ω i r c ¯ k ¯ k ¯ r N i γ r , k c ¯ Ω r i + k ¯ 2 r N i γ r , k ( c ¯ 2 Ω r r + n ¯ + r ¯ ) = Ω i i +
Therefore, if Ω i i r N i γ r , k Ω i r c ¯ k ¯ k ¯ r N i γ r , k c ¯ Ω r i + k ¯ 2 r N i γ r , k ( c ¯ 2 Ω r r + n ¯ + r ¯ ) Ω i i + , then for any k 1 , the inequality Ω i i , k + Ω i i + holds.    □
In order to facilitate the understanding of the theoretical analysis and design, the implementation process of the event-triggered state estimation and attack detection scheme is summarized into Algorithm 1.
Algorithm 1 Event-triggered state estimation and attack detection
Input: Initial values of state estimations
Output: The prior and posterior state estimations x ¯ ˘ i , k and x ¯ ˘ i , k + and detection alarm
1: Initialize the estimations x ¯ ˘ i , k = 0 , and x ¯ ˘ i , k + = 0 .
2: Calculate the filter gains L ¯ i , k according to (12).
3: Determine the event-triggered variable γ r , k according to (6).
4: Execute the state estimations according to (7).
5: Update G k according to the residual Z i , k and covariance z .
6: Generate the detection decision according to (8) and δ .
7: Repeat steps 2–6 for the next sample.

4. Simulation

To validate the proposed approach, it was assumed that the continuous-time plant is discretized with a proper sampling period T and that the samples are transmitted based on an event-triggering mechanism. After discretization with sampling period T = 0.01   s , the discrete-time system can be described as the original system (1), the parameter matrices are given by
A = 0.8 0.2 0 0.8 , B = 0.6 0.5 0.4 0.6 , Q k = 0.5 0 0 0.7 ,
C 1 = 0.2 0.8 , C 2 = 0.2 1 , C 3 = 0 1 ,
R 1 , k = 0.81 , R 2 , k = 1 , R 3 , k = 3 .
As shown in Figure 3, the sensor network topology is represented by G = ( V G , E G , A G ) , where V G = { 1 , 2 , 3 } , E G = { ( 1 , 1 ) , ( 1 , 2 ) , ( 2 , 1 ) , ( 2 , 2 ) , ( 3 , 1 ) , ( 3 , 2 ) , ( 3 , 3 ) } .
An extended MTD strategy was introduced for the aforementioned system. Here, the seed was selected as 1. The parameter matrices of the extended system are given in Table 1.
The initial values of the state and variance were selected to be zero. The adjustable parameters θ 1 was set to 1, ς 1 was set to 0.01 , and ξ 1 was set to 0.01 I . The input channel was injected with the attack signal u k a = [ 1.5 , 0 ] T from k = 5.5 to k = 6 and k = 7 to k = 7.5 . The attack signal is injected into the output channel during the same time periods to counteract the influence of the attack signal injected into the input channel on the output channel concurrently.
The instants of communication triggering the event-triggered mechanism for the three sensors are presented in Figure 4, Figure 5 and Figure 6. The adjustable parameters of the ET mechanism for the three sensors were set to 0.0075 , 0.0199 , and 0.0175 respectively. The reduction ratio in the number of transmissions is presented in Table 2. The results show that the ET mechanism significantly reduces unnecessary data transmissions, confirming its effectiveness in conserving communication resources.
The state estimations of the proposed estimator across different sensor nodes are shown in Figure 7, Figure 8, Figure 9 and Figure 10. Each subplot presents a comparison between the actual system states and their estimated states, demonstrating that the estimator accurately tracks the true system states under various conditions. All state variables in the system are dimensionless normalized values. Figure 11 illustrates the trace of the upper bound of the estimation error covariance of sensor 1, and the mean square error is illustrated in Figure 12. The convergence trend of the trace confirms the stability of the proposed state estimator.
The detection performance of the proposed detector against stealthy FDI attacks is shown in Figure 13. The detection threshold δ = 1400 is determined within the statistical hypothesis testing framework according to Remark 3 with J = 1 and α = 0.05 . During the attack-free interval ( k = 0 to 5.5 ), the detection statistic fluctuates between 1200 and 1300, approaching yet remaining below the threshold 1400. Such elevated values are attributed to the inherent measurement noise and process uncertainties under normal operating conditions, which are well within the expected statistical variation. Since the statistic does not exceed the preset threshold, no false alarm is triggered. Furthermore, a persistent-violation criterion is implemented, whereby an alarm is declared only if the detection statistic consecutively exceeds the threshold for N 3 sampling instants. The empirical false alarm rate is measured to be below 5 % , consistent with the prescribed significance level α = 0.05 . The results indicate that the detector is capable of effectively identifying stealthy FDI attacks, thereby verifying the reliability of the detection mechanism.

5. Conclusions

In this study, a distributed Kalman filter was designed to address attack detection and state estimation problems in WSNs under stealthy FDI attacks. In designing the Kalman filter gain, the partial derivative of Ω i i , k + was computed with respect to L ¯ i , k . The prior state estimation information from the filter was utilized to construct the χ 2 detector for attack detection, and the ET mechanism was considered to conserve communication resources. The validity of the designed estimation algorithm was analyzed and confirmed by simulation. Although the proposed distributed estimation and detection framework demonstrates satisfactory performance in the simulations presented, several practical limitations warrant further investigation. First, with the increasing scale of WSNs comes increasing computation complexity. Next, the defense assumes complete model knowledge for attackers. Its robustness against adaptive attackers who can dynamically adjust strategies is not fully addressed. The distributed filter also entails computationally intensive real-time matrix operations, which may exceed the processing capability of resource-constrained sensors. Future work will explore lightweight filter structures, adaptive event-triggering mechanisms, and game-theoretic approaches to counter adaptive adversaries in large-scale deployments.

Author Contributions

Conceptualization, Z.-H.Z. and X.M.; methodology, Z.-H.Z.; software, X.M.; validation, Z.-H.Z. and X.M.; formal analysis, X.M.; investigation, Z.-H.Z.; resources, C.D.; data curation, X.M.; writing—original draft preparation, Z.-H.Z.; writing—review and editing, X.M. and C.D.; visualization, X.M.; supervision, C.D.; project administration, C.D.; funding acquisition, Z.-H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Natural Science Foundation of Liaoning Province (Grant No. 2024JH2/102600223), the Shenyang Young and Middle-aged Scientific and Technological Innovation Talents Support Program (RC230346).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Khan, R.; Saeed, U.; Koo, I. FedLSTM: A federated learning framework for sensor fault detection in wireless sensor networks. Electronics 2024, 13, 4907. [Google Scholar] [CrossRef]
  2. Zhang, J.F.; He, X.; Zhou, D.H. Distributed filtering over wireless sensor networks with parameter and topology uncertainties. Int. J. Control 2020, 93, 910–921. [Google Scholar] [CrossRef]
  3. Huang, X.; Wu, Y. Identify selective forwarding attacks using danger model: Promote the detection accuracy in wireless sensor networks. IEEE Sens. J. 2022, 22, 9997–10008. [Google Scholar] [CrossRef]
  4. Du, Z.; Di, M.; Li, C.; Ye, H.; Li, J. Improved event-triggered controller design for nonlinear networked cascade control system under cyber attacks. Nonlinear Dyn. 2025, 113, 31305–31321. [Google Scholar] [CrossRef]
  5. Zhu, K.Q.; Wang, Z.D.; Ding, D.R.; Li, Z.N.; Xu, C.Z. Chance-constrained dynamic encoding-based control over noisy communication channels: An active bit-flip-error-resistant approach. IEEE Trans. Autom. Control 2026, 71, 3311–3318. [Google Scholar] [CrossRef]
  6. Na, G.; Eun, Y. A probing signal-based replay attack detection method avoiding control performance degradation. Int. J. Control Autom. Syst. 2022, 20, 3637–3649. [Google Scholar] [CrossRef]
  7. Liu, H.; Wang, S.; Li, Y. Event-triggered control and proactive defense for cyber-physical systems. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 6305–6313. [Google Scholar] [CrossRef]
  8. Liu, Y.; Cheng, L. Completely stealthy FDI attack against state estimation in networked control systems. IEEE Trans. Circuits Syst. II Express Briefs 2022, 70, 1114–1118. [Google Scholar] [CrossRef]
  9. Guo, H.; Sun, J.; Pang, Z.H.; Liu, G.P. Event-based optimal stealthy false data-injection attacks against remote state estimation systems. IEEE Trans. Cybern. 2023, 53, 6714–6724. [Google Scholar] [CrossRef] [PubMed]
  10. An, L.W.; Yang, G.H. Distributed sparse undetectable attacks against state estimation. IEEE Trans. Control Netw. Syst. 2022, 9, 463–473. [Google Scholar] [CrossRef]
  11. Pang, Z.H.; Fan, L.Z.; Dong, Z.; Han, Q.L.; Liu, G.P. False data injection attacks against partial sensor measurements of networked control systems. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 149–153. [Google Scholar] [CrossRef]
  12. Kanellopoulos, A.; Vamvoudakis, K.G. A moving target defense control framework for cyber-physical systems. IEEE Trans. Autom. Control 2019, 65, 1029–1043. [Google Scholar]
  13. Li, T.X.; Weng, P.D.; Chen, B.; Zhang, D.P.; Yu, L. Encryption-based attack detection scheme for multi-sensor secure fusion estimation. IEEE Trans. Aerosp. Electron. Syst. 2024, 60, 7548–7554. [Google Scholar] [CrossRef]
  14. Alromih, A.; Al-Rodhaan, M.; Tian, Y. A randomized watermarking technique for detecting malicious data injection attacks in heterogeneous wireless sensor networks for internet of things applications. Sensors 2018, 18, 4346. [Google Scholar] [CrossRef]
  15. Wang, C.; Huang, J.; Wang, D. A secure strategy for a cyber physical system with multi-sensor under linear deception attack. J. Frankl. Inst. 2021, 358, 6666–6683. [Google Scholar] [CrossRef]
  16. Griffioen, P.; Weerakkody, S.; Sinopoli, B. A moving target defense for securing cyber-physical systems. IEEE Trans. Autom. Control 2021, 66, 2016–2031. [Google Scholar] [CrossRef]
  17. Liu, H.; Zhang, Y.; Li, Y.; Niu, B. Proactive attack detection scheme based on watermarking and moving target defense. Automatica 2023, 155, 111–119. [Google Scholar] [CrossRef]
  18. Zhang, Z.; Deng, R.; Yau, D.K.Y.; Cheng, P.; Chow, M.Y. Security enhancement of power system state estimation with an effective and low-cost moving target defense. IEEE Trans. Syst. Man Cybern. Syst. 2023, 53, 3066–3081. [Google Scholar] [CrossRef]
  19. Liu, M.; Zhao, C.; Zhang, Z.; Deng, R.; Cheng, P.; Chen, J. Converter-based moving target defense against deception attacks in DC microgrids. IEEE Trans. Smart Grid 2022, 13, 3984–3996. [Google Scholar] [CrossRef]
  20. Zhang, X.Y.; Yang, G.H. Distributed secure state estimation for cyber-physical systems under false data injection attacks. IEEE Trans. Netw. Sci. Eng. 2024, 11, 4443–4455. [Google Scholar] [CrossRef]
  21. Chen, B.; Ho, D.W.C.; Hu, G.; Yu, L. Secure fusion estimation for bandwidth constrained cyber-physical systems under replay attacks. IEEE Trans. Cybern. 2018, 48, 1862–1876. [Google Scholar] [CrossRef]
  22. Li, L.; Yang, H.; Xia, Y.; Zhu, C. Attack detection and distributed filtering for state-saturated systems under deception attack. IEEE Trans. Control Netw. Syst. 2021, 8, 1918–1929. [Google Scholar]
  23. Song, H.; Yao, H.; Shi, P.; Zhang, D.; Yu, L. Distributed secure state estimation of multi-sensor systems subject to two-channel hybrid attacks. IEEE Trans. Signal Inf. Process. Netw. 2022, 8, 1049–1058. [Google Scholar]
  24. Han, F.; Dong, H.; Wang, Z.; Li, G. Local design of distributed H-consensus filtering over sensor networks under multiplicative noises and deception attacks. Int. J. Robust Nonlinear Control 2019, 29, 2296–2314. [Google Scholar]
  25. Zeng, P.; Deng, F.; Wu, Z.H.; Gao, X.; Liu, X. Event-triggered control for continuous-time Markov jump systems subject to packet losses and deception attacks. Int. J. Control 2026, 1–13. [Google Scholar] [CrossRef]
  26. Deng, J.; Yang, Y.; Jiang, B. Observer-based neural sliding mode control of fuzzy markov jump systems via dynamic event-triggered approach. Electronics 2025, 14, 4758. [Google Scholar] [CrossRef]
  27. Gao, D.; Jian, X.; Lyu, J. Event-triggered resilient control of nonlinear multi-agent systems with disturbances under DoS attacks and directed switching topologies. Int. J. Control 2025, 98, 2123–2133. [Google Scholar] [CrossRef]
  28. Pang, Z.H.; Fan, L.Z.; Sun, J.; Liu, K.; Liu, G.P. Detection of stealthy false data injection attacks against networked control systems via active data modification. Inf. Sci. 2021, 546, 192–205. [Google Scholar] [CrossRef]
  29. Bui, D.M.; Le, D.P.; Nguyen, H.M. Development of a novel backup fault protection algorithm for low-voltage DC microgrids based on local measurements and Chi-square statistics. ETASR 2024, 14, 15106–15120. [Google Scholar] [CrossRef]
  30. Li, L.; Yang, H.; Xia, Y.; Yang, H. Event-based distributed state estimation for linear systems under unknown input and false data injection attack. Signal Process. 2020, 170, 107423. [Google Scholar] [CrossRef]
Figure 1. Diagram of extended MTD structure.
Figure 1. Diagram of extended MTD structure.
Electronics 15 02340 g001
Figure 2. Diagram of system distributed security state estimation.
Figure 2. Diagram of system distributed security state estimation.
Electronics 15 02340 g002
Figure 3. Topological structure of the sensor network.
Figure 3. Topological structure of the sensor network.
Electronics 15 02340 g003
Figure 4. The inter-event intervals of sensor 1.
Figure 4. The inter-event intervals of sensor 1.
Electronics 15 02340 g004
Figure 5. The inter-event intervals of sensor 2.
Figure 5. The inter-event intervals of sensor 2.
Electronics 15 02340 g005
Figure 6. The inter-event intervals of sensor 3.
Figure 6. The inter-event intervals of sensor 3.
Electronics 15 02340 g006
Figure 7. Extended system state 1 and the estimated state of each node.
Figure 7. Extended system state 1 and the estimated state of each node.
Electronics 15 02340 g007
Figure 8. Extended system state 2 and the estimated state of each node.
Figure 8. Extended system state 2 and the estimated state of each node.
Electronics 15 02340 g008
Figure 9. Extended system state 3 and the estimated state of each node.
Figure 9. Extended system state 3 and the estimated state of each node.
Electronics 15 02340 g009
Figure 10. Extended system state 4 and the estimated state of each node.
Figure 10. Extended system state 4 and the estimated state of each node.
Electronics 15 02340 g010
Figure 11. The trace of the upper bound of the estimation error covariance of node 1.
Figure 11. The trace of the upper bound of the estimation error covariance of node 1.
Electronics 15 02340 g011
Figure 12. Mean square error of node 1.
Figure 12. Mean square error of node 1.
Electronics 15 02340 g012
Figure 13. The attack detection result.
Figure 13. The attack detection result.
Electronics 15 02340 g013
Table 1. Related parameter matrices of the extended system.
Table 1. Related parameter matrices of the extended system.
Parameter MatricesValue/Distribution
A ˇ 0.1 0 0 0.1
A ˇ k N ( μ a , a ) , μ a = 0.5 , a = 0.1 0.1 0.1 0.1
B ˇ k N ( μ b , b ) , μ b = 0 , b = 0.5 0.1 0.1 0.5
C ˇ 1 0.05 0
C ˇ 1 , k N ( μ c 1 , c 1 ) , μ c 1 = 0.5 , c 1 = 0.1
C ˇ 2 0.05 0
C ˇ 2 , k N ( μ c 2 , c 2 ) , μ c 2 = 3.1 , c 2 = 0.1
C ˇ 3 0.55 0
C ˇ 3 , k N ( μ c 3 , c 3 ) , μ c 3 = 4.5 , c 3 = 0.1
Q ¯ k Q k Q k Q k T Q k T Q k Q k T
R ¯ i , k R i , k R i , k , i = 1 , 2 , 3 .
Table 2. Communication resource savings for ET mechanism.
Table 2. Communication resource savings for ET mechanism.
Sensor NodePeriodic Transmission CountET Transmission CountReduction Ratio(%)
1100038 96.2 %
2100042 95.8 %
3100045 95.5 %
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, Z.-H.; Ma, X.; Deng, C. Moving Target Defense-Based Event-Triggered Attack Detection and State Estimation in WSN. Electronics 2026, 15, 2340. https://doi.org/10.3390/electronics15112340

AMA Style

Zhang Z-H, Ma X, Deng C. Moving Target Defense-Based Event-Triggered Attack Detection and State Estimation in WSN. Electronics. 2026; 15(11):2340. https://doi.org/10.3390/electronics15112340

Chicago/Turabian Style

Zhang, Zhi-Hui, Xueya Ma, and Chao Deng. 2026. "Moving Target Defense-Based Event-Triggered Attack Detection and State Estimation in WSN" Electronics 15, no. 11: 2340. https://doi.org/10.3390/electronics15112340

APA Style

Zhang, Z.-H., Ma, X., & Deng, C. (2026). Moving Target Defense-Based Event-Triggered Attack Detection and State Estimation in WSN. Electronics, 15(11), 2340. https://doi.org/10.3390/electronics15112340

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop