arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04227cs.CR
收藏

大型语言模型能否入侵企业网络?自主假设失陷渗透测试活动目录网络

Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networks

Andreas Happe, Jürgen Cito

AI总结:

本研究探讨LLM驱动的自主系统在企业AD网络中进行假设失陷渗透测试的可行性,提出原型并在GOAD测试平台验证,证明其成本效益与自适应攻击能力,同时指出安全与信息传递局限。

摘要:

企业渗透测试常常受到高运营成本和人类专家稀缺的限制。本文研究了使用大型语言模型(LLM)驱动的自主系统来应对真实世界活动目录(AD)企业网络中这些挑战的可行性和有效性。我们引入了一个新颖的原型系统,旨在利用LLM自主地对企网络执行假设失陷渗透测试。我们的系统首次展示了完全自主、LLM驱动的框架能够在真实微软活动目录测试平台GOAD中攻陷账户。我们使用五个LLM进行了实证评估,比较了推理模型与非推理模型,并纳入了开放权重模型。通过定量和定性分析,并结合网络安全专家的见解,我们证明了自主LLM能够有效执行假设失陷模拟。关键发现突出了它们动态调整攻击策略、执行跨上下文攻击(如Web应用审计、社会工程学和非结构化数据凭据分析)以及生成特定场景攻击参数(如逼真的密码候选)的能力。该原型展现出强大的自我纠正机制,能够安装缺失工具并修正无效的命令生成。我们发现相关成本与专业人类渗透测试人员相当,且通常显著更低,这为预算受限的组织提供了普及关键安全测试的途径。然而,我们的研究也揭示了现有局限性,包括LLM“陷入兔子洞”的情况、规划与执行模块之间全面信息传递的挑战,以及需要人类监督的关键安全问题。

英文摘要:

Enterprise penetration-testing is often limited by high operational costs and the scarcity of human expertise. This paper investigates the feasibility and effectiveness of using Large Language Model (LLM)-driven autonomous systems to address these challenges in real-world Active Directory (AD) enterprise networks. We introduce a novel prototype designed to employ LLMs to autonomously perform Assumed Breach penetration-testing against enterprise networks. Our system represents the first demonstration of a fully autonomous, LLM-driven framework capable of compromising accounts within a real-life Microsoft Active Directory testbed, GOAD. We perform our empirical evaluation using five LLMs, comparing reasoning to non-reasoning models as well as including open-weight models. Through quantitative and qualitative analysis, incorporating insights from cybersecurity experts, we demonstrate that autonomous LLMs can effectively conduct Assumed Breach simulations. Key findings highlight their ability to dynamically adapt attack strategies, perform inter-context attacks (e.g., web-app audits, social engineering, and unstructured data analysis for credentials), and generate scenario-specific attack parameters like realistic password candidates. The prototype exhibits robust self-correction mechanisms, installing missing tools and rectifying invalid command generations. We find that the associated costs are competitive with, and often significantly lower than, those incurred by professional human pen-testers, suggesting a path toward democratizing access to essential security testing for organizations with budgetary constraints. However, our research also illuminates existing limitations, including instances of LLM ``going down rabbit holes'', challenges in comprehensive information transfer between planning and execution modules, and critical safety concerns that necessitate human oversight.

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

↑