Protecting Critical Infrastructure from Cyberattacks