In Associate in Nursing Ad-hoc network may be a assortment of mobile nodes dynamically forming a short lived network while not the employment of any existing network infrastructure or centralized administer. attributable to restricted communication vary among mobile nodes in ad-hoc network, many network hopes is also required to deliver a packet from one node to a different node within the wireless network. Many users want to save its resources like battery power, processing and capability for only their personal use hence such nodes become misbehaving in nature and not cooperate do selfish activities. The security of MANET is manipulated by malicious node attack. In such type of attach, a malicious node insert a fake route reply claiming to have the shortest and freshest route to the destination. However, when the data packets arrive, the malicious node discards them. To avoid malicious attack, this work gives behavior analysis with PPN (Prime Product Number) scheme for detection and removal of malicious node.