home *** CD-ROM | disk | FTP | other *** search
/ TAP YIPL / TAP_and_YIPL_Collection_CD.iso / PHREAK / GENERAL / BILLSF.TXT < prev    next >
Text File  |  1996-05-19  |  27KB  |  449 lines

  1. Subject: Re: OMNIBOX.EXE
  2. Date: Tue, 15 Feb 94 23:20:38 MET
  3. References: <1994Feb15.045429.9689@ultb.isc.rit.edu>
  4. X-Newsreader: HNR 1.36b by Kafka & The Dude
  5.  
  6. css0958@ultb.isc.rit.edu (C.S. Swanson) once said:
  7.  
  8. CS> Hi, I'm not exactly sure who posted OMNIBOX.EXE, but cool idea.
  9. CS> Only thing is, I tried it and it didn't work. I taped it on
  10. CS> my micro recorder, a pretty hi quality one. Then I tried all methods
  11. CS> previously listed h er for RED BOXES. I called information, dialed long
  12. CS> distance direct, etc. I had only quarters taped and once one did
  13. CS> produced the message a nickel has been deposited, but only the nickel
  14. CS> when I had 4 quarters taped in a row.
  15. CS> 
  16. CS> My question is this. TRhe person who posted OMNIBOX.EXE, good job on the
  17. CS> programming, I'm sure it works great. Obviously you know what your
  18. CS> doing. I was wondering if you could post some sample sessions on how to
  19. CS> use especially the red box, but even the others. Or any one else for
  20. CS> that matter. Also, has anyone gotten OMNIBOX.EXE to work?
  21. CS> 
  22. CS> In addition, sources of ftp sites that have this info would be
  23. CS> outstanding. Thank you much for any info you can provide, this all
  24. CS> sounds like a lot of fun to try out.
  25.  
  26.  
  27.      
  28.      Hitchhikers guide to the phone system.. Phreaking in the nineties
  29.                                (By Billsf)
  30.  
  31.  
  32.                                 Introduction
  33.                                 ------------
  34.  
  35.  
  36.   In this article I will try to introduce you to the most complex machine on
  37. earth: the phone system. It's a guide to having fun with the technology, and
  38. I hope it will help you on your travels through the network. It is by no 
  39. means a definitive manual: If you really want to get into this, there are lots
  40. of additional things you must learn and read.
  41.   This article assumes you know a little bit about the history of phreaking.
  42. It is meant as an update for the sometimes very outdated documents that can
  43. be downloaded from BBS's. In here I'll tell you which of the old tricks might
  44. still work today, and what new tricks you may discover as you become a phone
  45. phreak.
  46.   As you learn to phreak you will (hopefully) find ways to make calls that 
  47. you could not make in any other way. Calls to test numbers that you cannot
  48. reach from normal network, calls to ships (unaffordable otherwise), and much
  49. more. As you tell others about the hidden world you have discovered, you will
  50. run into people who have been brainwashed into thinking that all exploration
  51. into the inner workings of the phone system is theft or fraud. Convincing 
  52. these people of your right to explore is probably a waste of time, and does
  53. not advance your technical knowledge.
  54.   Phreaking is like magic in more than one way. Those people who are really
  55. good share their tricks with each other, but usually don't give out these
  56. tricks to anyone walking by. This will be somewhat annoying at first, but
  57. once you're really good you'll understand that it's very unpleasant if the
  58. trick you just discovered is wasted the very next day. I could tell you at
  59. least twenty new tricks in this article but I prefer to teach you how to find
  60. your own.
  61.   Having said this, the best way to get into phreaking is to hook up with 
  62. other phreaks. Unlike any other sub-culture, phreaks are not bound by any
  63. geographical restrictions. You can find other phreaks by looking for 
  64. hacker/phreak BBS's in your region. Having made contact there you may en-
  65. counter these same people in teleconferences that are regularly set up. These
  66. conferences usually have people from all over the planet. Most phreaks from
  67. other contries outside the United States speak Englisch, so language is not
  68. as much of a barrier as you might think.
  69.   If you live in a currently repressed area, such as the United States, you
  70. should beware that even the things that you consider "harmless exploring"
  71. could get you into lots of trouble (confiscation of computer, fines, probation
  72. jail, loss of job, etc.). Use your own judgement and find your protection.
  73.  
  74.  
  75.                              Getting Started
  76.                              ---------------
  77.  
  78.   The human voice contains components as low as 70Hz, and as high as 8000Hz.
  79. Most energy however is between 700 and 900Hz. If you cut off the part under
  80. 200 and above 3000, all useful information is still there. This is exactly
  81. what phone companies do on long distance circuits.
  82.   If you think all you have to do is blow 2600Hz and use a set of twelve MF
  83. combinations, you have a lot of catching up to do. One of the first multi-
  84. frequency systems was R1 with 2600Hz as the line signalling frequency, but for
  85. obvious reasons it is rarely used anymore, except for some very small remote
  86. communities. In this case its use is restricted, meaning it will not give you
  87. access to all the world in most cases.
  88.   To begin with, all experimenting starts at home. As you use your phone, 
  89. take careful note as what it does on a variety of calls. Do you hear "dialing"
  90. in the background of certain calls as they are set up? Do you hear any high
  91. pitched beeps while a call is setting up, as it's answered or at hangup of
  92. the called party?
  93.   Can you make your CO fial to complete a call either by playing with the
  94. switchhook or dialing strange numbers? If you are in the United States, did
  95. you ever do something that will produce a recording:"We're sorry, your call
  96. did not go through..." after about 15 seconds of nothing?
  97.   If you can do the last item, you are "in" for sure! Any beeps on answer or
  98. hang-up of the called party also means a sure way in. Hearing the actual MF
  99. tones produced by the telco may also be your way in. While it would be nice
  100. to find this behavior on a toll-free circuit, you may consider using a 
  101. national toll circuit to get an overseas call or even a local circuit for a
  102. bigger discount. Every phone in the world has a way in. All you have to do
  103. is find one!
  104.   
  105.  
  106.                            An overview of Systems
  107.                            ----------------------
  108.  
  109.   First we must start with numbering plans. The world is divided up into
  110. eight separate zones. Zone 1 is the United States, Canada and some Caribbean
  111. nations having NPA 809. Zone 2 is Africa. Greenland (299) and Faroe Islands
  112. (298) do not like their Zone 2 assignment, but Zones 3 and 4 (Europe) are
  113. all taken up. Since the DDR is now unified with BRD (Germany) the code 37 is
  114. up for grabs and will probably be subdivided into ten new country codes to
  115. allow the new nations of Europe, including the Baltics, to have their own
  116. codes. Greenland and the Faroe Islands should each get a 37x country code.
  117. Zone 5 is Latin America, including Mexico (52) and Cuba (53). Zone 6 is the 
  118. south Pacific and includes Australia (61), New Zealand (64) and Malaysia (60).
  119. Zone 7 is now called CIS (formerly the Soviet Union), but may become a third
  120. European Code. Zone 8 is Asia and includes Japan (81), Korea (82), Vietnam
  121. (84), China (86), and many others. Zone 9 is the sub-continent of India (91)
  122. and surrounding regions. A special sub-zone is 87, which is the maritime
  123. satellite service (Inmarsat). Country code 99 is reserved as a test code for
  124. international and national purposes and may contain many interesting numbers.
  125.   In zone 1, a ten digit number follows with a fixed format, severely limiting
  126. the total number of phones. NPA's like 310 and 510 attest to that. The new
  127. plan (beginning in 1995) will allow the middle digit to be other than 1 or 0,
  128. allowing up to five times more phones. This is predicted to last into the
  129. 21st century. After that Zone 1 must move to the fully extensible system used
  130. in the rest of the world.
  131.   The "rest of the world" uses a system where "0" precedes the area code for
  132. numbers dialed within the country code. France and Denmark are notable ex-
  133. ceptions, where there are no area codes or just one as in France (1 for Paris
  134. and just eight digits for the rest). This system has proven to be a total
  135. mess - worse than the Zone 1 plan!
  136.   In the usual numbering system, the area code can be of any length, but at 
  137. this time between one and five digits are used. The phone number can be any
  138. length too, the only requirement being that the whole number, including the
  139. country code but not the zero before the area code, must not exceed fourteen
  140. digits. Second dialtones are used in some systems to tell customers they are 
  141. connected to the area they are calling and are to proceed with the number.
  142. With step-by-step, you would literally connect to the distant city and then
  143. actually signal it with your pulses. Today, if second dialtones are used it's
  144. only because they were used in the past. They have no meaning today, much
  145. like the second dialtones in the custom calling features common in the United
  146. States. The advantages of the above "linked" system is that it allows ex-
  147. pansion where needed without affecting other numbers. Very small villages may
  148. only have a three digit number while big cities may have eight digit numbers.
  149. Variations of this basic theme are common. In Germany, a large company in 
  150. Hamburg may have a basic five digit number for the reception and eight digit
  151. numbers for the employee extensions. In another case in this same town, 
  152. analog lines have seven digits and ISDN lines have eight digits. In many
  153. places it common to have different length numbers coming to the same place.
  154. As confusing as it sounds, it really is easier to deal with than the fixed
  155. number plan!
  156.  
  157.                            
  158.                       International Signalling Systems
  159.                       --------------------------------
  160.  
  161.   CCITT number four (C4) is an early system that linked Europe together and
  162. connected to other systems for overseas calls. C4 uses two tones: 2040 and
  163. 2400. Both are played together for 150mS (P) to get the attention of the
  164. distant end, followed by a "long" (XX or YY = 350mS) or a "short" (X or Y =
  165. 100mS) of either 2040 (x or X) or 2400 (y or Y) to indicate status of the
  166. call buildup. Address data (x=1 or y=0, 35 ms) is sent in bursts of four bits
  167. as hex digits, allowing 16 different codes. One hundred milliseconds of 
  168. silence was placed between each digit in automatic working. Each digit there-
  169. fore took 240mS to send. This silence interval was non-critical and often had
  170. no timeout, allowing for manual working. C4 is no longer in wide use, but it
  171. was, due to its extreme simplicity a phreak favorite.
  172.   CCITT number five (C5) is still the world's number one overseas signalling
  173. method; over 80 percent of all overseas trunks use it. The "plieks" and tones
  174. on Pink Floyd's "The Wall" are C5, but the producer edited it, revealing an
  175. incomplete number with the old code for Londen. He also botched the cadance
  176. of the address signalling very badly, yet it really sounds OK to the ear as
  177. perhaps the only example most Americans have of what an overseas call sounds
  178. like!
  179.   In actual overseas working, one-half second of 2400 and 2600Hz, compound,
  180. is sent (clear forward) followed by just the 2400Hz (seize), which readies
  181. the trunk for the address signalling. All address signals are preceded with
  182. KP1 (code 13) for terminal traffic, plus a discriminating digit for the class
  183. of call and the number. The last digit is ST (code 15) to tell the system
  184. signalling is over. For international transit working, KP2 (code 14) is used
  185. to tell the system a country code follows, after which the procedure is 
  186. identical to the terminal procedure.
  187.   CCITT six and seven (C6 and C7) are not directly accessible from the
  188. customer's line, yet many "inband" systems interface to both of thes. C6 is
  189. also called Common Channel Interoffice Signalling (CCIS) and as its name
  190. implies, a dedicated line carries all the setup information for a group of
  191. trunks. Modems (usually 1200 Bps) are used at each end of the circuit. CCIS
  192. is cheaper, and as an added benefit, killed all the child's play blue boxing
  193. that was common in the states in the 60's and early 70's. In the early 80's
  194. fiber and other digital transmission became commonplace, and a new signalling
  195. standard was required. C7 places all line, address, and result (backward)
  196. signalling on a Time Division Multiplexed Circuit (TDM and TDMC) along with
  197. everything else like data and voice. All ISDN systems require the use of SS7
  198. to communicate on all levels from local to worldwide.
  199.   The ITU/CCITT has developed a signalling system for very wide and general
  200. use. One called "The European System", R2 has become a very widespread inter-
  201. national system used on all continents. R2 is the most versatile end-to-end
  202. system ever developed. It is a two-way system like C7 and comes in two forms,
  203. analog and digital, both fully compatible with each other. R2 has completely
  204. replaced C4, with the possible exception of a few very remote areas where it
  205. works into R2 using using registers. Two groups of fifteen, two of six MF
  206. tones are used for each direction, the high frequency group forward and the
  207. low group backward. Line signalling can be digital with two channels or out-
  208. of-band at 3825Hz, DC, or in cases of limited bandwidth on trunks, can use the
  209. C4 line signals, just the 2040 + 2400Hz or 3000Hz or even backward signals
  210. sent in a forward direction. The signals can be digitally quantised using the
  211. A-law or u-law codec standards, resulting in compatible signals for analog
  212. lines. In international working, only a small part of the standard is man-
  213. datory with a massive number of options available. For national working, an
  214. ample number of MF combinations are "reserved for national use", providing
  215. an expandable system with virtually limitless capabilities. R2 is the "system
  216. of the nineties" and mastering this, for the first time, allows the phone
  217. phreak "to hold the whole world in his hands" in a manner that the person who
  218. coined this phrase could have only dreamed of in the early seventies!
  219.   With the exception of bilateral agreements between neighboring countries to
  220. make each other's national systems compatible, especially in border regions,
  221. all international systems in use are: C5, C6, C7, and R2. R2 is limited to a
  222. single numbering region by policy and must use one of the three remaining 
  223. systems for overseas working. There are few technical limitations to prevent
  224. R2 from working with satellites, TASI, or other analog/digital underseas 
  225. cables. The spec is flexible enough to allow overseas working, but is not 
  226. done at the present time. R2 is likely to displace C5 on the remaining analog
  227. trunks in the near future.
  228.  
  229. DTMF is on a 4x4 matrix, one tone from a row and one from a column.
  230.   1=697+1209, etc.
  231.  
  232.             1209       1336      1477     1633
  233.     697       1          2         3        A
  234.     770       4          5         6        B
  235.     852       7          8         9        C
  236.     941       *          0         #        D
  237.  
  238. MF signalling, often used to signal between pionts, uses a 2 of 6 matrix.
  239. Each tone has a weighting which adds up to an unique number. The three
  240. standard sets of tones use this system.
  241.  
  242.        Digit                Weighting
  243.          1                    0+1
  244.          2                    0+2
  245.          3                    1+2
  246.          4                    0+4
  247.          5                    1+4
  248.          6                    2+4
  249.          7                    0+7
  250.          8                    1+7
  251.          9                    2+7
  252.          0 (Code 10)          4+7
  253.          11 (Code 11)         0+12
  254.          12 (Code 12)         1+12
  255.          KP1 (Code 13)        2+12
  256.          KP2 (Code 14)        3+12
  257.          ST (Code 15)         7+12
  258.  
  259. For C5, either KP is 100mS and each digit lasts 50mS. A 50mS off time is used
  260. between each digit. For older R1 systems, the KP is 100mS and each digit is
  261. 68mS on and 68mS off. Modern systems are C5 compatible and use the C5 timing.
  262. In North America, an additional 50 or 68mS pause is inserted before the last
  263. digit.
  264. Example: KP18(pause)2ST.....KP03120600148(pause)0ST. This pattern was added
  265. about 15 years ago and appears to be unnecessary, except to give an audible
  266. indication of false (blue box) signalling. Its is is HIGHLY recommended for
  267. phreaks where it is normally used by the telco! R2 is a COMPELLED system
  268. where reception of the forward signal produces a backward signal, which at
  269. its reception, stops the forward signal. The stopping of the forward signal
  270. stops the backward signal, and when the stopping of the backward signal is
  271. detected, a new forward signal is generated. This goes back and forth until
  272. all the information is transmitted. The backward signal (usually "1", send
  273. next digit) tells the sendig end what to send next. See the CCITT Red Book
  274. or Welch for complete information on both systems.
  275.  
  276.    Weight        MFC       R2 forward      R2 Backward
  277.      0           700         1380             1140
  278.      1           900         1500             1020
  279.      2           1100        1620             900
  280.      4           1300        1740             780
  281.      7           1500        1860             660
  282.      12          1700        1980             540
  283.  
  284. C4 is the old European signalling system. The address signals have 35mS pause
  285. between each beep and 100mS pause (minimum) between each digit. Minimum time
  286. to send a digit (including pause) is 345mS. This system is limited use today,
  287. if at all.
  288.  
  289.    x:     2040                35mS (binary "1")
  290.    y:     2400                35mS (binary "0")
  291.    X:     2040                100mS
  292.    Y:     2400                100mS
  293.    XX:    2040                350mS
  294.    YY:    2400                350mS
  295.    P:     2040+2400           150mS
  296.  
  297.    Clear Forward:     PXX
  298.    Transit Seizure:   PX
  299.    Forward Transfer:  PYY
  300.    Terminal Seizure:  PY
  301.    1:  yyyx
  302.    2:  yyxy
  303.    3:  yyxx
  304.    ...
  305.    14: xxxy
  306.    15: xxxx
  307.    16: yyyy
  308.  
  309.  
  310.    Place                     Event       Freq             Cadance
  311.    =========================================================================
  312.    N. America                dialtone    350+440          Continuous
  313.                              ring        440+480          2s on 4s off
  314.                              busy        480+620          0.5s on 0.5s off
  315.                              fast busy   480+620          0.25 on 0.25 off
  316.    England                   ring        450+500          0.25 on 0.5 off
  317.    (Australia,New Zealand,                                0.25 on 2.0 off
  318.    etc.)                                                  
  319.    Japan                     ring        450+500          1.0 on 2.0 off
  320.    Holland                   dialtone    150+450          Continuous
  321.                                          (450 at -8dB)    
  322.    most of world             all         400 or 440       (See text)
  323.                              SIT         950, 1400, 1800  (See text)
  324.  
  325.  
  326.   Most of the world's phone systems use only one low pitched tone to represent
  327. all calling status. The most common tones in use are 400Hz, 440Hz and 450Hz.
  328. In some cases the tones are modulated, usually AM, at 25 or 50Hz at variable
  329. depths. In some old switches, the ring modulates the tone, or it is just the
  330. harmonics of the ring frequency, which is usually 25Hz, but can be other 
  331. frequencies, producing the "fart ring". Cadances for the busy are either the
  332. fast at 0.25 on and 0.25 off, or the slow at 0.5 on and 0.5 off. Ring signals
  333. are usually on one second and off for two, but can vary. In Iraq, the ring is
  334. continuous! The SIT (Subscriber Information Tone) is 950 then 1400 and then
  335. 1800Hz. The total length is about one second. The lengths of the individual
  336. tones are sometimes variable to impart different meanings for automatic 
  337. detection.
  338.  
  339.  
  340.                         National Signalling Systems
  341.                         ---------------------------
  342.  
  343.   CCITT 1, 2 and 3 are early international standards for signalling the 
  344. distant end. C1 is just a 500Hz line signalling tone, and was used to alert
  345. the operator at a distant switchboard that there was traffic and no DC path,
  346. due to amplifiers or repeaters on a relatively long circuit. C1 has only one
  347. line signalling function (forward transfer) and no address signalling. It is
  348. probably used nowhere.
  349.   CCITT 2 was the first international standard that used address signalling,
  350. allowing automatic completion of calls. Two frequencies, 600Hz and 750Hz,
  351. were used for line signalling and by pulsing between the two frequencies,
  352. representing make and break, of the loop current at the distant end during
  353. signalling, calls were automatically pulse dialable. You may actually find
  354. this system in limited use in very remote parts of Australia or South Africa.
  355. Fairly high signalling levels are required and may very well make customer
  356. signalling impossible, unless you are right there. Travel to both the above
  357. countries should be fascinating however for both phone play and cultural
  358. experience!
  359.   CCITT 3 is an improved pulse system. Onhook is represented by the presence
  360. of 2280Hz and offhook by the absence of 2280Hz. This exact system is still
  361. used in a surprising number of places. Pulse-dial PBX's often use C3 to signal
  362. distant branches of a company over leased lines. Signalling for this system
  363. is generally at a much lower level than C2: The tones will propagate over any
  364. phone line.
  365.   A system from the early 50's is called R1. Many people remember R1 as the 
  366. Blue boxes of the 60's and 70's . R1 is still in wide use in the United
  367. States, Canada and Japan. The use of 2600Hz for line signalling is quite rare
  368. in the 90's, but can be found in all of the above countries. Address signal-
  369. ling uses the MFC standard which is a combination of two of six tones
  370. between 700Hz and 1700Hz as in CCITT 5. Alsmost all R1 used either "out of
  371. band" signalling at 3825Hz or 3350Hz or some form of digital or DC line
  372. signalling. To use this system from home one must find an indirect method of
  373. using the "out of band" signalling. In North America, most signalling from
  374. your central office to your long distance carrier is R1, as is most OSPS/
  375. TSPS/TOPS operator traffic.
  376.   Pulse systems like CCITT 2 and 3 are still used in national systems. In
  377. North America, the C3 standard using 2600Hz in place of 2280 for national
  378. working was commonplace through the 70's and still has limited end-to-end use
  379. today. "End-to-end" use refers to sending just the last few digits (usually
  380. five) to complete the call at the distant end. The only use this may have to
  381. the phreak would be to make several calls to a single locality on one quarter.
  382. It may be possible that a certain code would drop you into an R1, but you 
  383. just have to experiment! This type of system is referred to as 1VF, meaning
  384. "one Voice Frequency". The other standard frequency, for use outside North 
  385. America, is 2400Hz. A national system using two voice frequencies (2VF) may
  386. still be used in remote areas of Sweden and Norway. The two frequencies are
  387. 2400Hz and 2600Hz. Playing these two systems in Europe predates the cracking
  388. of the R1 and C5 systems in the late 50's and early 60's respectively. The
  389. first phone phreak was probably in Sweden.
  390.   Common Channel Interoffice Signalling (CCIS) is CCITT 6 developed for
  391. national use and employing features that are of interest to national admini-
  392. strations. R1 often plays into a gateway being converted to CCIS and CCIS
  393. will play into a gateway that converts to C5, C6 or C7 for international 
  394. working. The bulk of the ATT net is CCIS in North America, while R1 is often
  395. used by your CO talk to it and the lessel networks. CCITT 7 is the digital
  396. system and is the same nationally as internationally. C7 allows the greatest
  397. efficiency of all systems and will in time be the world system. C7 has much
  398. more speed and versatility than R2, but is a digital only system. All fiber
  399. optic systems employ SS7 (C7).
  400.   No discussion of systems is complete without mentioning Socotel. Socotel is
  401. a general system developed by the French. It is a hodgepodge of many systems,
  402. using MFC, pulse tone, pulse AC and pulse DC system. Most (all?) line 
  403. signalling tones can be used. An inband system can use 2500Hz as a clear
  404. forward and 1700 or 1900Hz for seize or, in Socotel terms, "confirm". Most
  405. line signalling today is "out of band", but unlike normal outband signalling,
  406. it is below band: DC, 50Hz or 100Hz. It is a "brute force" system using 100V
  407. levels, insuring no customer has a chance of getting it directly! Call setup
  408. on the AC systems often has a very characteristic sound of of short bursts of
  409. 50Hz or 100Hz buzz, followed by the characteristic French series of 500 Hz
  410. beeps to alert the customer that the call has been received from the Socotel
  411. by the end office and is now being (pulse) dialed. Calls often don't make it
  412. through all the gateways of a Socotel system, sometimes giving the French
  413. phreak a surprise access where it stuck!
  414.   On a national level there are even more systems and some are very bizarre.
  415. Some use backward R2 tones in the forward direction for line signalling, 
  416. giving analog lines the versatility of digital line signalling. There have
  417. been some interlocal trunks that actually used DTMF in place of MF! The
  418. "Silicon Valley" was once served by DTMF trunks for instance. When I visited
  419. my local toll office and was told this and pressed for an answer as to why,
  420. I was told "We had extra (expensive then) DTMF receivers and used them!" As
  421. a phreak, be ready for anything as you travel the world.
  422.  
  423.  
  424.                               Stuff to read
  425.                               -------------
  426.  
  427.   Signalling in Telecommunications Networks, S. Welch, 1979
  428.     ISBN 0 906048 044
  429.   The Institution of Electrical Engineers, Londen & New York
  430.   CCITT Red Book, Blue Book, Green Book and whatever other colors of books
  431.   they have, Concentrate on the Q norms.
  432.   Telecommunications Engineering, Roger L. Freeman
  433.  
  434.  
  435. - EOF -
  436.  
  437.  
  438.  
  439. ---
  440. Patrick Oonk                |                                      _____
  441. KAFKA@DESERT.HACKTIC.NL     |           Use the source, Luke !     |\ /|
  442. Finger kafka@hacktic.nl     |                                      | O |
  443. for PGP public key          |                                      |/_\|
  444. PAGER: 06-58358511/2/3/4    |
  445. ======== Join the Digital City, telnet dds.hacktic.nl, login 'gast' ==========
  446.  
  447.  
  448.  
  449.