Document Type : Research Paper
Institute of Applied Mathematics, Baku State University, Baku, Azerbaijan
Institute of Physics Problems, Baku State University, Baku, Azerbaijan
Department of Applied Mathematics and Cybernetics, Baku State University, Baku, Azerbaijan
One of the major against in Wireless Sensor Networks (WSNs) is wormhole so that two or more attacker nodes help each other to rob communications and record the information in another place. Wormhole attacks can disrupt communications, change routing, or cause some other localization errors. This attack can also bring about physical access without permission, cause package losses, and increase traffic in the network. Attacker nodes can convince ordinary sensor nodes that they are neighbors and can observe their information and any other traffic that they send in the link length. Localization is an important problem in WSNs. DV-Hop (Distance Vector-hop) is a traditional algorithm for localizing sensor nodes using a hop distance assessment. The DV-Hop model has poor localization accuracy. This paper improves DV-Hop and increases wormhole attack detection accuracy in WSNs based on localization method. In this paper, a new distance based on correction of Hop-size and gap measurement is proposed to minimize the error that exists in DV-Hop. The results of simulation and assessment show that the proposed model carry outs better than DV-Hop in different topologies, in which proposed model has significantly higher localization accuracy.