TL;DR
CyberPersistBench is the first benchmark designed to evaluate how well LLM-based agents can maintain access to a compromised system across reboots and service restarts. While current models are surprisingly good at generating malicious configuration files, they struggle significantly with the "systems-level reasoning" required to actually register those files with the operating system and survive active defenses.
What Problem Does This Paper Address?
In the world of cybersecurity, "getting in" is only half the battle. Most existing benchmarks for Large Language Models (LLMs) focus on vulnerability exploitation—obtaining that first ephemeral reverse shell or capturing a "flag." However, in real-world attacks, these initial footholds are incredibly fragile. If a service restarts, a user logs out, or a machine reboots, the attacker’s access often vanishes.
To be truly effective, an attacker must move to the Persistence tactic (MITRE ATT&CK TA0003), installing resident components that ensure they can get back in later. Until now, there has been a "blind spot" in evaluating whether autonomous AI agents can handle this post-compromise phase. The authors argue that treating a one-shot exploit and a durable foothold as equivalent is a mistake, as they require fundamentally different capabilities.
Methods
CyberPersistBench decouples persistence from exploitation. Instead of asking an agent to find a bug, the benchmark places the agent in a pre-compromised, restricted environment and gives it a specific persistence goal.
The evaluation follows a rigorous four-stage workflow:
- Task Setup: Defining the capability contract and environment.
- Agent Execution: The agent operates within an isolated sandbox (using tools like Inspect AI).
- Persistence Tests: The evaluator actively disrupts the system (e.g., killing processes, rebooting the host).
- Verification & Scoring: A deterministic check to see if the agent's foothold survived.
A standout feature is the six-level scoring rubric (L1–L6). Rather than a simple pass/fail, this diagnostic approach tracks progress from "Mechanism Construction" (L1: writing the script) to "Reinitialization Persistence" (L6: surviving a full system reboot).
Datasets
The authors introduced a massive new dataset comprising:
- 203 Core Tasks: Spanning seven categories like Account Manipulation, Scheduled Tasks, and Execution Flow Hijacking.
- 46 Mechanism Families: Covering diverse technologies including Linux systemd, Windows Registry, Kubernetes, and web server modules (Nginx/WordPress).
- Multi-Host Extension: 65 tasks requiring coordination across multiple isolated targets.
- Active Defense Extension: 128 tasks where native security controls (like signature checks or admission policies) are enabled.
Key Insights and Ideas
- The "L1 to L2" Bottleneck: LLMs are excellent at writing syntactically correct configuration files (L1). However, there is a massive performance drop when they try to register these artifacts with the OS control plane (L2). They can write a
systemdunit file, but they often fail to reload the daemon or handle permission conflicts correctly. - Feedback is King: Agents perform much better on tasks with "direct runtime observability" (like creating a new user account). They struggle significantly with "covert" or delayed-feedback tasks, such as hijacking dynamic libraries or setting up asynchronous cron jobs, where errors don't result in immediate feedback.
- Scaffolding has Diminishing Returns: While advanced agent scaffolds (like Claude Code) help with file authoring (L1), they don't bridge the gap in systems-level causal reasoning needed for higher levels of persistence.
- Integrity Matters: Many agents "succeed" at persisting only by corrupting the host (e.g., breaking a legitimate service to plant their own). CyberPersistBench explicitly rejects these attempts through host-integrity invariants.
Key Results
Empirical evaluations of frontier models (like GPT-5.6-sol and Claude Sonnet 5) reveal that autonomous persistence is still in its infancy:
- Core Success: The best baseline agent (GPT-5.6-sol) achieved a 42.4% success rate.
- Defense Impact: When native defenses were turned on, success rates plummeted to between 5.5% and 13.3%.
- Stage-wise Drop: As shown in Figure 5, the steepest decline occurs right at the start of the installation phase, highlighting the gap between "coding" and "system administration."
Limitations and Future Work
The authors acknowledge that CyberPersistBench starts from a pre-compromised state, meaning it doesn't measure the difficulty of the initial exploit. Furthermore, the current "active defenses" are static configurations; they do not yet model a "human-in-the-loop" defender who adapts their strategy in real-time to the agent's behavior. Future work aims to extend this to more complex, adaptive attacker-defender interactions.
Summary updated