home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / phrack1 / phrack26.005 < prev    next >
Encoding:
Text File  |  2003-06-11  |  12.3 KB  |  229 lines

  1.  
  2.                 ==Phrack Inc.==
  3.  
  4.              Volume Three, Issue 26, File 5 of 11
  5.  
  6.                     COSMOS
  7.  
  8.            COmputer System for Mainframe OperationS
  9.  
  10.                    Part One
  11.  
  12.                 by King Arthur
  13.  
  14. Introduction
  15. %%%%%%%%%%%%
  16.  
  17.      Throughout the last decade, computers have played an ever growing role in
  18. information storage and retrieval.  In most companies, computerized databases
  19. have replaced a majority of all paper records.    Where in the past it would take
  20. 10 minutes for someone to search through stacks of paper for some data, the
  21. same information can now be retrieved from a computer in a fraction of a
  22. second.
  23.  
  24.      Previously, proprietary information could be considered "safe" in a file
  25. cabinet; the only way to see the data would be to have physical access to the
  26. files.    Now, somebody with a computer terminal and a modem can make a quick
  27. phone call and access private records.    It's unfortunate that there are
  28. "hackers" who try to gain unauthorized access to computers.  Yet, it is just as
  29. unfortunate that most reported computer break-ins could have been prevented if
  30. more thought and common sense went into protecting computers.
  31.  
  32.  
  33. Hackers
  34. %%%%%%%
  35.      There have been many cases of computer crime reported by the Bell
  36. Operating Companies (BOCs), but it is hard to say how many actual break-ins
  37. there are.  Keep in mind that the only reported cases are those which are
  38. detected.  In an interview with an anonymous hacker, I was told of one of the
  39. break-ins that may not have ever been reported.  "My friend got the number when
  40. he misdialed his business office -- that's how we knew that it was the phone
  41. company's.  It seems this Unix was part of some real big Bellcore computer
  42. network," says the hacker.
  43.  
  44.      The hacker explains that this system was one of many systems used by the
  45. various BOCs to allow large Centrex customers to rearrange their Centrex
  46. groups.  It seems he found a text file on the system with telephone numbers and
  47. passwords for some of Bellcore's development systems.  "On this Bellcore system
  48. in Jersey, called CCRS, we found a list of 20 some-odd COSMOS systems....
  49. Numbers, passwords, and wire centers from all over the country!"  He adds,
  50. "Five states to be exact."
  51.  
  52.      The hacker was able to gain access to the original Unix system because, as
  53. he says, "Those guys left all the default passwords working."  He was able to
  54. login with a user name of "games" with the password being "games."  "Once we
  55. were on we found that a large number of accounts didn't have passwords.  Mary,
  56. John, test, banana, and system were some, to name a few."  From there he was
  57. able to eventually access several COSMOS database systems -- with access to ALL
  58. system files and resources.
  59.  
  60. COSMOS
  61. %%%%%%
  62.      COSMOS, an acronym for the COmputer System for Mainframe OperationS, is a
  63. database package currently supported by Bellcore.  COSMOS is presently being
  64. used by every BOC, as well as by Cincinnati Bell and Rochester Telephone.
  65. COSMOS replaces paper record-keeping and other mechanized record systems for
  66. plant administration.  COSMOS' original purpose was to alleviate congestion in
  67. the Main Distributing Frame (MDF) by maintaining the shortest jumpers.
  68.  
  69.      It can now maintain load balance in a switch and assign office equipment,
  70. tie pairs, bridge lifters and the like.  Additional applications allow COSMOS
  71. to aid in "cutting-over" a new switch, or even generate recent change messages
  72. to be input into electronic switches.  COSMOS is most often used for
  73. provisioning new service and maintaining existing service, by the following
  74. departments:  The frame room (MDF), the Loop Assignment Center (LAC), the
  75. Recent Change Memory Assistance Center (RCMAC), the network administration
  76. center, and the repair service.
  77.  
  78.      Next year COSMOS will celebrate its 15th birthday, which is quite an
  79. accomplishment for a computer program.    The first version or "generic" of
  80. COSMOS was released by Bell Laboratories in 1974.  In March 1974, New Jersey
  81. Bell was the first company to run COSMOS, in Passaic, New Jersey. Pacific
  82. Telesis, NYNEX,  Southern Bell, and many of the other BOCs adopted COSMOS soon
  83. after.    Whereas Southwestern Bell waited until 1977, the Passaic, NJ Wire
  84. Center is still running COSMOS today.
  85.  
  86.      Originally COSMOS ran on the DEC PDP 11/45 minicomputer.  The package was
  87. written in Fortran, and ran the COSNIX operating system.  Later it was adapted
  88. to run on the DEC PDP 11/70, a larger machine.    Beverly Cruse, member of
  89. Technical Staff, COSMOS system design at Bellcore, says, "COSNIX is a
  90. derivation of Unix 1.0, it started out from the original Unix, but it was
  91. adapted for use on the COSMOS project.    It bears many similarities to Unix, but
  92. more to the early versions of Unix than the current...    The COSMOS application
  93. now runs on other hardware understandard Unix."
  94.  
  95.      "The newest version of COSMOS runs on the standard Unix System V operating
  96. system.  We will certify it for use on particular processors, based on the
  97. needs of our clients," says Ed Pinnes, the District Manager of COSMOS system
  98. design at Bellcore.  This Unix version of COSMOS was written in C language.
  99. Currently, COSMOS is available for use on the AT&T 3B20 supermini computer,
  100. running under the Unix System V operating system.  "There are over 700 COSMOS
  101. systems total, of which a vast majority are DEC PDP 11/70's.  The number
  102. fluctuates all the time, as companies are starting to replace 11/70's with the
  103. other machines," says Cruse.
  104.  
  105.      In 1981 Bell Laboratories introduced an integrated systems package for
  106. telephone companies called the Facility Assignment Control System (FACS).  FACS
  107. is a network of systems that exchanges information on a regular basis.    These
  108. are: COSMOS, Loop Facilities Assignment and Control System (LFACS), Service
  109. Order Analysis and Control (SOAC), and Work Manager (WM).  A service order from
  110. the business office is input in to SOAC.  SOAC analyzes the order and then
  111. sends an assignment request, via the WM, to LFACS.  WM acts as a packet switch,
  112. sending messages between the other components of FACS.    LFACS assigns
  113. distribution plant facilities (cables, terminals, etc.) and sends the order
  114. back to SOAC.  After SOAC receives the information form LFACS, it sends an
  115. assignment request to COSMOS.  COSMOS responds with data for assigning central
  116. office equipment:  Switching equipment, transmission equipment, bridge lifters,
  117. and the like.  SOAC takes all the information from LFACS and COSMOS and appends
  118. it to the service order, and sends the service order on its way.
  119.  
  120. Computer Security
  121. %%%%%%%%%%%%%%%%%
  122.      Telephone companies seem to take the brunt of unauthorized access
  123. attempts.  The sheer number of employees and size of most telephone companies
  124. makes it very difficult to keep tabs on everyone and everything.  While
  125. researching computer security, it has become evident that COSMOS is a large
  126. target for hackers.  "The number of COSMOS systems around, with dial-ups on
  127. most of the machines... makes for a lot of possible break-ins,"  says Cruse.
  128. This is why it's all the more important for companies to learn how to protect
  129. themselves.
  130.  
  131.      "COSMOS is power, the whole thing is a big power trip, man. It's like Big
  132. Brother -- you see the number of some dude you don't like in the computer.  You
  133. make a service order to disconnect it; COSMOS is too stupid to tell you from a
  134. real telco dude," says one hacker.  "I think they get what they deserve:
  135. There's a serious dearth of security out there.  If kids like us can get access
  136. this easily, think about the real enemy -- the Russians," jokes another.
  137.  
  138.      A majority of unauthorized access attempts can be traced back to an
  139. oversight on the part of the system operators; and just as many are the fault
  140. of the systems' users.  If you can keep one step ahead of the hackers,
  141. recognize these problems now, and keep an eye out for similar weaknesses, you
  142. can save your company a lot of trouble.
  143.  
  144.      A hacker says, "In California, a friend of mine used to be able to find
  145. passwords in the garbage.  The computer was supposed to print some garbled
  146. characters on top of the password. Instead the password would print out AFTER
  147. the garbled characters."   Some COSMOS users have half duplex printing
  148. terminals.  At the password prompt COSMOS is supposed to print a series of
  149. characters and then send backspaces.  Then the user would enter his or her
  150. password.  When the password is printed on top of the other characters, you
  151. can't see what it is.  If the password is being printed after the other
  152. characters, then the printing terminal is not receiving the back space
  153. characters properly.
  154.  
  155.      Another big problem is lack of password security.    As mentioned before,
  156. regarding CCRS, many accounts on some systems will lack passwords.  "On COSMOS
  157. there are these standardized account names.  It makes it easier for system
  158. operators to keep track of who's using the system.  For instance: all accounts
  159. that belong to the frame room will have an MF in them.    Like MF01, you can tell
  160. it belongs to the frame room.  (MF stands for Main Frame.)  Most of these names
  161. seem to be common to most COSMOS systems everywhere.  In one city, none of
  162. these user accounts have passwords.  All you need is the name of the account
  163. and you're in.  In another city, which will remain unnamed, the passwords are
  164. the SAME AS THE DAMN NAMES!  Like, MF01 has a password of MF01.  These guys
  165. must not be very serious about security."
  166.  
  167.      One of the biggest and in my eyes one of the scariest problems around is
  168. what hackers refer to as "social engineering".  Social engineering is basically
  169. the act of impersonating somebody else for the sake of gaining proprietary
  170. information.  "I know this guy.  He can trick anybody, does the best BS job
  171. I've ever seen.  He'll call up a telco office, like the repair service bureau,
  172. that uses COSMOS.  We found that most clerks at the repair service aren't too
  173. sharp."  The hacker said the conversation would usually take the following
  174. course:
  175.  
  176. Hacker:  Hi, this is Frank, from the COSMOS computer center.   We've had a
  177.      problem with our records, and I'm wondering if you could help me?
  178.  
  179. Telco:     Oh, what seems to be the problem?
  180.  
  181. H:  We seem to have lost some user data.  Hopefully, if I can correct the
  182.     problem, you people won't lose any access time today.  Could you tell me
  183.     what your system login name is?
  184.  
  185. T:  Well, the one I use is RS01.
  186.  
  187. H:  Hmm, this could present a problem.    Can you tell me what password and wire
  188.     center you use that with?
  189.  
  190. T:  Well, I just type s-u-c-k-e-r for my password, and my wire centers are: TK,
  191.     KL, GL, and PK.
  192.  
  193. H:  Do you call into the system, or do you only have direct connect terminals?
  194.  
  195. T:  Well, when I turn on my machine I get a direct hook up.  It just tells me
  196.     to login.  But I know in the back they have to dial something.  Hold on,
  197.     let me check.  (3 Minutes later...)  Well, she says all she does is call
  198.     555-1212.
  199.  
  200. H:  OK, I think I have everything taken care of.  Thanks, have a nice day.
  201.  
  202. T:  Good, so I'm not gonna have any problems?
  203.  
  204. H:  No, but if you do just give the computer center a call, and we'll take care
  205.     of it.
  206.  
  207. T:   Oh, thank you honey.  Have a nice day now.
  208.  
  209.      "It doesn't work all the time, but we get away with it a good part of the
  210. time.  I guess they just don't expect a call from someone who isn't really part
  211. of their company,"  says the hacker.  "I once social engineered the COSMOS
  212. control center.  They gave me dial-ups for several systems, and even gave me
  213. one password.  I told them I was calling from the RCMAC and I was having
  214. trouble logging into COSMOS," says another.
  215.  
  216.      This last problem illustrates a perfect example of what I mean when I say
  217. these problems can be prevented if more care and common sense went into
  218. computer security.  "Sometimes, if we want to get in to COSMOS, but we don't
  219. have the password, we call a COSMOS dial-up at about 5 o'clock.  To logoff of
  220. COSMOS you have to hit a CONTROL-Y.  If you don't, the next person who calls
  221. will resume where you left off.  A lot of the time, people forget to logoff.
  222. They just turn their terminals off, in the rush of going home."
  223.  
  224.      The past examples do not comprise the only way hackers get into systems,
  225. but most of the problems shown here can exist regardless of what types of
  226. systems your company has.  The second article deals with solutions to these
  227. problems.
  228. _______________________________________________________________________________
  229.