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

构建代码仍然是代码:寻找管道污染的解药

Build Code is Still Code: Finding the Antidote for Pipeline Poisoning

University of Central Florida(中佛罗里达大学)

Brent Pappas, Paul Gazzillo

AI总结:

本文提出开发阶段隔离策略,通过将构建系统建模为程序代码以增强其抗污染能力,并展示了Foreman工具在检测XZ Utils攻击中的有效性。

摘要:

开源C代码支撑着社会的计算基础设施。数十年的工作帮助强化了C代码以抵御攻击者,但C项目不仅仅由C代码组成。C项目还包含构建系统代码,用于自动化开发任务,如编译、测试和打包。这些构建系统对于软件供应链安全至关重要,但容易被污染,XZ Utils和SolarWinds攻击就是近期的例子。现有技术试图通过验证软件依赖项来强化软件供应链,但此类方法忽略了构建系统本身。同样,经典的软件安全检查器只分析和监控程序代码,不涉及构建系统代码。此外,被污染的构建系统可以轻易绕过检测程序代码漏洞的工具,通过禁用此类检查。我们提出了开发阶段隔离,一种新的策略,通过将构建自动化的信息和行为权限建模为程序代码,以强化构建系统免受污染。我们已经将这种方法原型化为一个名为Foreman的工具,成功检测并警告了XZ Utils攻击中涉及的被污染的测试文件。我们概述了未来计划,通过自动检查开发阶段隔离来保护 against pipeline poisoning。我们设想一个未来,构建系统安全检查器将像程序代码检查器一样普遍。

英文摘要:

Open source C code underpins society's computing infrastructure. Decades of work has helped harden C code against attackers, but C projects do not consist of only C code. C projects also contain build system code for automating development tasks like compilation, testing, and packaging. These build systems are critcal to software supply chain security and vulnerable to being poisoned, with the XZ Utils and SolarWinds attacks being recent examples. Existing techniques try to harden software supply chains by verifying software dependencies, but such methods ignore the build system itself. Similarly, classic software security checkers only analyze and monitor program code, not build system code. Moreover, poisoned build systems can easily circumvent tools for detecting program code vulnerabilities by disabling such checks. We present development phase isolation, a novel strategy for hardening build systems against poisoning by modeling the information and behavior permissions of build automation as if it were program code. We have prototyped this approach as a tool called Foreman, which successfully detects and warns about the poisoned test files involved in the XZ Utils attack. We outline our future plans to protect against pipeline poisoning by automatically checking development phase isolation. We envision a future where build system security checkers are as prevalent as program code checkers.

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

↑