Automated Defenses