Using Artificial Intelligence to Counter Cybersecurity Threats for Drones