[论文解读] From Text to MITRE Techniques: Exploring the Malicious Use of Large Language Models for Generating Cyber Attack Payloads
该论文系统地生成可实现的代码用于前十个 MITRE 技术,使用 ChatGPT 与 Google Bard,分析它们的有效性与安全措施,并讨论对攻击者和防御者的影响。
This research article critically examines the potential risks and implications arising from the malicious utilization of large language models(LLM), focusing specifically on ChatGPT and Google's Bard. Although these large language models have numerous beneficial applications, the misuse of this technology by cybercriminals for creating offensive payloads and tools is a significant concern. In this study, we systematically generated implementable code for the top-10 MITRE Techniques prevalent in 2022, utilizing ChatGPT, and conduct a comparative analysis of its performance with Google's Bard. Our experimentation reveals that ChatGPT has the potential to enable attackers to accelerate the operation of more targeted and sophisticated attacks. Additionally, the technology provides amateur attackers with more capabilities to perform a wide range of attacks and empowers script kiddies to develop customized tools that contribute to the acceleration of cybercrime. Furthermore, LLMs significantly benefits malware authors, particularly ransomware gangs, in generating sophisticated variants of wiper and ransomware attacks with ease. On a positive note, our study also highlights how offensive security researchers and pentesters can make use of LLMs to simulate realistic attack scenarios, identify potential vulnerabilities, and better protect organizations. Overall, we conclude by emphasizing the need for increased vigilance in mitigating the risks associated with LLMs. This includes implementing robust security measures, increasing awareness and education around the potential risks of this technology, and collaborating with security experts to stay ahead of emerging threats.
研究动机与目标
- 评估大模型在生成实现 MITRE ATT&CK 技术的代码方面被恶意使用的潜力。
- 评估 ChatGPT 与 Google Bard 在为在 2022 年观察到的前 10 个技术生成可实现有效载荷方面的表现。
- 比较两者在绕过安全防护所需的提示工程努力和错误处理。
- 讨论在安全测试和威胁模拟中使用 LLM 的伦理考量及潜在防御性用途。
提出的方法
- 基于 Red Report 2023(Picus Security 数据)确定在 2022 年盛行的前 10 个 MITRE 技术。
- 与 ChatGPT 和 Google Bard 互动,为每种技术生成可实现的代码场景。
- 尝试提示工程以绕过 AI 安全防护并生成代码响应。
- 在受控沙箱环境中执行生成的代码以评估可行性和错误。
- 自动化将成功的脚本推送到 GitHub 仓库以便复制和分享。
- 提供模型性能、绕过安全防护的努力以及代码生成有效性之比较分析。

实验结果
研究问题
- RQ1LLMs 是否能够为 2022 年观察到的前 10 个 MITRE 技术生成可实现的有效载荷?
- RQ2在绕过安全防护时,ChatGPT 与 Google Bard 在提示工程努力和成功率方面的比较如何?
- RQ3两种模型对常见 MITRE 技术生成的代码在质性和实用层面上的差异是什么?
- RQ4如何在安全研究和渗透测试中平衡进攻用途与防御效用?
主要发现
- 在调整提示后,ChatGPT 和 Bard 可以为若干 MITRE 技术生成代码片段。
- ChatGPT 在生成某些技术(例如 T1059、T1003、T1486)时显示出带有实例的成功,尽管某些案例需要修改提示。
- Bard 在某些技术上生成了可运行的代码片段,但在其他情形下面临更严格的 AI 指导原则,需要额外的提示策略。
- 该研究展示了潜在的风险与收益:攻击者可能加速定向攻击,而研究人员可以模拟现实攻击以改进防御。
- 作者倡议提高警惕、加强安全措施,并与安全专家合作以降低与 LLM 相关的风险。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。