AI and machine learning: a gift, and a curse, for cybersecurity