🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.security.misc
5 messages
5 total messages Started by Keith Fuller Wed, 18 Nov 1992 20:27
early Trojan Horse
#752
Author: Keith Fuller
Date: Wed, 18 Nov 1992 20:27
17 lines
1162 bytes
I heard that early UNIX systems came with a Trojan Horse.
As I remember, the C compiler would compile one of the utilities
in a way that would give a knowledgable person entry into any UNIX
system.

Does anyone know anything about this?
Like some other people who are asking such questions,
I am indeed writing a term paper on UNIX security.

THANKS!

______________________________________________________________________________
keithf@mcs.kent.edu
Keith Fuller
"What's up?"          Obtaining an MA in        Ich bin ein Virus.
"Gimme five!"         Computer Science from     Mach' mit und kopiere
"Have a nice day!"    Kent State University     mich in Deine .signature.
Re: early Trojan Horse
#768
Author: Kevin Walsh
Date: Thu, 19 Nov 1992 15:15
22 lines
1279 bytes
In article <1992Nov18.202710.9652@mcs.kent.edu> keithf@Nimitz.mcs.kent.edu (Keith Fuller) writes:
>
> I heard that early UNIX systems came with a Trojan Horse.
> As I remember, the C compiler would compile one of the utilities
> in a way that would give a knowledgable person entry into any UNIX
> system.
> 
> Does anyone know anything about this?
> Like some other people who are asking such questions,
> I am indeed writing a term paper on UNIX security.
> 
As I remember it, cc used to recognize a peice of code as being
from the login program.  When you compiled login, the resulting
executable would have a back door login in it.

You could log in as "bell" and get in as root.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/     K e v i n  W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/      kev@dsbc.icl.co.uk
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
Re: early Trojan Horse
#765
Author: Craig Presson
Date: Thu, 19 Nov 1992 16:13
28 lines
1651 bytes
In article <1992Nov18.202710.9652@mcs.kent.edu> keithf@Nimitz.mcs.kent.edu (Keith Fuller) writes:

   I heard that early UNIX systems came with a Trojan Horse.
   As I remember, the C compiler would compile one of the utilities
   in a way that would give a knowledgable person entry into any UNIX
   system.

   Does anyone know anything about this?

This is described in "Reflections on Trusting Trust", the ACM Turing
Award lecture by Ken Thompson, which appeared in Communications  of
the ACM, Vol. 27 # 8, August 1984. This should be required reading for
every CS student.

   Like some other people who are asking such questions,
   I am indeed writing a term paper on UNIX security.

Look at:
Farrow, _Unix System Security_, Addison-Wesley 1991
Garfinkel and Spafford, _Practical Unix Security_, O'Reilly &
Associates, 1991.

Sufficient references in both to get you as deep into the literature
as you have time for. If you want to make your paper stand out, you
might want to actually implement some of the suggestions instead of
just digesting and restating.

-- Craig Presson
Re: early Trojan Horse
#770
Author: Steve McDowell
Date: Thu, 19 Nov 1992 19:40
25 lines
1601 bytes
In message <956@dsbc.icl.co.uk> kev@dsbc.icl.co.uk (Kevin Walsh) writes:
>In article <1992Nov18.202710.9652@mcs.kent.edu> keithf@Nimitz.mcs.kent.edu (Keith Fuller) writes:
>
>> I heard that early UNIX systems came with a Trojan Horse.
>> As I remember, the C compiler would compile one of the utilities
>> in a way that would give a knowledgable person entry into any UNIX
>> system.
> 
> As I remember it, cc used to recognize a peice of code as being
> from the login program.  When you compiled login, the resulting
> executable would have a back door login in it.

Well, I don't know if that was ever implemented and I'd be very surprised if it
ever made it out of the lab if it was. 

This means of attack was discussed by Dennis Ritchie in an early papaer (mid-70's) 
on UNIX security as an option that's available to would-be-crackers with source code. 
If I remember correctly, the paper was distributed with the Version 7 manual set. 

-- 
Steve McDowell             . . . . o o o o o 		Opinions are 
Exlog, Inc.	                  _____      o     	mine, not my 
mcdowell@exlog.com      _____====  ]OO|_n_n__][.    	employers..
		       [_________]_|__|________)<   
Re: early Trojan Horse
#808
Author: Gustavo Estrella
Date: Fri, 20 Nov 1992 19:20
33 lines
2132 bytes
In article <1992Nov19.194057.19996@exlog.com> mcdowell@exlog.com (Steve McDowell) writes:
>
>In message <956@dsbc.icl.co.uk> kev@dsbc.icl.co.uk (Kevin Walsh) writes:
>>In article <1992Nov18.202710.9652@mcs.kent.edu> keithf@Nimitz.mcs.kent.edu (Keith Fuller) writes:
>>
>>> I heard that early UNIX systems came with a Trojan Horse.
>>> As I remember, the C compiler would compile one of the utilities
>>> in a way that would give a knowledgable person entry into any UNIX
>>> system.
>> 
>> As I remember it, cc used to recognize a peice of code as being
>> from the login program.  When you compiled login, the resulting
>> executable would have a back door login in it.
>
>Well, I don't know if that was ever implemented and I'd be very surprised if it
>ever made it out of the lab if it was. 
>
>This means of attack was discussed by Dennis Ritchie in an early papaer (mid-70's) 
>on UNIX security as an option that's available to would-be-crackers with source code. 
>If I remember correctly, the paper was distributed with the Version 7 manual set. 

I remember reading somewhere aboit this.  As I recall it, in addition to the 
cc program looking for the login code it would also look for a recompilation
of the cc program itself.  This way, as people would become suspisious and 
recompile the compiler with clean source, it would include the code to 
look for the login code.

I though that the code spread outside of the Bell Labs.

--------------------------------------------------------------------------
Gus Estrella   - Groupe Bull Worldwide Information Systems
--------------------------------------------------------------------------
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads