ISSN ONLINE(2320-9801) PRINT (2320-9798)

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

AN EFFICIENT TECHNIQUE FOR PREVENTING COOPERATIVE BLACKHOLE ATTACK IN MANET USING AODV PROTOCOL

Komal Joshi1, Vijaya Sagvekar2
  1. Student Member, Dept of Computer Engineering, P.V.P.I.T, Pune University, Pune, India
  2. Student Member, Dept. Of Information Technology, NMIMS University, Mumbai, India
Related article at Pubmed, Scholar Google

Visit for more related articles at International Journal of Innovative Research in Computer and Communication Engineering

Abstract

A mobile ad-hoc network (MANET) is a self-configuring infrastructureless network of mobile devices connected by wireless links. As there is no fixed infrastructure in MANET, mobile nodes need to communicate with each other by exchanging control and data packets to provide assured functionality to the network. For making communication possible in MANET, different routing protocols are used. Ad-hoc On demand Distance Vector (AODV) protocol is the principle routing protocol used in MANET. The AODV protocol is threaded by a security problem called cooperative black hole attack, in which all malicious nodes introduces themselves as having shortest path to the destination node. In this paper an approach has been proposed to prevent cooperative black hole attack using cooperative black hole prevention technique (CBPT). It works on the concept of using Three_Hop_Away_Information_Table (THAIT) and three routes from Source to three_hop_away node. The goal of this paper is to provide better security and better performance in terms of packet delivery using CBPT in the presence of black hole with affordable delay and overhead.

Keywords

MANET, Cooperative Black hole, AODV, security

INTRODUCTION

A mobile ad hoc network (MANET) is a group of mobile devices connected by wireless link without the requirement of fix common infrastructure in place like wireless access point or radio base station. The MANET provides dynamic topology where devices or nodes in the network can change their position or disappear from the network rapidly. One of the challenges keep on facing by nodes in a MANET is limited resources such as battery lifetime and also the security of its routing protocol. Since MANET is formed in an ad hoc manner, cooperation amongst the nodes to establish the network path is needed. The network for nodes which are not within communication range will be established through a multi-hop link which requires every node to act as a router as well as a normal host. In router mode, the node has to discover the route and deliver the data with the help of the routing protocol.
There are currently three main routing protocols for ad hoc networks [1], Destination-Sequenced Distance Vector routing (DSDV) [12], Dynamic Source Routing (DSR) [11], and AODV [4]. DSDV is a table driven routing protocol. In DSDV, each mobile node in the network maintains a routing table with entries for every possible destination node, and the number of hops to reach them. The routing table is periodically updated for every change in the network to maintain consistency. This involves frequent route update broadcasts. DSDV is inefficient because as the network grows the overhead grows as O(n2) [1]. DSR is an on-demand routing protocol and it maintains a route cache, which leads to memory overhead. DSR has a higher overhead as each packet carries the complete route, and does not support multicast. AODV is a source initiated on-demand routing protocol.
This paper is divide into four sections: (i) imtroduction, (ii) AODV routing protocol and Blockhole Attack, (iii) Cooperative Blackhole Attack And Prevention Technique, working principle and algorithm, and (iv) conclusion.

II . AODV ROUTING PROTOCOL AND BLOCKHOLE ATTACK

In this paper, we focus on Ad hoc On-Demand Distance Vector (AODV) protocol which is one of the reactive ad hoc routing protocols in MANET. One of the strengths of AODV is its capability to adapt smoothly in a dynamic network environment like MANET because of its low control message overhead. However, it has a drawback that the protocol is vulnerable to security attacks. Black hole is one of many attacks that take place in MANET and it is one of the most common attacks against the AODV routing protocol. The black hole attack disrupts the network and ultimately affects the whole network performance. The malicious node in a black hole pretend to have the shortest and freshest route to the destination node by sending first route reply message to attract victim node to send their data through its node. The situation becomes more worst when this Blackhole works in a group of two or more into the network. This type of attack is referred to as „Cooperative Blackhole Attack?.

III . COOPERATIVE BLACKHOLE ATTACK AND PREVENTION TECHNIQUE

Since AODV basically works based on destination sequence number and hop count attribute to determine the freshness and shortest path of the route. However these two attributes are not sufficient to reduce the effect of black hole attack in the network. Also, there are various existing techniques proposed by various authors to detect and prevent single Blackhole or a cooperative Blackhole from the network and each technique has its own advantages and disadvantages. In this paper, we propose a prevention technique using AODV routing protocol to overcome cooperative Blackhole problem of the MANET. Based on the study of various existing techniques, we have proposed a new approach called as CBPT to deal with cooperative Blackhole problem. In this technique, some assumptions have been made for the smooth working of our work. These assumptions are: (i)Considering an Adhoc network where the nodes change their location frequently due to their mobility nature. (ii)Two Blackhole nodes are being considered into the adhoc network which work in a group i. e. they exist in the transmitter range of each other.(iii)The effect of the system failures or link breakage on the performance of such network is not the focus of this work.

A. Working Principle of CBPT

The basic working of the proposal technique is described as: A MANET consists of m legitimate nodes and two malicious nodes named as n1 and n2. All nodes into the network are connected with each other wirelessly i.e. nodes are said to be connected wirelessly when they belong to each other?s transmitter range. And if not connected, they can make communication via intermediate nodes (INs). This technique is described as when any node, say source node (SN), has data packets for the transmission, SN need to find the route from itself to the destination node. Using AODV routing protocol, a SN initiates route discovery by sending Route Request (RREQ) control packet to all its intermediate nodes (IN) and asks their INs to reply along with a Three_Hop_Away node information using table called “Three_Hop_Away_Information Table (THAIT)”. This table contains two parameters (1) the” 3_hop_away node of SN” and (2) the” available path from SN to 3_hop_away node”. On the basis of availability of the route to the destination, all INs replies to SN by sending control packet Route Reply (RREP) packet and THAIT. On the basis of first RREP and THAIT, a check is made that is , if any two more RREP have the same 3_hop_away node. Since our technique says that atleast three routes should always be available from S to 3_hop_away node. The three routes will be shortlisted by the SN based on the THAIT information which contains disjoint nodes i. e. different INs and different 2_hop_away nodes from SN to 3_hop_away node. Finally three disjoint routes will be established from SN to 3_hop_away node, out of which, initial two routes will be used for packet transmission and third route will be used for validation purpose.
The SN, after the route establishment step, sends packets via first two routes to the 3_hop_away node and makes entries into the table called Packet_Sent_Table (PST). This table contains of two parameters named “Packet Sent via Path” and “No. of Packets Sent”. The first parameter describes that which paths are being used for sending packets from SN to 3_hop_away node and the second parameter describes that how many packets are being sent corresponding to each path.
The next step includes that the SN maintains another table called Validation_Table (VT) which contains parameters named “Packets Sent via Path” and “No. of Packets Received”. The first parameter in this table contains same entries corresponding to PST first parameter entries while the second parameter remains null as this entry is supposed to be filled by 3_hop_away node on its reception. Now, once the entries are filled, the VT table will be encrypted via public key of 3_hop_away node for the security purpose. The SN will get this public key from Certification Authority (CA) to encrypt VT before being forwarded to 3_hop_away node.
The table now forward to 3_hop_away node via third route and on its reception, the 3_hop_away node decrypt the table via its own private key. This public- private key has been used in our technique to achieve the security in the network. This is used so that the INs between SN and 3_hop_away node would not get any chance to modify VT table. After performing decryption technique, the VT will update the received VT by making entries in the second parameter of the VT. This entry will be done on the basis of how many packets have been received by 3_hop_away node corresponding to the routes mentioned in the first parameter of the received VT. The received VT will now be encrypted using public key of the SN (demanded from CA) after modification of the table and forwarded to the SN via the same route from which it was received.
The SN, now checks the received VT after performing decryption technique onto the table. And it checks if any entry in the second parameter of the table is not null. If it is, the SN will declare the route corresponding to the null entry as the malicious route and all the nodes residing on that route as the malicious nodes using ALERT message into the entire network.
Considering a figure 1, a network is consists of 25 nodes out of which 23 nodes are legitimate nodes while n1 and n2 are malicious.
Where,
S: Source Node (SN)
D: Destination Node (DN)
a1, a2: Legitimate Nodes belong to 3_hop_away Route [S-a1-a2-3H]
n1, n2: Blackhole Nodes belong to 3_hop_away Route [S-n1-n2-3H]
b1, b2: Legitimate Nodes belong to 3_hop_away Route [S-b1-b2-3H]
3H: Three Hop Away Node for SN
1-16: Legitimate Nodes ranging from node 1 to node 16.
Now for the detailed description of our new approach, we are considering part of figure 1which is shown in the figure2:
The explanation of our approach CBPT given as follows:
Let S be the source node (uses AODV routing protocol), initiates route discovery by sending RREQ packet to its neighbor nodes a1, n1 and b1 and ask them to send THAIT along with RREP. The nodes a1, b1 and n1 (sends first reply) respond to the S using RREP on receiving RREQ and each sends THAIT to the S.
The S now checks if all three THAIT give the same 3_hop_away node information and if it is, it makes sure that all three routes will have different nodes. This implies that three disjoint routes will be used into the network for secure transmission of packets. Let the three disjoint routes selected be:
Case 1: S-a1-n2-3H …… (1)
S-n1-a2-3H …… (2)
S-b1-b2-3H …… (3)
According to our technique CBPT, routes (1) and (2) will be used for data transmission and (3) will be used for validation purpose.
After packet transmission (say 10 packets each) via routes (1) and (2), the PST will be created by S containing entries:
Once the packet transmission is done, another table is generated by S called as VT. The S encrypts this table after necessary entries are made into the table using public key of 3H, asked from Certification Authority. The VT is forwarded to 3H via route (3) after the encryption is done.
On receiving VT by 3H, it performs decryption method on that table using its own private key and makes entries in the second parameter of VT. These entries correspond to each path mentioned in the first parameter of VT and shows that how many packets have been received by 3H from the corresponding paths.
Again, 3H will encrypt the table using public key of S after necessary entries are made into the table. This encrypted table will be forwarded via unicast path to the S. On receiving VT, the S will perform decryption using its own private key and will make sure if any entry it nth second parameter is zero. Since both the entries are zero in the second parameter, the S will declare both paths as malicious and all intermediate nodes belonging to that route as malicious nodes. Finally the ALERT message will be broadcasted into the network.
Case 2:
S-a1-a2-3H …… (1)
S-n1-n2-3H …… (2)
S-b1-b2-3H …… (3)
Case 3:
S-a1-a2-3H …… (1)
S-b1-b2-3H …… (2)
S-n1-n2-3H …… (3)
Above is the technique which has been proposed to deal with Cooperative Blackhole Attack into the network.

3.2 Sequence Diagram of CBPT

The section describes the sequence diagram of our proposal technique CBPT. This diagram defines the sequential steps to be used by each and every node (when act as a Source Node and wants to communicate into the network) in CBPT for its smooth working. It gives the clear scenario of the working of CBPT in a sequential manner. This diagram contains four objects from Source Node (SN) to Three Hop Node (3H).
The figure 3 below describes the Sequence diagram of CBPT:

3.3 CBPT Theoretical Model

In the theoretical model, we have tried to focus on following parameters that directly or indirectly affect the network performance:

(a) Route Time:

The Route time (RT) can be defined as the time obtained by the summation of below points: (i)The time required for the establishment of routes between Source to Destination/ Target node. (ii)The delay takes place among links from Source to Destination/ Target node.(iii)The processing time of each node.

(b) Control Overhead:

The term Control Overhead (CO) can be defined as the total number of exchange of control packets from source to destination before transmission of packets divided by total number of packets to be transmitted (TP) into the network.

(c) Route Check Frequency:

The term Route Check Frequency (RCF) is used for defining how frequently any route from Source to Destination/ Target node should be checked out in the network so that the likelihood of vulnerability gets reduced to secure the network.

(d) Packet Loss:

The term Packet Loss (PL) can be defined as the summation of total number of packets sent (PS) by the Source Node and the total of packets received (PR) by the Destination/ Target Node.

3.3.1 CBPT Algorithm

The CBPT is the proposal technique which uses various parameters for its smooth working towards the prevention of the Cooperative Blackhole problem. Its execution time can be achieved by using following steps:
Step 1: Source node S ask for 3H Information along with sending RREQ i.e. T RREQ[S,T] + 3H Info
Step 2: Receives RREP+ THAIT from minimum three routes for the same 3H node in the network i.e.
image
Step 3: Create disjoint paths based on THAITs received i.e. TDP.
Therefore, Route creation time taken by CBPT:
image
Step 4: Two paths uses for packet transmission i.e.
image
Step 5: Create PST and VT tables i.e
image
Step 6: Ask Certification Authority (CA) for 3H?s public key i.e. TCA_S_3H_P
Step 7: Perform encryption on table VT i.e. TED_VT
Step 8: Forward VT via third route after the completion of waiting time i.e. WT.
Step 9: At 3H end:
(i)Receives VT after some delay i.e. LinkDelay
(ii)Decryption is performed using own private key i.e. TED_VT
(iii)Modify table by making entries into it i.e. TTABLE_MODIFY_VT
(iv)Ask Certification Authority (CA) for 3H?s public key i.e.TCA_3H_S_P
(v)Encryption is performed i.e. TED_VT
(vi)Forward encrypted VT back to Source S.

Processing time taken by 3H:

image
Step 10: At Source end:
(i) Receive VT after some delay i.e. LinkDelay
(ii) Decryption is performed using own public key i.e. TED_VT
(iii) Access table and check if any entry is zero i.e. TTABLE_ACCESS_III
iv) If zero, ALERT message is created and forwarded into the network to make sure that no further Black hole is existed into the network i.e. TALERT

Processing time taken by Source node S:

image

(a) Total Route Time Taken By CBPT:

image

(b) Control Overhead:

In CBPT, the control overhead consists of control packets i.e. RREQ, RREP and protection packet i.e. Table Exchange. Control Overhead of the Network (CO) =(Control Packet Overhead + Protection Packet Overhead) / No. of Packets to be transmitted)
image
Where, UDP<=PD.

(c) Route Check Frequency (RCF):

The „Route Check Frequency? is an important parameter of CBPT which defines how frequently or how many times the routes are supposed to check out into the network during the TP so that the probability of the existence of cooperative Blackhole nodes reduces to the greater extent. This is made possible by applying CBPT into the network apparently.
If CBPT is used often into the network, it increases the control overhead problem into the network. And if CBPT is used on a low frequency basis, it increases the probability of vulnerability into the network.
Therefore, the RCF parameter should be such that the network performance is inversely proportional to the vulnerability of the network. The concept used behind RCF is as follows:
We have defined the range of packets with the difference of 20 such that when the value of TP belong to any one range of the Table 20, the lower and upper limit of that range are added and then get divided by 20. The value of the division will give us the RCF of TP. Now this RCF divides TP to give us the exact number of packets to be sent after every usage of CBPT into the network.

(d) Packet Loss:

In CBPT, the packet loss takes place due to various factors. These factors may include network congestion, buffer overflow, malicious node entry into the network etc. as same as AODV. Here, we consider the factor of malicious node which enters into the network as a legitimate node and deteriorate the network performance.
PLCBPT = (PS-PR_3H )

IV CONCLUSION

Our scheme called as CBPT has been proposed to provide better solution to the cooperative Blackhole problem using AODV in MANET. Though the route time and control overhead increases in the CBPT, such increment is affordable in CBPT if network security is the major concern. The security issue has been tackled here by using asymmetric cryptography in the proposal scheme. The Digital Certificate has been used for the purpose of private/ public keys. These keys are basically used for Encryption and Decryption. The new concept “Route check Frequency” has been introduced in CBPT so that the network becomes more secure by frequent checking of routes used for the packet transmission purpose. The limitation of CBPT is that it provides better solution when maximum two blackhole nodes work in a group irrespective of number of malicious nodes exists in the network. As future work, we intend to develop simulations to analyze the performance of the proposed solution.

Tables at a glance

Table icon Table icon Table icon Table icon Table icon
Table 1 Table 2 Table 3 Table 4 Table 5
Table icon Table icon Table icon Table icon
Table 6 Table 7 Table 8 Table 9
Table icon Table icon Table icon Table icon
Table 10 Table 11 Table 12 Table 13
 

Figures at a glance

Figure 1 Figure 2 Figure 3
Figure 1 Figure 2 Figure 3
 

References