Red Agents vs. Blue Agents: How to Make AI Better At Defense

Cybersecurity researchers have long grappled with the challenge of creating effective AI-powered defenses against increasingly sophisticated cyber threats. For years, it seemed that the agentic AI playing field was heavily tilted toward offense, with blue team agents struggling to keep pace with their red team counterparts. However, a group of researchers at Dreadnode, an AI offensive security startup, believe they’ve found a way to level the playing field and improve the effectiveness of defensive agents.

The problem, as described by Martin Wendiggensen, an AI research scientist at Dreadnode, is that models coming out of frontier labs are “a lot better at offense than they are at defense.” These models have been able to escape sandboxes and even hack into other people’s systems, rather than simply completing their tasks within scope. To address this issue, the researchers turned to a novel approach: using red team agents to help train blue team agents.

Dreadnode developed two open-source tools to facilitate benchmark testing for security agents: DreadGOAD and Ares. The first is a reproducible Active Directory training environment designed to mimic the messy deployments common in large organizations. The second is an agentic red team-blue team system that tests and studies both offensive and defensive effectiveness. When deployed in DreadGOAD, the red team agents are tasked with discovering hosts, identifying weaknesses, escalating privileges, and ultimately compromising the environment. Meanwhile, the blue team agents must analyze telemetry, triage alerts, investigate activity, and contain any potential threats.

The researchers’ goal is not only to measure agent performance more effectively but also to set the stage for blue team agent self-improvement in what is inherently an unfair game. As Wendiggensen explains, offensive and defensive tasks are fundamentally different: red team agents have a wide range of options to compromise an AD environment, making it easy to determine their success or failure. In contrast, defense is a more nuanced task that requires careful analysis and decision-making.

To address this issue, the Dreadnode team began using attack simulations generated by the red team agents to create training data for the blue team agents. This approach has shown promising results: in initial tests, the red team agents achieved full domain control of the AD environment in under six minutes, while the blue team agents struggled to contain the threats.

The findings are significant because they highlight the need for more effective benchmark testing and training methods for defensive agents. By leveraging the capabilities of red team agents, researchers may be able to create blue team agents that are better equipped to handle complex cyber threats. As Wendiggensen notes, “We were really bad at first, but now we’re getting there.” This research has important implications for the cybersecurity community and highlights the potential for AI-powered defenses to become more effective in the future.

For those looking to improve their organization’s cybersecurity posture, this research offers a key takeaway: the importance of benchmark testing and training data for defensive agents. By using tools like DreadGOAD and Ares, organizations can better evaluate the effectiveness of their security agents and work towards creating more robust defenses against cyber threats.


Source: Dark Reading — 2026-07-29