MEGA Hub

AgentSnare: Learning to Delay, Divert, and Defuse Autonomous Penetration Agents

Authors

Do you know Ruoyu Wang?You can claim authorship or link another user.Do you know Heng Zhao?You can claim authorship or link another user.Do you know Renjie Wu?You can claim authorship or link another user.Do you know Mengnan Zhao?You can claim authorship or link another user.Do you know Zhixuan Chu?You can claim authorship or link another user.Do you know Wanyu Lin?You can claim authorship or link another user.Do you know Tianhang Zheng?You can claim authorship or link another user.

Abstract

Large language model (LLM) agents automate penetration testing through an observation-action loop, selecting actions based on observations returned by tools. This dependence allows defenders to inject deceptive observations that can mislead the agent's decision-making process. However, existing defenses rely heavily on static, isolated artifacts planted in the environment prior to an attack. Advanced agents can progressively recognize and bypass these artifacts, ultimately refocusing their exploitation attempts on the real target. To address this issue, we introduce AgentSnare, a trajectory-adaptive deception system that dynamically unfolds a decoy environment to continually steer the penetration agent away from the real target. Specifically, AgentSnare employs an artifact-construction policy model that constructs candidate artifacts conditioned on the agent's interaction history and decoy state. AgentSnare then validates these candidates and incrementally incorporates valid artifacts into a factually consistent decoy environment, thereby delaying the attack by absorbing its tool calls, diverting its post-entry trajectory within the decoy, and defusing it by inducing completion reports grounded in decoy evidence. Across 15 CVE-Bench web applications and three attacker models, AgentSnare absorbs 46.8% of the agent's tool calls in the decoy and retains 55.9% of post-entry actions there, while 90.0% of completion attempts are grounded in decoy evidence; across all 45 attacker-CVE pairs, no real target is successfully exploited at pass@3.

Community

00

Publication notes

Author note
8 pages, 3 figures, 1 table