An Intrusion Detection System for Critical Information Infrastructures using Wireless Sensor Network technologies