arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06664cs.CRcs.AI
收藏

LLM智能体能够自主攻击网站

LLM Agents can Autonomously Hack Websites

UIUC(伊利诺伊大学厄巴纳-香槟分校)

Richard Fang, Rohan Bindu, Akul Gupta, Qiusi Zhan, Daniel Kang

AI总结:

研究揭示LLM智能体可自主攻击网站,GPT-4无需人类反馈即可执行盲注数据库模式提取和SQL注入等复杂任务,并能发现野外漏洞,引发对LLM广泛部署的担忧。

摘要:

近年来,大型语言模型(LLMs)的能力日益增强,如今已能与工具交互(即调用函数)、阅读文档并递归调用自身。因此,这些LLMs现在可以作为智能体自主运行。随着这些智能体能力的提升,近期的研究推测了LLM智能体将如何影响网络安全。然而,关于LLM智能体的攻击能力,目前知之甚少。在这项工作中,我们展示了LLM智能体能够自主攻击网站,在无需人类反馈的情况下执行诸如盲注数据库模式提取和SQL注入等复杂任务。重要的是,智能体不需要事先知道漏洞。这种能力是由高度具备工具使用和利用扩展上下文能力的前沿模型独特实现的。也就是说,我们展示了GPT-4能够执行此类攻击,但现有的开源模型则不能。最后,我们展示了GPT-4能够自主发现野外网站中的漏洞。我们的发现引发了对LLM广泛部署的质疑。

英文摘要:

In recent years, large language models (LLMs) have become increasingly capable and can now interact with tools (i.e., call functions), read documents, and recursively call themselves. As a result, these LLMs can now function autonomously as agents. With the rise in capabilities of these agents, recent work has speculated on how LLM agents would affect cybersecurity. However, not much is known about the offensive capabilities of LLM agents. In this work, we show that LLM agents can autonomously hack websites, performing tasks as complex as blind database schema extraction and SQL injections without human feedback. Importantly, the agent does not need to know the vulnerability beforehand. This capability is uniquely enabled by frontier models that are highly capable of tool use and leveraging extended context. Namely, we show that GPT-4 is capable of such hacks, but existing open-source models are not. Finally, we show that GPT-4 is capable of autonomously finding vulnerabilities in websites in the wild. Our findings raise questions about the widespread deployment of LLMs.

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

↑