CyberPersistBench: Evaluating LLM Attackers' Installation and Persistence CapabilitiesCyberPersistBench: Evaluating LLM-Based Cyber Attackers on Installation and Persistence
The authors use CyberPersistBench to evaluate post-compromise persistence and state that the main failure boundary is at native mechanism registration.
- The authors argue that stopping evaluation after initial access is achieved conflates short-lived sessions with persistent footholds; a single final score also cannot distinguish failures in configuration construction, native registration, and restart recovery.
- CyberPersistBench starts from restricted post-compromise access and scores using hidden perturbations, fresh execution evidence, native attribution, and business integrity checks, and uses L1-L6 prefix rules to localize the stage of failure.
- Five agents are evaluated on the core set, native defenses, and multi-host extensions. The authors state the main failure boundary is between construction and native registration; success rates drop with defenses enabled, and multi-host relative performance varies by topology.
- The authors note that the results do not directly measure end-to-end attacks, and the defensive settings do not simulate continuously adapting attack-defense interactions. The current evaluation uses preconfigured controls, controlled perturbations, and three independent attempts per task.
- Evaluated models
- GPT-5.6-solClaude Sonnet 5DeepSeek-V4-proKimi K2.6GLM-5.2
- Benchmarks
- CyberPersistBench65-task multi-host extension128 defense-enabled tasks
- Metrics
- Success Ratepass@3Level-wise Success Rate (L1–L6)IntegrityAcquisition (Single/Dual)Capability Phase (Install/Persist)∆ SR (pp)
The researchers propose CyberPersistBench, a benchmark specifically evaluating LLM attackers' installation and persistence capabilities after initial intrusion, containing 203 core tasks across seven categories, with multi-host and active defense extensions. The benchmark frames persistence as an adversarial survival task, letting agents use host-native mechanisms to maintain a foothold through staged system disruptions, and supports six-level scoring from L1 to L6 with deterministic checks. Empirical testing on five frontier agents shows autonomous persistence success rates of only 27.6% to 44.8%, dropping further to 5.5% to 13.3% on tasks with defenses enabled. The authors argue these results reflect emerging cyberattack risks, indicating the need for benchmarking post-intrusion persistence.
Related events and news
2 events · 1 news mentions
- The reports cite this paper
上海AI Lab发布CyberPersistBench评测AI持久化攻击能力
- This event's paper
CyberPersistBench:评测 LLM 攻击者的安装与持久化能力
News that mentions this paper
上海AI Lab发布CyberPersistBench评测AI持久化攻击能力
- 公众号 模安局cites the paper's id or linkCyberPersistBench:203 项任务揭示 AI 网络攻击的持久化能力边界
2026 年 9 月,上海人工智能实验室的研究团队发布了论文《CyberPersistBench: Evaluating LLM-Based Cyber Attackers on Installation and Persistence》,将 AI 网络攻击能力的评测从初始入侵推进到了持久化阶段。
Paper analysis
What problem does this paper attempt to solve?
The authors focus on whether, after initial access, an agent can establish a persistent foothold that survives access revocation and system perturbations.
The core problem is how to independently evaluate post-compromise installation and persistence, and distinguish at which stage the foothold fails.
- Evaluation endpoint: The authors argue that existing benchmarks mostly stop after the initial goal is achieved, failing to distinguish short-lived sessions from persistent access; network disconnects, service restarts, and host reboots can eliminate the initial foothold.
- Diagnostic resolution: The authors note that final pass/fail outcomes mix invalid configurations, native registration failures, and failures after restart, making it impossible to locate capability boundaries.
- Restricted starting point: The agent starts with restricted access to an already compromised system, receiving only the capability contract, environment state, and goal. Its task is to maintain access through specified native mechanisms while preserving business integrity; the verification protocol is hidden.
- Evaluation design: CyberPersistBench separates exploitation from persistence, evaluates the core task with deterministic checks and L1–L6 staged scoring, and adds native defenses and multi-host extensions (Figure 1).
What related research exists?
The authors divide existing work into attack-capability benchmarks and persistence evaluations, distinguished by lifecycle survival and stage scoring.
Related work is organized around attack capability evaluation, and post-compromise installation and persistence.
Attack capability benchmarks
- CTF evaluations: NYU CTF Bench (Shao et al., 2024) and Cybench (Zhang et al., 2025b) evaluate security challenges in controlled environments.
- Real vulnerabilities and bounties: CVE-Bench, SEC-bench, CyberGym, ExploitGym introduce real software vulnerabilities; BountyBench evaluates detection, exploitation, and patching in vulnerability bounty record systems.
- Broader security risks: CyberSecEval 2 (Bhatt et al., 2024) covers prompt injection and code interpreter abuse. The authors argue that installation and persistence remain less evaluated compared to vulnerability discovery and exploitation.
Installation and persistence
- Adversarial simulation: CALDERA (Miller et al., 2018) focuses on automated adversary simulation; the authors note it does not focus on persistence evaluation under lifecycle perturbations.
- Penetration testing agents: PentestGPT (Deng et al., 2024) mainly focuses on upstream vulnerability discovery and privilege escalation.
- Post-compromise scenarios: OCCULT (Kouremetis et al., 2025) and AgentCyberRange (Liu et al., 2026) include post-compromise scenarios; the authors note they do not specifically evaluate foothold survival after lifecycle perturbations.
Classification basis and experimental comparison
- Persistence classification: MITRE ATT&CK's TA0003 and Villalón-Huerta et al. (2022)'s taxonomy provide the basis for mechanism organization. The mapping in Appendix B is many-to-many, not a mutually exclusive partition of ATT&CK techniques.
- Baseline setup: Experiments use Inspect ReAct as the common baseline framework, additionally comparing Codex CLI and Claude Code on the CyberPersistBench core set; no comparative experiments on the above external benchmarks are reported.
Authors position this work's distinction as: starting from a restricted foothold, independently testing survival after access revocation and lifecycle perturbations, and locating failures with six-stage scoring.
How does the paper address this problem?
CyberPersistBench uses hidden perturbations and deterministic checks to split installation through re-initialization survival into six dependent stages.
CyberPersistBench defines persistence as an adversarial survival task after compromise: the agent performs installation, the evaluator then revokes access and applies perturbations, and then checks execution evidence and business state (Figure 2).
Task contract and hidden verification
The core definition is T=(c,e,g,V): c is the restricted capability contract, e is the baseline environment, g is the persistence goal and integrity constraints, and V is the private, ordered verification protocol.
- Information boundary: The agent receives only c, e, and g, not V; V specifies the perturbation order, fresh challenge nonces, and internal checks.
- Permission boundary: The task declares the execution identity, permissions, and interfaces; the evaluation does not require discovering vulnerabilities or obtaining new initial access. Appendix D gives the full shared prompt; it is not repeated here.
Taxonomy and task construction
- Mechanism taxonomy: The core set has 203 tasks, 7 categories, and 46 mechanism families, organized by reactivation of host-native mechanisms or how access is retained (Figure 3, Table 5).
- Construction pipeline: First deploy a real software stack with a restricted starting point, then write the private verification protocol, and finally check that all core tasks are solvable using reference solutions that are researcher-written, AI-assisted in coding, and human-verified.
- Configuration carriers: The environment configuration and evaluation configuration together declare the platform, capabilities, baseline, task materials, business invariants, and verification order (Appendix C.1). Tasks provide a harmless Canary.
Survival evidence and integrity
- Isolated execution: Inspect AI manages containers or virtual machines, exposing only the network and interfaces declared by the task; the specific backends and perturbations are given in Table 6.
- Two kinds of evidence: Check automatically activated callbacks by mechanism, or access retention after authenticated re-entry; the nonce is updated at each perturbation boundary to rule out replay of old logs.
- Native attribution: Check process parentage or authenticated audit records, and refuse to count unmanaged background loops as native survival; also check business health and duplicate or conflicting processes.
Six-stage prefix scoring
- Installation stages: L1 checks mechanism construction, L2 checks native registration and resolution on the target system, and L3 checks functional activation under the unperturbed baseline.
- Persistence stages: L4 checks autonomous execution after initial credential revocation, L5 checks recovery after service restart and process termination, and L6 checks activation after task-specified reinitialization.
- Dependency rule: Scoring at a later stage requires passing that stage and all preceding stages; final success also requires passing the integrity checks. L6 can involve host reboot, restart of an existing container, or container rebuild; it is not a uniform operation.
Defenses and multi-host extension
- Native defenses: Compare defense on/off across the 128 tasks that have applicable native controls; Table 7 lists 9 adapted configurations covering signing, admission, authentication, loading, and plugin directories.
- Cross-host constraints: 65 tasks separate the entry point from the target, which is not directly reachable; operations go through specified management interfaces or relay paths, requiring coordinated sequential authentication and per-host configuration.
- Shared budget: Each attempt allows at most 40 agent turns and 160 messages; evaluator commands time out at 300 seconds, and transient infrastructure errors are automatically retried at most twice (Appendix D).
What experiments did the paper conduct?
Five agents undergo deterministic evaluation with three attempts on the core set, defense subset, and multi-host extension.
The experiments compare persistence success, stage pass rates, business integrity, and performance under defense and multi-host conditions.
Experimental Setup
- Models tested: GPT-5.6-sol, Claude Sonnet 5, DeepSeek-V4-pro, Kimi K2.6, GLM-5.2.
- Task scale: Core set 203 tasks; defense subset 128 tasks; multi-host extension 65 tasks. Core seven task categories counts are 25, 24, 27, 27, 46, 38, 16 respectively (Figure 3).
- Common framework: All experiments use Inspect ReAct; the core set additionally tests GPT-5.6-sol with Codex CLI, and Claude Sonnet 5 and GLM-5.2 with Claude Code.
- Success protocol: Each eligible task runs three independent attempts; pass@3 means at least one attempt meets all conditions; judgment is by a deterministic state machine, not LLM review.
- Diagnostic metrics: Report prefix-cumulative L1–L6 and Integrity; multi-host also reports execution achievement on at least one or all targets, and pass rates for installation and persistence stages across all targets.
- Denominator differences: For Codex CLI and Claude Sonnet 5 with Claude Code rows, tasks where all three attempts were blocked by framework safety policies are excluded, with denominators 181 and 197 respectively; other core rows are all 203 (Table 1).
Main Results
Per Table 1; all are core set, Inspect ReAct, pass@3, stage and integrity values are percentages.
Swipe horizontally to read the table
Model Successful tasks and SR L1 L2 L6 Integrity GPT-5.6-sol 86/203 (42.4%) 74.9 56.2 44.8 77.8 Claude Sonnet 5 82/203 (40.4%) 62.1 49.8 40.9 73.4 DeepSeek-V4-pro 77/203 (37.9%) 70.0 50.2 40.9 73.4 GLM-5.2 64/203 (31.5%) 58.6 43.3 32.5 69.5 Kimi K2.6 56/203 (27.6%) 47.8 36.0 28.1 64.0 - Stage boundaries: The authors state that the main drop occurs between construction and native registration. Figure 5 annotates average drops between adjacent stages as 17.0, 7.3, 1.3, 0.7, 1.0 percentage points; the horizontal axis is capability stages.
- Integrity constraints: All Table 1 configurations have final success rates below L6; the authors interpret the gap as partial survival accompanied by legitimate service impairment or conflicting processes.
- Framework comparison: Table 1 shows GPT-5.6-sol + Codex CLI at 81/181 (44.8%), Claude Sonnet 5 + Claude Code at 86/197 (43.7%), and GLM-5.2 + Claude Code at 66/203 (32.5%). The first two have different denominators from the common framework.
Native Defenses
- Same-task comparison: Table 2 compares on/off under the same 128 tasks, Inspect ReAct, pass@3. GPT-5.6-sol: 40.6%→13.3%; DeepSeek-V4-pro: 40.6%→10.9%; GLM-5.2: 34.4%→10.2%.
- Other models: Same table Claude Sonnet 5: 33.6%→8.6%; Kimi K2.6: 18.8%→5.5%. The authors state that trajectories often show repeated small modifications after policy refusal rather than switching to other mechanisms.
- Interceptions and exceptions: In Figure 11, GPT-5.6-sol's runit defense case results in 0.0, with only 2/11 checks passing and both being evaluator checks; in Figure 12, GLM-5.2's WordPress case is 13/13, business health passes, but the defense policy is modified. Appendix F gives full examples.
Multi-Host Coordination
- Final success: Under Table 3's 65 tasks, Inspect ReAct, pass@3, GPT-5.6-sol is 19/65 (29.2%), GLM-5.2 is 18/65 (27.7%), Claude Sonnet 5 is 12/65 (18.5%).
- Coordination exceptions: Same table DeepSeek-V4-pro is 11/65 (16.9%), Kimi K2.6 is 7/65 (10.8%). GLM-5.2 and DeepSeek-V4-pro both have Single at 67.7%, Dual at 33.8% and 23.1% respectively; the authors state that execution achieving one target does not equal persistence on all targets.
- Topology differences: In Figure 7's declarative control plane, GPT-5.6-sol and GLM-5.2 are 40.0% and 22.5%; in the relay proof chain, they are 13.3% and 46.7%. The authors state that similar total scores may correspond to different topology capabilities.
Mechanism Analysis and Case Evidence
- Category means: Figure 6's cross-model pass@3 means: services and daemons 47.5%, application components 46.5%, account authentication 44.8%, startup self-loading 40.0%, control orchestration 27.4%, scheduled triggers 19.2%, execution flow hijacking 16.3%.
- Author interpretation: The authors suggest that immediate execution or authentication feedback may support error correction, while delayed or indirect feedback may make correction harder; this interpretation comes from category results and trajectory discussion, not a separate causal intervention experiment.
- Core cases: In Appendix E's runit task, DeepSeek-V4-pro passes 11/11 checks; Kimi K2.6 passes 2/11, failing to establish the service, with both passes from the evaluator. Figures 8–10 give the task and full trajectories.
Other Ablations and Analyses
- Service category comparison: Section 4.3 reports GPT-5.6-sol at 58.3% and Kimi K2.6 at 29.2%; dynamic library hijacking is 12.5% for both.
- Framework and construction stage: Table 1's Claude Sonnet 5, L1 goes from 62.1% with Inspect ReAct to 78.7% with Claude Code; the two rows have different denominators.
- Multi-host mechanism differences: Appendix G.1 reports GLM-5.2 and GPT-5.6-sol service categories at 45.0% and 10.0%, and execution flow hijacking at 16.7% and 66.7%.
- Small denominator reminder: In Appendix G.1, scheduled trigger tasks GLM-5.2 is 1/11, other models 0/11; startup self-loading n=2, composite tasks n=5, the authors remind to interpret proportions by denominator.
What are some points that can be further explored?
The authors note that the benchmark does not directly measure end-to-end attacks; future work could extend to longer adaptive attack-defense interaction evaluations.
The authors explicitly propose longer adaptive attack-defense interaction as a future direction, while retaining automatic verification.
Limitations and Future Directions Identified by the Authors
- End-to-end capability: The benchmark starts from restricted post-compromise access; results do not directly measure end-to-end attack capability including vulnerability discovery and initial access (Appendix A).
- Defense interaction: Current defense evaluation uses preconfigured native security controls and controlled system perturbations, not simulating a defender continuously adapting detection and response strategies based on attack behavior (Appendix A).
- Future direction: The authors propose extending adaptive attacker–defender interaction evaluation while retaining automatic verification (Appendix A).
Experimental Coverage
- Models and frameworks: All five models use Inspect ReAct; the core set additionally compares specified model combinations with Codex CLI and Claude Code (Section 4.1, Table 1).
- Task coverage: Core set covers seven categories, 46 mechanism families, 203 tasks; native defense 128 tasks, multi-host 65 tasks (Section 3).
- Defense layers: Table 7 covers execution points such as installation, loading, admission, authentication, image pull, and plugin loading, using 9 adapted configurations.
- Repetitions and budget: Each eligible task has three independent attempts; each attempt has at most 40 rounds and 160 messages. The paper does not report sampling temperature or token budget (Section 4.1, Appendix D).
- Verification boundaries: L6 uses different re-initialization events per task; Figure 15's multi-host example explicitly shows only B1 is container-restarted, B2 is not container-restarted in these stages.
Summarize the main content of the paper
CyberPersistBench splits post-compromise persistence into verifiable stages and compares native defenses and multi-host conditions.
CyberPersistBench is a benchmark for evaluating post-compromise installation and persistence, focusing on whether a native foothold can be maintained after initial access disappears.
- Problem framing: The authors argue that stopping evaluation after the initial goal is achieved cannot describe persistence capability; final binary scores also fail to locate failures in construction, registration, and recovery stages.
- Method structure: Tasks start from restricted access, applying perturbations with a hidden verification protocol; fresh nonces, native attribution, and business integrity jointly constrain success, with L1–L6 accumulating by prerequisite dependencies.
- Common framework results: Under Table 1's core set, Inspect ReAct, pass@3, GPT-5.6-sol is 86/203 (42.4%), Kimi K2.6 is 56/203 (27.6%). The authors state the main failure boundary is between construction and native registration.
- Defense conditions: In Table 2's same 128 tasks, GPT-5.6-sol goes from 40.6% with defenses off to 13.3% with defenses on; the authors state native controls reduce persistence success but successful cases still exist.
- Multi-host conditions: In Table 3's 65 tasks, GPT-5.6-sol is 19/65 (29.2%), GLM-5.2 is 18/65 (27.7%); in Figure 7, their relative performance differs between control plane and relay topologies.
- Conclusion boundaries: The authors advocate staged, perturbation-aware evaluation to describe persistence capability; Appendix A explicitly states results do not directly measure end-to-end attacks and do not include interactions with continuously adapting defenders.