home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / security / misc / 2578 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.7 KB

  1. Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!sol.ctr.columbia.edu!news.unomaha.edu!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.security.misc
  4. Subject: Re: Unix Viruses. Are there any??
  5. Date: 22 Jan 1993 07:45:12 -0600
  6. Organization: Kansas State University
  7. Lines: 26
  8. Message-ID: <1jotp8INNiu@matt.ksu.ksu.edu>
  9. References: <1993Jan15.090426.12195@unix.brighton.ac.uk> <17988@umd5.umd.edu> <senetza.727648754@honte> <1jootkINNhrv@matt.ksu.ksu.edu>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. senetza@sigma.uleth.ca (Len Senetza) writes:
  13.  
  14. >so, get the source for something like ls (it's on ftp.uu.net).  then
  15. >modify it so that it attaches a binary file which does x (x can be
  16. >innocuous [print a smilie on the console] or destructive [halt]) to a
  17. >system command (mkdir) which is installed suid.  then, go talk to the
  18. >sysadmin and tell them that there is something wrong with your
  19. >directory.  when they cd to it and do an 'ls' (your version), bango --
  20. >virus.  this 'x' thing that the binary file does can also include
  21. >copying itself to other programs.
  22.  
  23. >so, if root executes your ls, then x is attached to some program in the
  24. >system.  have your x only do it to programs which are suid.  then it's
  25. >all over the place; memory protection and file access controls fail
  26. >here.
  27.  
  28. >this assumes that root has . in its path, and how many root accounts
  29. >out there do?
  30.  
  31. No, this assumes root has . at the FRONT of his/her path. This of course is
  32. extremely stupid and I believe covered in the FAQ.
  33.  
  34. A scenerio like this assumes that the sysadmin is a pretty trusting person
  35. and probably already has large security holes in the system.
  36.  
  37. James
  38.