Re: getting around Ken Thompson's compiler Trojan
From: Barry Margolin (barmar@genuity.net)
Date: 01/23/03
- Next message: Barry Margolin: "Re: getting around Ken Thompson's compiler Trojan"
- Previous message: stanislav shalunov: "Re: getting around Ken Thompson's compiler Trojan"
- In reply to: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Next in thread: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Reply: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Barry Margolin <barmar@genuity.net> Date: Wed, 22 Jan 2003 23:29:53 GMT
In article <sAFX9.52$wc3.38152369@newssvr11.news.prodigy.com>,
Alun Jones <alun@texis.com> wrote:
>It is all going to depend on how the "am I compiling the compiler" test works.
> First, you're going to see the object files built with some token parsing,
>resulting in an object file that likely contains exactly the same object code
>as the un-obfuscated version produced, with a symbol table for external
>linking. If the test checks this object code, your obfuscations do nothing of
>any use, because the test looks for the object code, not the source.
The recognizer obviously can't look for "exactly the same object code",
since then it would fail to work if you were compiling a new revision of
the compiler. The recognizer clearly has to perform a fuzzy match, because
the goal is that the Trojan be propagated to all future versions of the
compiler. Not only does it have to do a fuzzy recognition, but it also has
to be able to figure out where to reinsert the Trojan code in the new
version.
It's always been clear to me that this is just a thought experiment,
intended to express the theoretical limits of security. It's not a
realistic project, because the technology it requires to recognize the
compiler and reinsert the Trojan after significant changes doesn't exist.
I can't imagine that a Trojan that was insert into with GCC 1.x would still
work in GCC 2.x.
-- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: Barry Margolin: "Re: getting around Ken Thompson's compiler Trojan"
- Previous message: stanislav shalunov: "Re: getting around Ken Thompson's compiler Trojan"
- In reply to: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Next in thread: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Reply: Alun Jones: "Re: getting around Ken Thompson's compiler Trojan"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|