D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security

Meet Udeshi, Minghao Shao, Haoran Xi, Nanda Rani, Kimberly Milner +7 more
2/15/2025
cs.AIcs.CR

No official code found. Best implementation: NYU-LLM-CTF/nyuctf_agents (158 stars, MIT, last commit 2025-10-25).

Abstract

Large Language Models (LLMs) have been used in cybersecurity such as autonomous security analysis or penetration testing. Capture the Flag (CTF) challenges serve as benchmarks to assess automated task-planning abilities of LLM agents for cybersecurity. Early attempts to apply LLMs for solving CTF challenges used single-agent systems, where feedback was restricted to a single reasoning-action loop. This approach was inadequate for complex CTF tasks. Inspired by real-world CTF competitions, where teams of experts collaborate, we introduce the D-CIPHER LLM multi-agent framework for collaborative CTF solving. D-CIPHER integrates agents with distinct roles with dynamic feedback loops to enhance reasoning on complex tasks. It introduces the Planner-Executor agent system, consisting of a Planner agent for overall problem-solving along with multiple heterogeneous Executor agents for individual tasks, facilitating efficient allocation of responsibilities among the agents. Additionally, D-CIPHER incorporates an Auto-prompter agent to improve problem-solving by auto-generating a highly relevant initial prompt. We evaluate D-CIPHER on multiple CTF benchmarks and LLM models via comprehensive studies to highlight the impact of our enhancements. Additionally, we manually map the CTFs in NYU CTF Bench to MITRE ATT&CK techniques that apply for a comprehensive evaluation of D-CIPHER's offensive security capability. D-CIPHER achieves state-of-the-art performance on three benchmarks: 22.0% on NYU CTF Bench, 22.5% on Cybench, and 44.0% on HackTheBox, which is 2.5% to 8.5% better than previous work. D-CIPHER solves 65% more ATT&CK techniques compared to previous work, demonstrating stronger offensive capability.

View on arXivView PDF

Code Implementations(1)

MIT

The D-CIPHER and NYU CTF baseline LLM Agents built for NYU CTF Bench

15832Java, JinjaMar 13, 202412 months agoMIT
agentic-aiagentscapture-the-flagctfcybersecurity+2 more

Similar Papers

Cite this paper

@article{udeshi2025dcipher,
  title  = {D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security},
  author = {Meet Udeshi and Minghao Shao and Haoran Xi and Nanda Rani and Kimberly Milner and Venkata Sai Charan Putrevu and Brendan Dolan-Gavitt and Sandeep Kumar Shukla and Prashanth Krishnamurthy and Farshad Khorrami and Ramesh Karri and Muhammad Shafique},
  year   = {2025},
  eprint = {2502.10931},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.10931v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10931.svg)](https://codeofpaper.com/paper/2502.10931)

Discussion