Russ Cox 10/26/2023

Running the “Reflections on Trusting Trust” Compiler

Read Original

This technical article details an experiment running the actual code from Ken Thompson's seminal 1983 lecture 'Reflections on Trusting Trust.' It explains and demonstrates the three-step process of creating a self-reproducing program (quine), how compilers can learn and embed knowledge, and ultimately how a compiler binary can be modified to insert a backdoor (like in a login program) with no trace in the source code, highlighting fundamental and historical issues in software supply chain security.

Running the “Reflections on Trusting Trust” Compiler

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week