按年被提到
20262026 · 3 次2026
安全、隐私与密码学›调试、模糊测试与供应链·arXiv:2607.24888 · cs.CR

Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation

通过二进制篡改对整个 Linux 发行版实施信任之信任(trusting-trust)攻击
Julien Malka, Aman Sharma, Martin Monperrus, Stefano Zacchiroli, Théo Zimmermann · 2026

绕开编译器,用被篡改的 strip 污染整个 NixOS 引导链

开始阅读 ↗PDFalphaXiv 讨论
被提及 · 3 人首次 2026-07-29 · 最近 2026-09-05
3不同的人
3活跃月份
3讨论串
0被引(OpenAlex)

论文表明 Ken Thompson 的 trusting-trust 攻击并非编译器独有。作者围绕 GNU strip 这个既不检查也不生成源码的普通构建工具,仅靠对成品 ELF 文件的操作就构造了完整攻击。在 NixOS 的引导(bootstrap)中,二进制种子里一个被篡改的 strip 会植入有效载荷,并逐代传播,即使种子离开依赖闭包后仍留存于最终标准环境。在真实的 nixpkgs 版本上,该攻击能无故障地构建出完整图形安装器,并给几乎其中所有二进制文件植入后门。

HN 为什么提它

输入没有给出具体评论摘录,只知道有 3 位评论者在 3 个不同月份提到它,具体讨论角度无法确定。

方法难度 4 / 5约 35 分钟经得起时间
读之前最好知道
1Ken Thompson 的 trusting-trust 攻击
2ELF 二进制格式与 strip 工具
3Nix / NixOS 包管理与引导(bootstrap)
4可重现构建(reproducible builds)与供应链安全

HN 书评

没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)
讨论串评论wiml · 2026-09

“From TFA: > Ken Thompson's trusting-trust attack [...] is widely regarded as a threat specific to compilers. We show that it is not And yet, from Reflections On Trusting Trust: > In demonstrating the possibility of this kind of attack, I picked on the C compiler. I could have picked on any program-handling program such as an assembler, a loader, or eve…”

Trusting-Trust Attack against an Entire Linux Distribution原评论 ↗
讨论串评论Jach · 2026-09

“I'm glad they mention Wheeler's work briefly in section 7.2, since it provides a general counter to the trusting-trust attack that a lot of people seem to not know about. They dismiss it as not applying in this case, but I'm not really convinced by their argument. It's true if you only replace the compiler and run in the same environment then it won't hel…”

Trusting-Trust Attack against an Entire Linux Distribution原评论 ↗
讨论串评论nickpsecurity · 2026-09

“The solution to this in the Orange Book (TCSEC) days in the 1980's-1990's was a system fully traceable from requirements to code, proven to embed a security policy, and analyzable and buildable from source locally by the customer using existing, trusted tools. Eventually, people added hashes for the code and data. So, your program that combines source fi…”

Trusting-Trust Attack against an Entire Linux Distribution原评论 ↗
被提交为 story · 3 次