Clustered routing protocols in wireless sensor networks (WSN) provide significant advantages in energy saving and data preprocessing.
However, the communication greatly depends on cluster heads, which leads to severe security problems. In order to solve this
problem, a clustered routing protocol with distributed intrusion detection for WSN (WSN_DID) is proposed in this paper. In
WSN_DID all nodes are organized to identify intruding cluster heads in a distributed way by pre-distributed random keys. The
experiments demonstrate that compared with classic cluster-based routing protocol in WSN, energy dissipation in WSN_DID is
rather less and the toleration of intrusion is elevated.