AutoPentester:基于LLM智能体的自动化渗透测试框架
AutoPentester: An LLM Agent-based Framework for Automated Pentesting
AI总结:
AutoPentester是基于LLM智能体的自动化渗透测试框架,通过迭代利用安全工具动态生成攻击策略,相比PentestGPT在子任务完成率、漏洞覆盖率和人工干预需求上均有显著优势。
摘要:
渗透测试和漏洞评估是保障计算机系统安全的重要行业实践。随着网络威胁的规模和复杂性不断增长,对渗透测试的需求激增,已超出人类专业人员有效应对的能力。随着人工智能(尤其是大语言模型,LLMs)的进步,已有尝试将渗透测试过程自动化。然而,现有工具如PentestGPT仍是半自动化的,需要大量专业人员的交互才能执行渗透测试。为此,我们提出了一种新颖的基于LLM智能体的框架AutoPentester,该框架自动化了渗透测试过程。给定目标IP地址,AutoPentester使用常见安全工具以迭代方式自动执行渗透测试步骤。它能根据前一轮迭代的工具输出动态生成攻击策略,模拟人类渗透测试人员的方法。我们使用Hack The Box平台和自建的虚拟机对AutoPentester进行评估,并与最先进的PentestGPT进行结果对比。结果表明,AutoPentester在子任务完成率上提高了27.0%,漏洞覆盖率提高了39.5%,且所需步骤更少。最重要的是,与PentestGPT相比,它所需的人工交互和干预显著减少。此外,我们招募了一组安全行业专业志愿者进行用户调查,并进行了定性分析,以评估AutoPentester相对于行业实践的表现,并与PentestGPT进行比较。根据用户评价,AutoPentester平均获得5分中的3.93分,比PentestGPT高出19.8%。
英文摘要:
Penetration testing and vulnerability assessment are essential industry practices for safeguarding computer systems. As cyber threats grow in scale and complexity, the demand for pentesting has surged, surpassing the capacity of human professionals to meet it effectively. With advances in AI, particularly Large Language Models (LLMs), there have been attempts to automate the pentesting process. However, existing tools such as PentestGPT are still semi-manual, requiring significant professional human interaction to conduct pentests. To this end, we propose a novel LLM agent-based framework, AutoPentester, which automates the pentesting process. Given a target IP, AutoPentester automatically conducts pentesting steps using common security tools in an iterative process. It can dynamically generate attack strategies based on the tool outputs from the previous iteration, mimicking the human pentester approach. We evaluate AutoPentester using Hack The Box and custom-made VMs, comparing the results with the state-of-the-art PentestGPT. Results show that AutoPentester achieves a 27.0% better subtask completion rate and 39.5% more vulnerability coverage with fewer steps. Most importantly, it requires significantly fewer human interactions and interventions compared to PentestGPT. Furthermore, we recruit a group of security industry professional volunteers for a user survey and perform a qualitative analysis to evaluate AutoPentester against industry practices and compare it with PentestGPT. On average, AutoPentester received a score of 3.93 out of 5 based on user reviews, which was 19.8% higher than PentestGPT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。