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

解释型恶意软件中的战术、技术与程序(TTPs):基于大语言模型的零样本生成

Tactics, Techniques, and Procedures (TTPs) in Interpreted Malware: A Zero-Shot Generation with Large Language Models

Ying Zhang, Xiaoyan Zhou, Hui Wen, Wenjia Niu, Jiqiang Liu, Haining Wang, Qiang Li

AI总结:

针对开源软件供应链中解释型恶意软件的威胁,研究提出零样本方法GENTTP,利用大语言模型从恶意软件包生成攻击TTP,经实验验证高效准确,并基于大规模TTP分析揭示了恶意软件攻击的相关规律。

摘要:

如今,开源软件(OSS)生态系统面临软件供应链(SSC)攻击的安全威胁。解释型OSS恶意软件在SSC攻击中扮演关键角色,因为攻击者拥有大量攻击向量,可诱骗用户安装恶意软件并执行恶意活动。本文将MITRE ATT&CK提出的战术、技术与程序(TTPs)引入解释型恶意软件分析,以刻画攻击生命周期的不同阶段。具体而言,我们提出GENTTP——一种提取解释型恶意软件包TTP的零样本方法。GENTTP利用大语言模型(LLMs)自动生成TTP,其输入为恶意软件包,输出为攻击向量的欺骗战术与执行战术。为验证GENTTP的有效性,我们收集了两个数据集用于评估:一个带有真实标签的数据集,以及一个大规模真实环境数据集。实验结果表明,GENTTP能够以高精度和高效率生成TTP。为展示GENTTP的价值,我们基于3700余个PyPI恶意软件的TTP构建了一个基于LLM的聊天机器人。我们进一步对恶意软件的TTP开展了大规模定量分析。主要发现包括:(1)尽管恶意软件和攻击活动不断涌现,许多OSS恶意软件包仍共享相对稳定的TTP;(2)TTP能够反映基于恶意软件的攻击的特征;(3)恶意软件背后的攻击者意图与TTP相关联。

英文摘要:

Nowadays, the open-source software (OSS) ecosystem suffers from security threats of software supply chain (SSC) attacks. Interpreted OSS malware plays a vital role in SSC attacks, as criminals have an arsenal of attack vectors to deceive users into installing malware and executing malicious activities. In this paper, we introduce tactics, techniques, and procedures (TTPs) proposed by MITRE ATT\&CK into the interpreted malware analysis to characterize different phases of an attack lifecycle. Specifically, we propose GENTTP, a zero-shot approach to extracting a TTP of an interpreted malware package. GENTTP leverages large language models (LLMs) to automatically generate a TTP, where the input is a malicious package, and the output is a deceptive tactic and an execution tactic of attack vectors. To validate the effectiveness of GENTTP, we collect two datasets for evaluation: a dataset with ground truth labels and a large dataset in the wild. Experimental results show that GENTTP can generate TTPs with high accuracy and efficiency. To demonstrate GENTTP's benefits, we build an LLM-based Chatbot from 3,700+ PyPI malware's TTPs. We further conduct a quantitative analysis of malware's TTPs at a large scale. Our main findings include: (1) many OSS malicious packages share a relatively stable TTP, even with the increasing emergence of malware and attack campaigns, (2) a TTP reflects characteristics of a malware-based attack, and (3) an attacker's intent behind the malware is linked to a TTP.

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

↑