arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.05590cs.CRcs.AIcs.CYcs.LG
收藏

NYU CTF Bench:用于评估大型语言模型在 offensive security 中表现的可扩展开源基准数据集

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

New York University(纽约大学);New York University Abu Dhabi(纽约大学阿布扎比分校)
Minghao Shao, Sofija Jancheska, Meet Udeshi, Brendan Dolan-Gavitt, Haoran Xi, Kimberly Milner, Boyuan Chen, Max Yin, Siddharth Garg, Prashanth Krishnamurthy, Fa… 展开作者

Minghao Shao, Sofija Jancheska, Meet Udeshi, Brendan Dolan-Gavitt, Haoran Xi, Kimberly Milner, Boyuan Chen, Max Yin, Siddharth Garg, Prashanth Krishnamurthy, Farshad Khorrami, Ramesh Karri, Muhammad Shafique

AI总结:

针对LLMs解决网络安全CTF挑战能力未被全面评估的问题,该研究创建可扩展开源基准数据集NYU CTF Bench,构建全自动评估系统,评估5个LLMs性能,为LLMs在网络安全任务的应用奠定基础并提供平台。

摘要:

如今,大型语言模型(LLMs)正被部署到各个领域。然而,它们解决网络安全中夺旗(CTF)挑战的能力尚未得到全面评估。为解决这一问题,我们开发了一种新方法,通过创建专门针对这些应用的可扩展开源基准数据库来评估LLMs解决CTF挑战的能力。该数据库包含用于LLM测试和自适应学习的元数据,汇编了来自热门竞赛的各种CTF挑战。利用LLMs先进的函数调用能力,我们构建了一个具有增强工作流和外部工具调用支持的全自动系统。我们的基准数据集和自动化框架使我们能够评估5个LLMs的性能,包括黑盒和开源模型。这项工作为未来研究如何提高LLMs在交互式网络安全任务和自动化任务规划中的效率奠定了基础。通过提供专门的基准,我们的项目为开发、测试和改进基于LLM的漏洞检测和解决方法提供了理想平台。在这些挑战上评估LLMs并与人类表现进行比较,可深入了解AI驱动的网络安全解决方案在执行现实世界威胁管理方面的潜力。我们将基准数据集开源至公共平台https://github.com/NYU-LLM-CTF/NYU_CTF_Bench,并附带我们的playground自动化框架https://github.com/NYU-LLM-CTF/llm_ctf_automation。

英文摘要:

Large Language Models (LLMs) are being deployed across various domains today. However, their capacity to solve Capture the Flag (CTF) challenges in cybersecurity has not been thoroughly evaluated. To address this, we develop a novel method to assess LLMs in solving CTF challenges by creating a scalable, open-source benchmark database specifically designed for these applications. This database includes metadata for LLM testing and adaptive learning, compiling a diverse range of CTF challenges from popular competitions. Utilizing the advanced function calling capabilities of LLMs, we build a fully automated system with an enhanced workflow and support for external tool calls. Our benchmark dataset and automated framework allow us to evaluate the performance of five LLMs, encompassing both black-box and open-source models. This work lays the foundation for future research into improving the efficiency of LLMs in interactive cybersecurity tasks and automated task planning. By providing a specialized benchmark, our project offers an ideal platform for developing, testing, and refining LLM-based approaches to vulnerability detection and resolution. Evaluating LLMs on these challenges and comparing with human performance yields insights into their potential for AI-driven cybersecurity solutions to perform real-world threat management. We make our benchmark dataset open source to public https://github.com/NYU-LLM-CTF/NYU_CTF_Bench along with our playground automated framework https://github.com/NYU-LLM-CTF/llm_ctf_automation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑