paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Getting pwn’d by AI: Penetration Testing with Large Language Models

被 AI 攻陷:使用大语言模型进行渗透测试
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 2/10 · 论文将 LLM 用于渗透测试任务规划与漏洞挖掘,属于安全领域的 Agent 应用,但并未涉及用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也未研究 Agentic 程序的静态分析或 LLM 改进程序分析。其使用的 GPT-3.5 也已不是当前较强模型,与画像交集很小。引用 190 inbox
Andreas Happe, Jürgen Cito
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:探索用 GPT-3.5 等大语言模型充当渗透测试的“AI 陪练”,实现高层任务规划与虚拟机内低层漏洞挖掘。

渗透测试高度依赖专家经验,包含大量手工测试与分析步骤。本文探讨将 GPT-3.5 等大语言模型用作渗透测试者的“AI 陪练”,并考察了两个不同场景:一是面向安全测试任务的高层任务规划,二是针对存在漏洞的虚拟机内部的低层漏洞搜寻。在后者中,作者构建了一个闭环反馈系统:由 LLM 生成低层操作动作,通过 SSH 在虚拟机中自动执行,再把机器状态回馈给模型,使其分析潜在漏洞并给出具体攻击向量,随后自动执行这些攻击。论文报告了初步但有希望的结果,讨论了改进方向,并最后就 AI 陪练的伦理问题进行思辨。评估以案例式的探索性实验为主,尚未进行系统性量化评测。

问题
渗透测试需要高水平专业知识且包含大量手工分析与操作,论文关注能否用大语言模型辅助、甚至半自动化这一过程。
方法
将 GPT-3.5 用于两个场景:安全测试任务的高层规划,以及与存在漏洞的虚拟机通过 SSH 构成闭环反馈——由 LLM 生成低层动作、分析机器状态、提出并自动执行具体攻击向量。
评估
以探索性案例研究方式在漏洞虚拟机上演示该闭环流程,报告初步的可行性结果与改进空间,而非系统性的量化基准评测。
原文摘要(Abstract)

The field of software security testing, more specifically penetration testing, requires high levels of expertise and involves many manual testing and analysis steps. This paper explores the potential use of large-language models, such as GPT3.5, to augment penetration testers with AI sparring partners. We explore two distinct use cases: high-level task planning for security testing assignments and low-level vulnerability hunting within a vulnerable virtual machine. For the latter, we implemented a closed-feedback loop between LLM-generated low-level actions with a vulnerable virtual machine (connected through SSH) and allowed the LLM to analyze the machine state for vulnerabilities and suggest concrete attack vectors which were automatically executed within the virtual machine. We discuss promising initial results, detail avenues for improvement, and close deliberating on the ethics of AI sparring partners.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{HappeC23a,
  title = {Getting pwn’d by AI: Penetration Testing with Large Language Models},
  author = {Andreas Happe and Jürgen Cito},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3613083}
}