Lightweight Intrusion Detection: A Second Line of Defense for Unguarded Wireless Sensor Networks