Peer-To-Peer (P2P) network is a decentralized and distributed network where an individual nodes in the network performs as both providers and consumers of resources. This type of network is different from centralized network. In the centralized network, the client requests queries for accessing resources to the central servers. Malware is a harmful effect in the peer-to-peer networks. In the peer-to-peer network, a new type of malware which is called bots has arisen. Bots are distinctive in that they cooperatively preserve communication structures across nodes to robustly distribute commands from a Command and Control (C&C) node.