“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 through Binary Manipulation
绕开编译器,用被篡改的 strip 污染整个 NixOS 引导链
论文表明 Ken Thompson 的 trusting-trust 攻击并非编译器独有。作者围绕 GNU strip 这个既不检查也不生成源码的普通构建工具,仅靠对成品 ELF 文件的操作就构造了完整攻击。在 NixOS 的引导(bootstrap)中,二进制种子里一个被篡改的 strip 会植入有效载荷,并逐代传播,即使种子离开依赖闭包后仍留存于最终标准环境。在真实的 nixpkgs 版本上,该攻击能无故障地构建出完整图形安装器,并给几乎其中所有二进制文件植入后门。
输入没有给出具体评论摘录,只知道有 3 位评论者在 3 个不同月份提到它,具体讨论角度无法确定。
HN 书评
没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)“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…”
“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 a Linux Distribution Through Binary ↗sbulaev · 2026-07-29 · 1 分
- Trusting-Trust Attack Against a Linux Distribution Through Binary Manipulation ↗Tomte · 2026-08-17 · 2 分
- Trusting-Trust Attack against an Entire Linux Distribution ↗signa11 · 2026-09-05 · 241 分