The meaning of the word hacking
The word "hacking" doesn't really have 69 different meanings, according to Phil Agre's MIT hacker. In fact, the hack has only one meaning…
An article from the first era of cyberpunks.es, originally published in 2012. We’ve kept it exactly as it was, as part of the city’s history.
The word “hacking” doesn't really have 69 different meanings, according to MIT hacker Phil Agre. In fact, hack has only one meaning, an extremely subtle and profound one that defies articulation. Which connotation is implied by a given use of the word depends in similarly profound ways on the context. Similar remarks apply to a couple of other hacker words, most notably random.
Hacking might be characterised as “an appropriate application of ingenuity”. Whether the result is a quick-and-dirty patch job or a carefully crafted work of art, you have to admire the cleverness that went into it.
An important secondary meaning of hack is “a creative practical joke”. This kind of hack is easier to explain to non-hackers than the programming kind. Of course, some hacks have both natures; see the lexicon entries for pseudo and kgbvax. But here are some examples of pure pranks that illustrate the hacking spirit:
In 1961, students from Caltech (the California Institute of Technology, in Pasadena) hacked the Rose Bowl football game. One student posed as a reporter and “interviewed” the director of the University of Washington card stunts (the stunts involve people in the stands holding up coloured cards to make pictures). The reporter found out exactly how the stunts were run, and also that the director would be going out to dinner later.
While the director was eating, the students (who called themselves the “Fiendish Fourteen”) picked a lock and stole a blank instruction sheet for the card stunts. They then had a printer run off 2300 copies of the blank. The next day they picked the lock again and stole the master plans for the stunts — large sheets of graph paper coloured in with the stunt pictures. Using these as a guide, they made new instructions for three of the stunts on the duplicate blanks. Finally, they broke in once more, returning the stolen master plans and swapping the stack of doctored instruction sheets for the original set.
The result was that three of the pictures were completely different. Instead of “WASHINGTON”, the word “CALTECH” was flashed. Another stunt showed the word “HUSKIES”, the Washington nickname, but spelt backwards. And what was meant to be a picture of a husky turned out to be a beaver. (Both Caltech and MIT use the beaver — nature's engineer — as a mascot.)
After the game, the Washington faculty athletic representative said: “Some thought it ingenious; others were indignant.” The Washington student body president said: “No hard feelings, but at the time it was unbelievable. We were amazed.”
This is now considered a classic hack, particularly because revising the direction sheets amounts to a form of programming.
Here is another classic hack:
On 20 November 1982, MIT hacked the Harvard–Yale football game. Just after Harvard's second touchdown against Yale, in the first quarter, a small black ball popped up out of the ground at the 40-yard line and grew bigger, and bigger, and bigger. The letters MIT appeared all over the ball. As the players and officials stood around gawping, the ball grew to six feet in diameter and then burst with a bang and a puff of white smoke.
The Boston Globe later reported: “If you want to know the truth, MIT won the game.”
The prank had taken weeks of careful planning by members of MIT's Delta Kappa Epsilon fraternity. The device consisted of a weather balloon, a hydraulic ram powered by Freon gas to lift it out of the ground, and a vacuum-cleaner motor to inflate it. They made eight separate expeditions to Harvard Stadium between 1 and 5 in the morning, locating an unused 110-volt circuit in the stadium and running buried wires from the stadium circuit to the 40-yard line, where they buried the balloon device. When the time came to set it off, two fraternity members had only to flip a circuit breaker and push a plug into a socket.
This stunt had all the hallmarks of a perfect hack: surprise, publicity, the ingenious use of technology, safety and harmlessness. Manual control meant the prank could be timed so as not to disrupt the game (it was set off between plays, so the result of the game would not be affected). The perpetrators had even thoughtfully attached a note to the balloon explaining that the device was not dangerous and contained no explosives.
Harvard president Derek Bok commented: “They have an awful lot of clever people down there at MIT, and they did it again.” MIT president Paul E. Gray said: “There is absolutely no truth to the rumour that I had anything to do with it, but I wish there were.”
The hacks above are verifiable history; they can be shown to have happened. Many other classic hacking stories from MIT and elsewhere, though retold as history, have the hallmarks of what Jan Brunvand has called “urban folklore” (see FOAF). Perhaps the best known of these is the legend of the infamous trolley-car hack, an alleged incident in which engineering students are said to have welded a tram to its tracks with thermite. Numerous versions of it have been recorded from the 1940s to the present, most set at MIT but at least one very detailed version set at CMU.
Brian Leibowitz has researched MIT hacks, both real and mythical, extensively; the interested reader is referred to the marvellous pictorial compendium The Journal of the Institute for Hacks, Tomfoolery, and Pranks (MIT Museum, 1990, ISBN 0-917027-03-5). The Institute has a World Wide Web page at http://hacks.mit.edu/Hacks/Gallery.html. There is a sequel entitled Is This the Way to Baker House?. The Caltech Alumni Association has published two similar books, Legends of Caltech and More Legends of Caltech.
Here is a story about one of the classic computer hacks:
Back in the mid-1970s, several members of the system support staff at Motorola discovered a relatively simple way to crack system security on the Xerox CP-V timesharing system. Through a simple programming strategy, a user program could trick the system into running part of the program in “master mode” (supervisor state), where memory protection does not apply. The program could then poke a large value into its “privilege level” byte (normally write-protected) and go on to bypass every level of security in the file-management system, patch the system monitor and do plenty of other interesting things. In short, the barn door was wide open.
Motorola quite properly reported the problem to Xerox via an official “level 1 SIDR” (a bug report with an intended urgency of “needs to be fixed yesterday”). Because the text of every SIDR went into a database that could be viewed by quite a lot of people, Motorola followed the approved procedure: they simply reported the problem as a “Security SIDR” and attached all the necessary documentation, ways to reproduce it, etc.
The CP-V people at Xerox sat on their thumbs; either they didn't realise how serious the problem was, or they didn't assign the operating-system staff needed to develop and distribute an official patch.
Months passed. The Motorola guys pestered their Xerox field-support rep, to no avail. In the end they decided to take direct action, to show Xerox management just how easily the system could be cracked and just how thoroughly its security safeguards could be subverted.
They dug around in the operating-system listings and devised a thoroughly devilish set of patches. These patches were then built into a pair of programs called “Robin Hood” and “Friar Tuck”. Robin Hood and Friar Tuck were designed to run as “ghost jobs” (daemons, in Unix terminology); they used the existing loophole to subvert system security, installed the necessary patches and then kept an eye on each other's status in order to stop the system operator (in effect, the superuser) from aborting them.
One fine day, the system operator on the main CP-V software development system in El Segundo was surprised by a number of unusual phenomena. These included the following:
Tape drives would rewind and dismount their tapes in the middle of a job.
Disk drives would seek back and forth so fast that they would try to walk across the floor (see walking drives).
The card-punch output device would occasionally start up of its own accord and punch a “lace card” (a card with every position punched). These would usually jam in the punch.
The console would print snide and insulting messages from Robin Hood to Friar Tuck, or vice versa.
The Xerox card reader had two output stackers; it could be told to stack into A, stack into B, or stack into A (unless a card was unreadable, in which case the bad card went into stacker B). One of the patches installed by the ghosts added some code to the card-reader driver… after reading a card, it would flip over to the opposite stacker. As a result, card decks would split themselves in half as they were read, leaving the operator to recollate them by hand.
Naturally, the operator called in the operating-system developers. They found the bandit ghost jobs running and killed them… and were once again surprised. When Robin Hood was gunned down, the following sequence of events took place:
! X id1
id1: Friar Tuck… I am under attack! Pray save me!
id1: Off (aborted)
id2: Fear not, friend Robin! I shall rout the Sheriff
of Nottingham's men!
id1: Thank you, my good fellow!
Each ghost job would detect that the other had been killed and would start a new copy of the freshly slain program within a few milliseconds. The only way to kill both ghosts was to kill them at the same time (very difficult) or to crash the system deliberately.
Finally, the system programmers did the latter — only to find that the bandits reappeared when the system rebooted! It turned out that the two programs had patched the boot-time OS image (the kernel file, in Unix terms) and had added themselves to the list of programs to be started at boot (much like the way Windows viruses spread).
The Robin Hood and Friar Tuck ghosts were finally wiped out when the system staff rebooted the system from a clean boot tape and reinstalled the monitor. Not long afterwards, Xerox released a patch for the problem.
It is alleged that Xerox filed a complaint with Motorola management about the merry-prankster antics of the two employees in question. There is no record of any serious disciplinary action being taken against either of them.
Finally, here is a wonderful hack story for the new millennium:
1990's contribution to the sacred tradition of April Fool RFCs was RFC 1149, A Standard for the Transmission of IP Datagrams on Avian Carriers. It outlined a method for transmitting IP packets via carrier pigeons.
Eleven years later, on 28 April 2001, the Bergen Linux User Group successfully demonstrated CPIP (Carrier Pigeon IP) between two Linux machines running on opposite sides of a small mountain in Bergen, Norway. Their network stack used printers to hex-dump packets on to paper, pigeons to carry the paper, and OCR software to read the dumps at the other end and feed them into the receiving machine's network layer.
Here is the actual log of the ping command they ran successfully. Note the exceptional packet times.
Script started on Sat 28 Apr 2001 11:24:09
Vegard @ gyversalen: ~ $ / sbin / ifconfig tun0
Link encap tun0: Point-to-Point Protocol
inet addr: 10.0.3.2 P-t-P: 10.0.3.1 Mask: 255.255.255.255
UP RUNNING POINTOPOINT NOARP MULTICAST MTU: 150 Metric: 1
RX packets: 1 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 2 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0
RX bytes: 88 (88,0 b) TX bytes: 168 (168.0 b)
Vegard @ gyversalen: ~ $ ping-i 450 10.0.3.1
PING 10.0.3.1 (10.0.3.1): 56 data bytes
64 bytes from 10.0.3.1: icmp_seq = 0 ttl = 255 time = 6165731.1 ms
64 bytes from 10.0.3.1: icmp_seq = 4 ttl = 255 time = 3211900.8 ms
64 bytes from 10.0.3.1: icmp_seq = 2 ttl = 255 time = 5124922.8 ms
64 bytes from 10.0.3.1: icmp_seq = 1 ttl = 255 time = 6388671.9 ms
- 10.0.3.1 ping statistics -
9 packets transmitted, 4 packets received, 55% packet loss
round-trip min / avg / max = 3211900.8/5222806.6/6388671.9 ms
Vegard @ gyversalen: ~ $ exit
Script done on Sat 28 Apr 2001 14:14:28
A web page documenting the event, with photos, is at http://www.blug.linux.no/rfc1149/. In the best Internet tradition, all the software involved was open source; the custom parts are available to download from the site.
While everyone acknowledged the scale of this achievement, there was some debate over whether BLUG's implementation properly conformed to the RFC. It seems they had not used the duct tape specified in 1149 to attach the messages to the pigeons' legs, but had instead used other methods less objectionable to the pigeons. The debate was duly settled when it was pointed out that the duct-tape specification was not preceded by a MUST, so it was a recommendation rather than a requirement.
The authors wrapped up their preliminary assessment like this: “Now we're waiting for someone to write other implementations, so we can do interoperability tests, and maybe we can finally get the RFC on to the standards track…”.
The next logical step should be an implementation of RFC2549.
FAQ
What does the word hacking mean?
In the original hacker culture, born in places like MIT, hacking means applying ingenuity cleverly to solve a problem or pull off something unexpected. It can be a quick fix or a carefully crafted piece of work; what people admire is the smarts behind it. Only over time did the word become linked, in everyday language, with breaking into computers.
What's the difference between a hacker and a cybercriminal?
A hacker is someone who enjoys understanding exactly how systems work and finding clever solutions, whether in programming, electronics or any other field. Someone who breaks into other people's systems without permission to steal or cause damage is a cybercriminal, sometimes called a cracker. Ethical hacking, for example, means looking for security flaws with authorisation so they can be fixed.
What is a hack in the prank sense?
Besides its technical meaning, a hack is a creative practical joke, pulled off with ingenuity and without causing harm. Universities such as MIT and Caltech have a long tradition of these hacks, which usually take planning, technical know-how and a great sense of humour, and are valued as much for their execution as for the surprise they cause.
What are the most famous hacks in history?
Two classics are the 1961 Rose Bowl, when Caltech students secretly changed the instructions for the crowd's card mosaic and the word “Caltech” appeared, and the 1982 Harvard–Yale game, when MIT students made a huge balloon bearing the letters MIT rise out of the turf until it burst.
What is the carrier pigeon RFC 1149?
RFC 1149 is a humorous document published on 1 April 1990 that describes how to transmit internet data using carrier pigeons. In 2001, the Bergen Linux user group in Norway put it into practice and managed to send ping packets by pigeon, with enormous response times. It's a perfect example of a hack born of pure ingenuity.