AI in cyberdefense: Learning from threat actors' playbooks