On Simulative Analysis of Attack Impact in Wireless Sensor Networks