Amazing technological breakthrough possible @S-Logix

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • +91- 81240 01111

Social List

How to launch selective forwarding attack in RPL using cooja simulator?


In this attack, malicious nodes are setup by intruders which act as sensor node of the network. These malicious nodes drop out data packets passing through them and forward only selective packets to the next sensor node.


   open Contiki cooja network simulator

In terminal >> cd contiki/
tools/cooja/ >> ant run.

  Implementation of the selective
-forwarding attacks let the malicious
node drop all packets except RPL packets.
Check the malicious node running RPL
in Contiki cooja network simulator
that if the received packet is not
destined to the malicious node
and is not an RPL packet, it
is dropped.

  Simulate this attack in Cooja, verify that the application
data is in fact lost from
children to the attacker.


file location contiki/core/net /

rpl/ icmp6.c handling control

messages in ipv6 output

Algorithm : Selective-forwarding

attacks in RPL.Packet—The IPv6 packet


OwnIP—The IPv6 address

of this node

if  Packet.protocol≠ RPL

and  Packet.destination≠OwnIP

then Drop packet

end if

Step 3

Run simulation