Skip to main content
Article
100%
HD

Wireless sensor networks (WSNs) are the brain behind many applications: precision farming, smart cities, connected homes, and environmental monitoring. Yet, because they operate autonomously, they are vulnerable to two sneaky attacks: wormhole and sinkhole. A wormhole creates a phantom tunnel that makes nodes think they are closer than they really are, reducing hop count and seemingly speeding up data, but actually diverting it to the attacker. A sinkhole, on the other hand, lures all traffic to a malicious node, overloading it and breaking the network balance.

Researchers built a real‑world testbed using ZigBee and GSM/GPRS to simulate these attacks. They observed that during a wormhole, hop count dropped from 4 to 3, delay rose by 40 %, and over 30 % of data was falsified. With a sinkhole, traffic toward the compromised node grew by 27 %, causing congestion.

To counter the problem, they designed a multi‑stage methodology: data collection, preprocessing, anomaly detection with the 3‑sigma rule, and risk‑based decision making. Results show the system detects in real time route shortening, packet loss, and data manipulation, enabling a swift response. In practice, combining anomaly‑based detection with ZigBee and GSM/GPRS makes networks more robust and ready to fend off emerging threats.

Bonus
100%
HD

Wireless sensor networks (WSNs) typically consist of low‑power nodes communicating via mesh protocols such as ZigBee (IEEE 802.15.4). Their dynamic topology provides flexibility but also makes them vulnerable to routing‑level manipulations. A wormhole attack exploits two colluding nodes that create a low‑latency channel (often a wired link or long‑range radio) connecting two distant points in the network. Packets traveling through this tunnel appear to follow a shorter path, causing routing protocols to prefer the compromised route. Mathematically, the wormhole alters the adjacency matrix of the network graph, reducing the average shortest‑path length and increasing the betweenness centrality of the attacker nodes.

A sinkhole attack, by contrast, relies on a node that falsely advertises optimal metrics (e.g., high residual energy or minimal distance to the sink) to attract traffic. This leads to a concentration of flow toward the malicious node, raising packet loss probability and delay jitter. The effect is a degradation of load balancing and a breach of route integrity.

The proposed methodology combines a real‑time analysis pipeline. After collecting routing data (hop count, RSSI, timestamps), a normalization step is followed by a statistical filter based on the 3‑sigma rule: any value deviating more than three standard deviations from the mean is flagged as anomalous. This approach is especially effective at detecting sudden hop‑count or delay changes typical of wormholes. For sinkholes, traffic‑volume per node is monitored and concentration indices (e.g., Gini coefficient) are computed to spot imbalances.

Finally, the decision module employs a risk matrix that weights anomaly severity (e.g., % packet loss) against attack probability (frequency of occurrences). When a threshold is exceeded, the system can trigger countermeasures such as dynamic re‑routing or isolation of the suspicious node, thereby ensuring WSN resilience in critical scenarios.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Tamara ZhukabayevaLazzat ZholshiyevaYerik MardenovAtdhe BujaShafiullah KhanNoha Alnazzawi
Date Published:
Original Article www.mdpi.com
Fact-check verified on 22/12/2025
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti