The development of low-cost, low-power, and multi-functional sensor nodes has been made possible by advances in digital electronics, wireless communications, and electro-mechanical systems technology. This has led to the advancement of sensor networks which exploit the sensing, data processing, and communication features of these nodes. As a result, society and the global economy have been revolutionized. Wireless sensor network (WSN) nodes have limited energy, and as a result, the accuracy of intrusion detection systems in WSN is weak.