CyberClear: A Benchmark for LLM Agent Systems on APT Attack Chain Provenance
Organizations: School of Cyber Science and Engineering, Southeast University · The Hong Kong Polytechnic University · Zhongguancun Laboratory
Abstract
Large language model agents have demonstrated promising capabilities in cybersecurity tasks, yet their ability to reconstruct complete Advanced Persistent Threat attack campaigns from complex security logs remains largely unexplored. Existing cybersecurity benchmarks for agents mainly focus on vulnerability discovery, exploitation, and security analysis tasks, leaving the evaluation of attack chain provenance under realistic security logs insufficiently studied. To address this gap, we introduce CyberClear, a benchmark for evaluating LLM agents and advanced agent systems on APT attack chain provenance from long-context security logs. CyberClear covers both single-step attacks and multi-stage attack chains, requiring agents to identify attack evidence, infer attack progression, and generate provenance graphs containing entities, causal relationships, MITRE ATT&CK techniques, and forensic evidence. To enable comprehensive evaluation, we develop an evaluation method tailored to APT attack chain provenance. Unlike conventional text similarity metrics that focus on surface-level matching, our evaluation examines whether reconstructed graphs preserve the semantics of attack chains across single-step behavior correctness, multi-step behavior identification, temporal and causal consistency, entity and relationship fidelity, and overall attack narrative consistency. Advanced multi-agent systems powered by state-of-the-art LLMs still struggle on CyberClear, motivating us to propose CyberProvenance, an agent cyber harness designed for multi-agents that augments LLM agents with evidence accumulation, execution-based validation, and feedback-guided refinement mechanisms for reliable attack-chain provenance. Extensive evaluations on CyberClear demonstrate the effectiveness of CyberProvenance in improving evidence reasoning, execution-grounded validation, and complete APT attack chain reconstruction.
Figures & tables
| Benchmark | Scope | Instance | Attack Behaviors | ATT&CK | Logs | Attack Chain |
|---|---|---|---|---|---|---|
| NYU CTF Bench ( Shao et al., 2025 ) | CTF | 200 | 6 | ✗ | ✗ | ✗ |
| Cybench ( Zhang et al., 2025a ) | CTF | 40 | 6 | ✗ | ✗ | ✗ |
| AutoAdvExBench ( Carlini et al., 2025 ) | CTF + Real-world | 75 | 2 | ✗ | ✗ | ✗ |
| CVE-Bench ( Zhu et al., 2025 ) | Real-world | 40 | 8 | ✗ | ✗ | ✗ |
| BountyBench ( Zhang et al., 2026 ) | Real-world | 40 | 36 | ✗ | ✗ | ✗ |
| SEC-bench ( Lee et al., 2025 ) | Real-world | 200 | 16 | ✗ | ✗ | ✗ |
| Statistic | Easy | Medium | Hard | Overall |
|---|---|---|---|---|
| Total Samples | ||||
| Sample Count | 318 | 122 | 10 | 450 |
| Attack Complexity | ||||
| Single-step Attack | 318 | 0 | 0 | 318 |
| Multi-step Attack | 0 | 122 | 10 | 132 |
| Input Log Volume (count) | ||||
| Methods | Code-Level Metrics | Semantic Metrics | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| BLEU | ROUGE-L | CodeBLEU | Pass@1 | Single | Loose | Strict | Detail | Scenario | ||
| OpenClaw (Single) | 0.3317 | 0.4863 | 0.3795 | 0.8222 | 0.6794 | 0.6006 | 0.4387 | 0.4051 | 0.4805 | |
| 0.3556 | 0.5117 | 0.3868 | 0.7200 | 0.7812 | 0.7125 | 0.5490 | 0.4898 | 0.5823 | ||
| 0.3692 | 0.5297 | 0.3887 | 0.8467 | 0.7726 | 0.7214 | 0.5008 | 0.4536 | 0.5862 | ||
| OpenClaw (Multiple) | 0.4183 | 0.5654 | 0.5648 | 0.9200 | 0.5513 | 0.4749 | 0.3580 | 0.3301 | 0.3679 | |
| 0.4422 | 0.5908 | 0.5721 | 0.8178 | 0.7160 | 0.6629 | 0.5034 | 0.4090 | 0.5847 | ||
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Methods | Code-Level Metrics | Semantic Metrics | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| BLEU | ROUGE-L | CodeBLEU | Pass@1 | Single | Loose | Strict | Detail | Scenario | ||
| OpenClaw (Single) | 0.3617 | 0.5236 | 0.3019 | 0.8113 | 0.4509 | 0.3588 | 0.2253 | 0.2602 | 0.3209 | |
| 0.3428 | 0.4975 | 0.3659 | 0.8267 | 0.6521 | 0.5748 | 0.4146 | 0.3917 | 0.4615 | ||
| OpenClaw (Multiple) | 0.4483 | 0.6027 | 0.4872 | 0.9085 | 0.5694 | 0.4592 | 0.2982 | 0.3279 | 0.4293 | |
| 0.4237 | 0.5718 | 0.5526 | 0.9178 | 0.5894 | 0.5127 | 0.3812 | 0.3526 | 0.4098 | ||
| AgentVerse | 0.3964 | 0.5819 | 0.5298 | 0.9289 | 0.6383 | 0.5314 | 0.3510 | 0.3650 | 0.4869 | |
| Variants | Code-Level Metrics | Semantic Metrics | |||||||
|---|---|---|---|---|---|---|---|---|---|
| BLEU | ROUGE-L | CodeBLEU | Pass@1 | Single | Loose | Strict | Detail | Scenario | |
| CyberProvenance | 0.4952 | 0.6968 | 0.7016 | 0.9333 | 0.8897 | 0.7438 | 0.6337 | 0.6124 | 0.7263 |
| w/o Evidence Memory | 0.4510 0.0442 | 0.6423 0.0545 | 0.6554 0.0462 | 0.9044 0.0289 | 0.8421 0.0476 | 0.6845 0.0593 | 0.5578 0.0759 | 0.5236 0.0888 | 0.6502 0.0761 |
| w/o Execution Validation | 0.4598 0.0354 | 0.6492 0.0476 | 0.6615 0.0401 | 0.8978 0.0355 | 0.8470 0.0427 | 0.6780 0.0658 | 0.5485 0.0852 | 0.5200 0.0924 | 0.6425 0.0838 |
| w/o Feedback Refinement | 0.4825 0.0127 | 0.6811 0.0157 | 0.6889 0.0127 | 0.9178 0.0155 | 0.8734 0.0163 | 0.7169 0.0269 | 0.5983 0.0354 | 0.5716 0.0408 | 0.6885 0.0378 |
| Attack behavior | ATT&CK ID(s) |
|---|---|
| B01 Abuse Elevation Control Mechanism: Sudo and Sudo Caching | T1548.003 |
| B02 Account Access Removal | T1531 |
| B03 Account Discovery: Local Account | T1087.001 |
| B04 Active Scanning: Vulnerability Scanning | T1595.002 |
| B05 Active Scanning: Wordlist Scanning | T1595.003 |
| B06 Application Window Discovery | T1010 |
| Behavior | OpenClaw (Single) | OpenClaw (Multiple) | AgentVerse | LLM-Debate | MultiPersona | LLM-Blender | DyLAN | MacNet | CAMEL | AgentScope-V2 | CyberProvenance |
| B01 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| B02 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| B03 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| B04 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| B05 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| B06 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Cybersecurity
Cybersecurity develops methods to protect digital and cyber-physical systems from attacks, vulnerabilities, data loss, and misuse.
See all 355 papers