Skip to main content
QUICK REVIEW

[Paper Review] Teams of LLM Agents can Exploit Zero-Day Vulnerabilities

Zhu, Yuxuan, Kellermann, Antony|arXiv (Cornell University)|Jun 2, 2024
Blockchain Technology Applications and SecurityComputer Science18 citations
TL;DR

The paper presents HPTSA, a hierarchical planning multi-agent system that enables teams of LLM agents to autonomously exploit real-world zero-day web vulnerabilities, outperforming baselines and approaching desc. knowledge performance.

ABSTRACT

LLM agents have become increasingly sophisticated, especially in the realm of cybersecurity. Researchers have shown that LLM agents can exploit real-world vulnerabilities when given a description of the vulnerability and toy capture-the-flag problems. However, these agents still perform poorly on real-world vulnerabilities that are unknown to the agent ahead of time (zero-day vulnerabilities). In this work, we show that teams of LLM agents can exploit real-world, zero-day vulnerabilities. Prior agents struggle with exploring many different vulnerabilities and long-range planning when used alone. To resolve this, we introduce HPTSA, a system of agents with a planning agent that can launch subagents. The planning agent explores the system and determines which subagents to call, resolving long-term planning issues when trying different vulnerabilities. We construct a benchmark of 14 real-world vulnerabilities and show that our team of agents improve over prior agent frameworks by up to 4.3X.

Motivation & Objective

  • Motivate the study of zero-day vulnerability exploitation by AI agents in cybersecurity.
  • Propose a multi-agent framework (HPTSA) to overcome planning and exploration limits of single agents.
  • Demonstrate that agent teams can autonomously exploit real-world zero-day vulnerabilities on a benchmark.
  • Assess cost and practicality of using LLM agents for autonomous cybersecurity exploits.

Proposed method

  • Introduce HPTSA with three components: a hierarchical planner, a team manager, and task-specific expert agents.
  • Design six expert agents (XSS, SQLi, CSRF, SSTI, ZAP, and a generic web hacking agent) with access to Playwright, terminal, and file tools.
  • Use GPT-4 for all experiments with LangChain/LangGraph to coordinate agents and reduce token load via HTML simplification.
  • Construct a benchmark of 15 real-world web vulnerabilities past GPT-4's knowledge cutoff date and verify exploits in sandboxed environments.
  • Evaluate performance through pass-at-5 (primary) and pass-at-1 metrics, plus ablations and case studies.

Experimental results

Research questions

  • RQ1Can a multi-agent LLM system exploit real-world zero-day web vulnerabilities autonomously?
  • RQ2How does hierarchical planning and task-specific specialization affect long-horizon vulnerability exploitation?
  • RQ3How does HPTSA compare to single GPT-4 agents and traditional scanners on zero-day vulnerabilities?
  • RQ4What is the role of agent documents and expert agents in achieving high performance?

Key findings

  • HPTSA achieves pass at 5 of 53% and pass at 1 of 33.3% on the zero-day benchmark.
  • HPTSA outperforms GPT-4 without vulnerability descriptions by 4.5× on pass at 1 and by 2.7× on pass at 5.
  • HPTSA performs within 1.4× of GPT-4 with vulnerability descriptions on pass at 5.
  • Open-source scanners (ZAP, Metasploit) achieve 0% on the benchmark.
  • Removing expert agents or documents substantially reduces performance (up to 4× drop in pass at 1 and 27% drop in pass at 5).
  • Average agent run cost is $4.39 with an 18% overall success rate, implying $24.39 per successful exploit.

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.