Mobile ad-hoc networks (MANETs) are autonomous,infrastructure less, self-organized networks. In MANETs, nodes are not stationary and thus move arbitrarily, resulting in rapid and unpredictable topology changes in the network. Due to the limited transmission range of the nodes in the MANETs, these nodes are not capable of directly communicating with each other. Hence, routing paths in MANETs potentially contain multiple hops, and every node in it has the responsibility to act as a router.So, the presence of any intermediate node in the route, which is either highly congested or behaving as a malicious node, is likely to drop the packets. In computer networking, this type of attack is known as a packet drop attack or black hole attack which is a type of denial-of-service attack in which a router that is supposed to relay packets instead discards them. The proposed algorithm will detect black hole nodes in the network by implementing changes into the existing AODV routing algorithm. The implementation of the algorithm was being achieved using theNS-2 simulator.