Using AI for Smarter Cybersecurity