Wireless Sensor Networks (WSNs) have concerned much attention in recent years. The prospective applications of WSNs are massive. They are used for collecting, storing and sharing sensed data. WSNs have been used for various applications including habitat monitoring, agriculture, nuclear reactor control, security and tactical surveillance. Wireless sensor networks are threatened by numerous attacks. Therefore, security is now becoming a significant new path of research and attempts to counter these attacks.