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

探索用于Android恶意软件语义分析与分类的大型语言模型

Exploring Large Language Models for Semantic Analysis and Categorization of Android Malware

Louisiana State University(路易斯安那州立大学)

Brandon J Walton, Mst Eshita Khatun, James M Ghawaly, Aisha Ali-Gombe

AI总结:

本文提出基于GPT-4o-mini的\msp,利用分层摘要链与提示工程实现Android恶意软件语义分析、分类及恶意代码定位,分类准确率最高达77%。

摘要:

恶意软件分析是检查和评估恶意软件的功能、来源及潜在影响的复杂过程。这一艰巨过程通常涉及剖析软件,以理解其组件、感染向量、传播机制和有效载荷。多年来,恶意软件的深度逆向工程变得越来越繁琐,这主要是由于现代恶意代码库的快速演进和复杂化。从本质上讲,分析人员需要在紧迫的时间约束下,在零日恶意软件的复杂性中寻找那根难以捉摸的大海捞针之针。因此,本文探索利用大型语言模型(LLM)进行语义化恶意软件分析,以加快对已知和新样本的分析。基于GPT-4o-mini模型构建的\msp旨在通过分层分级摘要链和策略性提示工程来增强Android恶意软件分析。此外,\msp执行恶意软件分类,区分潜在恶意软件与良性应用,从而在恶意软件逆向工程过程中节省时间。尽管没有针对Android恶意软件分析进行微调,但我们证明,通过优化且先进的提示工程,\msp可以实现高达77%的分类准确率,同时在功能、类和包级别提供高度稳健的摘要。此外,利用从包级别到功能级别对摘要进行反向追踪,使我们能够准确定位导致恶意行为的精确代码片段。

英文摘要:

Malware analysis is a complex process of examining and evaluating malicious software's functionality, origin, and potential impact. This arduous process typically involves dissecting the software to understand its components, infection vector, propagation mechanism, and payload. Over the years, deep reverse engineering of malware has become increasingly tedious, mainly due to modern malicious codebases' fast evolution and sophistication. Essentially, analysts are tasked with identifying the elusive needle in the haystack within the complexities of zero-day malware, all while under tight time constraints. Thus, in this paper, we explore leveraging Large Language Models (LLMs) for semantic malware analysis to expedite the analysis of known and novel samples. Built on GPT-4o-mini model, \msp is designed to augment malware analysis for Android through a hierarchical-tiered summarization chain and strategic prompt engineering. Additionally, \msp performs malware categorization, distinguishing potential malware from benign applications, thereby saving time during the malware reverse engineering process. Despite not being fine-tuned for Android malware analysis, we demonstrate that through optimized and advanced prompt engineering \msp can achieve up to 77% classification accuracy while providing highly robust summaries at functional, class, and package levels. In addition, leveraging the backward tracing of the summaries from package to function levels allowed us to pinpoint the precise code snippets responsible for malicious behavior.

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

↑