Defending Against AI-Driven Cyberattacks at Scale