Abstract
Security remains a critical challenge for Wireless Sensor Networks (WSNs) due to their resource-constrained nature and deployment in often hostile environments. This paper proposes a Dynamic Random Password Authentication (DRPA) framework designed to detect and prevent malicious behavior throughout the network lifecycle. By utilizing hardware-derived node IDs, dynamically updated 32-bit keys, and timestamping, DRPA provides a lightweight yet robust security layer. Simulation results using NS2 demonstrate that DRPA outperforms existing methods like Leader Based Intrusion Detection Systems (LBIDS) and Projection Pursuit (PP) in terms of detection rate, energy efficiency, and transmission latency.
Introduction
Wireless Sensor Networks (WSNs) are ubiquitous in monitoring applications, from industrial infrastructure to environmental sensing. However, their reliance on wireless channels and limited battery life makes them vulnerable to various attacks, including replay attacks and unauthorized node access. Traditional security measures often impose heavy computational overheads that drain node energy prematurely. This research addresses these bottlenecks by introducing DRPA, a proactive intrusion prevention technology that balances security requirements with the operational constraints of WSNs.
The DRPA Framework
The proposed DRPA system operates through three core modules: node identification, mutual authentication, and dynamic key updating.
Node Identification and Key Generation
Unlike systems using arbitrary IDs, DRPA generates unique identifiers based on the hardware "DNA" of the device (e.g., manufacturer, device type, and serial number). A 32-bit dynamic key is then generated by performing XOR operations between the Node ID and a dynamically generated "IMEI" number. The 32-bit length is specifically chosen to provide sufficient security while minimizing the CPU load on sensor nodes.
Authentication Process
The authentication flow is managed by a central Base Station (BS) that maintains a database of valid ID/Key pairs. To prevent replay attacks, DRPA incorporates timestamps into every data packet.
As shown in Figure 1, the process begins with the Base Station assigning IDs and keys. During communication, the system checks if the node's ID is consistent with its key and verifies that the timestamp has not timed out. If either check fails, the node is flagged as malicious or a replay attempt, and communication is prohibited.
Experimental Results
The performance of DRPA was evaluated using the NS2 simulator in a 1000m × 1000m area with varying node densities and a 6% malicious node population.
Detection and Energy Efficiency
DRPA maintained a detection rate above 98.5%, consistently outperforming the Projection Pursuit (PP) algorithm. Furthermore, DRPA demonstrated superior energy conservation. After five rounds, DRPA nodes retained approximately 96.93% of their energy, compared to 94.52% for LBIDS. This efficiency stems from DRPA's decentralized verification process, which avoids the redundant "leader notification" traffic required by LBIDS.
Throughput and Latency
The system also showed significant improvements in network performance. DRPA achieved a peak throughput of 6297 KB/S. More importantly, it drastically reduced transmission delays.
As illustrated in Figure 6, DRPA's delay remained between 12ms and 26ms, whereas LBIDS experienced delays ranging from 17ms to 48ms. This reduction in latency is crucial for real-time monitoring applications where timely data delivery is essential.
Conclusion
The DRPA framework offers a compelling solution for securing WSNs without compromising their longevity. By integrating hardware-based identity with dynamic authentication, it effectively prevents intrusions and replay attacks. While current work focuses on identity security, future iterations will aim to enhance data-level encryption and expand hardware compatibility to support a broader range of IoT devices.
Summary updated