From Assistant to Agent: Understanding Failures in LLM-Based Systems for Penetration Testing
Zhuocheng Yu, Junqiang Li, Yangyang Mei, Weihong Han, Guandong Xu, Yanchun Zhang, Jiawei Zhang
Abstract
Large language models (LLMs) have enabled a new generation of systems for penetration testing, yet their practical capability boundaries remain poorly understood. Existing evaluations often emphasize successful end-to-end cases or aggregate completion rates, leaving intermediate exploit progress, failure processes, and the validity of reported successes insufficiently examined. We construct a controlled benchmark of 20 known-CVE exploitation tasks, each with explicit objectives, reference exploit milestones, and evidence-based success criteria. We evaluate three representative systems across two backbone models, manually auditing 360 complete execution trajectories to verify outcomes and measure intermediate progress. The systems report 132 successes, while only 69 satisfy the criteria. Even the best configuration solves just 50\% of tasks within three attempts. To explain these outcomes, we trace where exploitation attempts stall and develop a taxonomy of four failure modes and nine root causes through open coding. Multi-label analysis captures recurring and co-occurring causes within individual trajectories, revealing limitations in exploit construction, path control, environment modeling, and verification. Failure profiles vary across systems, and backbone upgrades yield uneven improvements. Our findings motivate explicit exploit state, reliable execution interfaces, actionable memory, and independent evidence-based verification.
Create a lesson
Metadata
- Categories
- cs.CR, cs.SE
Related papers
Visual Authority Drift: How GUI Choice Architecture Induces Authorization Failures in Agents
Shared title terminologycs.CRHanrui Wang, Yu Luo, Xuejian Li et al.
Beyond Automation: How LLMs Change Human Penetration Testing
Shared title terminologycs.CRZhuocheng Yu, Jiawei Zhang, Junyi Zhu et al.
AgentLens: Graph-guided Security Auditing for LLM-based Agents
Shared title terminologycs.CRPeizhuo Lv, Tao Chen, Mengya Shi et al.
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
Shared title terminologycs.CRManit Baser, Vyoman Jain, Rachel Yeo Hui Min et al.
Are Web Agents Still Detectable? Stress-Testing Bot Defenses with Coordinated Evasion
Shared title terminologycs.CRParsa Nilforushan, Gemmin Sugiura, Kourosh Hashemi et al.
AgentBouncer: Defending Software Engineering Agents via Dynamic System-Call Mediation
Shared title terminologycs.CRPascal Joos, Michael Pradel