Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Reflections on Trusting Trust (1984) [pdf]

Ken Thompson's 1984 Turing Award lecture demonstrates a self-replicating backdoor hidden in a C compiler, making trust in software fundamentally unverifiable from source code alone.

Background

- Ken Thompson's 1984 Turing Award lecture, now a legendary paper in computer security. Thompson co-created Unix and the C programming language at Bell Labs. - The paper demonstrates a "trusting trust" attack: a malicious compiler can inject a backdoor into any program it compiles, including future versions of itself, while removing all traces of the exploit from its own source code. - This means you cannot trust software simply by auditing its source code, because the compiler that built the software may have been compromised in a way that is invisible at the source level. - The attack is not a theoretical parlor trick — Thompson wrote a working proof of concept — and it has inspired real-world supply-chain attacks like the 2015 XcodeGhost incident and the 2024 xz backdoor. - The paper coined the phrase "reflections on trusting trust" and remains a foundational argument for reproducible builds, verified compilers, and cryptographic signing of software supply chains.

Related stories

  • The author reflects on their childhood computing experiences in the 1980s, including using IBM PC compatibles with floppy disks to run MS-DOS and LOGO at school, writing programs on paper due to limited computer time, and playing early games like Moon Bugs, Space Invaders, and Digger. These formative experiences, filled with wonder and exploration, remain vivid memories decades later.