被AI攻破:使用大型语言模型进行渗透测试
Getting pwn'd by AI: Penetration Testing with Large Language Models
AI总结:
本文探讨了使用GPT3.5等大型语言模型作为AI陪练辅助渗透测试人员,在高级任务规划和低级漏洞搜寻中实现闭环反馈并自动执行攻击向量,取得了有前景的初步结果。
摘要:
软件安全测试领域,更具体地说是渗透测试,是一项需要高水平专业知识的活动,涉及许多手动测试和分析步骤。本文探讨了大型语言模型(如GPT3.5)作为AI陪练来增强渗透测试人员的潜在用途。我们探索了在两个不同用例中用AI模型辅助渗透测试人员的可行性:安全测试任务的高级任务规划,以及易受攻击虚拟机内的低级漏洞搜寻。对于后者,我们在LLM生成的低级动作与易受攻击的虚拟机(通过SSH连接)之间实现了闭环反馈,并允许LLM分析机器状态以查找漏洞,提出在虚拟机内自动执行的具体攻击向量。我们讨论了有前景的初步结果,详细说明了改进途径,并在结尾探讨了提供基于AI的陪练的伦理问题。
英文摘要:
The field of software security testing, more specifically penetration testing, is an activity that requires high levels of expertise and involves many manual testing and analysis steps. This paper explores the potential usage of large-language models, such as GPT3.5, to augment penetration testers with AI sparring partners. We explore the feasibility of supplementing penetration testers with AI models for 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 providing AI-based sparring partners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。