Wormhole Attack without network security

2 views
Skip to first unread message

gaurav garg

unread,
Mar 7, 2013, 11:29:42 AM3/7/13
to Qualn...@googlegroups.com
Dear Sir!

I want to implement the wormhole attack in Qual net 5.2 ,but security library is not included in it. Rajeshwar singh told me that it is possible with coding.Plz help me for the same.

Thanks and Regards!
Gaurav Garg
 

Ankur Tyagi

unread,
Mar 8, 2013, 12:48:05 AM3/8/13
to Qualn...@googlegroups.com, gaurav garg
Dear Gaurav,

First thing first. Do you know the algorithm by which you can implement
a wormhole? Arrange this information and let us know. Also tell us the
kind of network in which this attack is to be generated.

Thanks and regards.

Ankur Tyagi
Sr. Application Engineer
Eigen Technologies Pvt. Ltd., Delhi
9310093004
> --
> You received this message because you are subscribed to the Google
> Groups "Qualnet Pune" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to QualnetPune...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

gaurav garg

unread,
Mar 8, 2013, 5:13:11 AM3/8/13
to Qualn...@googlegroups.com
Dear sir
Firstly, I am very thankful to you for giving your precious time.I have to implement this attack in MANETs (Mobile Adhoc Networks). The diagram shown below is of wormhole using encapsulation.




In figure 1, X and Y are two malicious nodes that encapsulate data packets and falsified the route lengths.

Let node S wishes to form a route to D and initiates route discovery. As X receives a route request from S, it encapsulates the route request and tunnels it to Y through an existing data route [X --> A --> B --> C --> Y]. When Y receives the encapsulated route request for D then it will show that it had only traveled [S --> X --> Y --> D]. Neither X nor Y update the packet header. The destination finds two routes from S of unequal length: one is of 4 and another is of 3. If Y tunnels the route reply back to X, S would falsely consider the path to D via X is better than the path to D via A. Thus, tunneling can prevent honest intermediate nodes from correctly incrementing the metric used to measure path lengths.


I have to implement the same.

wormhole.jpg

B N Jagdale

unread,
Mar 11, 2013, 5:29:54 AM3/11/13
to Qualn...@googlegroups.com
Let us once again activate  Qualnet pune group. I will try shortly to add interested new members in this group.


 

Gaurav Garg
 

--
You received this message because you are subscribed to the Google Groups "Qualnet Pune" group.
To unsubscribe from this group and stop receiving emails from it, send an email to QualnetPune...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Prof. B.N. Jagdale
Asso. Professor, Information Technology
MIT college of Engineering, PUNE

Ankur Tyagi

unread,
Mar 12, 2013, 3:25:22 AM3/12/13
to Qualn...@googlegroups.com, gaurav garg
Dear Gaurav,

First of all define a variable  in AodvData to check whether a node is malicious or not. Read the values in this variable during initialization. For the nodes which have wormhole variable route set, define a static route in the routing table for all wormhole nodes by calling insert in routing table function. When a node will receive a rreq in aodvhandlerequest function, check whether a node is wormhole and if it is, send the rreq to intended wormhole by calling aodvsendpacket function with unicast ip address. You will be required to reduce the hop count variable when this packet is received by Y. Also make necessary changes in aodvhandlereply function also (reducing hop count at wormhole level).

Please note that Aodv has a functionality where if a node has forwarded a RREQ for a particular source node with the given flooding id, it does not forward any more rreq with same flooding id from same source. Thus if let say A forwards a rreq, if X sends it a rreq (for same source node) again , it won't forward it and your wormhole algorithm will fail. You need to have a work around to get pass this problem of Aodv.

Also, it is very difficult for me to reply frequently as I am busy at my end. I request other group members to participate. Try going through the code and understand purposes of different functions and  compare with RFC 3561 to understand better.

 
Thanks and regards. 

Ankur Tyagi
Sr. Application Engineer
Eigen Technologies Pvt. Ltd., Delhi
9310093004
--

gaurav garg

unread,
Mar 12, 2013, 9:27:12 AM3/12/13
to Qualn...@googlegroups.com
 
 Dear Ankur

Actually i am beginner in qualnet. My problem is to implement wormhole attack and to mitigate the same using trust model.  There are several ways to implement this attack :

 1. Wormhole using encapsulation.
 2. Wormhole using out-of-band channel
 3. Wormhole using high power transmission.
 4. Wormhole using packet relay
 5. Wormhole using protocol deviations.

Which one is easy, plz tell me the same in aodv .


Thanks and Regards!
Gaurav Garg


     

 


On Thursday, 7 March 2013 21:59:42 UTC+5:30, gaurav garg wrote:

Ankur Tyagi

unread,
Mar 14, 2013, 12:38:07 AM3/14/13
to Qualn...@googlegroups.com, gaurav garg
Dear Gaurav,

Every method has its own strong and weak points. You need to choose the best one which supports your requirement and must have a concrete algorithm of how this attack will be able to tackle all the features provided in Aodv.


Thanks and regards.
Ankur Tyagi
Sr. Application Engineer
Eigen Technologies Pvt. Ltd., Delhi
9310093004
--

gaurav garg

unread,
Mar 22, 2013, 12:44:32 AM3/22/13
to Qualn...@googlegroups.com
Dear Ankur Sir

I got Wormhole.cc and Wormhole.h file in qulanet 5.01,now i want to add these files in qualnet 5.02 which is licensed to my institute.Rajeshwar sir told us that it is possible to add these properties to the subnet( wireless).plz help me sir.

emailm...@gmail.com

unread,
Apr 29, 2013, 3:33:40 AM4/29/13
to Qualn...@googlegroups.com


hi, 
i  need to implement wormhole attack in manet.i need th patch for wormhole attack..

thanks
mahak

yashvi Trivedi

unread,
Mar 22, 2014, 2:21:36 AM3/22/14
to Qualn...@googlegroups.com
Dear Sir,

Can you please share the code of wormhole attack using encapsulation method?

Isha harode

unread,
Apr 22, 2015, 1:19:23 PM4/22/15
to Qualn...@googlegroups.com

hello all
         I m working on wormhole attack detection in MANET by using qualnet 5.0.2. i want to implement wormhole attack in encapsulation mode. can anyone tell me in which file i hv to modify and how to modify so it can show the wormhole attack characteristics. if anybody hv the code of it then plz post it. it would be great help to me. 
thank you in advance 

Isha harode

unread,
Apr 23, 2015, 3:52:36 AM4/23/15
to Qualn...@googlegroups.com
Is there any way to include security library, so that wormhole node creation can become easy.
thank you

Isha harode

unread,
May 30, 2015, 2:56:23 AM5/30/15
to Qualn...@googlegroups.com


can anybody tell me how can i evaluate propagation time of rreq packet in AODV protocol from source to destination in Mobile Adhoc network in Qualnet 5.0

Reply all
Reply to author
Forward
0 new messages