内存取证是一种有效的分析活体离线恶意软件的方法,包括那些使用逃避、混淆、反分析和隐写技术的威胁。通过捕获 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.
Learning Explainable Representations of Malware Behavior
University of Potsdam(波茨坦大学);Cisco Systems(思科系统公司)
我们解决了在网络遥测日志中识别恶意软件的问题,并提供了\emph{indicators of compromise} -识别威胁的行为模式的可理解的解释。在我们的系统中,一个专门的检测器阵列抽象的网络流数据到可理解的\emph{network events}在第一步。我们开发了一个神经网络来处理这一系列事件,并识别特定的威胁,恶意软件家族和恶意软件的广泛类别。然后,我们使用\emph{integrated-gradients}方法来突出显示共同构成威胁特征行为模式的事件。我们比较了基于CNN、LSTM和Transformers的网络架构,并在大规模遥测数据上实验性地探索了无监督预训练的有效性。我们演示了该系统如何检测njRAT和其他恶意软件的行为模式的基础上。
Accelerating Incident Response: A Hybrid Approach for Data Breach Reporting
IMT School for Advanced Studies Lucca(卢卡高等研究学院);University of Cagliari(卡利亚里大学);University of Salerno(萨莱诺大学);Sant’Anna School of Advanced Studies(圣安娜高等研究学院);University of Camerino(卡梅里诺大学)
XAI-CF -- Examining the Role of Explainable Artificial Intelligence in Cyber Forensics
Department of Information Security, College of Computer Science and Engineering, University of Ha’il, Ha’il, Saudi Arabia(信息安全系,计算机科学与工程学院,哈伊尔大学,沙特阿拉伯)
MalVol-25: A Diverse, Labelled and Detailed Volatile Memory Dataset for Malware Detection and Response Testing and Validation
London Metropolitan University(伦敦 Metropolitan 大学);Cyber Security Research Centre(网络安全研究中心);Cybersecurity Institute(网络安全研究所);Department of Computer Science(计算机科学系)
SPECTRE: A Hybrid System for an Adaptative and Optimised Cyber Threats Detection, Response and Investigation in Volatile Memory
University of Westminster(威斯敏斯特大学);London Metropolitan University(伦敦城市大学);University of Liverpool(利物浦大学);Staffordshire University(斯塔福德郡大学);Royal Holloway, University of London(伦敦大学皇家霍洛威学院)
Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
Virelya Intelligence Research Labs(Virelya智能研究实验室);Google(谷歌)