home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / general / cert0009.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  8.0 KB  |  200 lines

  1.  
  2. -----BEGIN PGP SIGNED MESSAGE-----
  3.  
  4.  
  5. CA-90:02
  6.                 CERT Advisory
  7.                 March 19, 1990
  8.               Internet Intruder Warning
  9. - -------------------------------------------------------------------------------
  10. There have been a number of media reports stemming from a March 19 New York
  11. Times article entitled 'Computer System Intruder Plucks Passwords and
  12. Avoids Detection.'  The article referred to a program that attempts to
  13. get into computers around the Internet.
  14.  
  15. At this point, the Computer Emergency Response Team Coordination
  16. Center (CERT/CC) does not have hard evidence that there is such a
  17. program.  What we have seen are several persistent attempts on systems
  18. using known security vulnerabilities.  All of these vulnerabilities
  19. have been previously reported.  Some national news agencies have
  20. referred to a 'virus' on the Internet; the information we have now
  21. indicates that this is NOT true.  What we have seen and can confirm is
  22. an intruder making persistent attempts to get into Internet systems.
  23.  
  24. It is possible that a program may be discovered.  However, all the
  25. techniques used in these attempts have also been used, in the past, by
  26. intruders probing systems manually.
  27.  
  28. As of the morning of March 19, we know of several systems that have
  29. been broken into and several dozen more attempts made on Thursday and
  30. Friday, March 15 and 16.
  31.  
  32. Systems administrators should be aware that many systems around the
  33. Internet may have these vulnerabilities, and intruders know how to
  34. exploit them.  To avoid security breaches in the future, we recommend
  35. that all system administrators check for the kinds of problems noted
  36. in this message.
  37.  
  38. The rest of this advisory describes problems with system
  39. configurations that we have seen intruders using.  In particular, the
  40. intruders attempted to exploit problems in Berkeley BSD derived UNIX
  41. systems and have attacked DEC VMS systems.  In the advisory below,
  42. points 1 through 12 deal with Unix, points 13 and 14 deal with the VMS
  43. attacks.
  44.  
  45. If you have questions about a particular problem, please get
  46. in touch with your vendor.
  47.  
  48. The CERT makes copies of past advisories available via anonymous FTP
  49. (see the end of this message).  Administrators may wish to review
  50. these as well.
  51.  
  52. We've had reports of intruders attempting to exploit the following
  53. areas:
  54.  
  55.  
  56. 1) Use TFTP (Trivial File Transfer Protocol) to steal password files.  
  57.  
  58.    To test your system for this vulnerability, connect to your system
  59. using TFTP and try 'get /etc/motd'.  If you can do this, anyone else
  60. can get your password file as well.  To avoid this problem, disable
  61. tftpd.
  62.  
  63.    In conjunction with this, encourage your users to choose passwords
  64. that are difficult to guess (e.g. words that are not contained in any
  65. dictionary of words of any language; no proper nouns, including names
  66. of "famous" real or imaginary characters; no acronyms that are common
  67. to computer professionals; no simple variations of first or last
  68. names, etc.)  Furthermore, inform your users not to leave any clear
  69. text username/password information in files on any system.
  70.  
  71.    If an intruder can get a password file, he/she will usually take it
  72. to another machine and run password guessing programs on it. These
  73. programs involve large dictionary searches and run quickly even on slow
  74. machines.  The experience of many sites is that most systems that do
  75. not put any controls on the types of passwords used probably have at
  76. least one password that can be guessed.
  77.  
  78.  
  79. 2) Exploit accounts without passwords or known passwords (accounts
  80. with vendor supplied default passwords are favorites).  Also uses
  81. finger to get account names and then tries simple passwords.  
  82.  
  83.    Scan your password file for extra UID 0 accounts, accounts with no
  84. password, or new entries in the password file.  Always change vendor
  85. supplied default passwords when you install new system software.
  86.  
  87.  
  88. 3) Exploit holes in sendmail.
  89.  
  90.    Make sure you are running the latest sendmail from your vendor.
  91. BSD 5.61 fixes all known holes that the intruder is using.  
  92.  
  93.  
  94. 4) Exploit bugs in old versions of FTP; exploit mis-configured
  95.    anonymous FTP
  96.  
  97.    Make sure you are running the most recent version of FTP which is
  98. the Berkeley version 4.163 of Nov.  8 1988.  Check with your vendor
  99. for information on configuration upgrades.  Also check
  100. your anonymous FTP configuration.  It is important to follow the
  101. instructions provided with the operating system to properly configure
  102. the files available through anonymous ftp (e.g., file permissions,
  103. ownership, group, etc.).  Note especially that you should not use your
  104. system's standard password file as the password file for FTP.
  105.  
  106.  
  107. 5) Exploit the fingerd hole used by the Morris Internet worm.
  108.  
  109.    Make sure you're running a recent version of finger.  Numerous
  110. Berkeley BSD derived versions of UNIX were vulnerable.
  111.  
  112.  
  113. Some other things to check for:
  114.  
  115. 6) Check user's .rhosts files and the /etc/hosts.equiv files for systems
  116. outside your domain.  Make sure all hosts in these files are
  117. authorized and that the files are not world-writable.
  118.  
  119.  
  120. 7) Examine all the files that are run by cron and at.  We've seen
  121. intruders leave back doors in files run from cron or submitted to at.
  122. These techniques can let the intruder back on the system even after
  123. you've kicked him/her off.  Also, verify that all files/programs
  124. referenced (directly or indirectly) by the cron and at jobs, and the
  125. job files themselves, are not world-writable.
  126.  
  127.  
  128. 8) If your machine supports uucp, check the L.cmds file to see if
  129. they've added extra commands and that it is owned by root (not by uucp!)
  130. and world-readable.  Also, the L.sys file should not be world-readable
  131. or world-writable.
  132.  
  133.  
  134. 9) Examine the /usr/lib/aliases (mail alias) file for unauthorized
  135. entries.  Some alias files include an alias named 'uudecode'; if this
  136. alias exists on your system, and you are not explicitly using it, then
  137. it should be removed.
  138.  
  139.  
  140. 10) Look for hidden files (files that start with a period and are
  141. normally not shown by ls) with odd names and/or setuid capabilities,
  142. as these can be used to "hide" information or privileged (setuid root)
  143. programs, including /bin/sh.  Names such as '..  ' (dot dot space
  144. space), '...', and .xx have been used, as have ordinary looking names
  145. such as '.mail'.  Places to look include especially /tmp, /usr/tmp,
  146. and hidden directories (frequently within users' home directories).
  147.  
  148.  
  149. 11) Check the integrity of critical system programs such as su, login,
  150. and telnet.  Use a known, good copy of the program, such as the
  151. original distribution media and compare it with the program you are
  152. running.
  153.  
  154.  
  155. 12) Older versions of systems often have security vulnerabilities that
  156. are well known to intruders.  One of the best defenses against
  157. problems is to upgrade to the latest version of your vendor's system.
  158.  
  159.  
  160. VMS SYSTEM ATTACKS:
  161.  
  162. 13) The intruder exploits system default passwords that have not been
  163. changed since installation.  Make sure to change all default passwords
  164. when the software is installed.  The intruder also guesses simple user
  165. passwords.  See point 1 above for suggestions on choosing good
  166. passwords.
  167.  
  168. 14) If the intruder gets into a system, often the programs
  169. loginout.exe and show.exe are modified.  Check these programs against
  170. the files found in your distribution media.
  171.  
  172.  
  173. If you believe that your system has been compromised, contact CERT via
  174. telephone or e-mail.
  175.  
  176. Computer Emergency Response Team (CERT)
  177. Software Engineering Institute
  178. Carnegie Mellon University
  179. Pittsburgh, PA 15213-3890
  180.  
  181. Internet E-mail: cert@cert.org
  182. Telephone: 412-268-7090 24-hour hotline: CERT personnel answer 
  183.          7:30a.m.-6:00p.m. EST, on call for emergencies
  184.         other hours.
  185.  
  186. Past advisories and other information are available for anonymous ftp
  187. from cert.org (192.88.209.5).
  188.  
  189.  
  190. -----BEGIN PGP SIGNATURE-----
  191. Version: 2.6.2
  192.  
  193. iQCVAwUBMaMweXVP+x0t4w7BAQHyDgQAjRL98Asy0kE0mrV/7nz+R9cg6HVRJ3sQ
  194. 002cBDXdms/ZbYTHxsWBNQGTVpLszd20ryn9b3UeifL0Kte47U4W0L41DnyQl0ig
  195. 7w28h7bFBTTdrZbMds/vInTp9PtX/IRF8HCrfGOl/Sy1TkOir876fyWISDBGYTOp
  196. gS81cBSUOKs=
  197. =+42q
  198. -----END PGP SIGNATURE-----
  199.  
  200.