Threats of cyberattacks targeting the electric power grid have been increasing in recent years. The consequence of cyber incidents on the power grid includes equipment damage, cascading events, large-scale power outages, and disruption of market functions. Government and industry have made a significant effort to strengthen the protection of the power infrastructure against cyber threats by setting standards and guidelines. This survey paper provides...