How critical infrastructure is dealing with the threat of cyber attacks