An Empirical Evaluation of LLMs for Solving Offensive Security Challenges
Not on the map. Why?
Abstract (arXiv)
Capture The Flag (CTF) challenges are puzzles related to computer security scenarios. With the advent of large language models (LLMs), more and more CTF participants are using LLMs to understand and solve the challenges. However, so far no work has evaluated the effectiveness of LLMs in solving CTF challenges with a fully automated workflow. We develop two CTF-solving workflows, human-in-the-loop (HITL) and fully-automated, to examine the LLMs' ability to solve a selected set of CTF challenges, prompted with information about the question. We collect human contestants' results on the same set of questions, and find that LLMs achieve higher success rate than an average human participant. This work provides a comprehensive evaluation of the capability of LLMs in solving real world CTF challenges, from real competition to fully automated workflow. Our results provide references for applying LLMs in cybersecurity education and pave the way for systematic evaluation of offensive cybersecurity capabilities in LLMs.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Feb 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 11; 2025: 13; 2026: 9.
33 papers.
Sort:
By area:
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 90
- 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scalecited by 61
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Mannercited by 57
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 19
- 2025Incalmo: An Autonomous LLM-assisted System for Red Teaming Multi-Host Networkscited by 17
- 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattackscited by 15
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Executioncited by 14
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Designcited by 13
- 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilitiescited by 12
- 2024LLMs Can Defend Themselves Against Jailbreaking in a Practical Manner: A Vision Papercited by 9
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmarkcited by 9
21 more
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agentscited by 8
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 8
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 7
- 2024eyeballvul: a future-proof benchmark for vulnerability detection in the wildcited by 6
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 5
- 2025LLMs unlock new paths to monetizing exploitscited by 5
- 2024A Comprehensive Survey on the Security of Smart Grid: Challenges, Mitigations, and Future Research Opportunitiescited by 4
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025Large Language Models and Arabic Content: A Reviewcited by 4
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localizationcited by 4
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Sizecited by 3
- 2026CTFExplorer: Evaluating LLM Offensive Agents Through Multi-Target Web CTF Benchmarkingcited by 3
- 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluationcited by 3
- 2024The Best Defense is a Good Offense: Countering LLM-Powered Cyberattackscited by 2
- 2025What Makes an Evaluation Useful? Common Pitfalls and Best Practicescited by 1
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environmentscited by 1
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledgecited by 1
- 2026Systematic Capability Benchmarking of Frontier Large Language Models for Offensive Cyber Taskscited by 0
- 2026RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programscited by 0
- 2026Red-Teaming the Agentic Red-Teamcited by 0
- 2026Red-Teaming the Agentic Red-Team23 Jun 2026
- 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluation12 May 2026
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledge22 Apr 2026
- 2026RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programs20 Apr 2026
- 2026Systematic Capability Benchmarking of Frontier Large Language Models for Offensive Cyber Tasks18 Apr 2026
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environments7 Apr 2026
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?19 Feb 2026
- 2026CTFExplorer: Evaluating LLM Offensive Agents Through Multi-Target Web CTF Benchmarking8 Feb 2026
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization30 Sep 2025
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmark5 Aug 2025
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challenges21 Jun 2025
21 more
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Execution21 May 2025
- 2025LLMs unlock new paths to monetizing exploits16 May 2025
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents15 May 2025
- 2025Large Language Models and Arabic Content: A Review12 May 2025
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Design14 Apr 2025
- 2025What Makes an Evaluation Useful? Common Pitfalls and Best Practices30 Mar 2025
- 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilities18 Feb 2025
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security15 Feb 2025
- 2025Incalmo: An Autonomous LLM-assisted System for Red Teaming Multi-Host Networks27 Jan 2025
- 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattacks28 Oct 2024
- 2024The Best Defense is a Good Offense: Countering LLM-Powered Cyberattacks20 Oct 2024
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI14 Oct 2024
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agents8 Oct 2024
- 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scale9 Sep 2024
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Size21 Jul 2024
- 2024eyeballvul: a future-proof benchmark for vulnerability detection in the wild11 Jul 2024
- 2024A Comprehensive Survey on the Security of Smart Grid: Challenges, Mitigations, and Future Research Opportunities10 Jul 2024
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security8 Jun 2024
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner8 Jun 2024
- 2024LLMs Can Defend Themselves Against Jailbreaking in a Practical Manner: A Vision Paper24 Feb 2024
- 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scalecited by 61
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 19
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Executioncited by 14
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmarkcited by 9
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agentscited by 8
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?cited by 8
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 7
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 5
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localizationcited by 4
- 2026CTFExplorer: Evaluating LLM Offensive Agents Through Multi-Target Web CTF Benchmarkingcited by 3
- 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluationcited by 3
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
12 most cited of 14 All 14 (JSON)
- 2026Red-Teaming the Agentic Red-Team23 Jun 2026
- 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluation12 May 2026
- 2026Systematic Capability Benchmarking of Frontier Large Language Models for Offensive Cyber Tasks18 Apr 2026
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2026What Makes a Good LLM Agent for Real-world Penetration Testing?19 Feb 2026
- 2026CTFExplorer: Evaluating LLM Offensive Agents Through Multi-Target Web CTF Benchmarking8 Feb 2026
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization30 Sep 2025
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmark5 Aug 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Execution21 May 2025
- 2025AutoPentest: Enhancing Vulnerability Management With Autonomous LLM Agents15 May 2025
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security15 Feb 2025
12 newest of 14 All 14 (JSON)
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Mannercited by 57
- 2025Incalmo: An Autonomous LLM-assisted System for Red Teaming Multi-Host Networkscited by 17
- 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattackscited by 15
- 2024LLMs Can Defend Themselves Against Jailbreaking in a Practical Manner: A Vision Papercited by 9
- 2025Incalmo: An Autonomous LLM-assisted System for Red Teaming Multi-Host Networks27 Jan 2025
- 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattacks28 Oct 2024
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner8 Jun 2024
- 2024LLMs Can Defend Themselves Against Jailbreaking in a Practical Manner: A Vision Paper24 Feb 2024
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 90
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Designcited by 13
- 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilitiescited by 12
- 2024eyeballvul: a future-proof benchmark for vulnerability detection in the wildcited by 6
- 2025LLMs unlock new paths to monetizing exploitscited by 5
- 2024A Comprehensive Survey on the Security of Smart Grid: Challenges, Mitigations, and Future Research Opportunitiescited by 4
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025Large Language Models and Arabic Content: A Reviewcited by 4
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Sizecited by 3
- 2024The Best Defense is a Good Offense: Countering LLM-Powered Cyberattackscited by 2
- 2025What Makes an Evaluation Useful? Common Pitfalls and Best Practicescited by 1
12 most cited of 14 All 14 (JSON)
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledge22 Apr 2026
- 2026CritBench: A Framework for Evaluating Cybersecurity Capabilities of Large Language Models in IEC 61850 Digital Substation Environments7 Apr 2026
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challenges21 Jun 2025
- 2025LLMs unlock new paths to monetizing exploits16 May 2025
- 2025Large Language Models and Arabic Content: A Review12 May 2025
- 2025Benchmarking Practices in LLM-driven Offensive Security: Testbeds, Metrics, and Experiment Design14 Apr 2025
- 2025What Makes an Evaluation Useful? Common Pitfalls and Best Practices30 Mar 2025
- 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilities18 Feb 2025
- 2024The Best Defense is a Good Offense: Countering LLM-Powered Cyberattacks20 Oct 2024
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI14 Oct 2024
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Size21 Jul 2024
- 2024eyeballvul: a future-proof benchmark for vulnerability detection in the wild11 Jul 2024
12 newest of 14 All 14 (JSON)