in reply to Re: Re: Muse on Digital Signatures in Perl Modules
in thread Muse on Digital Signatures in Perl Modules
1984 Ken Thompson's CC Hack1This event came as quite a shock to the UNIX community. They were taken completely by surprise.
Ken Thompson described this virus2 as "the cutest program I ever wrote", and since his account of it appeared in 1984, it has become folk law of the information age. Ken modified the source of the C compiler (CC) such that the compiler would detect when it was compiling the UNIX "login" command and hence produce a compromised version of the login command which would accept either a valid password from the system password file, or a particular known password. Effectively giving him a back door to any system whose "login" binary was compiled with his compromised C compiler. This in itself results in a curious situation, despite all attempts to verify the source of the "login" command, it is impossible, once the C compiler has been compromised to build a secure "login" binary.
Not content with this level of subversion, Ken introduced a second modification to the compiler source such that it would detect when it was compiling a new version of itself. It would then incorporate both modifications into the new compiler binary.
In fact, that hypothetical code would look just like any of the thousands of other lines of code. You would never know./* Here is the EVIL VIRUS CODE that is implanted in every Perl Absolutely no peeking. This is not here. */ if (moon == color_blue && day_of_week == 5 && day == 13) delete_hard_drive(completely);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Muse on Digital Signatures in Perl Modules
by grinder (Bishop) on Jul 09, 2001 at 15:33 UTC | |
|
Re: Re^3: Muse on Digital Signatures in Perl Modules
by Anonymous Monk on Jul 09, 2001 at 10:52 UTC | |
|
Re: Re^3: Muse on Digital Signatures in Perl Modules
by zakzebrowski (Curate) on Jul 09, 2001 at 17:48 UTC | |
by John M. Dlugosz (Monsignor) on Jul 10, 2001 at 01:48 UTC |