Research Article

Node Replication Attack Detection in Distributed Wireless Sensor Networks

Algorithm 2

SS-Detect.
Input: Filtered Node from SS-Predict
Output: Detect the exact Attacker Node
Description:
  1. If(node.dj>node.dk) then
    Assign A as 1
    Else
    Assign A as 0
  2. If (Vi>vj), then //check the battery level for the nodes
    Assign A as 1
    Else
    Assign A as 0
  3. If(node.A==1)
    SS-Isolate(node)