Abstract
Wireless Sensor Networks (WSNs) rely heavily on anchor nodes for accurate localization. However, the presence of "cheating" anchor nodes—compromised nodes that broadcast false location data—can severely degrade network performance. This paper presents a security framework that combines geometric trilateration with Mahalanobis distance and Maximum Likelihood Expectation (MLE) to identify and mitigate these malicious actors. Simulation results demonstrate a significant reduction in localization errors and improved network reliability.
Introduction
In many Wireless Sensor Network (WSN) applications, such as environmental monitoring or emergency response, knowing the precise location of sensor nodes is critical. Most nodes lack GPS due to cost and power constraints, relying instead on a small subset of "anchor nodes" with known coordinates. Through distance measurements to these anchors, regular nodes perform localization.
The Cheating Anchor Problem
The integrity of the entire network's coordinate system depends on the honesty of these anchor nodes. A "cheating anchor" is a node that has been compromised or has failed, leading it to broadcast incorrect spatial information. Because standard localization algorithms assume all anchors are trustworthy, even a single malicious node can introduce significant errors, disrupting location-based services and routing protocols.
Proposed Methodology
The authors propose a multi-layered detection and verification system to secure the localization process.
Trilateration Baseline
The foundation of the approach is trilateration, a geometric method where a target node $T$ determines its position $(x_t, y_t)$ by calculating the intersection of circles centered at anchor nodes $A_1, A_2,$ and $A_3$, with radii $L_1, L_2,$ and $L_3$ representing the measured distances.
Statistical Outlier Detection
To identify malicious data, the system employs two primary statistical tools:
- Mahalanobis Distance: Unlike standard Euclidean distance, Mahalanobis distance accounts for correlations within the dataset. It is used to identify nodes that deviate significantly from the expected statistical distribution of the group, marking them as potential outliers.
- Maximum Likelihood Expectation (MLE): MLE is used to classify nodes as either "legitimate" or "malicious." By modeling node positions using a Gaussian distribution, the system calculates the probability that a node belongs to a valid trilateration group. Data from nodes with low membership probability are discarded.
Experimental Results
The framework was evaluated using the ns-3 network simulator in a 600m x 600m environment with approximately 117 nodes. Key findings include:
- Enhanced Accuracy: The hybrid approach using MLE and Mahalanobis distance resulted in a substantial reduction in mean localization error compared to standard trilateration when attackers were present.
- Superiority of MLE: The authors found that MLE outperformed Mahalanobis distance in accurately identifying cheating nodes, as it provides a more nuanced probabilistic assessment of node behavior.
- Scalability: As the number of malicious nodes increases, both simulation time and mean localization error rise. However, the hybrid MLE approach maintained a lower error curve than other methods (as shown in the paper's Figure 14).
Conclusion
By integrating statistical rigor with geometric localization, this research provides a robust defense against compromised anchor nodes in WSNs. Future work will focus on extending the model to 3D environments, optimizing energy efficiency for battery-constrained devices, and addressing more sophisticated, intermittent attack patterns.
Summary updated