Monday, June 3, 2019
Security for Insider Attacks in Mobile Ad Hoc Networks
Security for Insider Attacks in restless Ad Hoc Ne 2rksAbstract meandering(a) ad hoc engagements atomic chassis 18 collection of radio receiver meandering(a) leaf guests plaster bandageing a temporary ne iirk without the forethought of every last(predicate)(prenominal) established infrastructure. Security issues ar much paramount in such(prenominal) networks even more so than in wired networks. Despite the worldly concern of tumefy-known earnest mechanicss, additional vulnerabilities and features pertinent to this untested net working paradigm might coiffure the traditional solutions inapplicable. In dissevericular these networks be extremely under nemesis to insider round cumuluss speci entirelyy sheaf dropping advances. It is very difficult to detect such outpourings because they comes in the category of approachings in liquid ad hoc networks in which the invadeer lymph invitees buy the farms the part of the network. In this research work we d evote proposed a two folded begin, to detect and whence to keep apart such customers which become the part of the network to cause pile dropping attacks. First approach testament detect the misbehavior of lymph thickenings and will set the malicious activity in network, and and then upon identification of invitees misbehavior in network different approach will isolate the malicious node from network. OMNET++ simulator is utilise to simulate and check the proposed solution. Experimental leave alones shows that E-SAODV (Enhanced stop Ad hoc On strike aloofness runter protocol) performs much better than conventional SAODV (Secure Ad hoc On adopt outdo Vector Protocol)Chapter 1IntroductionOverview industrious Ad-hoc networks are a new paradigm of wireless communication for busy hosts. As in that location is no fixed infrastructure such as base stations for mobile switching. Nodes deep down each an other(a)(prenominal)s scope buy the farm directly via wireles s subsumes darn those which are far apart rely on other nodes to transmit depicted objects. Node mobility causes frequent transmutes in topology. The wireless nature of communication and lack of either hostage infrastructure raises several security problems. The fol emiting flowchart depicts the working of any(prenominal) general ad-hoc network.Features of Mobile Ad hoc NetworksBased on the characteristics, Mobile Ad hoc Networks has following of import features.Because of the limited energy supply for the wireless nodes and the mobility of the nodes, the wireless links between mobile nodes in the Ad hoc Network are non lieent for the communication participants. collect to the continuous motion of nodes, the topology of the mobile ad hoc network changes constantly, the nodes chamberpot continuously move into and out of the radio range of the other nodes in the ad hoc network, and the routing entropy will be ever-ever-changing all the time because of the movement of the n odes.Lack of incorporation of security features in statically put to bring downher wireless routing protocol non meant for Ad hoc environments. Because the topology of the Ad hoc Networks is changing constantly, it is necessary for each pair of adjacent nodes to incorporate in the routing issue so as to prevent around kind of potential attacks that try to fabricate use of vulnerabilities in the statically configured routing protocol.Mobile Ad hoc Network Routing ProtocolsRouting in Mobile Ad hoc Networks faces additional challenges when compared to routing in traditional wired networks with fixed infrastructure. in that respect are several well-known protocols that have been specifically developed to cope with the limitations oblige by Ad hoc networking environments. The problem of routing in such environments is aggravated by limiting factors such as rapidly changing topologies, high power consumption, low bandwidth and high defect rates 1. Most of the real routing protocol s follow two different material body approaches to confront the inherent characteristics of Ad hoc networks namely Proactive Routing Protocols, uns confuse Routing Protocols.Proactive Routing ProtocolsProactive ad hoc routing protocols maintain at all time routing nurture regarding the connectivity of every node to all other nodes that participate in the network. These protocols are also known as Table-driven Ad hoc Routing Protocols. These protocols allow every node to have a clear and consistent view of the network topology by propagating periodic updates 1. therefore, all nodes are able to make immediate decisions regarding the transport of a specific big m angiotensin converting enzymey. Two main protocols that fall into the category of proactive routing protocols are Destination- successivenessd Distance-Vector (DSDV) protocol 2 and the Optimized Link State Routing (OLSR) protocol 3.Reactive Routing ProtocolsAn alternative approach to the sensation followed by Proactive Routing Protocols also known as man-made lake-initiated on-demand routing, is Reactive Routing Protocols. accord to this approach a travel guidebook is created only(prenominal) when the source node requires one to a specific termination. A roadway is acquired by the initiation of a course discovery give out by the source node. The selective information piles transmitted temporary hookup a passage discovery is in process are buffered and are move when the course of study is established. An established pass is maintained as long as it is required through a course maintenance procedure. The Ad hoc On-demand Distance Vector (AODV) routing protocol 4, Temporally Ordered Routing Algorithm (TORA) 5 and the Dynamic Source Routing protocol 6 are mannequins of this category of protocols.Security issues in Mobile Ad hoc Routing ProtocolsAny routing protocol must(prenominal) encapsulate an essential set of security mechanisms. These are mechanisms that assistant prevent, detec t, and respond to security attacks. We fag classify these major security goals into five main categories, which need to be aimed in rank to maintain a reliable and fearless ad-hoc network environment.ConfidentialityConfidentiality is the valueion of any stateation from world heart-to-heart to unintended entities. In ad-hoc networks this is more difficult to achieve because intermediates nodes receive the mailboats for other recipients, so they skunk good eavesdrop the information being alleyd. approachabilityAvailability means that a node should maintain its ability to provide all the designed function regardless of the security state of it . This security criterion is challenged in the first place during the denial-of-service attacks, in which all the nodes in the network can be the attack tar embark on and thus roughly selfish nodes make some of the network services unavailable, such as the routing protocol or the key management service.assay-markAuthentication assur es that an entity of concern or the origin of a communication is what it claims to be or from. Without which an attacker would impersonate a node, thus gaining unauthorized access to option and sensitive information and interfering with operation of other nodes.IntegrityIntegrity guarantees the identicalness of the messages when they are transmitted. Integrity can be compromised through malicious and unintended altering. A message can be dropped, replayed or revised by an thwarter with malicious goal, which is regarded as malicious altering composition if the message is preoccupied or its content is changed due to some failures, which may be transmission errors or hardware errors such as hard disk failure, then it is categorise as accidental altering.Non-RepudiationNon-repudiation ensures that sending and receiving parties can never deny their sending or receiving the message.In pronounce to achieve the overall goal of Mobile Ad hoc Network security, above five mechanisms mu st be implemented in any ad-hoc networks so as to ensure the security of the transmissions along that network.Secure Ad hoc RoutingAs discussed earlier over the past decade, legion(predicate) Ad hoc routing protocols have been proposed in literature. Among them the most widely used are AODV (Ad hoc On demand Distance Vector) 4 and DSR (Dynamic Source Routing) 2 which comes in the category of re-active routing protocols of Ad hoc Networks. both of these protocols have been studied extensively. only when as in that respect were no security considerations in the original design of these protocols, these protocols remain under threat from the attackers. The main self-assertion of these protocols was that all participating nodes do so in good faith and without maliciously disrupting the operation of the protocol. yet the existence of malicious entities can not be disregarded in the systems curiously the environment used for Ad hoc Networks. To overcome the security vulnerabilities in actual routing protocols, numerous security enhancements in these protocols have been proposed scarcely unfortunately these sound Ad hoc Routing Protocols were either designed for a particular protocol or to solicit a specific problem operation of the protocol. For example SAODV (Secure Ad hoc On Demand Distance Vector Protocol) 7 was proposed to seize AODV (Ad hoc On Demand Distance Vector) protocol, Ariadne 10 was proposed to protect DSR (Dynamic Source Routing) protocol, ARAN 7 was proposed to protect the Ad hoc Routing in general while SEAD 8 was proposed to protect the DSDV (Destination Sequence Distance Vector Routing) protocol. The purpose of SAR 9 (Security alive(predicate) Routing) was also to protect the Routing in Ad hoc Networks.Problem definitionThus on issue studies on MANETs pose many challenging research areas including MANETs security. Since MANETs are made up entirely of wireless mobile nodes, they are inherently more susceptible to security threats comp ared to fixed networks 11. inlet to wireless links is virtually impossible to control thus ill security events such as eavesdropping, spoofing and denial of service attacks are more tardily pure(a). These security risks must be reduced to an acceptable level while maintaining an acceptable Quality of Service and network performance. However, in order to work properly, the routing protocols in MANETs need rely working environments, which are not alship canal available. There may be statuss in which the environment may be adversarial. For example some nodes may be selfish, malicious, or compromised by attackers. Most of the work through with(p) regarding network security in MANETs focuses on preventing attackers from entering the network through secure key distribution and secure neighbor discovery 10,12. But these intents become ineffective when the malicious nodes have entered the network, or some nodes in the network have been compromised. Therefore, threats from compromise d nodes inside the network are far more dangerous than the attacks from extraneous the network. Since these attacks are initiated from inside the network by the participating malicious nodes which behave well before they are compromised, it is very hard to detect these attacks.Keeping in view the security threats faced by MANETs we focus on Packet move Attack which is a serious threat to Mobile Ad hoc Networks. Although many research driving forces have been put on secure routing protocols but the attacks standardised software dropping is not adequately send fored. We study the packet boat dropping attack in which a malicious node intentionally drops the packets they received. Unlike all former researches which attempt to tolerate Packet Dropping Attacks, our work makes the first effort to detect the malicious activity and then identify the malicious or compromised nodes in the network.Research ObjectiveThe fundamental objective of this research is to discuss the security at tacks faced by Mobile Ad hoc Networks specially insider attacks and to review the security in existing routing protocols especially secure routing protocols in MANETs. We particularly focus on packet dropping attack which is a serious threat to Mobile Ad hoc Networks. A novel security enhancement scheme to calculate packet dropping attack has been proposed.Thesis OrganizationChapter 2 provides a brief establishment of security threats faced by Mobile Ad hoc Networks and secure routing to steer these attacks. Chapter 3 discusses about the related work and flaws identified in the related work. Chapter 4 presents the possible solutions to turn to the packet dropping attack in Mobile Ad hoc Networks. Chapter 5 complicates the implementation of proposed mechanisms and Results of the proposed mechanism and the thesis is concluded in Chapter 6.Chapter 2Security Threats and Secure Ad hoc Routing ProtocolsIntroductionThis chapter includes the threats and types of attacks faced by Mobile Ad hoc Networks. Secure Ad hoc routing protocols like SAODV 7 (Secure Ad hoc On Demand Distance Vector), SAR 16 (Security Aware Routing), and ARAN 9 (documented Routing for Ad hoc Networks) etc and how these protocols are still vulnerable to attacks, are discussed in this chapter.Types of attacks in MANETsThere are numerous kinds of attacks in the mobile ad hoc networks, roughly all of which can be categorize into two types, outer Attacks and Insider Attacks.External AttacksExternal Attacks are those attacks, in which the attacker aims to cause congestion, propagate fake routing information or meet nodes from providing services. External attacks are similar to the normal attacks in the traditional wired networks such that the adversary is in the proximity but not a trusted node in the network, therefore, this type of attack can be prevented and detected by the security methods such as authentication or firewall, which are relatively conventional security solutions.Internal or I nsider AttacksDue to the invasive nature and open network media in the mobile ad hoc network, versed also known as insider attacks are more dangerous than the outer attacks because the compromised or malicious nodes are originally the legitimate users of the Ad hoc network, they can easily pass the authentication and get protection from the security mechanisms. As a termination, the adversaries can make use of them to gain normal access to the services that should only be available to the authorized users in the network, and they can use the ratified identity provided by the compromised nodes to conceal their malicious behaviors. Therefore, more attention should be give to the subjective attacks initiated by the malicious insider nodes when we consider the security issues in the mobile ad hoc networks.Internal or insider nodes when become part of the network can ravish the network in the following waysPacket DroppingA malicious node can attack at its level or at lower levels. Particularly in the context of Packet Dropping Attack, in spite of appearance a trust level, a malicious node or any other node which aims at saving its resources or intentionally launching a attack can successfully drop packets without being noticed and can get services from other nodes for packaging its own packets.Node IsolationAn internal malicious node can prevent nodes from communicating with any other node. dispatch DisruptionA malicious node can break down an existing route or prevent a new route from being established.Route InvasionAn inside attacker adds itself between two endpoints of a communication channel.Attacks ground on modificationA very simplest way for a malicious node to disturb the operations of an ad-hoc network is to perform an attack based on modification. The only task the malicious or compromised node involve to perform is to announce better routes than the ones presently existing. This kind of attack is based on the modification of the metrical fun ction value for a route or by altering control message eye sockets.There are various ways to perform this type of attacks some of them are discussed below altering the Hop viewThis attack is more specific to the AODV 4 protocol wherein the optimum room is elect by the vamoose count metric. A malicious node can disturb the network by announcing the smallest hop-skip count value to reach the compromised node. In general, an attacker would use a value zero to ensure to the smallest hop count.ever-changing the Route Sequence NumberWhen a node decides the optimum path to take through a network, the node always relies on a metric of values, such as hop count delays etc. The smaller that value, the more optimum the path. Hence, a simple way to attack a network is to change this value with a smaller number than the last better value.Altering Routing InformationThis type of attack leads network toward Denial of Service (DoS) attack. For example in a slur where a node M wants to commun icate with node S. At node M the routing path in the header would be M-N-O-P-Q-R-S. If N is a compromised node, it can alter this routing detail to M-N-O-P. But since there exists no direct route from O to P, P will drop the packet. Thus, A will never be able to access any service from P. This situation leads the network towards a DoS attack.Impersonation AttacksImpersonation is also known as spoofing. In this type of attack the malicious node hides its IP address or MAC address and uses the addresses of other nodes present in the network. Since current ad-hoc routing protocols like AODV 4 and DSR 6 do not authenticate source IP address. By exploiting this situation a malicious node can launch variety of attacks using spoofing. For example in a situation where an attacker creates loops in the network to isolate a node from the remainder of the network, the attacker needs to spoof the IP address of the node he wants to isolate from the network and then announce new route to the other s nodes. By doing this, he can easily modify the network topology as he wants.Fabrication AttacksFabrication attacks can be classified into tierce main categories. Detection is very difficult in all of these three cases.Routing table poisoningRouting protocols maintain tables which hold information regarding routes of the network. In routing table poisoning attacks the malicious nodes generate and send fabricated signaling traffic, or modify legitimate messages from other nodes, in order to create false entries in the tables of the participating nodes. For example, an attacker can send routing updates that do not correspond to true(a) changes in the topology of the ad hoc network. Routing table poisoning attacks can result in selection of non-optimal routes, creation of routing loops and bottlenecks.Route Cache PoisoningThis type of attack falls in the category of passive attacks that can occur especially in DSR 6 due to the promiscuous mode of updating routing tables. This type of situation arises when information stored in routing tables is deleted, altered or injected with false information. A node overhearing any packet may add the routing information contained in that packets header to its own route cache, even if that node is not on the path from source to destination. The exposure of this system is that an attacker could easily exploit this method of learning routes and poison route caches by broadcast a message with a spoofed IP address to other nodes. When they receive this message, the nodes would add this new route to their cache and would now communicate using the route to reach the malicious node.Rote Error Messages trickeryThis attack is very common in AODV 4 and DSR 6, because when nodes move these two protocols use path maintenance to recover the optimum path. The weakness of this architecture is that whenever a node moves, the closest node sends an error message to the other nodes so as to inform them that a route is no longer accessible. If an attacker can cause a DoS attack by spoofing any node and sending error messages to the all other nodes. As a result malicious node can separate any node quite easily.EavesdroppingEavesdropping is another kind of attack that usually happens in the mobile ad hoc networks. The goal of eavesdropping is to obtain some confidential information that should be kept secret during the communication. This information may include the location, public key, private key or even passwords of the nodes. Because such data are very important to the security state of the nodes, they should be kept outdoor(a) from the unauthorized access.Secure Ad hoc Routing ProtocolsMany solutions have been proposed for secure routing in ad hoc networks, in order to offer protection against the attacks discussed earlier. These proposed solutions are either in all new stand-alone protocols, or in some cases incorporations of security mechanisms into existing ones (like DSR 6 and AODV 4).In order to analyze the proposed solutions and how they are still vulnerable to attacks we classified them into two main categories based on unsymmetric cryptograph and symmetric cryptography. asymmetrical Cryptographic SolutionProtocols that use asymmetric cryptography to secure routing in mobile ad hoc networks require the existence of a universally trusted trey party. This trusted third party can be either online or offline. The trusted third party issues certificates that bind a nodes public key with a nodes persistent identifier. Authenticated Routing for Ad hoc Networks ARAN 9 falls in this category of secure Ad hoc routing protocols many of the other protocols presented in other categories that use asymmetric cryptography perish in a similar manner and have similar requirements.Authenticated Routing for Ad hoc Networks ARANThe Authenticated Routing for Ad hoc Networks (ARAN) proposed in 9 is a standalone solution for secure routing in ad hoc networking environments. ARAN use digital certificate s and can successfully operate in the managed open scenario where no infrastructure is pre-deployed. The basic mechanism used in ARAN is certification that is achieved through the existence of a trusted certification leave (CA). All nodes are supposed to know their public key from the certification authority and also the public key of server. Prior to entering into the network, each node has to reach for a certificate that is signed by the certificate server. ARAN accomplishes the discovery of routes by a broadcast message from source node which is replied in a unicast manner. This route discovery of the ARAN protocol begins with a node broadcasting to its neighbors a route discovery packet (RDP). The RDP includes the certificate of the initiating node, a nonce, a timestamp and the address of the destination node. Furthermore, the initiating node signs the RDP. Each node validates the cutaneous senses with the certificate, updates its routing table with the neighbor from which it received the RDP, signs it, and in advance it to its neighbors after removing the certificate and the signature of the previous node (but not the initiators signature and certificate). The signature prevents malicious nodes from injecting arbitrary route discovery packets that alter routes or form loops 13. The destination node eventually receives the RDP and replies with a reply packet (REP). The REP contains the address of the source node, the destinations certificate, a nonce, and the associated timestamp. The destination node signs the REP before infection it. The REP is forwarded back to the initiating node by a process similar to the one described for the route discovery, except that the REP is unicasted along the reverse path. The source node is able to verify that the destination node sent the REP by checking the nonce and the signature. Figure 2 illustrates the process of route discovery in ARAN. All messages are authenticated at each hop from source to destination as we ll as on the reverse path. Due to sour computation heterogeneous with the certificates, ARAN is vulnerable to many attacks e.g. disk ope pass judgment system attacks. In situation when there are no malicious nodes in the network the load involved in the routing process force the legitimate nodes to drop the packets in order to however their resources.Symmetric Cryptography SolutionsSymmetric cryptographic solutions rely solely on symmetric cryptography to secure the function of routing in wireless ad hoc networks. The mechanisms utilized is hashish functions and hash imprisonment. A one-way hash function is a function that takes an input of arbitrary length and returns an output of fixed length 14. As hash functions are especially lightweight when compared to other symmetric and asymmetric cryptographic operations, they have been extensively used in the context of securing ad hoc routing.Secure Ad hoc On-demand Distance Vector Protocol (SAODV)The Secure Ad hoc On Demand Dista nce Vector (SAODV) 7 addresses the problem of securing a MANET network. SAODV is an extension of AODV4 routing protocol that can be used to protect the route discovery mechanism by providing security features like authentication, integrity and non-repudiation. It uses digital signatures to authenticate the non-mutable stadiums of the message, and hash chains to secure the hop count information (the only mutable field in message) in both RREQ and RREP messages. The SAODV scheme is based on the assumption that each node possesses certified public keys of all network nodes . In order to facilitate the transmission of the information required for the security mechanisms, SAODV defines extensions to the standard AODV message format. These SAODV extensions consist of the following fields. The hash function field identifies the one-way hash function that is used. The field max hop count is a counter that specifies the maximum number of nodes a packet is allowed to go through. The top has h field is the result of the application of the hash function max hop count times to a randomly generated number, and finally the field hash is this random number.When a node transmits a route request or a route reply AODV packet it sets the max hop count field lucifer to the time to conk (TTL) field from the IP header, generates a random number and sets the hash field equal to it, and applies the hash function specified by the corresponding field max hop count times to the random number, storing the calculated result to the top hash field. Moreover, the node digitally signs all fields of the message, except the hop count field from the AODV header and the hash field from the SAODV extension header. An intermediate node that receives a route request or a route reply must verify the integrity of the message and the hop count AODV 4 field. The integrity requirement is accomplished by verifying the digital signature. The hop count field is substantiate by comparing the result of the application of the hash function max hop count minus hop count times to the hash field with the value of the top hash field. Before the packet is re-broadcasted by the intermediate node the value of the hash field is replaced by the result of the calculation of the one-way hash of the field itself in order to account for the new hop. In SAODV route error messages (RERR) that are generated by nodes that inform their neighbors that they are not going to be able to route messages to specific destinations are secured using digital signatures. A node that generates or forwards a route error message cryptographically signs the whole message, except the destination sequence numbers.Although SAODV provides reasonable security to MANETs routing, but it is still vulnerable to distance fraud attack 15 in which the forwarding node fails to increment the route metric because in SAODV there is no enforcement to do so. Further there is no method to detect the malicious nodes and DOS attacks becau se in SAODV it is imitation that DOS attacks are restricted to physical layer, but this assumption failed when colluding malicious nodes drop packets during the route discovery process.Security Aware Routing (SAR)SAR 16 (Security Aware Routing) is an extension to existing on demand routing protocols and used where nodes are grouped on the basis of trust level. In SAR each node has different security level which assigns them different trust levels. Two nodes can only communicate with each other if they have equal or greater trust values. If a node has lower security level it simply discards the packet. In case there is no node in the network with the desired level then communication cannot take place or we can say that, that particular packet cant be forwarded unless its security level is lowered. By exploiting this condition a malicious node can attack at its level or at lower levels. Particularly in the context of Packet Dropping Attack, within a trust level, a malicious node or a ny other node which aims at saving its resources or intentionally launching a attack can successfully drop packets without being noticed and can get services from other nodes for forwarding its own packets. SAR also fails in the situations of secure routing in general because it only focuses on the situations in which certain groups are assumed to be trustworthy.ConclusionFrom the above discussion, we observe that all Secure Ad hoc routing protocols are still vulnerable to many attacks. Although proposed techniques provide security against external attacks, insider attacks are still an open issue in MANETs.Chapter 3Literature brushupIntroductionMany solutions have been proposed to prevent selfishness in MANETs. The main goal of all the schemes proposed in the literature is to make decisions regarding trustworthy entities and to encourage behavior that leads to increase trust. In this section we discuss some of the solutions presented in the literature in order to detect the malicio us nodes in the network in context of packet dropping attack.Watchdog and PathraterIn 17 Marti el al, proposed a mechanism called as watchdog and pathrater on DSR6 to detect the misbehavior of nodes in MANETs. Nodes in this scheme operate in a promiscuous mode. The watchdog monitors one hop neighbor by overhearing the medium to check whether the adjoining neighbor forwards the packet or not. It also maintains a buffer of recently sent packets. If a data packet remains in the buffer too long, the watchdog declares the next hop neighbor to be misbehaving. Every node that participates in the ad hoc network employs the watchdog functionality in order to verify that its neighbors correctly forward packets. When a node transmits a packet to the next node in the path, it tries to promiscuously listen if the next node will also transmit it. Furthermore, if there is no link encryption utilized in the network, the listening node can also verify that the next node did not modify the packet before transmission system it . The watchdog of a node maintains copies of recently forwarded packets and compares them with the packet transmissions overheard by the neighboring nodes. convinced(p) comparisons result in the deletion of the buffered packet and the freeing of the related memory. If a node that was supposed to forward a packet fails to do so within a certain timeout period, the watchdog of an overhearing node increments a failure valuation for the specific node. This effectively means that every node in the ad hoc network maintains a valuation assessing the reliability of every other node that it can overhear packet transmissions from. A node is identified as misbehaving when the failure rating exceeds a certain threshold bandwidth. The source node of the route that contains the pique node is notified by a message send by the identifying watchdog. As the authors of the scheme note, the main problem with this approach is its vulnerability to blackmail attacks. The pathrater selects the path with the highest metric when there are multiple paths for the same destination node. The algorithm followed by the pathrater mechanism initially assigns a rating of 1.0 to itself and 0.5 to each node that it knows through the route discovery function. The nodes that participate on the active paths have their ratings increased by 0.01 at periodic intervals of 200 milliseconds to a maximum rating of 0.8. A rating is decremented by 0.05 when a link breakage isSecurity for Insider Attacks in Mobile Ad Hoc NetworksSecurity for Insider Attacks in Mobile Ad Hoc NetworksAbstractMobile ad hoc networks are collection of wireless mobile nodes forming a temporary network without the aid of any established infrastructure. Security issues are more paramount in such networks even more so than in wired networks. Despite the existence of well-known security mechanisms, additional vulnerabilities and features pertinent to this new networking paradigm might render the tradit ional solutions inapplicable. In particular these networks are extremely under threat to insider attacks especially packet dropping attacks. It is very difficult to detect such attacks because they comes in the category of attacks in mobile ad hoc networks in which the attacker nodes becomes the part of the network. In this research work we have proposed a two folded approach, to detect and then to isolate such nodes which become the part of the network to cause packet dropping attacks. First approach will detect the misbehavior of nodes and will identify the malicious activity in network, and then upon identification of nodes misbehavior in network other approach will isolate the malicious node from network. OMNET++ simulator is used to simulate and verify the proposed solution. Experimental results shows that E-SAODV (Enhanced Secure Ad hoc On Demand Distance Vector protocol) performs much better than conventional SAODV (Secure Ad hoc On Demand Distance Vector Protocol)Chapter 1In troductionOverviewMobile Ad-hoc networks are a new paradigm of wireless communication for mobile hosts. As there is no fixed infrastructure such as base stations for mobile switching. Nodes within each others range communicate directly via wireless links while those which are far apart rely on other nodes to transmit messages. Node mobility causes frequent changes in topology. The wireless nature of communication and lack of any security infrastructure raises several security problems. The following flowchart depicts the working of any general ad-hoc network.Features of Mobile Ad hoc NetworksBased on the characteristics, Mobile Ad hoc Networks has following main features.Because of the limited energy supply for the wireless nodes and the mobility of the nodes, the wireless links between mobile nodes in the Ad hoc Network are not consistent for the communication participants.Due to the continuous motion of nodes, the topology of the mobile ad hoc network changes constantly, the nodes can continuously move into and out of the radio range of the other nodes in the ad hoc network, and the routing information will be changing all the time because of the movement of the nodes.Lack of incorporation of security features in statically configured wireless routing protocol not meant for Ad hoc environments. Because the topology of the Ad hoc Networks is changing constantly, it is necessary for each pair of adjacent nodes to incorporate in the routing issue so as to prevent some kind of potential attacks that try to make use of vulnerabilities in the statically configured routing protocol.Mobile Ad hoc Network Routing ProtocolsRouting in Mobile Ad hoc Networks faces additional challenges when compared to routing in traditional wired networks with fixed infrastructure. There are several well-known protocols that have been specifically developed to cope with the limitations imposed by Ad hoc networking environments. The problem of routing in such environments is aggravated by limiting factors such as rapidly changing topologies, high power consumption, low bandwidth and high error rates 1. Most of the existing routing protocols follow two different design approaches to confront the inherent characteristics of Ad hoc networks namely Proactive Routing Protocols, Reactive Routing Protocols.Proactive Routing ProtocolsProactive ad hoc routing protocols maintain at all times routing information regarding the connectivity of every node to all other nodes that participate in the network. These protocols are also known as Table-driven Ad hoc Routing Protocols. These protocols allow every node to have a clear and consistent view of the network topology by propagating periodic updates 1. Therefore, all nodes are able to make immediate decisions regarding the forwarding of a specific packet. Two main protocols that fall into the category of proactive routing protocols are Destination-Sequenced Distance-Vector (DSDV) protocol 2 and the Optimized Link State Routing (OLSR) protocol 3.Reactive Routing ProtocolsAn alternative approach to the one followed by Proactive Routing Protocols also known as source-initiated on-demand routing, is Reactive Routing Protocols. According to this approach a route is created only when the source node requires one to a specific destination. A route is acquired by the initiation of a route discovery function by the source node. The data packets transmitted while a route discovery is in process are buffered and are sent when the path is established. An established route is maintained as long as it is required through a route maintenance procedure. The Ad hoc On-demand Distance Vector (AODV) routing protocol 4, Temporally Ordered Routing Algorithm (TORA) 5 and the Dynamic Source Routing protocol 6 are examples of this category of protocols.Security issues in Mobile Ad hoc Routing ProtocolsAny routing protocol must encapsulate an essential set of security mechanisms. These are mechanisms that help prevent, detect, a nd respond to security attacks. We can classify these major security goals into five main categories, which need to be addressed in order to maintain a reliable and secure ad-hoc network environment.ConfidentialityConfidentiality is the protection of any information from being exposed to unintended entities. In ad-hoc networks this is more difficult to achieve because intermediates nodes receive the packets for other recipients, so they can easily eavesdrop the information being routed.AvailabilityAvailability means that a node should maintain its ability to provide all the designed services regardless of the security state of it . This security criterion is challenged mainly during the denial-of-service attacks, in which all the nodes in the network can be the attack target and thus some selfish nodes make some of the network services unavailable, such as the routing protocol or the key management service.AuthenticationAuthentication assures that an entity of concern or the origin of a communication is what it claims to be or from. Without which an attacker would impersonate a node, thus gaining unauthorized access to resource and sensitive information and interfering with operation of other nodes.IntegrityIntegrity guarantees the identity of the messages when they are transmitted. Integrity can be compromised through malicious and accidental altering. A message can be dropped, replayed or revised by an adversary with malicious goal, which is regarded as malicious altering while if the message is lost or its content is changed due to some failures, which may be transmission errors or hardware errors such as hard disk failure, then it is categorized as accidental altering.Non-RepudiationNon-repudiation ensures that sending and receiving parties can never deny their sending or receiving the message.In order to achieve the overall goal of Mobile Ad hoc Network security, above five mechanisms must be implemented in any ad-hoc networks so as to ensure the security of the transmissions along that network.Secure Ad hoc RoutingAs discussed earlier over the past decade, many Ad hoc routing protocols have been proposed in literature. Among them the most widely used are AODV (Ad hoc On Demand Distance Vector) 4 and DSR (Dynamic Source Routing) 2 which comes in the category of re-active routing protocols of Ad hoc Networks. All of these protocols have been studied extensively. But as there were no security considerations in the original design of these protocols, these protocols remain under threat from the attackers. The main assumption of these protocols was that all participating nodes do so in good faith and without maliciously disrupting the operation of the protocol. However the existence of malicious entities can not be disregarded in the systems especially the environment used for Ad hoc Networks. To overcome the security vulnerabilities in existing routing protocols, many security enhancements in these protocols have been proposed but unfo rtunately these secure Ad hoc Routing Protocols were either designed for a particular protocol or to address a specific problem operation of the protocol. For example SAODV (Secure Ad hoc On Demand Distance Vector Protocol) 7 was proposed to secure AODV (Ad hoc On Demand Distance Vector) protocol, Ariadne 10 was proposed to protect DSR (Dynamic Source Routing) protocol, ARAN 7 was proposed to protect the Ad hoc Routing in general while SEAD 8 was proposed to protect the DSDV (Destination Sequence Distance Vector Routing) protocol. The purpose of SAR 9 (Security Aware Routing) was also to protect the Routing in Ad hoc Networks.Problem definitionThus ongoing studies on MANETs pose many challenging research areas including MANETs security. Since MANETs are made up entirely of wireless mobile nodes, they are inherently more susceptible to security threats compared to fixed networks 11. Access to wireless links is virtually impossible to control thus adverse security events such as eaves dropping, spoofing and denial of service attacks are more easily accomplished. These security risks must be reduced to an acceptable level while maintaining an acceptable Quality of Service and network performance. However, in order to work properly, the routing protocols in MANETs need trusted working environments, which are not always available. There may be situations in which the environment may be adversarial. For example some nodes may be selfish, malicious, or compromised by attackers. Most of the work done regarding network security in MANETs focuses on preventing attackers from entering the network through secure key distribution and secure neighbor discovery 10,12. But these schemes become ineffective when the malicious nodes have entered the network, or some nodes in the network have been compromised. Therefore, threats from compromised nodes inside the network are far more dangerous than the attacks from outside the network. Since these attacks are initiated from inside the network by the participating malicious nodes which behave well before they are compromised, it is very hard to detect these attacks.Keeping in view the security threats faced by MANETs we focus on Packet Dropping Attack which is a serious threat to Mobile Ad hoc Networks. Although many research efforts have been put on secure routing protocols but the attacks like packet dropping is not adequately addressed. We study the packet dropping attack in which a malicious node intentionally drops the packets they received. Unlike all previous researches which attempt to tolerate Packet Dropping Attacks, our work makes the first effort to detect the malicious activity and then identify the malicious or compromised nodes in the network.Research ObjectiveThe fundamental objective of this research is to discuss the security attacks faced by Mobile Ad hoc Networks specially insider attacks and to review the security in existing routing protocols especially secure routing protocols in MANETs. We particularly focus on packet dropping attack which is a serious threat to Mobile Ad hoc Networks. A novel security enhancement scheme to address packet dropping attack has been proposed.Thesis OrganizationChapter 2 provides a brief introduction of security threats faced by Mobile Ad hoc Networks and secure routing to address these attacks. Chapter 3 discusses about the related work and flaws identified in the related work. Chapter 4 presents the possible solutions to address the packet dropping attack in Mobile Ad hoc Networks. Chapter 5 includes the implementation of proposed mechanisms and Results of the proposed mechanism and the thesis is concluded in Chapter 6.Chapter 2Security Threats and Secure Ad hoc Routing ProtocolsIntroductionThis chapter includes the threats and types of attacks faced by Mobile Ad hoc Networks. Secure Ad hoc routing protocols like SAODV 7 (Secure Ad hoc On Demand Distance Vector), SAR 16 (Security Aware Routing), and ARAN 9 (Authenticated Routing for Ad hoc Networks) etc and how these protocols are still vulnerable to attacks, are discussed in this chapter.Types of attacks in MANETsThere are numerous kinds of attacks in the mobile ad hoc networks, almost all of which can be classified into two types, External Attacks and Insider Attacks.External AttacksExternal Attacks are those attacks, in which the attacker aims to cause congestion, propagate fake routing information or disturb nodes from providing services. External attacks are similar to the normal attacks in the traditional wired networks such that the adversary is in the proximity but not a trusted node in the network, therefore, this type of attack can be prevented and detected by the security methods such as authentication or firewall, which are relatively conventional security solutions.Internal or Insider AttacksDue to the invasive nature and open network media in the mobile ad hoc network, internal also known as insider attacks are more dangerous than the external at tacks because the compromised or malicious nodes are originally the legitimate users of the Ad hoc network, they can easily pass the authentication and get protection from the security mechanisms. As a result, the adversaries can make use of them to gain normal access to the services that should only be available to the authorized users in the network, and they can use the legal identity provided by the compromised nodes to conceal their malicious behaviors. Therefore, more attention should be paid to the internal attacks initiated by the malicious insider nodes when we consider the security issues in the mobile ad hoc networks.Internal or insider nodes when become part of the network can misuse the network in the following waysPacket DroppingA malicious node can attack at its level or at lower levels. Particularly in the context of Packet Dropping Attack, within a trust level, a malicious node or any other node which aims at saving its resources or intentionally launching a attack can successfully drop packets without being noticed and can get services from other nodes for forwarding its own packets.Node IsolationAn internal malicious node can prevent nodes from communicating with any other node.Route DisruptionA malicious node can break down an existing route or prevent a new route from being established.Route InvasionAn inside attacker adds itself between two endpoints of a communication channel.Attacks based on modificationA very simplest way for a malicious node to disturb the operations of an ad-hoc network is to perform an attack based on modification. The only task the malicious or compromised node needs to perform is to announce better routes than the ones presently existing. This kind of attack is based on the modification of the metric value for a route or by altering control message fields.There are various ways to perform this type of attacks some of them are discussed belowAltering the Hop CountThis attack is more specific to the AODV 4 protocol wherein the optimum path is chosen by the hop count metric. A malicious node can disturb the network by announcing the smallest hop count value to reach the compromised node. In general, an attacker would use a value zero to ensure to the smallest hop count.Changing the Route Sequence NumberWhen a node decides the optimum path to take through a network, the node always relies on a metric of values, such as hop count delays etc. The smaller that value, the more optimum the path. Hence, a simple way to attack a network is to change this value with a smaller number than the last better value.Altering Routing InformationThis type of attack leads network toward Denial of Service (DoS) attack. For example in a situation where a node M wants to communicate with node S. At node M the routing path in the header would be M-N-O-P-Q-R-S. If N is a compromised node, it can alter this routing detail to M-N-O-P. But since there exists no direct route from O to P, P will drop the packet. Thus, A wi ll never be able to access any service from P. This situation leads the network towards a DoS attack.Impersonation AttacksImpersonation is also known as spoofing. In this type of attack the malicious node hides its IP address or MAC address and uses the addresses of other nodes present in the network. Since current ad-hoc routing protocols like AODV 4 and DSR 6 do not authenticate source IP address. By exploiting this situation a malicious node can launch variety of attacks using spoofing. For example in a situation where an attacker creates loops in the network to isolate a node from the remainder of the network, the attacker needs to spoof the IP address of the node he wants to isolate from the network and then announce new route to the others nodes. By doing this, he can easily modify the network topology as he wants.Fabrication AttacksFabrication attacks can be classified into three main categories. Detection is very difficult in all of these three cases.Routing table poisoningR outing protocols maintain tables which hold information regarding routes of the network. In routing table poisoning attacks the malicious nodes generate and send fabricated signaling traffic, or modify legitimate messages from other nodes, in order to create false entries in the tables of the participating nodes. For example, an attacker can send routing updates that do not correspond to actual changes in the topology of the ad hoc network. Routing table poisoning attacks can result in selection of non-optimal routes, creation of routing loops and bottlenecks.Route Cache PoisoningThis type of attack falls in the category of passive attacks that can occur especially in DSR 6 due to the promiscuous mode of updating routing tables. This type of situation arises when information stored in routing tables is deleted, altered or injected with false information. A node overhearing any packet may add the routing information contained in that packets header to its own route cache, even if tha t node is not on the path from source to destination. The vulnerability of this system is that an attacker could easily exploit this method of learning routes and poison route caches by broadcast a message with a spoofed IP address to other nodes. When they receive this message, the nodes would add this new route to their cache and would now communicate using the route to reach the malicious node.Rote Error Messages fabricationThis attack is very common in AODV 4 and DSR 6, because when nodes move these two protocols use path maintenance to recover the optimum path. The weakness of this architecture is that whenever a node moves, the closest node sends an error message to the other nodes so as to inform them that a route is no longer accessible. If an attacker can cause a DoS attack by spoofing any node and sending error messages to the all other nodes. As a result malicious node can separate any node quite easily.EavesdroppingEavesdropping is another kind of attack that usually hap pens in the mobile ad hoc networks. The goal of eavesdropping is to obtain some confidential information that should be kept secret during the communication. This information may include the location, public key, private key or even passwords of the nodes. Because such data are very important to the security state of the nodes, they should be kept away from the unauthorized access.Secure Ad hoc Routing ProtocolsMany solutions have been proposed for secure routing in ad hoc networks, in order to offer protection against the attacks discussed earlier. These proposed solutions are either completely new stand-alone protocols, or in some cases incorporations of security mechanisms into existing ones (like DSR 6 and AODV 4).In order to analyze the proposed solutions and how they are still vulnerable to attacks we classified them into two main categories based on asymmetric cryptography and symmetric cryptography.Asymmetric Cryptographic SolutionProtocols that use asymmetric cryptography t o secure routing in mobile ad hoc networks require the existence of a universally trusted third party. This trusted third party can be either online or offline. The trusted third party issues certificates that bind a nodes public key with a nodes persistent identifier. Authenticated Routing for Ad hoc Networks ARAN 9 falls in this category of secure Ad hoc routing protocols many of the other protocols presented in other categories that use asymmetric cryptography operate in a similar manner and have similar requirements.Authenticated Routing for Ad hoc Networks ARANThe Authenticated Routing for Ad hoc Networks (ARAN) proposed in 9 is a standalone solution for secure routing in ad hoc networking environments. ARAN use digital certificates and can successfully operate in the managed open scenario where no infrastructure is pre-deployed. The basic mechanism used in ARAN is certification that is achieved through the existence of a trusted certification authority (CA). All nodes are supp osed to know their public key from the certification authority and also the public key of server. Prior to entering into the network, each node has to apply for a certificate that is signed by the certificate server. ARAN accomplishes the discovery of routes by a broadcast message from source node which is replied in a unicast manner. This route discovery of the ARAN protocol begins with a node broadcasting to its neighbors a route discovery packet (RDP). The RDP includes the certificate of the initiating node, a nonce, a timestamp and the address of the destination node. Furthermore, the initiating node signs the RDP. Each node validates the signature with the certificate, updates its routing table with the neighbor from which it received the RDP, signs it, and forwards it to its neighbors after removing the certificate and the signature of the previous node (but not the initiators signature and certificate). The signature prevents malicious nodes from injecting arbitrary route dis covery packets that alter routes or form loops 13. The destination node eventually receives the RDP and replies with a reply packet (REP). The REP contains the address of the source node, the destinations certificate, a nonce, and the associated timestamp. The destination node signs the REP before transmitting it. The REP is forwarded back to the initiating node by a process similar to the one described for the route discovery, except that the REP is unicasted along the reverse path. The source node is able to verify that the destination node sent the REP by checking the nonce and the signature. Figure 2 illustrates the process of route discovery in ARAN. All messages are authenticated at each hop from source to destination as well as on the reverse path. Due to heavy computation involved with the certificates, ARAN is vulnerable to many attacks e.g. DOS attacks. In situation when there are no malicious nodes in the network the load involved in the routing process force the legitima te nodes to drop the packets in order to save their resources.Symmetric Cryptography SolutionsSymmetric cryptographic solutions rely solely on symmetric cryptography to secure the function of routing in wireless ad hoc networks. The mechanisms utilized is hash functions and hash chains. A one-way hash function is a function that takes an input of arbitrary length and returns an output of fixed length 14. As hash functions are especially lightweight when compared to other symmetric and asymmetric cryptographic operations, they have been extensively used in the context of securing ad hoc routing.Secure Ad hoc On-demand Distance Vector Protocol (SAODV)The Secure Ad hoc On Demand Distance Vector (SAODV) 7 addresses the problem of securing a MANET network. SAODV is an extension of AODV4 routing protocol that can be used to protect the route discovery mechanism by providing security features like authentication, integrity and non-repudiation. It uses digital signatures to authenticate the non-mutable fields of the message, and hash chains to secure the hop count information (the only mutable field in message) in both RREQ and RREP messages. The SAODV scheme is based on the assumption that each node possesses certified public keys of all network nodes . In order to facilitate the transmission of the information required for the security mechanisms, SAODV defines extensions to the standard AODV message format. These SAODV extensions consist of the following fields. The hash function field identifies the one-way hash function that is used. The field max hop count is a counter that specifies the maximum number of nodes a packet is allowed to go through. The top hash field is the result of the application of the hash function max hop count times to a randomly generated number, and finally the field hash is this random number.When a node transmits a route request or a route reply AODV packet it sets the max hop count field equal to the time to live (TTL) field from the IP header, generates a random number and sets the hash field equal to it, and applies the hash function specified by the corresponding field max hop count times to the random number, storing the calculated result to the top hash field. Moreover, the node digitally signs all fields of the message, except the hop count field from the AODV header and the hash field from the SAODV extension header. An intermediate node that receives a route request or a route reply must verify the integrity of the message and the hop count AODV 4 field. The integrity requirement is accomplished by verifying the digital signature. The hop count field is verified by comparing the result of the application of the hash function max hop count minus hop count times to the hash field with the value of the top hash field. Before the packet is re-broadcasted by the intermediate node the value of the hash field is replaced by the result of the calculation of the one-way hash of the field itself in order to account for the new hop. In SAODV route error messages (RERR) that are generated by nodes that inform their neighbors that they are not going to be able to route messages to specific destinations are secured using digital signatures. A node that generates or forwards a route error message cryptographically signs the whole message, except the destination sequence numbers.Although SAODV provides reasonable security to MANETs routing, but it is still vulnerable to distance fraud attack 15 in which the forwarding node fails to increment the route metric because in SAODV there is no enforcement to do so. Further there is no method to detect the malicious nodes and DOS attacks because in SAODV it is assumed that DOS attacks are restricted to physical layer, but this assumption failed when colluding malicious nodes drop packets during the route discovery process.Security Aware Routing (SAR)SAR 16 (Security Aware Routing) is an extension to existing on demand routing protocols and used where nodes are grouped on the basis of trust level. In SAR each node has different security level which assigns them different trust levels. Two nodes can only communicate with each other if they have equal or greater trust values. If a node has lower security level it simply discards the packet. In case there is no node in the network with the desired level then communication cannot take place or we can say that, that particular packet cant be forwarded unless its security level is lowered. By exploiting this condition a malicious node can attack at its level or at lower levels. Particularly in the context of Packet Dropping Attack, within a trust level, a malicious node or any other node which aims at saving its resources or intentionally launching a attack can successfully drop packets without being noticed and can get services from other nodes for forwarding its own packets. SAR also fails in the situations of secure routing in general because it only focuses on the situations in which cer tain groups are assumed to be trustworthy.ConclusionFrom the above discussion, we observe that all Secure Ad hoc routing protocols are still vulnerable to many attacks. Although proposed techniques provide security against external attacks, insider attacks are still an open issue in MANETs.Chapter 3Literature ReviewIntroductionMany solutions have been proposed to prevent selfishness in MANETs. The main goal of all the schemes proposed in the literature is to make decisions regarding trustworthy entities and to encourage behavior that leads to increasing trust. In this section we discuss some of the solutions presented in the literature in order to detect the malicious nodes in the network in context of packet dropping attack.Watchdog and PathraterIn 17 Marti el al, proposed a mechanism called as watchdog and pathrater on DSR6 to detect the misbehavior of nodes in MANETs. Nodes in this scheme operate in a promiscuous mode. The watchdog monitors one hop neighbor by overhearing the med ium to check whether the next neighbor forwards the packet or not. It also maintains a buffer of recently sent packets. If a data packet remains in the buffer too long, the watchdog declares the next hop neighbor to be misbehaving. Every node that participates in the ad hoc network employs the watchdog functionality in order to verify that its neighbors correctly forward packets. When a node transmits a packet to the next node in the path, it tries to promiscuously listen if the next node will also transmit it. Furthermore, if there is no link encryption utilized in the network, the listening node can also verify that the next node did not modify the packet before transmitting it . The watchdog of a node maintains copies of recently forwarded packets and compares them with the packet transmissions overheard by the neighboring nodes. Positive comparisons result in the deletion of the buffered packet and the freeing of the related memory. If a node that was supposed to forward a packe t fails to do so within a certain timeout period, the watchdog of an overhearing node increments a failure rating for the specific node. This effectively means that every node in the ad hoc network maintains a rating assessing the reliability of every other node that it can overhear packet transmissions from. A node is identified as misbehaving when the failure rating exceeds a certain threshold bandwidth. The source node of the route that contains the offending node is notified by a message send by the identifying watchdog. As the authors of the scheme note, the main problem with this approach is its vulnerability to blackmail attacks. The pathrater selects the path with the highest metric when there are multiple paths for the same destination node. The algorithm followed by the pathrater mechanism initially assigns a rating of 1.0 to itself and 0.5 to each node that it knows through the route discovery function. The nodes that participate on the active paths have their ratings inc reased by 0.01 at periodic intervals of 200 milliseconds to a maximum rating of 0.8. A rating is decremented by 0.05 when a link breakage is
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment