首个自动化渗透测试生成智能体评测基准,可标准化评估攻防能力。
AutoPenBench: Benchmarking Generative Agents for Penetration Testing
- 构建33个由易到难的渗透任务,覆盖真实与模拟环境。
- 全自主代理成功率仅21%,人机协同提升至64%。
- 支持对比GPT-4o等模型表现,适合安全研究者使用。
生成式AI智能体正成为自动化网络安全任务的有力工具,其中渗透测试因任务复杂性和攻击策略多样性而极具挑战。尽管已有初步研究尝试用生成式智能体自动化渗透测试,但缺乏统一、全面的评估与开发框架。本文提出AutoPenBench,一个开放的生成式智能体渗透测试评测基准。该框架包含33个任务,每个代表一个存在漏洞的系统,任务难度递增,涵盖仿真和真实场景。通过通用与特定里程碑评估智能体表现,实现标准化对比并揭示其能力边界。实验对比了全自主与半自主两种架构:全自主代理整体成功率为21%,仅完成27%简单任务及1个真实任务;而辅助型代理成功率显著提升至64%。同时,基准可评估GPT-4o、OpenAI o1等不同LLM对任务完成的影响。AutoPenBench为智能体评测提供标准且灵活的平台,已开源于https://github.com/lucagioacchini/auto-pen-bench,欢迎社区共同推进。
原文摘要 · Abstract (English)
Generative AI agents, software systems powered by Large Language Models (LLMs), are emerging as a promising approach to automate cybersecurity tasks. Among the others, penetration testing is a challenging field due to the task complexity and the diverse strategies to simulate cyber-attacks. Despite growing interest and initial studies in automating penetration testing with generative agents, there remains a significant gap in the form of a comprehensive and standard framework for their evaluation and development. This paper introduces AutoPenBench, an open benchmark for evaluating generative agents in automated penetration testing. We present a comprehensive framework that includes 33 tasks, each representing a vulnerable system that the agent has to attack. Tasks are of increasing difficulty levels, including in-vitro and real-world scenarios. We assess the agent performance with generic and specific milestones that allow us to compare results in a standardised manner and understand the limits of the agent under test. We show the benefits of AutoPenBench by testing two agent architectures: a fully autonomous and a semi-autonomous supporting human interaction. We compare their performance and limitations. For example, the fully autonomous agent performs unsatisfactorily achieving a 21% Success Rate (SR) across the benchmark, solving 27% of the simple tasks and only one real-world task. In contrast, the assisted agent demonstrates substantial improvements, with 64% of SR. AutoPenBench allows us also to observe how different LLMs like GPT-4o or OpenAI o1 impact the ability of the agents to complete the tasks. We believe that our benchmark fills the gap with a standard and flexible framework to compare penetration testing agents on a common ground. We hope to extend AutoPenBench along with the research community by making it available under https://github.com/lucagioacchini/auto-pen-bench.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。