Wormhole Attack Detection Algorithm of Wireless Sensor Network Based on Double Constraint Mechanism
Aiming at the wormhole attack problem in the wireless sensor network,a wormhole attack detection algorithm based on the du-al constraints of distance and energy(WADDEC)is proposed.In the neighbor discovery stage,the principle of distance threshold con-straint is proposed,which prevents wormhole nodes from establishing malicious neighbors by limiting the receiving distance of messages.In the data transmission stage,an encrypted hash key algorithm is proposed to monitor the received data abnormally.Energy threshold constraint principle is used to detect the wormhole attack and eliminate the wormhole node for the anomalous data.In the simulation ex-periment,compared with AD-PSO and MCPR algorithms,the delay detection of the proposed algorithm is reduced by 730 ms and 440 ms respectively,the minimum error rate is controlled within 0.15%,and the maximum detection rate is 97.5%.The results show that the algorithm can effectively detect wormhole attacks,reduce the detection delay while maintaining high detection accuracy,prevent wormhole nodes from establishing malicious false neighbors,reduce the number of malicious replay messages,lower network energy con-sumption,and extend network life.
wireless sensor network(WSN)wormhole attackdistance thresholdenergy thresholdencrypts the hash key