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

AppPoet:基于大语言模型的多视图提示工程安卓恶意软件检测

AppPoet: Large Language Model based Android malware detection via multi-view prompt engineering

University of Science and Technology of China(中国科学技术大学);Anhui University(安徽大学)

Wenxiang Zhao, Juntao Wu, Zhaoyi Meng

AI总结:

针对现有安卓恶意软件检测方法语义挖掘不足、可解释性弱的问题,提出多视图系统AppPoet,结合LLM与DNN实现97.15%准确率的检测并生成可读报告,性能优于基线方法。

摘要:

由于安卓应用数量庞大、功能多样且行为语义复杂,攻击者可采用多种策略将真实攻击意图隐藏在合法功能之中。然而,众多基于学习的方法在行为语义信息挖掘方面存在局限,进而制约了安卓恶意软件检测的准确率与效率。此外,现有多数基于学习的方法可解释性较弱,无法为研究人员提供有效、可读的检测报告。受大语言模型(Large Language Models, LLMs)在自然语言理解领域取得的成功启发,我们提出AppPoet——一种大语言模型辅助的多视图安卓恶意软件检测系统。首先,AppPoet采用静态方法全面采集应用特征,并构建多种观测视图;随后,借助我们精心设计的多视图提示模板,引导大语言模型生成各视图的功能描述与行为摘要,实现对视图的深度语义分析;最后,我们协同融合多视图信息,通过深度神经网络(deep neural network, DNN)分类器高效、准确地检测恶意软件,并生成人类可读的诊断报告。实验结果表明,该方法的检测准确率达97.15%,F1值达97.21%,性能优于基线方法。此外,案例研究验证了所生成诊断报告的有效性。

英文摘要:

Due to the vast array of Android applications, their multifarious functions and intricate behavioral semantics, attackers can adopt various tactics to conceal their genuine attack intentions within legitimate functions. However, numerous learning-based methods suffer from a limitation in mining behavioral semantic information, thus impeding the accuracy and efficiency of Android malware detection. Besides, the majority of existing learning-based methods are weakly interpretive and fail to furnish researchers with effective and readable detection reports. Inspired by the success of the Large Language Models (LLMs) in natural language understanding, we propose AppPoet, a LLM-assisted multi-view system for Android malware detection. Firstly, AppPoet employs a static method to comprehensively collect application features and formulate various observation views. Then, using our carefully crafted multi-view prompt templates, it guides the LLM to generate function descriptions and behavioral summaries for each view, enabling deep semantic analysis of the views. Finally, we collaboratively fuse the multi-view information to efficiently and accurately detect malware through a deep neural network (DNN) classifier and then generate the human-readable diagnostic reports. Experimental results demonstrate that our method achieves a detection accuracy of 97.15% and an F1 score of 97.21%, which is superior to the baseline methods. Furthermore, the case study evaluates the effectiveness of our generated diagnostic reports.

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

↑