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

AI生成的PowerShell恶意软件:一个实验框架与数据集

AI-Generated PowerShell Malware: An Experimental Framework and Dataset

Gran Sasso Science Institute(格兰萨索科学研究所)

Luciano Pianese, Vittorio Orbinato, Pietro Liguori, Roberto Natella

AI总结:

提出一个评估LLM生成PowerShell恶意软件的实验框架,包含动态分析沙箱和人工标注的真实恶意软件数据集,发现LLM生成的恶意软件与真实样本在触发OS恶意事件上高度相似。

摘要:

生成式AI已成为重大的网络安全威胁,最近的几次攻击活动利用LLM通过PowerShell等脚本语言生成恶意代码。因此,对于网络安全分析师来说,研究AI代码生成器的攻击能力至关重要。在本文中,我们提出了一个评估LLM生成的PowerShell恶意软件的实验框架,其中包括一种用于动态分析AI生成恶意软件的新型沙箱方法。此外,我们提出了一个新颖的、人工标注的真实世界PowerShell恶意软件数据集,该数据集以自然语言注释,以辅助LLM的训练和评估。最后,本研究评估了适用于PowerShell恶意软件生成的宽松、开源权重LLM。我们的结果显示,在触发的操作系统恶意事件方面,真实恶意软件与LLM生成的恶意软件之间具有高度相似性,中位Jaccard指数为84.5%,48.4%的实例实现了完全重叠。

英文摘要:

Generative AI has emerged as a significant cybersecurity threat, with several recent attack campaigns leveraging LLMs to generate code for malicious purposes via scripting languages such as PowerShell. Consequently, for cybersecurity analysts, it is imperative to investigate the offensive capabilities of AI code generators. In this paper, we propose an experimental framework to assess LLM-generated PowerShell malware, which comprises a novel sandbox approach for dynamic analysis of AI-generated malware. Furthermore, we present a novel, manually curated dataset of real-world PowerShell malware, annotated in natural language to assist the training and evaluation of LLMs. Finally, this study evaluates permissive, open-weight LLMs adapted to PowerShell malware generation. Our results reveal a high degree of similarity between real malware and LLM-generated ones in terms of triggered OS malicious events, with a median Jaccard index of 84.5% and 48.4% of instances achieving complete overlap.

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

↑