arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.02097cs.CRcs.OScs.SE
收藏

Bomfather:一个基于 eBPF 的内核级监控框架,用于准确识别现代软件供应链中未知、未使用和动态加载的依赖项

Bomfather: An eBPF-based Kernel-level Monitoring Framework for Accurate Identification of Unknown, Unused, and Dynamically Loaded Dependencies in Modern Software Supply Chains

Naveen Srinivasan, Nathan Naveen, Neil Naveen

AI总结:

本文提出基于 eBPF 的内核级框架 Bomfather,通过实时透明捕获软件构建依赖并计算加密哈希与构建 Merkle 树,解决传统依赖跟踪不准确的问题,生成更精确的 SBOMs 和 ADGs,降低供应链风险。

摘要:

传统依赖跟踪方法的不准确性经常破坏现代软件供应链的安全性和完整性。本文提出了一个内核级框架,利用 extended Berkeley Packet Filter (eBPF) 实时透明地捕获软件构建依赖。我们的方法通过计算编译期间访问文件的加密哈希,并基于观察到的文件内容构建 Merkle 树,提供了构建时依赖的防篡改内在标识符。与传统的静态分析相比,这种内核级方法考虑了条件编译、死代码、选择性库使用和动态依赖,从而生成更精确的 Software Bills of Materials (SBOMs) 和 Artifact Dependency Graphs (ADGs)。我们说明了现有的 SBOMs 可能如何遗漏动态加载或临时依赖,并讨论了内核级追踪如何缓解这些遗漏。所提出的系统通过提供可独立验证的构建来源内核级证据,增强了软件制品的可信度,从而降低了供应链风险并促进了更准确的漏洞管理。

英文摘要:

Inaccuracies in conventional dependency-tracking methods frequently undermine the security and integrity of modern software supply chains. This paper introduces a kernel-level framework leveraging extended Berkeley Packet Filter (eBPF) to capture software build dependencies transparently in real time. Our approach provides tamper-evident, intrinsic identifiers of build-time dependencies by computing cryptographic hashes of files accessed during compilation and constructing Merkle trees based on the observed file content. In contrast to traditional static analysis, this kernel-level methodology accounts for conditional compilation, dead-code, selective library usage, and dynamic dependencies, yielding more precise Software Bills of Materials (SBOMs) and Artifact Dependency Graphs (ADGs). We illustrate how existing SBOMs may omit dynamically loaded or ephemeral dependencies and discuss how kernel-level tracing can mitigate these omissions. The proposed system enhances trustworthiness in software artifacts by offering independently verifiable, kernel-level evidence of build provenance, thereby reducing supply chain risks and facilitating more accurate vulnerability management.

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

↑