Defending Critical Infrastructure Against Cyber Attacks