
A network that deploys numerous sensor nodes that use wireless mode for communication amongst each other is known as a wireless sensor network. The nodes are self-configuring in nature due to which the security of these networks is a major issue. The types of malicious nodes present in the network result in causing either passive or active types of attacks in these networks. This research proposes a study related to an active type of attack known as sinkhole attack. There is reduction in the overall lifetime of the network and increment in the amount of energy being consumed when sinkhole attack occurs. A new approach is proposed here for detecting the malicious nodes that are responsible of causing sinkhole attack in WSNs.