Countering Cyber Attacks and Preserving the Integrity and Availability of Critical Systems