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

UEFI 内存取证:一种 UEFI 威胁分析框架

UEFI Memory Forensics: A Framework for UEFI Threat Analysis

Ben Gurion University of the Negev(内盖夫本-古里安大学)

Kalanit Suzan Segal, Hadar Cochavi Gorelik, Oleg Brodt, Yuval Elbahar, Yuval Elovici, Asaf Shabtai

AI总结:

针对 UEFI 运行时易失性内存取证工具的缺失,提出包含内存获取工具 UEFIMemDump 和分析模块集 UEFIDumpAnalysis 的框架,能检测函数指针挂钩、内联挂钩、恶意镜像加载及基于 gadget 的控制流操纵等恶意活动,并成功检测 Thunderstrike、CosmicStrand 和 Glupteba 启动套件。

摘要:

现代计算系统依赖于统一可扩展固件接口(UEFI),它已取代传统的基本输入/输出系统(BIOS)作为现代启动过程的固件标准。尽管 UEFI 代表了系统固件的重大进步,但它越来越多地成为威胁行为者的目标,他们试图利用其执行环境并利用其持久性机制。虽然已经对 UEFI 组件进行了一些安全相关的分析——主要通过调试和运行时行为测试——但据我们所知,之前没有研究专门解决捕获和分析易失性 UEFI 运行时内存以检测预操作系统阶段恶意利用的问题。UEFI 取证工具的这一空白限制了在预操作系统环境中进行深入安全分析的能力。考虑到内存取证被广泛认为是现代事件响应的基础,这一点尤其令人惊讶,这体现在 Rekall、Volatility 和 MemProcFS 等操作系统级内存分析框架的流行上。为了解决缺乏操作系统级以下内存取证的问题,我们引入了一个 UEFI 内存取证框架。所提出的框架由两个组件组成:UEFIMemDump,一个内存获取工具;以及 UEFIDumpAnalysis,一个可扩展的分析模块集合,能够检测恶意活动,如函数指针挂钩、内联挂钩、恶意镜像加载和基于 gadget 的控制流操纵。我们的概念验证实现展示了该框架检测现代 UEFI 威胁的能力,例如 Thunderstrike、CosmicStrand 和 Glupteba 启动套件。通过提供开源解决方案,我们的工作使研究人员和从业者能够调查固件级威胁,开发额外的分析模块,并通过 UEFI 内存分析推进整体操作系统级以下的安全性。

英文摘要:

Modern computing systems rely on the Unified Extensible Firmware Interface (UEFI), which has replaced the legacy Basic Input/Output System (BIOS) as the firmware standard for the modern boot process. Although the UEFI represents a significant advancement in system firmware, it is increasingly targeted by threat actors seeking to exploit its execution environment and take advantage of its persistence mechanisms. While some security-related analysis of UEFI components has been performed--primarily via debugging and runtime behavior testing--to the best of our knowledge, no prior study has specifically addressed the capturing and analysis of volatile UEFI runtime memory to detect malicious exploitation during the pre-OS phase. This gap in UEFI forensic tools limits the ability to conduct in-depth security analysis in pre-OS environments. Such a gap is particularly surprising, given that memory forensics is widely regarded as foundational to modern incident response, as reflected by the popularity of above-OS memory analysis frameworks, such as Rekall, Volatility, and MemProcFS. To address the lack of below-OS memory forensics, we introduce a framework for UEFI memory forensics. The proposed framework consists of two components: UEFIMemDump, a memory acquisition tool, and UEFIDumpAnalysis, an extendable collection of analysis modules capable of detecting malicious activities such as function pointer hooking, inline hooking, malicious image loading, and gadget-based control-flow manipulation. Our proof-of-concept implementation demonstrates the framework's ability to detect modern UEFI threats, such as Thunderstrike, CosmicStrand, and Glupteba bootkits. By providing an open-source solution, our work enables researchers and practitioners to investigate firmware-level threats, develop additional analysis modules, and advance overall below-OS security through UEFI memory analysis.

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

↑