Information assurance in critical infrastructures via Wireless Sensor Networks