arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19831cs.CR
收藏

用于恶意软件分析的可解释性内存取证方法

An Explainable Memory Forensics Approach for Malware Analysis

University Of Cagliari(卡利亚里大学);Consorzio Interuniversitario Nazionale per l’Informatica (CINI)(意大利国家大学信息学联盟)

Silvia Lucia Sanna, Davide Maiorca, Giorgio Giacinto

AI总结:

本文提出了一种基于AI的可解释内存取证方法,利用大语言模型解释内存分析结果并提取入侵指标,提升恶意软件分析的可解释性和实用性。

摘要:

内存取证是一种有效的分析活体离线恶意软件的方法,包括那些使用逃避、混淆、反分析和隐写技术的威胁。通过捕获 volatile 系统状态,内存分析能够恢复诸如解密载荷、执行的命令、凭据和加密密钥等临时特征,这些特征通常无法通过静态或传统动态分析获得。虽然已经提出了几种自动模型用于从内存中检测恶意软件,但它们的输出通常缺乏可解释性,而内存分析仍然严重依赖专家对复杂工具输出的检查,例如由 Volatility 生成的输出。在本文中,我们提出了一种可解释、AI 辅助的内存取证方法,利用通用大型语言模型(LLMs)将内存分析输出解释为人类可读的形式,并自动提取有意义的入侵指标(IoCs),在某些情况下检测到比当前最先进的工具更多的 IoCs。我们将所提出的方法应用于 Windows 和 Android 恶意软件,比较完整的 RAM 获取与目标进程内存转储,并突出它们的互补性。此外,我们展示了 LLMs 如何通过解释分析结果、关联特征和证明恶意软件分类来支持专家和非专家分析人员。最后,我们展示了由 LLMs 在内核辅助设置和分析过程中协助的人工参与工作流程,可以提高可重复性并减少操作复杂性,从而加强 AI 驱动的内存取证在现代恶意软件调查中的实际应用。

英文摘要:

Memory forensics is an effective methodology for analyzing living-off-the-land malware, including threats that employ evasion, obfuscation, anti-analysis, and steganographic techniques. By capturing volatile system state, memory analysis enables the recovery of transient artifacts such as decrypted payloads, executed commands, credentials, and cryptographic keys that are often inaccessible through static or traditional dynamic analysis. While several automated models have been proposed for malware detection from memory, their outputs typically lack interpretability, and memory analysis still relies heavily on expert-driven inspection of complex tool outputs, such as those produced by Volatility. In this paper, we propose an explainable, AI-assisted memory forensics approach that leverages general-purpose large language models (LLMs) to interpret memory analysis outputs in a human-readable form and to automatically extract meaningful Indicators of Compromise (IoCs), in some circumstances detecting more IoCs than current state-of-the-art tools. We apply the proposed methodology to both Windows and Android malware, comparing full RAM acquisition with target-process memory dumping and highlighting their complementary forensic value. Furthermore, we demonstrate how LLMs can support both expert and non-expert analysts by explaining analysis results, correlating artifacts, and justifying malware classifications. Finally, we show that a human-in-the-loop workflow, assisted by LLMs during kernel-assisted setup and analysis, improves reproducibility and reduces operational complexity, thereby reinforcing the practical applicability of AI-driven memory forensics for modern malware investigations.

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

↑