RapidPen: 基于大语言模型的完全自动化IP到Shell渗透测试框架
RapidPen: Fully Automated IP-to-Shell Penetration Testing with LLM-based Agents
AI总结:
RapidPen基于大语言模型实现完全自动化IP到Shell渗透测试,通过任务规划与反馈循环高效发现并利用漏洞,降低安全测试成本与门槛。
摘要:
我们介绍了RapidPen,一个完全自动化的渗透测试(pentesting)框架,旨在解决在没有人为干预的情况下实现初始立足点(IP-to-Shell)的挑战。与以往主要关注后期利用或需要人机交互的方法不同,RapidPen利用大语言模型(LLMs)自主发现和利用漏洞,从单个IP地址开始。通过整合先进的ReAct风格任务规划(Re)与包含成功利用案例的检索增强知识库,以及命令生成和直接执行反馈循环(Act),RapidPen系统地扫描服务,识别可行的攻击向量,并在完全自动化的方式下执行针对性利用。在对Hack The Box平台上一个易受攻击的目标进行评估中,RapidPen在每次运行成本约为0.3-0.6美元的情况下,200-400秒内实现了shell访问,重用先前“成功案例”数据时的成功率高达60%。这些结果凸显了真正自主渗透测试的潜力,对安全新手和经验丰富的专业人员都具有重要意义。没有专门安全团队的组织可以利用RapidPen快速识别关键漏洞,而专家渗透测试人员可以将重复性任务卸载并专注于复杂挑战。最终,我们的工作旨在使渗透测试更加易用和成本效益,从而提升现代软件生态系统整体的安全态势。更多信息,请访问此链接:https://secdevlab.com/rapidpen
英文摘要:
We present RapidPen, a fully automated penetration testing (pentesting) framework that addresses the challenge of achieving an initial foothold (IP-to-Shell) without human intervention. Unlike prior approaches that focus primarily on post-exploitation or require a human-in-the-loop, RapidPen leverages large language models (LLMs) to autonomously discover and exploit vulnerabilities, starting from a single IP address. By integrating advanced ReAct-style task planning (Re) with retrieval-augmented knowledge bases of successful exploits, along with a command-generation and direct execution feedback loop (Act), RapidPen systematically scans services, identifies viable attack vectors, and executes targeted exploits in a fully automated manner. In our evaluation against a vulnerable target from the Hack The Box platform, RapidPen achieved shell access within 200-400 seconds at a per-run cost of approximately \$0.3-\$0.6, demonstrating a 60\% success rate when reusing prior "success-case" data. These results underscore the potential of truly autonomous pentesting for both security novices and seasoned professionals. Organizations without dedicated security teams can leverage RapidPen to quickly identify critical vulnerabilities, while expert pentesters can offload repetitive tasks and focus on complex challenges. Ultimately, our work aims to make penetration testing more accessible and cost-efficient, thereby enhancing the overall security posture of modern software ecosystems. Fore more information, visit this link: https://secdevlab.com/rapidpen
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。