Abstract: Wireless Sensor Networks (WSNs) are increasingly deployed in critical environments where accurate localization is paramount. Most nodes in these networks are "blind" and rely on a subset of "anchor nodes" to determine their spatial coordinates. However, the compromise of anchor nodes by malevolent actors can lead to the propagation of false location data, undermining network integrity. This paper proposes a two-stage framework for the detection and sequestration of malicious anchor nodes. By integrating geometric trilateration with Mahalanobis distance-based statistical outlier detection, the proposed method effectively identifies and isolates nodes broadcasting erroneous data. Simulation results using the ns-3 network simulator demonstrate that this hybrid approach significantly reduces localization errors and maintains robust performance even as the density of compromised nodes increases.
1. Introduction
In a typical Wireless Sensor Network (WSN), the majority of nodes lack self-localization capabilities. These "blind nodes" calculate their positions by measuring distances to specialized "anchor nodes" that possess known coordinates via GPS or manual configuration. This dependency creates a significant security vulnerability: the "Malevolent Anchor" problem. If an attacker compromises an anchor node, they can force it to broadcast false location information, leading to cascading failures in routing, surveillance, and data integrity. While various detection methods have been explored, achieving consistent reliability in hostile environments remains a challenge. This research introduces a robust sequestration process designed to filter out illegitimate location data and ensure accurate network-wide localization.
2. Methodology
The proposed defense mechanism operates in two distinct stages: initial geometric estimation and statistical outlier detection.
2.1 Trilateration Algorithm
The first stage employs standard geometric trilateration. A blind node measures its distance to at least three anchor nodes. By calculating the intersection of the spheres defined by these distances and the anchors' reported coordinates, the node generates an initial set of potential location estimates. These reference points are stored for subsequent statistical analysis.
2.2 Mahalanobis Distance Correlation
The core innovation of this work is the application of Mahalanobis distance to identify malicious data. Unlike Euclidean distance, which treats all directions equally, the Mahalanobis distance accounts for the correlation between variables—in this case, the latitude and longitude coordinates.
The system first calculates the "centroid" of the points generated during the trilateration phase. It then computes the Mahalanobis distance for each reported anchor position relative to the distribution of the network's data. Nodes whose reported locations are statistically improbable (outliers) are flagged. If a node's distance exceeds a predefined threshold, it is classified as malevolent and "sequestrated," meaning its data is ignored by the rest of the network.
3. Experimental Evaluation
The proposed framework was evaluated using the ns-3 discrete-event network simulator. The simulation environment consisted of a 600m x 600m 2D area with approximately 122 nodes deployed at a density of roughly one node per 25 square meters. To test the algorithm's sensitivity, anchor nodes were randomly compromised to transmit false coordinate data, creating a controlled environment to measure the sequestration process's effectiveness.
4. Results and Discussion
The simulation results indicate a clear performance advantage for the hybrid trilateration-Mahalanobis approach over standard geometric methods:
- Localization Accuracy: The Mean Localization Error was significantly lower when using Mahalanobis distance compared to using trilateration alone.
- Resilience and Scalability: As the number of "cheating" nodes increased from 1 to 20, the Mahalanobis-based method maintained a relatively flat error curve, whereas standard methods showed a sharp decline in accuracy.
- Computational Performance: While the inclusion of statistical calculations slightly increased simulation time, the authors achieved a "considerable reduction" in localization error, justifying the additional processing for real-time security applications.
5. Conclusion
This paper demonstrates that combining geometric principles with statistical outlier detection provides a robust defense against malevolent anchor nodes in WSNs. By leveraging the covariance of spatial data, the Mahalanobis distance effectively distinguishes between signal noise and active deception. Future work will address the challenges of high-mobility environments, such as drone swarms, and optimize the algorithm for energy-constrained sensor hardware. This methodology holds promise for securing critical infrastructure monitoring and military robotic deployments.
Summary updated