home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / internet / internet.hac < prev    next >
Encoding:
Text File  |  2003-06-11  |  47.7 KB  |  1,083 lines

  1. @#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&#$%&@#$%&@#$%&@#$%&@#$%&@#$%&#@
  2. #                                                                          $
  3. $                                   A                                      %
  4. &                                                                          @
  5. @                             Hacker's Guide                               #
  6. #                                                                          $
  7. $                                  to                                      %
  8. %                                                                          &
  9. &                             The Internet                                 @
  10. @                                                                          #
  11. #                                                                          $
  12. $                             By: The Gatsby                               %
  13. %                                                                          &
  14. &@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$&@#$%&@#$%&@#$%&@
  15. @                                                                          #
  16. $      Version  2.00       !         AXiS         !         7/7/91         $
  17. %                                                                          &
  18. &@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$%&@#$&@#$%&@#$%&@#$%&@
  19.  
  20.  
  21.  
  22. 1   Index
  23. ~~~~~~~~~
  24.  
  25.             Part:          Title:
  26.             ~~~~           ~~~~~
  27.              1             Index
  28.              2             Introduction
  29.              3             Glossary, Acronyms & Abbreviations
  30.              4             What is The Internet ?
  31.              5             Where Can You Access The Internet
  32.              6             TAC
  33.              7             Basic Commands
  34.                a                TELNET command
  35.                b                ftp ANONYMOUS to a Remote Site
  36.                c                Basic How to tftp the Files
  37.                d                Basic Fingering
  38.              8             Networks You Will See Around
  39.              9             Internet Protocols
  40.             10             Host Name & Address
  41.             11             Tips and Hints
  42.  
  43.  
  44. 2   Introduction
  45. ~~~~~~~~~~~~~~~~
  46.  
  47.      Well, I was asked to write this file by Haywire (aka. Insanity, SysOp
  48. of Insanity Lane), about Internet. Thus the first release of this file was in
  49. a IRG newsletter. Due to the mistakes of the last release of this file has
  50. prompted me to "redo" some of this file, add some more technical stuff and
  51. release it for AXiS.
  52.       I have not seen any files written for the new comer to Internet, so
  53. this will cover the basic commands, the use of Internet, and some tips for
  54. hacking through internet. There is no MAGICAL way to hacking a UNIX system, i
  55. have found that brute force works best (Brute hacker is something different).
  56. Hacking snow balls, once you get the feel of it, it is all clock work from
  57. there. Well i hope you enjoy the file. If you have any questions i can be
  58. reached on a number of boards. This file was written for hackers (like me)
  59. who do not go to school with a nice Internet account, this is purely written
  60. for hackers to move around effectively who are new to Internet. The last part
  61. of this file is for people who know what they are doing, and want more
  62. insight.
  63.  
  64.  
  65. - The Crypt       -            - 619/457+1836 -     - Call today -
  66. - Land of Karrus  -            - 215/948+2132 -
  67. - Insanity Lane   -            - 619/591+4974 -
  68. - Apocalypse NOW  -            - 2o6/838+6435 -  <*> AXiS World HQ <*>
  69.  
  70.   and any other good board  across the country.....
  71.  
  72.   Mail me on the Internet:  gats@ryptyde.cts.com
  73.                             bbs.gatsby@spies.com
  74.  
  75.  
  76.                                 The Gatsby
  77.  
  78.  
  79. 3   Glossary, Acronyms & Abbreviations
  80. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  81. ACSE     -  Association Control Service Element, this is used with ISO
  82.             to help manage associations.
  83. ARP      -  Address Resolution Protocol, this is used to translate IP
  84.             protocol to Ethernet Address.
  85. ARPA     -  defence_Advanced_Research_Project_Agency.
  86. ARPANET  -  defence Advanced Research Project Agency or ARPA. This is a
  87.             experimental PSN which is still a sub network in the Internet.
  88. CCITT    -  International Telegraph and Telephone Consultative Committee
  89.             is a international committee that sets standard. I wish they
  90.             would set a standard for the way they present their name!
  91. CERT     -  Computer Emergency Response Team, they are responsible for
  92.             coordinating many security incident response efforts. In other
  93.             words, these are the guys you do not want to mess with, because
  94.             they will make your life a living hell. They are the Internet
  95.             pigs, but they do have real nice reports on "holes" in various
  96.             UNIX strands, which you should get, they will help you a lot.
  97. CMIP     -  Common Management Information Protocol, this is a new HIGH level
  98.             protocol.
  99. CLNP     -  Connection Less Network Protocol is a OSI equivalent to
  100.             Internet IP
  101. DARPA    -  Defence Advanced Research Project Agency. See ARPANET
  102. DDN      -  Defence Data Network
  103. driver   -  a program (or software) that communicates with the network
  104. itself,
  105.             examples are TELNET, FTP, RLOGON, etc
  106. ftp      -  File Transfer Protocol, this is used to copy files from
  107.             one host to another.
  108. FQDN     -  Fully Qualified Domain Name, the complete hostname that
  109.             reflects the domains of which the host is a part
  110. gateway  -  Computer that interconnects networks
  111. host     -  Computer that connected to a PSN.
  112. hostname -  Name that officially identifies each computer attached
  113.             internetwork.
  114. Internet -  The specific IP-base internetwork.
  115. IP       -  Internet Protocol which is the standard that allows dissimilar
  116.             host to connect.
  117. ICMP     -  Internet Control Message Protocol is used for error messages for
  118.             the TCP/IP
  119. LAN      -  Local Area Network
  120. MAN      -  Metropolitan Area Network
  121. MILNET   -  DDN unclassified operational military network
  122. NCP      -  Network Control Protocol, the official network protocol from
  123.             1970 until 1982.
  124. NIC      -  DDN Network Information Center
  125. NUA      -  Network User Address
  126. OSI      -  Open System Interconnection. An international standardization
  127.             program facilitate to communications among computers of
  128.             different makes and models.
  129. Protocol -  The rules for communication between hosts, controlling the
  130.             information by making it orderly.
  131. PSN      -  Packet Switched Network
  132. RFC      -  Request For Comments, is technical files about Internet
  133.             protocols one can access these from anonymous ftp at NIC.DDN.MIL
  134. ROSE     -  Remote Operations Service Element, this is a protocol that
  135.             is used along with OSI applications.
  136. TAC      -  Terminal Access Controller; a computer that allow direct
  137.             access to internet.
  138. TCP      -  Transmission Control Protocol.
  139. TELNET   -  Protocol for opening a transparent connection to a distant host.
  140. tftp     -  Trivial File Transfer Protocol, one way to transfer data from
  141.             one host to another.
  142. UDP      -  User Datagram _Protocol
  143. UNIX     -  This is copyrighted by AT$T, but i use it to cover all the look
  144.             alike UNIX system, which you will run into more often.
  145. UUCP     -  Unix-to-Unix Copy Program, this protocol allows UNIX file
  146.             transfers. This uses phone lines using its own protocol, X.25 and
  147.             TCP/IP. This protocol also exist for VMS and MS-DOS (Why not
  148.             Apple's ProDOS ? I still have one!).
  149. uucp     -  uucp when in lower case refers to the UNIX command uucp. For
  150.             more information on uucp read The Mentors files in LoD Tech.
  151.             Journals.
  152. WAN      -  Wide Area Network
  153. X.25     -  CCITTs standard protocol that rules the interconnection of two
  154.             hosts.
  155.  
  156.   In this text file i have used several special charters to signify certain
  157. thing. Here is the key.
  158.  
  159. *  - Buffed from UNIX it self. You will find this on the left side of the
  160.      margin. This is normally "how to do" or just "examples" of what to do
  161.      when using Internet.
  162. #  - This means these are commands, or something that must be typed in.
  163.  
  164.  
  165.  
  166.  
  167. 4   What is The Internet ?
  168. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  169.  
  170.      To understand The Internet you must first know what it is. The Internet
  171. is a group of various networks, ARPANET (an experimental WAN) was the
  172. first. ARPANET started in 1969, this experimental PSN used Network Control
  173. Protocol (NCP). NCP was the official protocol from 1970 until 1982 of the
  174. Internet (at this time also known as DARPA Internet or ARPA Internet). In the
  175. early 80's DARPA developed the Transmission Control Protocol/Internet
  176. Protocol which is the official protocol today, but much more on this later.
  177. Due to this fact, in 1983 ARPANet split into two networks, MILNET and ARPANET
  178. (both still being part of the DDN).
  179.     The expansion of Local Area Networks (LAN) and Wide Area Networks (WAN)
  180. helped make the Internet connecting 2,000+ networks strong. The networks
  181. include NSFNET, MILNET, NSN, ESnet and CSNET. Though the largest part of the
  182. Internet is in the United States, the Internet still connects the TCP/IP
  183. networks in Europe, Japan, Australia, Canada, and Mexico.
  184.  
  185.  
  186. 5   Where can you access Internet ?
  187. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  188.  
  189.    Internet is most likely to be found on Local Area Networks or LANs and
  190. Wide Area networks or WANs. LANs are defined as networks permitting the
  191. interconnection and intercommunication of a group of computers, primarily for
  192. the sharing of resources such as data storage device and printers. LANs cover
  193. a short distance (less than a mile), almost always within a single building
  194. complex. Normally having gateways to Internet, and in turn Internet the back
  195. bone to the area network, but one could argue this point.
  196.    WANs are networks which have been designed to carry data calls over long
  197. distances (many hundreds of miles). Thus also being (for the same reasons
  198. LANs are) linked into the mix mash of PSN.
  199.    You can also access Internet through TymNet or Telenet via gateway. But i
  200. do not happen to have the TymNet or Telenet a NUA now, just ask around.
  201.  
  202.  
  203. 6   TAC
  204. ~~~~~~~
  205.  
  206.     TAC is another way to access internet, but due to the length of this part 
  207. I
  208. just made it another section.
  209.    TAC (terminal access controller) is another way to access Internet. This
  210. is just dial-up terminal to a terminal access controller. You will need to
  211. hack out a password and account. TAC has direct access to MILNET (a part of
  212. internet, one of the networks in the group that makes up internet).
  213.  A TAC dial up number is 18oo/368+2217 (this is just one, there are full
  214. lists on any good text file board), and TAC information services from which
  215. you can try to social engineer a account (watch out their is a CERT report
  216. out
  217. about this, for more information the CERT reports are available at
  218. 128.237.253.5 anonymous ftp, more on that later), the number is 18oo/235+3155
  219. and 1415/859+3695. If you want the TAC manual you can write a letter to (be
  220. sure an say you want the TAC user guide, 310-p70-74) :
  221.  
  222.        Defense Communications Agency
  223.        Attn: Code BIAR
  224.        Washington, DC 2o3o5-2ooo
  225.  
  226.  
  227.  To logon you will need a TAC Access Card, but you are a hacker, so I am not
  228. counting on this (if you can get a card, you would get it from the DDN NIC).
  229. Here is a sample logon:
  230.  
  231. Use Control-Q for help...
  232.  
  233. *
  234. * PVC-TAC 111: 01               \ TAC uses to this to identify itself
  235. * @ #o 124.32.5.82               \ Use ``O'' for open and the internet
  236. *                                / address which yea want to call.
  237. *
  238. * TAC Userid: #THE.GATSBY
  239. * Access Code: #10kgb0124
  240. * Login OK
  241. * TCP trying...Open
  242. *
  243. *
  244.  
  245.  
  246. Good Luck you will need it....
  247.  
  248. 7   Basic Commands, and things to do
  249. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  250.  
  251. a:  Basic TELNET Commands
  252.  
  253.  
  254.  
  255.       Ok, you now have a account on a UNIX system which is a host on
  256. Internet, you can not access the world. Once on the UNIX system you should
  257. see a prompt, which can look like a '$', '%' of the systems name (also
  258. depending on what shell you are in, and the type of UNIX system). Now at the
  259. prompt you can do all the normal UNIX accounts, but when on a Internet host
  260. you can type 'telnet' which will bring you to the 'telnet' prompt.
  261.  
  262. *
  263. * $ #telnet
  264. * ^   ^
  265.   |   |
  266.   |  the command that will bring you to the telnet prompt
  267.   |
  268.   a normal UNIX prompt
  269.  
  270.  
  271. once this is done you should see this:
  272.  
  273. *
  274. * telnet>
  275. *
  276.     At this prompt you will have a whole different set of commands which are
  277. as follow (NOTE taken from UCSD, so this may vary from place to place).
  278.  
  279. *
  280. * telnet> #help
  281. *
  282. * close           close current connection
  283. * display         display operating parameters
  284. * open            connect to a site
  285. * quit            exit telnet
  286. * send            transmit special character
  287. * set             set operating parameters
  288. * status          print status information
  289. * toggle          toggle operating parameters
  290. * ?               to see what you are looking at now
  291. *
  292.  
  293. close      - this command is used to 'close' a connection, when multitasking
  294.              or jumping between systems.
  295.  
  296. display    - this set the display setting, commands for this are as follow.
  297.  
  298.              ^E    echo.
  299.              ^]    escape.
  300.              ^H    erase.
  301.              ^O    flushoutput.
  302.              ^C    interrupt.
  303.              ^U    kill.
  304.              ^\    quit.
  305.              ^D    eof.
  306.  
  307.  
  308.  
  309. open       - type 'open [host]' to connect to a system
  310.  
  311. *
  312. * $ #telnet ucsd.edu
  313. *
  314.  
  315.      or
  316. *
  317. * telnet> #open 125.24.64.32.1
  318. *
  319.  
  320. quit       - to get out of telnet, and back to UNIX.
  321.  
  322. send       -  send files
  323.  
  324. set        -
  325.              echo    - character to toggle local echoing on/off
  326.              escape  - character to escape back to telnet command mode
  327.  
  328.                 The following need 'localchars' to be toggled true
  329.              erase         -  character to cause an Erase Character
  330.              flushoutput   -  character to cause an Abort Output
  331.              interrupt     -  character to cause an Interrupt Process
  332.              kill          -  character to cause an Erase Line
  333.              quit          -  character to cause a Break
  334.              eof           -  character to cause an EOF
  335.              ?             -  display help information
  336.  
  337. ?          -  to see the help screen
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. b:   ftp ANONYMOUS to a remote site
  345.  
  346.  
  347.     ftp or file transfer protocol is used to copy file from a remote host to
  348. the one that you are on. You can copy anything from some ones mail to the
  349. passwd file. Though security has really clamped down on the passwd flaw, but
  350. it will still work here and there (always worth a shot). More on this later,
  351. lets get an idea what it is first.
  352.      This could come in use full when you see a Internet CuD site that
  353. accepts a anonymous ftps, and you want to read the CuDs but do not feel like
  354. wasting your time on boards down loading them. The best way to start out is
  355. to ftp a directory to see what you are getting (taking blind stabs is not
  356. worth a few CuDs). This is done as follow: (the CuD site is Internet address
  357. 192.55.239.132, and my account name is gats)
  358.  
  359.  
  360. *
  361. * $ #ftp
  362. * ^  ^
  363.   |  |
  364.   | ftp command
  365.   |
  366.  UNIX prompt
  367.  
  368. *
  369. * ftp> #open 192.55.239.132
  370. * Connected to 192.55.239.132
  371. * 220 192.55.239.132 FTP Server (sometimes the date, etc)
  372. * Name (192.55.239.132:gats): #anonymous
  373. *            ^         ^        ^
  374.              |         |        |
  375.              |         |       This is where you type 'anonymous' unless
  376.              |         |     you have a account 192.55.239.132.
  377.              |         |
  378.              |        This is the name of my account or [from]
  379.              |
  380.             This is the Internet address or [to]
  381. *
  382. * Password: #gats
  383. *            ^
  384.              |
  385.             For this just type your user name or anything you feel like
  386.             typing in at that time.
  387.  
  388. *
  389. * % ftp 192.55.239.132
  390. * Connected to 192.55.239.132
  391. * ftp> #ls
  392. *       ^
  393.         |
  394.        You are connected now, thus you can ls it.
  395.  
  396.      Just move around like you would in a normal unix system. Most of the
  397. commands still apply on this connection. Here is a example of me getting a
  398. Electronic Frontier Foundation Vol. 1.04 from Internet address
  399. 192.55.239.132.
  400.  
  401. *
  402. * % #ftp
  403. * ftp> #open 128.135.12.60
  404. * Trying 128.135.12.60...
  405. * 220 chsun1 FTP server (SunOS 4.1) ready.
  406. * Name (128.135.12.60:gatsby): anonymous
  407. * 331 Guest login ok, send ident as password.
  408. * Password: #gatsby
  409. * 230 Guest login ok, access restrictions apply.
  410. * ftp> #ls
  411. * 200 PORT command successful.
  412. * 150 ASCII data connection for /bin/ls (132.239.13.10,4781) * (0 bytes).
  413. * .hushlogin
  414. * bin
  415. * dev
  416. * etc
  417. * pub
  418. * usr
  419. * README
  420. * 226 ASCII Transfer complete.
  421. * 37 bytes received in 0.038 seconds (0.96 Kbytes/s)
  422. * ftp>
  423.  
  424.      /
  425.      \  this is where you can try to 'cd' the "etc" dir or just 'get'
  426.      /  /etc/passwd, but grabbing the passwd file this way is a dieing art.
  427.      \  But then again always worth a shot, may be you will get lucky.
  428.      /
  429.  
  430. * ftp> #cd pub
  431. * 200 PORT command successful.
  432. * ftp> #ls
  433. * ceremony
  434. * cud
  435. * dos
  436. * eff
  437. * incoming
  438. * united
  439. * unix
  440. * vax
  441. * 226 ASCII Transfer cmplete.
  442. * 62 bytes received in 1.1 seconds (0.054 Kbytes/s)
  443. * ftp> #cd eff
  444. * 250 CWD command successful.
  445. * ftp> #ls
  446. * 200 PORT command successful.
  447. * 150 ASCII data connection for /bin/ls (132.239.13.10,4805) (0 bytes).
  448. * Index
  449. * eff.brief
  450. * eff.info
  451. * eff.paper
  452. * eff1.00
  453. * eff1.01
  454. * eff1.02
  455. * eff1.03
  456. * eff1.04
  457. * eff1.05
  458. * realtime.1
  459. * 226 ASCII Transfer complete.
  460. * 105 bytes received in 1.8 seconds (0.057 Kbytes/s)
  461. * ftp> #get
  462. * (remote-file) #eff1.04
  463. * (local-file) #eff1.04
  464. * 200 PORT command successful.
  465. * 150 Opening ASCII mode data connection for eff1.04 (909 bytes).
  466. * 226 Transfer complete.
  467. * local: eff1.04 remote: eff1.04
  468. * 931 bytes received in 2.2 seconds (0.42 Kbytes/s)
  469. * ftp> #close
  470. * Bye...
  471. * ftp> #quit
  472. * %
  473. *
  474.  
  475.  
  476.    To read the file you can just 'get' the file and buff it! Now if the
  477. files are just too long you can 'xmodem' it off the host your on. Just type
  478. 'xmodem' and that will make it much faster to get the files. Here is the set
  479. up (stolen from ocf.berkeley.edu).
  480.  
  481.    If you want to:                                         type:
  482. send a text file from an apple computer to the ME       xmodem ra <filename>
  483. send a text file from a non-apple home computer         xmodem rt <filename>
  484. send a non-text file from a home computer               xmodem rb <filename>
  485. send a text file to an apple computer from the ME       xmodem sa <filename>
  486. send a text file to a non-apple home computer           xmodem st <filename>
  487. send a non-text file to a home computer                 xmodem sb <filename>
  488.  
  489.  
  490. xmodem will then display:
  491.  
  492. *
  493. * XMODEM Version 3.6 -- UNIX-Microcomputer Remote File Transfer Facility
  494. * File filename Ready to (SEND/BATCH RECEIVE) in (binary/text/apple) mode
  495. * Estimated File Size (file size)
  496. * Estimated transmission time (time)
  497. * Send several Control-X characters to cancel
  498. *
  499.  
  500.  
  501. Hints - File transfer can be an iffy endeavor; one thing that can help is to
  502. tell the annex box not to use flow control.  Before you do rlogin to an
  503. ME machine, type
  504.  
  505.  stty oflow none
  506.  stty iflow none
  507.  
  508. at the annex prompt.  This works best coming through 2-6092. Though i have
  509. not found this on too many UNIX systems with the xmodem command, but where it
  510. is you can find me LeEcHiNg files.
  511.  
  512.       |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  513.       |          Special commands used during ftp session:              |
  514.       |                                                                 |
  515.       | Command:            Description:            |
  516.       |                                 |
  517.       |     cdup            same as cd ..            |
  518.       |     dir             give detailed listing of files    |
  519.       |                                 |
  520.       |                                                                 |
  521.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  522.  
  523. c:   How to tftp the Files
  524.  
  525.      tftp (Trivial File Transfer Protocol, the command is not in caps,
  526. because UNIX is cap sensitive) is a command that is used to transfer files
  527. from host to host. This command is used sometimes like ftp, in that you can
  528. mover around using UNIX command. I will not go into this part of the command,
  529. but i will go into the basic format, and structure to get files you want. More
  530. over I will be covering how to flip the /etc/passwd out of remote sites. Real
  531. use full, then you can give Killer Kracker a test run!
  532.      Well there is a little trick that has been around a while. This trick it
  533. the tftp. This little trick will help you to "flip" the /etc/passwd file out
  534. of different sites. This can be real handy, you can have the passwd file with
  535. out breaking into the system. Then just run Brute Hacker (the latest version)
  536. on the thing, thus you will save time, and energy.  This 'hole' (NOTE the
  537. word 'hole' is not used in this case in the normal sense, the normal sense it
  538. a way to obtain super user status once in UNIX) may be found on SunOS 3.X,
  539. but have been fixed in 4.0. Though i have found this hole in several other
  540. system, such as System V, BSD and a few others.
  541.      The only problem with this 'hole' is that the system manager will
  542. sometimes know that you are doing this (that is if the manager know what the
  543. hell he is doing). The problem occurs when attempts to tftp the /etc/passwd
  544. is done too many times, you may see this (or something like this) when you
  545. logon on to your ? account. (This is what I buffed this off
  546. plague.berkeley.edu, hmm i think they knew what i was doing <g>).
  547.  
  548. *
  549. * DomainOS Release 10.3 (bsd4.3) Apollo DN3500 (host name):
  550. *         This account has been deactivated due to use in system cracking
  551. * activities (specifically attempting to tftp /etc/passwd files from remote
  552. * sites) and for having been used or broken in to from <where the calls are
  553. * from>.  If the legitimate owner of the account wishes it reactivated,
  554. * please mail to the staff for more information.
  555. *
  556. * - Staff
  557. *
  558.  
  559.     Though, if this is not done too much it can be a use full tool in hacking
  560.  on Internet. The tftp is used in this format is as follow:
  561.  
  562.  tftp -<command> <any name> <Internet Address>  /etc/passwd  <netascii>
  563.  
  564. Command      -g   is to get the file, this will copy the file onto
  565.                   your 'home' directory, thus you can do anything with
  566.                   the file.
  567.  
  568. Any Name     If your going to copy it to your 'home' directory
  569.              you may want to name anything that is not already
  570.              used. I have found it best to name it 'a<and the internet
  571.              address>' or the internet address name, so I know
  572.              where is came from.
  573.  
  574. Internet     This is the address that you want to snag the passwd file
  575.    Address   from.  I will not include any for there are huge list that other
  576.              hackers have scanned out, and I would be just copying their
  577.              data.
  578.  
  579. /ETC/PASSWD  THIS IS THE FILE THAT YOU WANT, ISN'T IT ? I DO NOT THINK YOU
  580.              want John Jones mail. Well you could grab their mail, this
  581.              would be one way to do it.
  582.  
  583. netascii     This how you want file transferred, you can also do it
  584.              Image, but i have never done this. I just leave it blank, and it
  585.              dose it for me.
  586.  
  587. &            Welcome to the power of UNIX, it is multitasking, this little
  588.              symbol place at the end will allow you to do other things (such
  589.              as grab the passwd file from the UNIX that you are on).
  590.  
  591.     Here is the set up:We want to get the passwd file from sunshine.ucsd.edu.
  592. The file is copying to your 'home' directory is going to be named
  593. 'asunshine'.
  594.  
  595. *
  596. * $ #tftp -g asunshine sunshine.ucsd.edu /etc/passwd &
  597. *
  598.  
  599.  
  600. d  Basic Fingering
  601.  
  602.    Fingering is a real good way to get account on remote sites. Typing 'who'
  603. of just 'finger <account name> <CR>' you can have names to "finger". This
  604. will give you all kinds info. on the persons account, thus you will have a
  605. better chance of cracking that system. Here is a example of how to do it.
  606.  
  607.  
  608. *
  609. * % #who
  610. * joeo                 ttyp0       Jun 10 21:50   (bmdlib.csm.edu)
  611. * gatsby               ttyp1       Jun 10 22:25   (foobar.plague.mil)
  612. * bbc                  crp00       Jun 10 11:57   (aogpat.cs.pitt.edu)
  613. * liliya               display     Jun 10 19:40
  614.  
  615.                  /and fingering what you see
  616.  
  617. * % #finger bbc
  618. * Login name: bbc                     In real life: David Douglas Cornuelle
  619. * Office: David D. Co
  620. * Directory: //aogpat/users_local/bdc     Shell: /bin/csh
  621. * On since Jun 10 11:57:46 on crp00 from aogpat   Phone 555-1212
  622. * 52 minutes Idle Time
  623. * Plan: I am a dumb fool!!
  624. * %
  625. *
  626.  
  627.      From there i can just call 'aogpat.cs.pit.edu' and try to hack it out.
  628. Try the last name as the password, the first name, middle name and try them
  629. all backwards (do i really need to explain it any more). The chances are real
  630. good that you WILL get in since you now have something to work with.
  631.      If there are no users in line for you to type "who" you can just type
  632. "last" and all the user who logged on will come rolling out, and "finger"
  633. them. The only problem with using the last command is aborting it.
  634.      You can also try and call them and say you are the system manager, and
  635. bull
  636. shit your way to your new account! But i have not always seen phone numbers,
  637. only on some systems....
  638.  
  639.  
  640. 11  Networks You Will See Around
  641. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  642.    I though I would add this as a reference guide to some common networks on
  643. the Internet. If anything, you can know what people are talking about on some
  644. good BBSs you may be on. NOTE I assembled this list from various information
  645. I have.
  646.  
  647.  
  648. AARNet -      Australian Academic and Research Network, this network is to
  649.               support research for various Australian Universities. This
  650.               network supports TCP/IP, DECnet, and OSI (CLNS).
  651.  
  652. ARPANET -     Getting sick of reading about this yet ? Well i am getting
  653.               sick of typing it.
  654.  
  655. BITNET -      Because It's Time NETwork (BITNET) is a worldwide network that
  656.               connects many colleges and universities. This network uses many
  657.               different protocols, but it dose use the TCP/IP. Maybe you will
  658.               come across it.
  659.  
  660. CREN CSNET -  Corporation for Research and Educational Network (CREN), The
  661.               Computer + Science research NETwork (CSNET). This network
  662.               links scientists at sites all over the world. CSNET providing
  663.               access to the Internet, CRET to BITNET. CREN being the name
  664.               used today.
  665.  
  666. CSUNET -      California State University Network (CSUNET). This net
  667.               connects the California State University campuses and other
  668.               universities in California. This network is based on the CCITT
  669.               X.25 protocol, and also uses TCP/IP, SNA/DSLC, DECnet, etc etc.
  670.  
  671. The Cypress Net - This network started as a experimental network. The use
  672.              of this network today is to connection to the TCP/IP Internet
  673.              as a cheap price.
  674.  
  675. DRI -        Dirty Rotten Oops, _Defense _Research _Internet is a WAN that
  676.              is used as a platform from which to work from. This network has
  677.              all kind of services, such as multicast service, real-time
  678.              conference etc. This network uses the TCP/IP (also see RFC
  679.              907-A for more information on this network).
  680.  
  681. ESnet -      Is the new network by the Department of Energy Office of Energy
  682.              Research (DoE OER). This net is the backbone for all DoE OER
  683.              programs. This network replaced the High Energy Physics DECnet
  684.              (HEPnet) and also the Magnetic Fusion Energy network (MFEnet).
  685.              The protocols offered are IP/TCP, and also DECnet service.
  686.  
  687. JANET -      JANET is a Joint Academic NETwork based in the UK, connected to
  688.              the Internet. JANET is a PSN (information has pass through a
  689.              PAD) using the protocol X.25 though it dose support the TCP/IP.
  690.              This network also connects PSS (Packet Switched Service is a
  691.              PSN that is owned and operated by British telecom).
  692.  
  693. JUNET -      Japan's university message system using UUCP, the Internet
  694.              as its backbone, and X.25 (Confused, read RFC 877). This network
  695.              is also a part of USENET (this is the network news).
  696.  
  697. Los Nettos - Los Nettos is a high speed MAN in the Los Angeles area. This
  698.              network uses the IP/TCP.
  699.  
  700. MILNET -     When ARPANET split, the DDN was created, thus MILNET (MILitary
  701.              NETwork) being apart of the network. MILNET is a unclassified,
  702.              along with three other classified networks which make up the
  703.              DDN.
  704.  
  705. NORDUNet -   This net is the backbone to the networks in the Nordic
  706.              Countries, Denmark (DENet), Finland (FUNET), Iceland (SURIS),
  707.              Norway (UNINETT), and Sweden (SUNET). NORDUnet supports TCP/IP,
  708.              DECNet, and X.25.
  709. NSN -        NASA Science Network (NSN), this network is for NASA to send and
  710.              relay information. The protocols used are TCP/IP and there is a
  711.              sister network called Space Physics Analysis Network (SPAM) for
  712.              DECNet.
  713.  
  714. ONet -       Ontario Network  is a TCP/IP network that is research network.
  715.  
  716.  
  717.  
  718. NSFNet -     National Science Foundation Network, this network is in the
  719.              IP/TCP family but in any case it uses UDP (User Diagram
  720.              Protocol) and not TCP. NSFnet is the network for the US
  721.              scientific and engineering research community. Listed below are
  722.              all the NSFNet Sub-networks.
  723.  
  724.  
  725.        BARRNet -     Bay Area Regional Research Network is a MAN in the San
  726.                      Francisco area. This network uses TCP/IP. When on this
  727.                      network  be sure and stop into LBL and say hi to Cliff
  728.                      Stool! Welp, I do not think there is a bigger fool!
  729.                      (yeah I read his book too, i did not stop hacking for a
  730.                      weeks after reading it).
  731.  
  732.        CERFnet -     California Education and Research Federation Network is
  733.                      a research (welp, there is a lot of research going to in
  734.                      the Internet, huh ?) based network supporting Southern
  735.                      Californian Universities communication services. This
  736.                      network uses TCP/IP.
  737.  
  738.        CICNet -      Committee on Institutional Cooperation. This network
  739.                      services the BIG 10, and University of Chicago. This
  740.                      network uses
  741.  
  742.        JvNCnet -     John von Neumann National Supercomputer Center. This
  743.                      network uses  TCP/IP.
  744.  
  745.        Merit -       Mert is a network connects Michigan's academic and
  746.                      research computers. This network supports TCP/IP, X.25
  747.                      and Ethernet for LANs.
  748.  
  749.        MIDnet -      MIDnet connects 18 universities and research centers in
  750.                      the midwest US. The support protocols are TELNET, FTP
  751.                      and SMTP.
  752.  
  753.        MRNet -       Minnesota Regional Network, this network services
  754.                      Minnesota. The network protocols are TCP/IP.
  755.  
  756.        NEARnet -     New England Academic and Research Network, connects
  757.                      various research/educational institutions. You
  758.                      can get more information about this net by mailing
  759.                      'nearnet-staff@bbn.com'. That is if you have address
  760.                      like I do.
  761.  
  762.        NCSAnet -     National Center for Supercomputing Applications
  763.                      (hell, there is a network for this ? I can think of
  764.                      a lot of application for it a Cray, Kracking K0dez
  765.                      maybe?) supports the whole IP family (TCP, UDP, ICMP,
  766.                      etc).
  767.  
  768.        NWNet -       North West Network provides service to the Northwestern
  769.                      US, and Alaska. This network supports IP and DECnet.
  770.  
  771.        NYSERNet -    New York Service Network is a autonomous nonprofit
  772.                      network. This network supports the TCP/IP.
  773.  
  774.        OARnet -      Ohio Academic Resources Network gives access to Ohio
  775.                      Supercomputer Center.  This network supports TCP/IP.
  776.  
  777.        PREPnet -     Pennsylvania Research and Economic Partnership is a
  778.                      network run, operated and managed by Bell of
  779.                      Pennsylvania. It supports TCP/IP.
  780.  
  781.        PSCNET -      Pittsburgh Supercomputer Center serving Pennsylvania,
  782.                      Maryland, and Ohio. It supports TCP/IP, and DECnet.
  783.  
  784.        SDSCnet -     San Diego Super Computer Center is a network whose
  785.                      goal is to support research in the field of science.
  786.                      The Internet address is 'y1.ucsc.edu' or call Bob
  787.                      at 619/534+5o6o and ask for a account on his Cray. I
  788.                      am sure he will be happy to help you out.
  789.  
  790.        Sesquinet -   Sesquinet is a network based in Texas, TCP/IP are the
  791.                      primary protocols.
  792.  
  793.        SURAnet -     Southeastern Universities Research Association Network
  794.                      is a network that connects southern institutions. It is
  795.                      more of a south eastern connection, than a southern
  796.                      connection.
  797.  
  798.        THEnet -      Texas Higher Education Network is a network that is run
  799.                      by Texas A&M University. This network connects to host
  800.                      Mexico.
  801.  
  802.        USAN/NCAR -   University SAtellite Network (USAN)/National Center
  803.                      for Atmospheric Research is a network for the for
  804.                      a information exchange.
  805.  
  806.        Westnet -     Westnet connects the western part of the US, not
  807.                      including California. The network is supported by
  808.                      Colorado State University.
  809.  
  810. USENET -     USENET is the network news (the message base for the Internet).
  811.              This message base is the largest i have ever seen, with well
  812.              over 400 different topics, connecting 17 different countries.
  813.              I just read the security, unix bugs, and telco talk posts with
  814.              each of those subs having 100++ posts a day, i send a few hours
  815.              reading. There is just too much!!
  816.  
  817.  
  818. 12  Internet Protocols
  819. ~~~~~~~~~~~~~~~~~~~~~~
  820.      TCP/IP is a general term, this means everything related to the whole
  821. family of Internet protocols. The protocols in this family are IP, TCP, UDP,
  822. ICMP, ROSE, ACSE, CMIP, ISO, ARP and Ethernet for LANs. I will not go into
  823. the too in depth, as to not take up ten-thousand pages, and not to bore you,
  824. if you want more information, get the RFCs. RFCs authors (yeah authors, some
  825. RFC are books!!) are stuck up Ph.d.s in Computer Science, hell I am just some
  826. dumb Cyberpunk.
  827.       TCP/IP protocol is a "layered" set of protocols.  In this diagram taken
  828. from RFC 1180 you will see how the protocol is layered when connection is
  829. made.
  830.  
  831. Figure is of a Basic TCP/IP Network Nodes
  832.  
  833.          -----------------------------------
  834.          |      Network    Application     |
  835.          |                                 |
  836.          | ... \  |  /  ..  \  |  /    ... |
  837.          |     -------      -------        |
  838.          |     | TCP |      | UDP |        |
  839.          |     -------      -------        |
  840.          |           \       /             |          % Key %
  841.          |  -------   ---------            |          ~~~~~~~
  842.          |  | ARP |   |  IP   |            |   UDP  User Diagram Protocol
  843.          |  -------   ------*--            |   TCP  Transfer Control Protocol
  844.          |     \            |              |   IP   Internet Protocol
  845.          |      \           |              |   ENET Ethernet
  846.          |       -------------             |   ARP  Address Resolution
  847.          |       |    ENET   |             |                  Protocol
  848.          |       -------@-----             |   O    Transceiver
  849.          |              |                  |   @    Ethernet Address
  850.          -------------- | ------------------   *    IP address
  851.                         |
  852. ========================O=================================================
  853.       ^
  854.       |
  855.   Ethernet Cable
  856.  
  857. TCP/IP: If connection is made is between the IP module and the TCP module
  858.         the packets are called a TCP datagram. TCP is responsible for making
  859.         sure that the commands get through the other end. It keeps track of
  860.         what is sent, and retransmits anything that does not go through. The
  861.         IP provides the basic service of getting TCP datagram from place to
  862.         place. It may seem like the TCP is doing all the work, this is true
  863.         in small networks, but when connection is made to a remote host on
  864.         the Internet (passing through several networks) this is a complex
  865.         job. Say I am connected from a server at UCSD, and I am connection
  866.         through to LSU (SURAnet) the data grams have to pass through a NSFnet
  867.         backbone. The IP has to keep track of all the data when the switch is
  868.         made at the NSFnet backbone from the TCP to the UDP. The only NSFnet
  869.         backbone that connects LSU is University of Maryland. U. of Maryland
  870.         has different circuit sets, thus having to pass through them. The
  871.         cable (trunk)/circuit types are the T1 (a basic 24-channel 1.544 Md/s
  872.         pulse code modulation used in the US) to a 56 Kbps. Keeping track of
  873.         all the data from the switch from T1 to 56Kbs and TCP to UDP is not
  874.         all it has to deal with. Datagrams on their way to the NSFnet
  875.         backbone (U. of Maryland) may take many different paths from the UCSD
  876.         server.
  877.             All the TCP dose is break up the data into datagrams (manageable
  878.         chunks), and keeps track of the datagrams. The TCP keeps track of the
  879.         datagrams by placing a header at the front of each datagram. The
  880.         header contains 160 (20 octets) pieces of information about
  881.         the datagram. Some of the information in this is the sending FQDN to
  882.         the receiving FQDN (more over the port address, but Fully Qualified
  883.         Domain Name is a much better term). The datagrams are numbers in
  884.         octets (a group of eight binary digits, say there are 500 octets of
  885.         data, the numbering of the datagrams would be 0, next datagram 500,
  886.         next datagram 1000, 1500 etc.
  887.  
  888. UDP/IP: UDP is one of the two main protocols to count of the IP. In other
  889.         words the UDP works the same as TCP, it places a header on the data
  890.         you send, and passes it over to the IP for transportation through out
  891.         the internet. The difference is in it offers service to the user's
  892.         network application, thus it dose not maintain a end-to-end
  893.         connection, it just pushes the datagrams out!
  894.  
  895. ICMP:  ICMP is used for relaying error messages, such as you may try to
  896.        connect to a system and get a message back saying "Host unreachable",
  897.        this is ICMP in action. This protocol is universal within the
  898.        Internet, because if it's nature. This protocol dose not use port
  899.        numbers in it's headers, since it talks to the network software it
  900.        self.
  901.  
  902. Ethernet:  Most of the networks use Ethernet. Ethernet is just a party line.
  903.        When packets are sent out on the Ethernet, every host on the Ethernet
  904.        sees them. To make sure the packets get to the right place the
  905.        Ethernet designers wanted to make sure that each address is different.
  906.        For this reason 48 bits are allocated for the Ethernet address, and a
  907.        built in Ethernet address on the Ethernet controller.
  908.             The Ethernet packets have a 14-octet header, this includes
  909.        address to and from. The Ethernet is not too secure, it is possible to
  910.        have the packets go to two places, thus someone can see just what you
  911.        are doing. You need to take note that the Ethernet is not connected to
  912.        the internet, in other words a host on the Ethernet and on the
  913.        Internet has to have both a Ethernet connection and a Internet server.
  914.  
  915. ARP    ARP translates IP address to Ethernet address. A conversion table is
  916.        used (the table is called ARP Table) to convert the addresses. Thus
  917.        you would never even know if you were connected to the Ethernet
  918.        because you would be connecting to the IP address.
  919.  
  920.     This is a real ruff description of  a few Internet protocols, but if you
  921. would like to know more information you can access it via anonymous ftp from
  922. various hosts. Here is a list of RFC that are on the topic of protocols.
  923.  
  924.  
  925.       |~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  926.       |     RFC:      |       Description:                     |
  927.       |               |                                        |
  928.       |~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  929.       |   rfc1011     |  Official Protocols of the Internet    |
  930.       |   rfc1009     |  NSFnet gateway specifications         |
  931.       |   rfc1001/2   |  netBIOS: networking for PC's          |
  932.       |   rfc894      |  IP on Ethernet                        |
  933.       |   rfc854/5    |  telnet - protocols for remote logins  |
  934.       |   rfc793      |  TCP                                   |
  935.       |   rfc792      |  ICMP                                  |
  936.       |   rfc791      |  IP                                    |
  937.       |   rfc768      |  UDP                                   |
  938.       |               |                                        |
  939.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  940.  
  941. 13  Hostname and Address
  942. ~~~~~~~~~~~~~~~~~~~~~~~~
  943.  
  944.   This is for those of who like to know what they are doing, and when it
  945. comes to address, you will know what you are looking at.
  946.  
  947.  
  948.    Hostnames:
  949.  
  950.    Internet address are long and hard to remember such as 128.128.57.83. If
  951. you had to remember all the hosts you are on you would need a really good
  952. memory which most people (like me) do not have. So Being humans (thus lazy)
  953. we came up with host names.
  954.         All hosts registered on the Internet must have names that reflect
  955. them domains under which they are registered. Such names are called Fully
  956. Qualified Domain Names (FQDNs). Ok, lets take apart a name, and see such
  957. domains.
  958.  
  959.  
  960.  lilac.berkeley.edu
  961.    ^      ^      ^
  962.    |      |      |
  963.    |      |      |____  ``edu'' shows that this host is sponsored by a
  964.    |      |               educational related organization. This is a
  965.    |      |               top-level domain.
  966.    |      |
  967.    |      |___________   ``berkeley'' is the second-level domain, this
  968.    |                       shows that it is an organization within UC
  969.    |                       Berkeley.
  970.    |
  971.    |__________________   ``lilac'' is the third-level domain, this indicates
  972.                            the local host name is 'lilac'.
  973.  
  974.    Here is a list of top-level domain you will run into.
  975.  
  976.       |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  977.       |            Common Top-Level Domains                 |
  978.       |                                                     |
  979.       |   COM  -  commercial enterprise                     |
  980.       |   EDU  -  educational institutions                  |
  981.       |   GOV  -  nonmilitary government agencies           |
  982.       |   MIL  -  military (non-classified)                 |
  983.       |   NET  -  networking entities                       |
  984.       |   ORG  -  nonprofit intuitions                      |
  985.       |                                                     |
  986.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  987.  
  988.       Addressing:
  989.  
  990.       A network address is that numeric address of a host, gateway or TAC.
  991. The address was though of with us in mind, meaning it is easy to scan
  992. (war dial, wonder etc..). The address are maid up of four decimals numbered
  993. slots, which are separated by the well know dot called a period. The think I
  994. will place at the end of this sentence. See it, it is four word over from the
  995. word four. Now that we have that down <Grin>, we can move on. There are three
  996. classes that are used most, these are Class A, Class B, and Class C. I know
  997. this has nothing to do with you, but I feel you should know what they are...
  998.  
  999.  
  1000.    Class A  -  from '0'    to  '127'
  1001.    Class B  -  from '128'  to  '191'
  1002.    Class C  -  from '192'  to  '223'
  1003.  
  1004.  
  1005. Class A  -  Is for MILNET net hosts. The first part of the address has the
  1006.             network number. The second is for the their physical PSN port
  1007.             number, and the third is for the logical port number, since it is
  1008.             on MILNET it is a MILNET host. The fourth part is for which PSN
  1009.             is on. 29.34.0.9. '29' is the network it is on. '34'  means it is
  1010.             on port '34'. '9' is the PSN number.
  1011.  
  1012. Class B  -  This is for the Internet hosts, the first two "clumps" are for
  1013.             the network portion. The second two are for the local port.
  1014.  
  1015.              128.28.82.1
  1016.                \_/   \_/
  1017.                 |     |_____ Local portion of the address
  1018.                 |
  1019.                 |___________ Potation address.
  1020.  
  1021. Class C  -  The first three "clumps" is the network portion. And the last one
  1022.             is the local port.
  1023.  
  1024.             193.43.91.1
  1025.               ^  ^  ^ ^
  1026.                \_|_/  |_____ Local Portation Address
  1027.                  |
  1028.                  |__________ Network Portation Address
  1029.  
  1030.  
  1031.  
  1032. 14  Tips and Hints
  1033. ~~~~~~~~~~~~~~~~~~
  1034.  
  1035.     When on a stolen account these are basic thing to do and not to do.
  1036.  
  1037.        -  Do not logon too late at night. All the manager has to
  1038.           do is see when you logoned by typing "login". If it
  1039.           sees 3 am to 5 am he is going to know that you were
  1040.           in the system. I know, I love spending all night on a
  1041.           account, but the best times are in the middle of the day
  1042.           when the normal (the owner) would use the account. (NOTE
  1043.           this is what they look for !)
  1044.       -   Do not leave files that were not there on *ANY*
  1045.           directory, checks are sometimes made. This is on a
  1046.           system security check list, which is normally done from
  1047.           time to time.
  1048.       -   When hacking, do not try to hack a account more than
  1049.           three times. It does show up on a logon file (when more
  1050.           than three try are made on the same account !), and it
  1051.           will also not let you logon on the account even if you
  1052.           do get it right (NOTE this is not on all UNIX systems).
  1053.       -   Do not type in your handle ! you real name etc ..
  1054.       -   Encrypt all the mail you send.
  1055.       -   Leave VMS alone, VMS and TCP/IP do not mix well. It is
  1056.           not worth your time. VMS is better for a X.25 network.
  1057.       -   DO send The Gatsby all the accounts you will get and
  1058.           have.
  1059.  
  1060.          @#$$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#%@#$@#$%
  1061.          #                                                     @
  1062.          $      I would like to take this time to thank        #
  1063.          %     Doctor Dissector for getting me on in the       $
  1064.          @      The Internet in the first place, and           %
  1065.          #      for helping me correct the errors in           @
  1066.          $               the first release.                    #
  1067.          %                                                     $
  1068.          @               The Gatsby    1991                    %
  1069.          #                                                     @
  1070.          @#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$%@#$
  1071.  
  1072.                    This has been a AXiS Production!
  1073.  
  1074.  
  1075.                               |\ /|
  1076.                               (6_9)
  1077.                                'U`
  1078.                                 .
  1079. =/eof                           .
  1080.  
  1081.  
  1082.  
  1083.