SysEvolve: An AI-native, safe, autonomous adversarial attack-defense co-evolutionary system
Organizations: School of Computer Science, Peking University · Southeast University · School of Computing, National University of Singapore
Abstract
The rapid advancement of large language models (LLMs) has created a growing asymmetry in cybersecurity, where attack accelerates toward autonomous execution while defense remains predominantly human-intensive. Despite substantial prior work across cyber ranges, AI-driven attack, and AI-driven defense, this asymmetry persists. We trace it to a deeper root cause, that evolution itself has stalled on both sides at three layers. To overcome this, we propose co-evolution as the integrating insight, where attack and defense AI agents autonomously and safely drive each other's evolution through adversarial confrontation. Based on this insight, we present \sysevolve, comprising three co-designed components, \sysfield, \sysspear, and \sysarmor. \sysfield constructs realistic multi-host ranges. \sysspear generates efficient, safe attack schemes. \sysarmor performs real-time, interpretable defense. Together they form a self-driven adversarial loop restoring evolution at all three layers. In evaluation, \sysfield achieves zero-loss collection at 2.1% overhead and orchestrates 257 CVEs into 1,148 ranges, \sysspear improves attack success by over 25% over baseline LLMs, and \sysarmor achieves 10--1000 greater precision than prior systems and detects real APT attacks in production at Huawei and Sangfor. Our evaluation also reveals three findings about LLM agent capabilities. First, multi-step composition and larger topologies expose agent capability gaps hidden by single-step evaluations. Second, the bottleneck lies after initial access in post-compromise state utilization. Third, LLM agents are susceptible to environmental interference. When decoy endpoints are deployed in the range, agent timeouts triple and downstream completion disappears despite the success rates of initial accesses are unchanged.
Figures & tables
| Research line | Representative evaluations | Typical task starting point | Primary endpoint and residual blind spot |
|---|---|---|---|
| Knowledge and executable CTFs | CyberSecEval; Cybench; InterCode-CTF [ 3 , 55 , 52 ] | Question, challenge statement, attachment, or interactive service | Correct item or captured flag; success need not demonstrate operation across independent enterprise hosts. |
| Vulnerability discovery and reproduction | CyberGym; SEC-Bench Pro; VulnLMP [ 50 , 28 , 40 ] | Vulnerability description and code, historical engine source, or hardened research target | Differentially or cross-version verified PoC, crash, or reproducible evidence; full exploitation and lateral movement are not always required. |
| Exploit construction | ExploitBench; ExploitGym [ 29 , 49 ] | Known vulnerability materials or an input that already triggers the flaw | Milestone signals or independently confirmed unauthorized code execution; evaluation is typically centered on one vulnerable target. |
| Remote and long-horizon cyber operations | CVE-Bench; AgentCyberRange; OpenAI Cyber Range; UK AISI [ 58 , 31 , 38 , 13 ] | Remote application, exposed service, or high-level network objective | Externally checked target state, final scenario objective, or deepest reached step; defensive observability is generally not a co-equal outcome. |
| Evaluation | Tool Interaction | Multi-Host Attack Chain | Multi-Stage Attack Chain |
|---|---|---|---|
| CyberSecEval Series [ 3 ] | Partial | — | Partial |
| Cybench / InterCode-CTF [ 55 , 52 ] | Full | — | Partial |
| CyberGym [ 50 ] | Full | — | Partial |
| ExploitBench [ 29 ] | Full | — | Full |
| ExploitGym [ 49 ] | Full | — | Full |
| CVE-Bench [ 58 ] | Full | — | Full |
| Evaluation | Environment Qualification | Isolation of System Factors | External Outcome Verification |
|---|---|---|---|
| CyberSecEval Series [ 3 ] | Partial | Partial | Partial |
| Cybench [ 55 ] | Full | Full | Full |
| InterCode-CTF [ 52 ] | Partial | Partial | Full |
| CyberGym [ 50 ] | Full | Partial | Full |
| ExploitBench [ 29 ] | Full | Full | Full |
| ExploitGym [ 49 ] | Full | Partial | Full |
| System challenge | Core solution | Design outcome |
|---|---|---|
| Complete evidence competes with finite host resources and can be disrupted by event floods | Isolated NoDrop collection and DPUaudit offloaded collection | A common, gap-detectable event stream whose failure behavior is explicit under both software-only and hardware-assisted deployment |
| Complex topologies contain heterogeneous and conflicting deployment constraints and may fail during long-running materialization | CRADLE high-level description, constraint compilation, desired-state execution, and checkpointed recovery | A portable topology specification plus a reproducible deployment state and recovery history |
| Independent vulnerabilities do not automatically form executable attack chains, while result-only scoring rewards shortcuts | Context-aware weakness composition, environment/component isolation, and multi-layer multi-source verification | A contained range with an execution-confirmed attack path and process-grounded evaluation evidence |
| Comparison | Shared setup | Changed factor and interpretation |
|---|---|---|
| L2 model comparison | Same 50 cases, OpenAI-compatible SDK and runner, L2 context, tools, 300-turn budget, 3,600-s agent timeout, serial execution, verifier, and SysArmor configuration | Kimi K3 versus DeepSeek-V4-Pro; same-protocol descriptive model comparison, with one trajectory per model–case pair |
| Same-backbone attack system | Same 50 cases, DeepSeek-V4-Pro, public L2 scenario, 300-turn budget, 3,600-s timeout, serial execution, private verifier, and observe-only SysArmor | Single-agent runner versus SysSpear assessment/session adapter; configuration-level comparison because the runner and execution policy change together |
| L1 interference | Same manifest, DeepSeek-V4-Pro, L1 context, 300 turns, 3,600-s timeout, seed 1, and temperature 0 | none : parallelism 8; high : parallelism 4, 43 decoys, and one omitted topology hint, in fixed order; comparison of recorded configurations, not a pure decoy effect |
| Collector completeness | Same stress-oriented event-generation and accounting protocol on the reported hardware/virtualization settings | SysField versus Sysdig and LTTng; event-loss comparison only |
| Collector overhead | Same reported workload family within the overhead experiment | SysField versus HARDLOG and OMNILOG; overhead comparison only |
| Composition and scale | Same model within each reported pair | CyberGym single-step versus SysField multi-step, and 7-node versus 50-node; source reports omit trial-level uncertainty and some controls, so deltas remain protocol-specific |
| Metric | DPUAudit-backed SysField | Reported baselines |
|---|---|---|
| Event-loss rate | 0.0% | Sysdig: 98.5%; LTTng: 60.0% |
| Additional system overhead | 2.1% | HARDLOG: 23.2%; OMNILOG: 33.0% |
| Model | CyberGym single-step | SysField multi-step | Change |
|---|---|---|---|
| Kimi K3 | 73.8% | 55.7% | pp |
| GLM-5.2 | 62.8% | 41.2% | pp |
| DeepSeek-V4-Pro | 57.8% | 36.2% | pp |
| GPT-5.6 Luna | 44.3% | 23.5% | pp |
| Model | 7-node range | 50-node range | Change |
|---|---|---|---|
| Kimi K3 | 60.8% | 50.2% | pp |
| GLM-5.2 | 46.1% | 36.0% | pp |
| DeepSeek-V4-Pro | 40.9% | 30.6% | pp |
| GPT-5.6 Luna | 29.0% | 19.2% | pp |
| Attack configuration | Backbone | Target 1 | Target 2 | Target 3 |
|---|---|---|---|---|
| Single-agent | Kimi K3 | 22/50 (44%) | 18/50 (36%) | 16/50 (32%) |
| Single-agent | DeepSeek-V4-Pro | 19/50 (38%) | 10/50 (20%) | 6/50 (12%) |
| SysSpear | DeepSeek-V4-Pro | 34/50 (68%) | 15/50 (30%) | 7/50 (14%) |
| Metric | none | high |
|---|---|---|
| Target 1 / Target 2 / Target 3 | 2 / 2 / 2 | 2 / 0 / 0 |
| All-three completion | 2/50 | 0/50 |
| Objective achieved | 1/50 | 0/50 |
| Timeout | 6/50 (12%) | 19/50 (38%) |
| Mean agent time | 1,417.6 s (23.6 min) | 2,428.5 s (40.5 min) |
| Median agent time | 1,091.7 s (18.2 min) | 2,536.5 s (42.3 min) |
| Expected behavior | Kimi K3 | DeepSeek-V4-Pro | SysSpear |
|---|---|---|---|
| Execution-oriented tool opens a network connection | 12/40 (30.0%) | 23/40 (57.5%) | 20/50 (40.0%) |
| Network client is used inside a workload | 9/40 (22.5%) | 18/40 (45.0%) | 19/50 (38.0%) |
| Shell or interpreter executes inside a workload | 6/40 (15.0%) | 16/40 (40.0%) | 14/50 (28.0%) |
| System | Model configuration | L2 (9 cases) | L3 (4 cases) | Overall (13 cases) |
| SysSpear | DeepSeek-V4-Pro + GLM | 7/9 (77.8%) | 1/4 (25.0%) | 8/13 (61.5%) |
| GLM-5.1 | 7/9 (77.8%) | 1/4 (25.0%) | 8/13 (61.5%) | |
| Qwen 3.6 | 5/9 (55.6%) | 0/4 (0.0%) | 5/13 (38.5%) | |
| DeepSeek-V4-Pro-Flash | 8/9 (88.9%) | 1/4 (25.0%) | 9/13 (69.2%) | |
| DeepSeek-V4-Pro-Flash + skills | 7/9 (77.8%) | 3/4 (75.0%) | 10/13 (76.9%) | |
| Claude Code | GLM-5.1 | 6/9 (66.7%) | 1/4 (25.0%) | 7/13 (53.8%) |
| Rule Name | Alert Count |
|---|---|
| command_injection_indicators | 7600 |
| crontab_modification | 7525 |
| permission_modification | 6670 |
| suspicious_binary_execution | 4865 |
| clear_log_activities | 4454 |
| dev_shm_execution | 3677 |
| Attack Stage | ttp | Malicious Command Line | ||||
|---|---|---|---|---|---|---|
| Initial Compromise | T1570 | /tmp/.>, /var/tmp/.>, /tmp/sshd, /root/sshd | ||||
| Establish Foothold | T1105 | /usr/sbin/sshd -D, sshd [accepted], sshd nobody [priv] | ||||
| Move Laterally | T1021.004 | sshd root [priv], sshd operator [priv] | ||||
| Escalate Privilege | T1222 | (cd ‘/var/tmp’ && [ -f ‘yum.log’ ] && (chattr -i ‘yum.log’; chmod +x ‘yum.log’ && ./‘yum.log’)) | ||||
| T1036 | (cd ‘/var/tmp’ && [ -f ‘apt.log’ ] && (chattr -i ‘apt.log’; chmod +x ‘apt.log’ && ./‘apt.log’)) | |||||
| T1022.002 | chmod +x yum.log, chmod +x .bash_logout, /usr/bin/ydvlmeowey su 12812 |
| Job Configuration | Throughput (eps) |
|---|---|
| Job 01 + Job 02 | 12547 |
| Job 01 + Job 03 | 12208 |
| Job 01 + Job 02 + Job 03 | 9003 |
Cybersecurity
Cybersecurity develops methods to protect digital and cyber-physical systems from attacks, vulnerabilities, data loss, and misuse.
See all 355 papers