Is Ken Thompson's compiler hack still a threat?
programmers.stackexchange.com
Is Ken Thompson's compiler hack still a threat?
1–10 of 29 posts
Re: Is Ken Thompson's compiler hack still a threat?
#2Re: Is Ken Thompson's compiler hack still a threat?
#3Did he really do that?
Re: Is Ken Thompson's compiler hack still a threat?
#4Did he really do that?
Re: Is Ken Thompson's compiler hack still a threat?
#5If I was running a foreign intelligence service (or a sophisticated mafia operation (potato, potato)), I'd target trusted members of the communities around popular open source projects. A high ranking committer to a library that Rails depends on slips in a bit of clever code in a fix for a legitimate problem, and I can compromise a large number of websites.
Re: Is Ken Thompson's compiler hack still a threat?
#6Did he really do that?
Better: he announced the exploit in the talk he gave upon receiving the Turing Award: http://cm.bell-labs.com/who/ken/trust.html
Re: Is Ken Thompson's compiler hack still a threat?
#7Re: Is Ken Thompson's compiler hack still a threat?
#8Earlier quoted context omitted.
Better: he announced the exploit in the talk he gave upon receiving the Turing Award: http://cm.bell-labs.com/who/ken/trust.html
And, after he first mentioned the exploit, and before he achieved the award, the AT&T lawyers made him say publicly that he didn't really do that.
Re: Is Ken Thompson's compiler hack still a threat?
#9When I read the title I thought maybe Ken Thompson's compiler hack was Go (golang), which he co-created, and I was going to hear a bunch of Python or Node fans talk about why Go is not a threat :)
Re: Is Ken Thompson's compiler hack still a threat?
#10A variation of the threat very much exists: Do you know (meaning, there are no unknown unknowns) that no piece, anywhere in your toolchain (OS, compiler, library, framework, buildtool, CI etc), contains malicious code? At the time Thompson made this comment, he talked about the C compiler because it was the one bit of shared code everything else depended on. Today, the attack surface is much, much larger. If I was ru…
What Thompson describes is a whole lot more devious and difficult to detect.