Using Large Language Models for Cybersecurity Capture-The-Flag Challenges and Certification Questions
Not on the map. Why?
Abstract (arXiv)
The assessment of cybersecurity Capture-The-Flag (CTF) exercises involves participants finding text strings or ``flags'' by exploiting system vulnerabilities. Large Language Models (LLMs) are natural-language models trained on vast amounts of words to understand and generate text; they can perform well on many CTF challenges. Such LLMs are freely available to students. In the context of CTF exercises in the classroom, this raises concerns about academic integrity. Educators must understand LLMs' capabilities to modify their teaching to accommodate generative AI assistance. This research investigates the effectiveness of LLMs, particularly in the realm of CTF challenges and questions. Here we evaluate three popular LLMs, OpenAI ChatGPT, Google Bard, and Microsoft Bing. First, we assess the LLMs' question-answering performance on five Cisco certifications with varying difficulty levels. Next, we qualitatively study the LLMs' abilities in solving CTF challenges to understand their limitations. We report on the experience of using the LLMs for seven test cases in all five types of CTF challenges. In addition, we demonstrate how jailbreak prompts can bypass and break LLMs' ethical safeguards. The paper concludes by discussing LLM's impact on CTF exercises and its implications.
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Builds on 9 of its 18 references that are in the map. First posted on arXiv 21 Aug 2023.
Builds on
9 of 18 references.
References · 9
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacycited by 143
- 2023Beyond the Safeguards: Exploring the Security Risks of ChatGPTcited by 36
- 2023Generating Phishing Attacks using ChatGPTcited by 16
Built on by
Citing papers per year: 2023: 1; 2024: 10; 2025: 10; 2026: 2.
23 papers.
Sort:
By area:
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 126
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 93
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 20
- 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AIcited by 16
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 15
- 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 12
11 more
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environmentscited by 9
- 2024A Survey of Large Language Models in Cybersecuritycited by 8
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 8
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 6
- 2024Hacking, The Lazy Way: LLM Augmented Pentestingcited by 5
- 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challengescited by 4
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledgecited by 1
- 2024LISAA: A Framework for Large Language Model Information Security Awareness Assessmentcited by 0
- 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testingcited by 0
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledge22 Apr 2026
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testing16 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
- 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challenges1 Jun 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Execution21 May 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AI14 Mar 2025
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuning12 Mar 2025
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security15 Feb 2025
11 more
- 2024LISAA: A Framework for Large Language Model Information Security Awareness Assessment20 Nov 2024
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agents8 Oct 2024
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environments17 Sep 2024
- 2024Hacking, The Lazy Way: LLM Augmented Pentesting14 Sep 2024
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security8 Jun 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attacks2 Mar 2024
- 2024A Survey of Large Language Models in Cybersecurity26 Feb 2024
- 2024Large Language Models in Cybersecurity: State-of-the-Art30 Jan 2024
- 2024Black-Box Access is Insufficient for Rigorous AI Audits25 Jan 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Securitycited by 20
- 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 12
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environmentscited by 9
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 8
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 6
- 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challengescited by 4
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2025Towards Effective Offensive Security LLM Agents: Hyperparameter Tuning, LLM as a Judge, and a Lightweight CTF Benchmark5 Aug 2025
- 2025Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challenges1 Jun 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025CRAKEN: Cybersecurity LLM Agent with Knowledge-Based Execution21 May 2025
- 2025D-CIPHER: Dynamic Collaborative Intelligent Multi-Agent System with Planner and Heterogeneous Executors for Offensive Security15 Feb 2025
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agents8 Oct 2024
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environments17 Sep 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 126
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 93
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AIcited by 16
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 15
- 2024A Survey of Large Language Models in Cybersecuritycited by 8
- 2024Hacking, The Lazy Way: LLM Augmented Pentestingcited by 5
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
12 most cited of 15 All 15 (JSON)
- 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledge22 Apr 2026
- 2025From Capabilities to Performance: Evaluating Key Functional Properties of LLM Architectures in Penetration Testing16 Sep 2025
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challenges21 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AI14 Mar 2025
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuning12 Mar 2025
- 2024LISAA: A Framework for Large Language Model Information Security Awareness Assessment20 Nov 2024
- 2024Hacking, The Lazy Way: LLM Augmented Pentesting14 Sep 2024
- 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security8 Jun 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attacks2 Mar 2024
- 2024A Survey of Large Language Models in Cybersecurity26 Feb 2024
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity
- 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generation
- 2024SecBench: A Comprehensive Multi-Dimensional Benchmarking Dataset for LLMs in Cybersecurity
- 2025AthenaBench: A Dynamic Benchmark for Evaluating LLMs in Cyber Threat Intelligence
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledge
- 2024Ollabench: Evaluating LLMs' Reasoning for Human-centric Interdependent Cybersecurity
- 2024Security and Privacy Challenges of Large Language Models: A Survey