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

HackSynth:用于自主渗透测试的 LLM 智能体与评估框架

HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing

Institute of Mathematics(数学研究所);Eötvös Loránd University(厄特沃什·罗兰大学)

Lajos Muzsai, David Imolai, András Lukács

AI总结:

本文提出具备 Planner 与 Summarizer 双模块的自主渗透测试 LLM 智能体 HackSynth,并构建含 200 个挑战的 PicoCTF、OverTheWire CTF 基准,实验评估多模型与关键参数。

摘要:

我们介绍 HackSynth,这是一种新颖的、基于大型语言模型(LLM)的智能体,能够执行自主渗透测试。HackSynth 的双模块架构包括 Planner 和 Summarizer,使其能够迭代地生成命令并处理反馈。为了对 HackSynth 进行基准测试,我们利用流行平台 PicoCTF 和 OverTheWire 提出了两个新的基于夺旗赛(CTF)的基准集。这些基准包含跨越不同领域和难度的 200 个挑战,为评估基于 LLM 的渗透测试智能体提供了标准化框架。基于这些基准,本文展示了大量实验,分析了 HackSynth 的核心参数,包括创造性(temperature 和 top-p)以及 token 利用率。实验使用了多个开源和专有 LLM 来衡量该智能体的能力。实验表明,该智能体在使用 GPT-4o 模型时表现最佳,优于 GPT-4o 系统卡所暗示的水平。我们还讨论了 HackSynth 行动的安全性和可预测性。研究结果表明,基于 LLM 的智能体在推进自主渗透测试方面具有潜力,也表明稳健保障措施的重要性。HackSynth 和这些基准均已公开,以促进自主网络安全解决方案的研究。

英文摘要:

We introduce HackSynth, a novel Large Language Model (LLM)-based agent capable of autonomous penetration testing. HackSynth's dual-module architecture includes a Planner and a Summarizer, which enable it to generate commands and process feedback iteratively. To benchmark HackSynth, we propose two new Capture The Flag (CTF)-based benchmark sets utilizing the popular platforms PicoCTF and OverTheWire. These benchmarks include two hundred challenges across diverse domains and difficulties, providing a standardized framework for evaluating LLM-based penetration testing agents. Based on these benchmarks, extensive experiments are presented, analyzing the core parameters of HackSynth, including creativity (temperature and top-p) and token utilization. Multiple open source and proprietary LLMs were used to measure the agent's capabilities. The experiments show that the agent performed best with the GPT-4o model, better than what the GPT-4o's system card suggests. We also discuss the safety and predictability of HackSynth's actions. Our findings indicate the potential of LLM-based agents in advancing autonomous penetration testing and the importance of robust safeguards. HackSynth and the benchmarks are publicly available to foster research on autonomous cybersecurity solutions.

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

↑