Skip to main content
QUICK REVIEW

[Paper Review] On Autonomous Agents in a Cyber Defence Environment

Mitchell Kiely, David Bowman|arXiv (Cornell University)|Sep 14, 2023
Information and Cyber SecurityComputer Science3 citations
TL;DR

This paper evaluates deep reinforcement learning (DRL) and non-DRL approaches for autonomous cyber defense using the CAGE Challenge 2, a multi-agent adversarial environment simulating post-exploitation lateral movement. The hierarchical DRL approach outperformed others by learning specialized, adaptive defensive strategies that varied based on the offensive Red agent's behavior, demonstrating DRL's strong potential for real-world autonomous cyber defense systems.

ABSTRACT

Autonomous Cyber Defence is required to respond to high-tempo cyber-attacks. To facilitate the research in this challenging area, we explore the utility of the autonomous cyber operation environments presented as part of the Cyber Autonomy Gym for Experimentation (CAGE) Challenges, with a specific focus on CAGE Challenge 2. CAGE Challenge 2 required a defensive Blue agent to defend a network from an attacking Red agent. We provide a detailed description of the this challenge and describe the approaches taken by challenge participants. From the submitted agents, we identify four classes of algorithms, namely, Single- Agent Deep Reinforcement Learning (DRL), Hierarchical DRL, Ensembles, and Non-DRL approaches. Of these classes, we found that the hierarchical DRL approach was the most capable of learning an effective cyber defensive strategy. Our analysis of the agent policies identified that different algorithms within the same class produced diverse strategies and that the strategy used by the defensive Blue agent varied depending on the strategy used by the offensive Red agent. We conclude that DRL algorithms are a suitable candidate for autonomous cyber defence applications.

Motivation & Objective

  • To evaluate the effectiveness of different AI algorithm classes in autonomous cyber defense using a standardized environment.
  • To identify which algorithmic approaches—Single-Agent DRL, Hierarchical DRL, Ensembles, or Non-DRL—best learn effective defensive strategies in adversarial cyber scenarios.
  • To analyze how agent policies vary based on the offensive strategy of the Red agent and the episode length.
  • To provide a systematic taxonomy and comparative analysis of algorithmic strengths and weaknesses in cyber defense applications.

Proposed method

  • The study uses the open-source Cyber Autonomy Gym for Experimentation (CAGE) Challenges, specifically CAGE Challenge 2, a post-exploitation lateral movement scenario in a small enterprise network.
  • Agents were trained and evaluated in a multi-agent environment where a Blue agent defends against a Red agent performing lateral movement.
  • Agent submissions were classified into four algorithmic classes: Single-Agent DRL, Hierarchical DRL, Ensembles, and Non-DRL approaches.
  • Policy behavior was analyzed through action selection frequency, strategy diversity, and response variation across different Red agent types and episode lengths.
  • A taxonomy was developed to enable intra- and inter-class comparison of agent behaviors and performance.
  • Statistical and qualitative analysis of agent policies was conducted to assess adaptability, strategy diversity, and robustness under varying offensive tactics.

Experimental results

Research questions

  • RQ1Which algorithmic class—Single-Agent DRL, Hierarchical DRL, Ensembles, or Non-DRL—demonstrates the highest effectiveness in learning robust defensive strategies in a cyber defense environment?
  • RQ2How does the defensive strategy of a Blue agent vary in response to different offensive strategies employed by the Red agent?
  • RQ3To what extent do different algorithms within the same class (e.g., HPPO-based agents) learn distinct defensive policies despite similar architectures?
  • RQ4How does episode length influence the action selection and strategic behavior of trained agents?
  • RQ5What are the key strengths and limitations of each algorithmic class in the context of autonomous cyber defense?

Key findings

  • The hierarchical DRL approach was the most capable of learning and implementing effective, adaptive defensive strategies across diverse offensive scenarios.
  • Different algorithms within the same class, such as HPPO-based agents, produced distinct defensive strategies with minimal overlap in action selection patterns.
  • The Blue agent’s defensive strategy varied significantly depending on the Red agent’s behavior—e.g., focusing on specific decoys against persistent attackers like B-Line, and using broader decoy and restore strategies against more dynamic agents like Meander.
  • Episode length influenced strategy: shorter episodes led to heavier use of decoys, while longer episodes saw increased reliance on detection and removal actions.
  • The Single-Agent DRL approach suffered from poor generalization, performing well only against specific attackers or poorly overall when trained on multiple attackers.
  • Ensemble approaches offered broad defense coverage but incurred high computational and inference-time costs due to multiple agents and action selection logic.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.