Cybersecurity for Modern Smart Grid Against Emerging Threats