atlas

Research map / Large language models / Agents, code and math

NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security

NeurIPS 2024 · Large language models › Agents, code and math · approach: Software engineering agents · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces NYU CTF Bench, an open benchmark of 200 validated CSAW CTF challenges plus an automated LLM agent framework with function-calling cybersecurity tools, evaluating five LLMs.

Problem

LLMs' ability to autonomously solve Capture-the-Flag cybersecurity challenges has not been thoroughly evaluated, and no scalable open benchmark with automated deployment existed for it.

Approach

A containerized, metadata-rich benchmark of 200 validated CSAW CTF challenges paired with an automated solving framework that gives LLMs function-calling access to domain tools (command execution, file creation, Ghidra decompilation, flag checking, give-up) and automatically scores solutions by flag capture.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GPT 4 instead of GPT 3.5LLM CTF solver · NYU CTF Bench pwnsolved challenges (%): 2.56 -> 7.69Helped
Use GPT 4 instead of GPT 3.5LLM CTF solver · NYU CTF Bench revsolved challenges (%): 5.88 -> 9.80Helped
Use GPT 4 instead of GPT 3.5LLM CTF solver · NYU CTF Bench websolved challenges (%): 0 -> 5.26Helped
Use GPT 3.5 instead of GPT 4LLM CTF solver · NYU CTF Bench miscsolved challenges (%): 0 -> 12.5Helped
Use Claude instead of GPT 4LLM CTF solver · NYU CTF Bench cryptosolved challenges (%): 0 -> 5.77Helped
Use GPT 4 instead of ClaudeLLM CTF solver · NYU CTF Bench forensicssolved challenges (%): 0 -> 6.67Helped
Use GPT 4 instead of GPT 3.5LLM CTF solver · CSAW Qual'23score: 0 -> 300Helped

Surprising findings

Limitations

Experimental setup

Datasets: NYU CSAW CTF challenges (2017-2023)

Benchmarks: NYU CTF Bench

Metrics: percentage of challenges solved per category failure type rates CSAW score comparison with human teams

Baselines: GPT-3.5 GPT-4 Claude 3 Mixtral LLaMA 3

Builds on: InterCode-CTF PentestGPT DARPA Cyber Grand Challenge

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy