xdxdxd123

Untitled

May 24th, 2017
3,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 316.06 KB | None | 0 0
  1. Ok just a quick note, this is a very early version of the book and
  2. was later banned. We've done our best in converting it to ASCII.
  3. It's taken us some time to put it together because of the
  4. reformatting, so I hope it's appreciated. We have kept to the
  5. original page numbering for so that the index will be correct.
  6. Compliments Electronic Images - Gizmo
  7. Century Communications
  8. - T H E -
  9. - H A C K E R ' S -
  10. - H A N D B O O K -
  11. Copyright (c) Hugo Cornwall
  12. All rights reserved
  13. First published in Great Britain in 1985 by Century Communications Ltd
  14. Portland House, 12-13 Greek Street, London W1V 5LE.
  15. Reprinted 1985 (four times)
  16. ISBN 0 7126 0650 5
  17. Printed and bound in Great Britain by Billing & Sons Limited, Worcester.
  18. CONTENTS
  19. Introduction vii
  20. First Principles
  21. 2 Computer-to-computer communications 7
  22. 3 Hackers' Equipment 15
  23. 4 Targets: What you can find on mainframes 30
  24. 5 Hackers' Intelligence 42
  25. 6 Hackers' Techniques 57
  26. 7 Networks 69
  27. 8 Viewdata systems 86
  28. 9 Radio computer data 99
  29. 10 Hacking: the future 108
  30. Hacker's Handbook
  31. file:///E|/Books/Hackers Handbook.htm (1 of 133) [11/28/2000 5:58:48 AM]
  32. Appendices
  33. I troubleshooting 112
  34. II Glossary 117
  35. III CCITT and related standards 130
  36. IV Standard computer alphabets 132
  37. V Modems 141
  38. VI Radio Spectrum 144
  39. VII Port-finder flow chart 148
  40. INTRODUCTION
  41. The word 'hacker' is used in two different but associated
  42. ways: for some, a hacker is merely a computer enthusiast of any kind,
  43. who loves working with the beasties for their own sake, as opposed to
  44. operating them in order to enrich a company or research project --or
  45. to play games.
  46. This book uses the word in a more restricted sense: hacking is a
  47. recreational and educational sport. It consists of attempting to make
  48. unauthorised entry into computers and to explore what is there. The
  49. sport's aims and purposes have been widely misunderstood; most
  50. hackers are not interested in perpetrating massive frauds, modifying
  51. their personal banking, taxation and employee records, or inducing
  52. one world super-power into inadvertently commencing Armageddon in the
  53. mistaken belief that another super-power is about to attack it. Every
  54. hacker I have ever come across has been quite clear about where the
  55. fun lies: it is in developing an understanding of a system and
  56. finally producing the skills and tools to defeat it. In the vast
  57. majority of cases, the process of 'getting in' is much more
  58. satisfying than what is discovered in the protected computer files.
  59. In this respect, the hacker is the direct descendant of the phone
  60. phreaks of fifteen years ago. Phone phreaking became interesting as
  61. intra-nation and international subscriber trunk dialling was
  62. introduced, but when the London-based phreak finally chained his way
  63. through to Hawaii, he usually had no one there to speak to except the
  64. local weather service or American Express office, to confirm that the
  65. desired target had indeed been hit. One of the earliest of the
  66. present generation of hackers, Susan Headley, only 17 when she began
  67. her exploits in California in 1977, chose as her target the local
  68. phone company and, with the information extracted from her hacks, ran
  69. all over the telephone network. She 'retired' four years later, when
  70. friends started developing schemes to shut down part of the phone
  71. system.
  72. There is also a strong affinity with program copy-protection
  73. crunchers. Most commercial software for micros is sold in a form to
  74. prevent obvious casual copying, say by loading a cassette, cartridge
  75. or disk into memory and then executing a 'save' on to a
  76. ** Page VII
  77. Hacker's Handbook
  78. file:///E|/Books/Hackers Handbook.htm (2 of 133) [11/28/2000 5:58:48 AM]
  79. blank cassette or disk. Copy-protection devices vary greatly in
  80. their methodology and sophistication and there are those who, without
  81. any commercial motive, enjoy nothing so much as defeating them. Every
  82. computer buff has met at least one cruncher with a vast store of
  83. commercial programs, all of which have somehow had the protection
  84. removed--and perhaps the main title subtly altered to show the
  85. cruncher's technical skills--but which are then never actually used
  86. at all.
  87. Perhaps I should tell you what you can reasonably expect from this
  88. handbook. Hacking is an activity like few others: it is semi-legal,
  89. seldom encouraged, and in its full extent so vast that no individual
  90. or group, short of an organisation like GCHQ or NSA, could hope to
  91. grasp a fraction of the possibilities. So this is not one of those
  92. books with titles like Games Programming with the 6502 where, if the
  93. book is any good and if you are any good, you will emerge with some
  94. mastery of the subject-matter. The aim of this book is merely to give
  95. you some grasp of methodology, help you develop the appropriate
  96. attitudes and skills, provide essential background and some
  97. referencing material--and point you in the right directions for more
  98. knowledge. Up to a point, each chapter may be read by itself; I have
  99. compiled extensive appendices, containing material which will be of
  100. use long after the main body of the text has been absorbed.
  101. It is one of the characteristics of hacking anecdotes, like those
  102. relating to espionage exploits, that almost no one closely involved
  103. has much stake in the truth; victims want to describe damage as
  104. minimal, and perpetrators like to paint themselves as heroes while
  105. carefully disguising sources and methods. In addition, journalists
  106. who cover such stories are not always sufficiently competent to write
  107. accurately, or even to know when they are being hoodwink- ed. (A note
  108. for journalists: any hacker who offers to break into a system on
  109. demand is conning you--the most you can expect is a repeat
  110. performance for your benefit of what a hacker has previously
  111. succeeded in doing. Getting to the 'front page' of a service or
  112. network need not imply that everything within that service can be
  113. accessed. Being able to retrieve confidential information, perhaps
  114. credit ratings, does not mean that the hacker would also be able to
  115. alter that data. Remember the first rule of good reporting: be
  116. sceptical.) So far as possible, I have tried to verify each story
  117. that appears in these pages, but hackers work in isolated groups and
  118. my sources on some of the important hacks of recent years are more
  119. remote than I would have liked. In these
  120. ** Page VIII
  121. cases, my accounts are of events and methods which, in all the
  122. circumstances, I believe are true. I welcome notes of correction.
  123. Experienced hackers may identify one or two curious gaps in the
  124. range of coverage, or less than full explanations; you can chose any
  125. combination of the following explanations without causing me any
  126. worry: first, I may be ignorant and incompetent; second, much of the
  127. fun of hacking is making your own discoveries and I wouldn't want to
  128. Hacker's Handbook
  129. file:///E|/Books/Hackers Handbook.htm (3 of 133) [11/28/2000 5:58:48 AM]
  130. spoil that; third, maybe there are a few areas which are really best
  131. left alone.
  132. Nearly all of the material is applicable to readers in all
  133. countries; however, the author is British and so are most of his
  134. experiences.
  135. The pleasures of hacking are possible at almost any level of
  136. computer competence beyond rank beginner and with quite minimal
  137. equipment. It is quite difficult to describe the joy of using the
  138. world's cheapest micro, some clever firmware, a home-brew acoustic
  139. coupler and find that, courtesy of a friendly remote PDP11/70, you
  140. can be playing with Unix, the fashionable multitasking operating
  141. system.
  142. The assumptions I have made about you as a reader are that you own a
  143. modest personal computer, a modem and some communications software
  144. which you know, roughly, how to use. (If you are not confident yet,
  145. practise logging on to a few hobbyist bulletin boards.) For more
  146. advanced hacking, better equipment helps; but, just as very tasty
  147. photographs can be taken with snap-shot cameras, the computer
  148. equivalent of a Hasselblad with a trolley- load of accessories is not
  149. essential.
  150. Since you may at this point be suspicious that I have vast
  151. technical resources at my disposal, let me describe the kit that has
  152. been used for most of my network adventures. At the centre is a
  153. battered old Apple II+, its lid off most of the time to draw away the
  154. heat from the many boards cramming the expansion slots. I use an
  155. industry standard dot matrix printer, famous equally for the variety
  156. of type founts possible, and for the paper-handling path, which
  157. regularly skews off. I have two large boxes crammed full of software,
  158. as I collect comms software in particular like a deranged
  159. philatelist, but I use one package almost exclusively. As for
  160. modems--well, at this point the set-up does become unconventional; by
  161. the phone point are jack sockets for BT 95A, BT 96A, BT 600 and a
  162. North American modular jack. I have two acoustic couplers, devices
  163. for plunging telephone handsets into so that the computer can talk
  164. down the line, at operating speeds of 300/300 and 75/1200. I also
  165. have three heavy, mushroom coloured 'shoe-boxes', representing modem
  166. technology of 4 or 5 years ago and operating at various speeds and
  167. combinations of duplex/half- duplex. Whereas the acoustic coupler
  168. connects my computer to the line by audio, the modem links up at the
  169. electrical level and is more accurate and free from error. I have
  170. access to other equipment in my work and through friends, but this is
  171. what I use most of the time.
  172. ** Page IX
  173. Behind me is my other important bit of kit: a filing cabinet.
  174. Hacking is not an activity confined to sitting at keyboards and
  175. watching screens. All good hackers retain formidable collections of
  176. articles, promotional material and documentation; read on, and you
  177. will see why.
  178. Hacker's Handbook
  179. file:///E|/Books/Hackers Handbook.htm (4 of 133) [11/28/2000 5:58:48 AM]
  180. Finally, to those who would argue that a hacker's handbook must be
  181. giving guidance to potential criminals, I have two things to say:
  182. First, few people object to the sports of clay-pigeon shooting or
  183. archery, although rifles, pistols and crossbows have no 'real'
  184. purpose other than to kill things--and hackers have their own code of
  185. responsibility, too. Second, real hacking is not as it is shown in
  186. the movies and on tv, a situation which the publication of this book
  187. may do something to correct. The sport of hacking itself may involve
  188. breach of aspects of the law, notably theft of electricity, theft of
  189. computer time and unlicensed usage of copyright material; every
  190. hacker must decide individually each instance as it arises.
  191. Various people helped me on various aspects of this book; they
  192. must all remain unnamed--they know who they are and that they have my
  193. thanks.
  194. ** Page X
  195. CHAPTER 1
  196. First Principles
  197. The first hack I ever did was executed at an exhibition stand run
  198. by BT's then rather new Prestel service. Earlier, in an adjacent
  199. conference hall, an enthusiastic speaker had demonstrated view-
  200. data's potential world-wide spread by logging on to Viditel, the
  201. infant Dutch service. He had had, as so often happens in the these
  202. circumstances, difficulty in logging on first time. He was using one
  203. of those sets that displays auto-dialled telephone numbers; that was
  204. how I found the number to call. By the time he had finished his third
  205. unsuccessful log-on attempt I (and presumably several others) had all
  206. the pass numbers. While the BT staff were busy with other visitors to
  207. their stand, I picked out for myself a relatively neglected viewdata
  208. set. I knew that it was possible to by-pass the auto-dialler with its
  209. pre-programmed phone numbers in this particular model, simply by
  210. picking up the the phone adjacent to it, dialling my preferred
  211. number, waiting for the whistle, and then hitting the keyboard button
  212. labelled 'viewdata'. I dialled Holland, performed my little by-pass
  213. trick and watched Viditel write itself on the screen. The pass
  214. numbers were accepted first time and, courtesy of...no, I'll spare
  215. them embarrassment...I had only lack of fluency in Dutch to restrain
  216. my explorations. Fortunately, the first BT executive to spot what I
  217. had done was amused as well.
  218. Most hackers seem to have started in a similar way. Essentially
  219. you rely on the foolishness and inadequate sense of security of
  220. computer salesmen, operators, programmers and designers.
  221. In the introduction to this book I described hacking as a sport;
  222. and like most sports, it is both relatively pointless and filled with
  223. rules, written or otherwise, which have to be obeyed if there is to
  224. be any meaningfulness to it. Just as rugby football is not only about
  225. Hacker's Handbook
  226. file:///E|/Books/Hackers Handbook.htm (5 of 133) [11/28/2000 5:58:48 AM]
  227. forcing a ball down one end of a field, so hacking is not just about
  228. using any means to secure access to a computer.
  229. On this basis, opening private correspondence to secure a password
  230. on a public access service like Prestel and then running around the
  231. system building up someone's bill, is not what hackers call hacking.
  232. The critical element must be the use of skill in some shape or form.
  233. ** Page 1
  234. Hacking is not a new pursuit. It started in the early 1960s when
  235. the first "serious" time-share computers began to appear at
  236. university sites. Very early on, 'unofficial' areas of the memory
  237. started to appear, first as mere notice boards and scratch pads for
  238. private programming experiments, then, as locations for games.
  239. (Where, and how do you think the early Space Invaders, Lunar Landers
  240. and Adventure Games were created?) Perhaps tech-hacking-- the
  241. mischievous manipulation of technology--goes back even further. One
  242. of the old favourites of US campus life was to rewire the control
  243. panels of elevators (lifts) in high-rise buildings, so that a request
  244. for the third floor resulted in the occupants being whizzed to the
  245. twenty-third.
  246. Towards the end of the 60s, when the first experimental networks
  247. arrived on the scene (particularly when the legendary
  248. ARPAnet--Advanced Research Projects Agency network-- opened up), the
  249. computer hackers skipped out of their own local computers, along the
  250. packet-switched high grade communications lines, and into the other
  251. machines on the net. But all these hackers were privileged
  252. individuals. They were at a university or research resource, and they
  253. were able to borrow terminals to work with.
  254. What has changed now, of course, is the wide availability of home
  255. computers and the modems to go with them, the growth of public-access
  256. networking of computers, and the enormous quantity and variety of
  257. computers that can be accessed.
  258. Hackers vary considerably in their native computer skills; a basic
  259. knowledge of how data is held on computers and can be transferred
  260. from one to another is essential. Determination, alertness,
  261. opportunism, the ability to analyse and synthesise, the collection of
  262. relevant helpful data and luck--the pre-requisites of any
  263. intelligence officer--are all equally important. If you can write
  264. quick effective programs in either a high level language or machine
  265. code, well, it helps. A knowledge of on-line query procedures is
  266. helpful, and the ability to work in one or more popular mainframe and
  267. mini operating systems could put you in the big league.
  268. The materials and information you need to hack are all around
  269. you--only they are seldom marked as such. Remember that a large
  270. proportion of what is passed off as 'secret intelligence' is openly
  271. available, if only you know where to look and how to appreciate what
  272. you find. At one time or another, hacking will test everything you
  273. know about computers and communications. You will discover your
  274. abilities increase in fits and starts, and you must
  275. Hacker's Handbook
  276. file:///E|/Books/Hackers Handbook.htm (6 of 133) [11/28/2000 5:58:48 AM]
  277. ** Page 2
  278. be prepared for long periods when nothing new appears to happen.
  279. Popular films and tv series have built up a mythology of what
  280. hackers can do and with what degree of ease. My personal delight in
  281. such Dream Factory output is in compiling a list of all the mistakes
  282. in each episode. Anyone who has ever tried to move a graphics game
  283. from one micro to an almost-similar competitor will already know that
  284. the chances of getting a home micro to display the North Atlantic
  285. Strategic Situation as it would be viewed from the President's
  286. Command Post would be slim even if appropriate telephone numbers and
  287. passwords were available. Less immediately obvious is the fact that
  288. most home micros talk to the outside world through limited but
  289. convenient asynchronous protocols, effectively denying direct access
  290. to the mainframe products of the world's undisputed leading computer
  291. manufacturer, which favours synchronous protocols. And home micro
  292. displays are memory-mapped, not vector-traced... Nevertheless, it is
  293. astonishingly easy to get remarkable results. And thanks to the
  294. protocol transformation facilities of PADs in PSS networks (of which
  295. much more later), you can get into large IBM devices....
  296. The cheapest hacking kit I have ever used consisted of a ZX81, 16K
  297. RAMpack, a clever firmware accessory and an acoustic coupler. Total
  298. cost, just over ú100. The ZX81's touch-membrane keyboard was one
  299. liability; another was the uncertainty of the various connectors.
  300. Much of the cleverness of the firmware was devoted to overcoming the
  301. native drawbacks of the ZX81's inner configuration--the fact that it
  302. didn't readily send and receive characters in the industry-standard
  303. ASCII code, and that the output port was designed more for instant
  304. access to the Z80's main logic rather than to use industry-standard
  305. serial port protocols and to rectify the limited screen display.
  306. Yet this kit was capable of adjusting to most bulletin boards;
  307. could get into most dial-up 300/300 asynchronous ports,
  308. re-configuring for word-length and parity if needed; could have
  309. accessed a PSS PAD and hence got into a huge range of computers not
  310. normally available to micro-owners; and, with another modem, could
  311. have got into viewdata services. You could print out pages on the ZX
  312. 'tin-foil' printer. The disadvantages of this kit were all in
  313. convenience, not in facilities. Chapter 3 describes the sort of kit
  314. most hackers use.
  315. It is even possible to hack with no equipment at all. All major
  316. banks now have a network of 'hole in the wall' cash machines-- ATMs
  317. or Automatic Telling Machines, as they are officially
  318. ** Page 3
  319. known. Major building societies have their own network. These
  320. machines have had faults in software design, and the hackers who
  321. played around with them used no more equipment than their fingers and
  322. brains. More about this later.
  323. Hacker's Handbook
  324. file:///E|/Books/Hackers Handbook.htm (7 of 133) [11/28/2000 5:58:48 AM]
  325. Though I have no intention of writing at length about hacking
  326. etiquette, it is worth one paragraph: lovers of fresh-air walks obey
  327. the Country Code; they close gates behind them, and avoid damage to
  328. crops and livestock. Something very similar ought to guide your
  329. rambles into other people's computers: don't manipulate files unless
  330. you are sure a back-up exists; don't crash operating systems; don't
  331. lock legitimate users out from access; watch who you give information
  332. to; if you really discover something confidential, keep it to
  333. yourself. Hackers should not be interested in fraud. Finally, just
  334. as any rambler who ventured past barbed wire and notices warning
  335. about the Official Secrets Acts would deserve whatever happened
  336. thereafter, there are a few hacking projects which should never be
  337. attempted.
  338. On the converse side, I and many hackers I know are convinced of one
  339. thing: we receive more than a little help from the system managers of
  340. the computers we attack. In the case of computers owned by
  341. universities and polys, there is little doubt that a number of them
  342. are viewed like academic libraries--strictly speaking they are for
  343. the student population, but if an outsider seriously thirsty for
  344. knowledge shows up, they aren't turned away. As for other computers,
  345. a number of us are almost sure we have been used as a cheap means to
  346. test a system's defences...someone releases a phone number and
  347. low-level password to hackers (there are plenty of ways) and watches
  348. what happens over the next few weeks while the computer files
  349. themselves are empty of sensitive data. Then, when the results have
  350. been noted, the phone numbers and passwords are changed, the security
  351. improved etc etc....much easier on dp budgets than employing
  352. programmers at £150/man/ day or more. Certainly the Pentagon has been
  353. known to form 'Tiger Units' of US Army computer specialists to
  354. pin-point weaknesses in systems security.
  355. Two spectacular hacks of recent years have captured the public
  356. imagination: the first, the Great Prince Philip Prestel Hack, is
  357. described in detail in chapter 8, which deals with viewdata. The
  358. second was spectacular because it was carried out on live national
  359. television. It occurred on October 2nd 1983 during a follow-up to the
  360. BBC's successful Computer Literacy series. It's worth reporting here,
  361. because it neatly illustrates the essence of hacking as a sport...
  362. skill with systems, careful research, maximum impact
  363. ** Page 4
  364. with minimum real harm, and humour.
  365. The tv presenter, John Coll, was trying to show off the Telecom
  366. Gold electronic mail service. Coll had hitherto never liked long
  367. passwords and, in the context of the tight timing and pressures of
  368. live tv, a two letter password seemed a good idea at the time. On
  369. Telecom Gold, it is only the password that is truly confidential;
  370. system and account numbers, as well as phone numbers to log on to the
  371. system, are easily obtainable. The BBC's account number, extensively
  372. publicised, was OWL001, the owl being the 'logo' for the tv series as
  373. well as the BBC computer.
  374. Hacker's Handbook
  375. file:///E|/Books/Hackers Handbook.htm (8 of 133) [11/28/2000 5:58:48 AM]
  376. The hacker, who appeared on a subsequent programme as a 'former
  377. hacker' and who talked about his activities in general, but did not
  378. openly acknowledge his responsibility for the BBC act, managed to
  379. seize control of Coll's mailbox and superimpose a message of his own:
  380. Computer Security Error. Illegal access. I hope your television
  381. PROGRAMME runs as smoothly as my PROGRAM worked out your passwords!
  382. Nothing is secure!
  383. Hackers' Song
  384. "Put another password in,
  385. Bomb it out and try again
  386. Try to get past logging in,
  387. We're hacking, hacking, hacking
  388. Try his first wife's maiden name,
  389. This is more than just a game,
  390. It's real fun, but just the same,
  391. It's hacking, hacking, hacking"
  392. The Nutcracker (Hackers UK)
  393. HI THERE, OWLETS, FROM OZ AND YUG
  394. (OLIVER AND GUY)
  395. After the hack a number of stories about how it had been carried
  396. out, and by whom, circulated; it was suggested that the hackers had
  397. crashed through to the operating system of the Prime computers upon
  398. which the Dialcom electronic mail software
  399. ** Page 5
  400. resided--it was also suggested that the BBC had arranged the whole
  401. thing as a stunt, or alternatively, that some BBC employees had fixed
  402. it up without telling their colleagues. Getting to the truth of a
  403. legend in such cases is almost always impossible. No one involved has
  404. a stake in the truth. British Telecom, with a strong commitment to
  405. get Gold accepted in the business community, was anxious to suggest
  406. that only the dirtiest of dirty tricks could remove the inherent
  407. confidentiality of their electronic mail service. Naturally, the
  408. British Broadcasting Corporation rejected any possibility that it
  409. would connive in an irresponsible cheap stunt. But the hacker had no
  410. great stake in the truth either--he had sources and contacts to
  411. protect, and his image in the hacker community to bolster. Never
  412. expect any hacking anecdote to be completely truthful.
  413. ** Page 6
  414. CHAPTER 2
  415. Hacker's Handbook
  416. file:///E|/Books/Hackers Handbook.htm (9 of 133) [11/28/2000 5:58:48 AM]
  417. Computer-to-Computer
  418. Communications
  419. Services intended for access by microcomputers are nowadays
  420. usually presented in a very user-friendly fashion: pop in your
  421. software disc or firmware, check the connections, dial the telephone
  422. number, listen for the tone...and there you are. Hackers, interested
  423. in venturing where they are not invited, enjoy no such luxury. They
  424. may want to access older services which preceded the modern 'human
  425. interface'; they are very likely to travel along paths intended, not
  426. for ordinary customers, but for engineers or salesmen; they could be
  427. utilising facilities that were part of a computer's commissioning
  428. process and have been hardly used since.
  429. So the hacker needs a greater knowledge of datacomms technology than
  430. does a more passive computer user, and some feeling for the history
  431. of the technology is pretty essential, because of its growth pattern
  432. and because of the fact that many interesting installations still use
  433. yesterday's solutions.
  434. Getting one computer to talk to another some distance away means
  435. accepting a number of limiting factors:
  436. * Although computers can send out several bits of information at
  437. once, the ribbon cable necessary to do this is not economical at any
  438. great length, particularly if the information is to be sent out over
  439. a network--each wire in the ribbon would need switching separately,
  440. thus making ex- changes prohibitively expensive. So bits must be
  441. transmitted one at a time, or serially.
  442. ** Page 7
  443. * Since you will be using, in the first instance, wires and networks
  444. already installed--in the form of the telephone and telex
  445. networks--you must accept that the limited bandwidth of these
  446. facilities will restrict the rate at which data can be sent. The data
  447. will pass through long lengths of wire, frequently being
  448. re-amplified, and undergoing de- gradation as it passes through dirty
  449. switches and relays in a multiplicity of exchanges.
  450. * Data must be easily capable of accurate recovery at the far end.
  451. * Sending and receiving computers must be synchronised in their
  452. working.
  453. * The mode in which data is transmitted must be one understood by
  454. all computers; accepting a standard protocol may mean adopting the
  455. speed and efficiency of the slowest.
  456. * The present 'universal' standard for data transmission used by
  457. microcomputers and many other services uses agreed tones to signify
  458. binary 0 and binary 1, the ASCII character set (also known as
  459. International Alphabet No 5), and an asynchronous protocol, whereby
  460. Hacker's Handbook
  461. file:///E|/Books/Hackers Handbook.htm (10 of 133) [11/28/2000 5:58:48 AM]
  462. the transmitting and receiving computers are locked in step every
  463. time a character is sent, not just at the beginning of a transmission
  464. stream. Like nearly all standards, it is highly arbitrary in its
  465. decisions and derives its importance simply from the fact of being
  466. generally accepted. Like many standards, too, there are a number of
  467. subtle and important variations.
  468. To see how the standard works, how it came about and the reasons
  469. for the variations, we need to look back a little into history.
  470. The Growth of Telegraphy
  471. The essential techniques of sending data along wires has a history
  472. of 150 years, and some of the common terminology of modern data
  473. transmission goes right back to the first experiments.
  474. The earliest form of telegraphy, itself the earliest form of
  475. electrical message sending, used the remote actuation of electrical
  476. relays to leave marks on a strip of paper. The letters of the
  477. alphabet were defined by the patterns of 'mark' and 'space'.
  478. ** Page 8
  479. The terms have come through to the present, to signify binary
  480. conditions of '1' and '0' respectively. The first reliable machine
  481. for sending letters and figures by this method dates from 1840; the
  482. direct successor of that machine, using remarkably unchanged
  483. electromechanical technology and a 5-bit alphabetic code, is still
  484. widely used today, as the telex/teleprinter/teletype. The mark and
  485. space have been replaced by holes punched in paper-tape: larger holes
  486. for mark, smaller ones for space. Synchronisation between sending and
  487. receiving stations is carried out by beginning each letter with a
  488. 'start' bit (a space) and concluding it with a 'stop' bit (mark). The
  489. 'idle' state of a circuit is thus 'mark'. In effect, therefore, each
  490. letter requires the transmission of 7 bits:
  491. . * * . . . * (letter A: . = space; * = mark)
  492. of which the first . is the start bit, the last * is the stop bit and
  493. * * . .. is the code for A.
  494. This is the principle means for sending text messages around the
  495. world, and the way in which news reports are distributed globally.
  496. And, until third-world countries are rich enough to afford more
  497. advanced devices, the technology will survive.
  498. Early computer communications
  499. When, 110 years after the first such machines came on line, the
  500. need arose to address computers remotely, telegraphy was the obvious
  501. way to do so. No one expected computers in the early 1950s to give
  502. instant results; jobs were assembled in batches, often fed in by
  503. means of paper-tape (another borrowing from telex, still in use) and
  504. Hacker's Handbook
  505. file:///E|/Books/Hackers Handbook.htm (11 of 133) [11/28/2000 5:58:48 AM]
  506. then run. The instant calculation and collation of data was then
  507. considered quite miraculous. So the first use of data communications
  508. was almost exclusively to ensure that the machine was fed with
  509. up-to-date information, not for the machine to send the results out
  510. to those who might want it; they could wait for the 'print-out' in
  511. due course, borne to them with considerable solemnity by the computer
  512. experts. Typical communications speeds were 50 or 75 baud. (The baud
  513. is the measure of speed of data transmission: specifically, it refers
  514. to the number of signal level changes per second and is thus not the
  515. same as bits-per-second.)
  516. These early computers were, of course, in today's jargon,
  517. single-user/single-task; programs were fed by direct machine coding.
  518. Gradually, over the next 15 years, computers spawned multi-user
  519. capabilities by means of time-sharing techniques, and their human
  520. interface became more 'user-friendly'.
  521. ** Page 9
  522. With these facilities grew the demand for remote access to
  523. computers, and modern data communications began.
  524. Even at the very end of the 1960s when I had my own very first
  525. encounter with a computer, the links with telegraphy were still
  526. obvious. As a result of happenstance, I was in a Government-run
  527. research facility to the south-west of London, and the program I was
  528. to use was located on a computer just to the north of Central London;
  529. I was sat down in front of a battered teletype--capitals and figures
  530. only, and requiring not inconsiderable physical force from my
  531. smallish fingers to actuate the keys of my choice. As it was a
  532. teletype outputting on to a paper roll, mistakes could not as readily
  533. be erased as on a VDU, and since the sole form of error reporting
  534. consisted of a solitary ?, the episode was more frustrating than
  535. thrilling. VDUs and good keyboards were then far too expensive for
  536. 'ordinary' use.
  537. The telephone network
  538. But by that time all sorts of changes in datacomms were taking
  539. place. The telex and telegraphy network, originally so important, had
  540. long been overtaken by voice-grade telephone circuits (Bell's
  541. invention dates from 1876). For computer communication, mark and
  542. space could be indicated by different audio tones, rather than by
  543. different voltage conditions. Data traffic on a telex line can
  544. operate in only one direction at a time, but, by selecting different
  545. pairs of tones, both 'transmitter' and 'receiver' could speak
  546. simultaneously--so that in fact, one has to talk about 'originate'
  547. and 'answer' instead.
  548. Improved electrical circuit design meant that higher speeds than
  549. 50 or 75 baud became possible; there was a move to 110 baud, then 300
  550. and, so far as ordinary telephone circuits are concerned, 1200 baud
  551. is now regarded as the top limit.
  552. Hacker's Handbook
  553. file:///E|/Books/Hackers Handbook.htm (12 of 133) [11/28/2000 5:58:48 AM]
  554. The 'start' and 'stop' method of synchronising the near and far
  555. end of a communications circuit at the beginning of each individual
  556. letter has been retained, but the common use of the 5-bit Baudot code
  557. has been replaced by a 7-bit extended code which allows for many more
  558. characters, 128 in fact.
  559. Lastly, to reduce errors in transmission due to noise in the
  560. telephone line and circuitry, each letter can be checked by the use
  561. of a further bit (the parity bit), which adds up all the bits in the
  562. main character and then, depending on whether the result is odd or
  563. even, adds a binary 0 or binary 1.
  564. The full modern transmission of a letter in this system, in this
  565. case, K, therefore, looks like this:
  566. ** Page 10
  567. START-STOP TRANSMISSION OF A DATA CHARACTER
  568. TIME
  569. INTERVAL_____________9___0___1___2___3___4___5___6___7___8___9___
  570. NUMBER
  571. 1 1 1 1 1 1
  572. Mark +---+ +---+ +---+ +---+---+ +---+
  573. LINE | | 0 | | 0 0 | | 0 | | 0 | |
  574. CONDITION Space-+ +---+ +---+---+ +---+ +---+ +-
  575. ^ ^
  576. | |
  577. BINARY STOP-+ START 1 0 0 1 0 1 1 0
  578. DIGIT
  579. The first 0 is the start bit; then follows 7 bits of the actual
  580. letter code (1001011); then the parity bit; then the final 1 is the
  581. stop code.
  582. This system, asynchronous start-stop ASCII (the common name for
  583. the alphabetic code), is the basis for nearly all micro-based
  584. communications. The key variations relate to:
  585. bit-length; you can have 7 or 8 databits (*)
  586. parity; (it can be even or odd, or entirely absent),
  587. Tones - The tones used to signify binary 0 and binary 1, and which
  588. computer is in 'originate' and which in 'answer', can vary according
  589. to the speed of the transmission and also to whether the service is
  590. used in North America or the rest of the world. (Briefly, most of
  591. the world uses tones and standards laid down by the Geneva-based
  592. organisation, CCITT, a specialised agency of the International
  593. Telecommunications Union; whereas in the United States and most parts
  594. of Canada, tones determined by the telephone utility, colloquially
  595. known as Ma Bell, are adopted.) The following table gives the
  596. standards and tones in common use.
  597. Hacker's Handbook
  598. file:///E|/Books/Hackers Handbook.htm (13 of 133) [11/28/2000 5:58:48 AM]
  599. (*) There are no 'obvious explanations' for the variations commonly
  600. found: most electronic mail services and viewdata transmit 7 data
  601. bits, even parity and I stop Bit; Telecom Gold and most hobbyist
  602. bulletin boards transmit 8 data bits, odd parity and 1 stop bit.
  603. Terminal emulator software--see chapter 3--allows users to adjust for
  604. these differing requirements.
  605. ** Page 11
  606. Service Speed Duplex Transmit Receive Answer
  607. Designator 0 1 0 1
  608. V21 orig 300(*) full 1180 980 1850 1650 -
  609. V21 ans 300(*) full 1850 1650 1180 980 2100
  610. V23 (1) 600 half 1700 1300 1700 1300 2100
  611. V23 (2) 1200 f/h(**) 2100 1300 2100 1300 2100
  612. V23 back 75 f/h(**) 450 390 450 390 -
  613. Bell 103 orig 300(*) full 1070 1270 2025 2225 -
  614. Bell 103 ans 300(*) full 2025 2225 1070 1270 2225
  615. Bell 202 1200 half 2200 1200 2200 1200 2025
  616. (*)any speed up to 300 baud, can also include 75 and 110 baud
  617. services
  618. (**)service can either be half-duplex at 1200 baud or asymmetrical
  619. full duplex, with 75 baud originate and 1200 baud receive (commonly
  620. used as viewdata user) or 1200 transmit and 75 receive (viewdata
  621. host)
  622. Higher Speeds
  623. 1200 baud is usually regarded as the fastest speed possible on an
  624. ordinary voice-grade telephone line. Beyond this, noise on the line
  625. due to the switching circuits at the various telephone exchanges,
  626. poor cabling, etc. make accurate transmission difficult. Indeed, at
  627. higher speeds it becomes increasingly important to use transmission
  628. protocols that include error correction.
  629. Error correction techniques usually consist of dividing the
  630. transmission stream into a series of blocks which can be checked, one
  631. at a time, by the receiving computer. The 'parity' system mentioned
  632. above is one example, but obviously a crude one. The difficulty is
  633. that the more secure an error-correction protocol becomes, the
  634. greater becomes the overhead in terms of numbers of bits transmitted
  635. to send just one character from one computer to another. Thus, in the
  636. typical 300 bit situation, the actual letter is defined by 7 bits,
  637. 'start' and 'stop' account for another two, and the check takes a
  638. further one--ten in all. After a while, what you gain in the speed
  639. with which each actual bit is transmitted, you lose, because so many
  640. bits have to be sent to ensure that a single character is accurately
  641. received!
  642. ** Page 12
  643. Hacker's Handbook
  644. file:///E|/Books/Hackers Handbook.htm (14 of 133) [11/28/2000 5:58:48 AM]
  645. Although some people risk using 2400 baud on ordinary telephone
  646. lines--the jargon is the PTSN (Public Telephone Switched
  647. Network)--this means using expensive modems. Where higher speeds are
  648. essential, leased circuits, not available via dial-up. become
  649. essential. The leased circuit is paid for on a fixed charge, not a
  650. charge based on time-connected. Such circuits can be conditioned',
  651. for example by using special amplifiers, to support the higher data
  652. rate.
  653. For really high speed transmissions, however, pairs of copper
  654. cable are inadequate. Medium speed is obtainable by the use of
  655. coaxial cable (a little like that used for tv antenna hook-ups) which
  656. have a very broad bandwidth. Imposing several different channels on
  657. one cable-length is called multiplexing and, depending on the
  658. application, the various channels can either carry several different
  659. computer conversations simultaneously or can send several bits of one
  660. computer conversation in parallel, just as though there were a ribbon
  661. cable between the two participating computers. Either way, what
  662. happens is that each binary 0 or binary 1 is given, not an audio
  663. tone, but a radio frequency tone.
  664. Synchronous Protocols
  665. In the asynchronous protocols so far described, transmitting and
  666. receiving computers are kept in step with each other every time a
  667. character is sent, via the 'start' and 'stop' bits. In synchronous
  668. comms, the locking together is done merely at the start of each block
  669. of transmission by the sending of a special code (often SYN). The SYN
  670. code starts a clock (a timed train of pulses) in the receiver and it
  671. is this that ensures that binary 0s and 1s originating at the
  672. transmitter are correctly interpreted by the receiver; clearly, the
  673. displacement of even one binary digit can cause havoc.
  674. A variety of synchronous protocols exist, such as the length of
  675. block sent each time, the form of checking that takes place, the form
  676. of acknowledgement, and so on. A synchronous protocol is not only a
  677. function of the modem, which has to have a suitable clock, but also
  678. of the software and firmware in the computers. Because asynchronous
  679. protocols transmit so many 'extra' bits in order to avoid error,
  680. savings in transmission time under synchronous systems often exceed
  681. 20-30%. The disadvantage of synchronous protocols lie in increased
  682. hardware costs.
  683. One other complication exists: most asynchronous protocols use the
  684. ASCII code to define characters. IBM ('Big Blue'), the biggest
  685. enthusiast of synchronous comms, has its own binary code to define
  686. characters. In Appendix IV, you will find an explanation and a
  687. comparison with ASCII.
  688. ** Page 13
  689. The hacker, wishing to come to terms with synchronous comms, has
  690. two choices: the more expensive is to purchase a protocol convertor
  691. board. These are principally available for the IBM PC, which has been
  692. Hacker's Handbook
  693. file:///E|/Books/Hackers Handbook.htm (15 of 133) [11/28/2000 5:58:48 AM]
  694. increasingly marketed for the 'executive workstation' audience, where
  695. the ability to interface to a company's existing (IBM) mainframe is a
  696. key feature. The alternative is to see whether the target mainframe
  697. has a port on to a packet- switched service; in that event, the
  698. hacker can use ordinary asynchronous equipment and protocols--the
  699. local PAD (Packet Assembler/Disassembler) will carry out the
  700. necessary transformations.
  701. Networks
  702. Which brings us neatly to the world of high-speed digital networks
  703. using packet-switching. All the computer communications so far
  704. described have taken place either on the phone (voice-grade) network
  705. or on the telex network.
  706. In Chapter 7 we will look at packet-switching and the
  707. opportunities offered by international data networks. We must now
  708. specify hackers' equipment in more detail.
  709. ** Page 14
  710. CHAPTER 3
  711. Hackers' Equipment
  712. You can hack with almost any microcomputer capable of talking to
  713. the outside world via a serial port and a modem. In fact, you don't
  714. even need a micro; my first hack was with a perfectly ordinary
  715. viewdata terminal.
  716. What follows in this chapter, therefore, is a description of the
  717. elements of a system I like to think of as optimum for
  718. straight-forward asynchronous ASCII and Baudot communications. What
  719. is at issue is convenience as much as anything. With kit like this,
  720. you will be able to get through most dial-up ports and into
  721. packet-switching through a PAD -- a packet assembler/ disassembler
  722. port. (It will not get you into IBM networks, because these use
  723. different and incompatible protocols; we will return to the matter of
  724. the IBM world in chapter 10.) In other words, given a bit of money, a
  725. bit of knowledge, a bit of help from friends and a bit of luck, what
  726. is described here is the sort of equipment most hackers have at their
  727. command.
  728. You will find few products on the market labelled 'for hackers';
  729. you must select those items that appear to have 'legitimate' but
  730. interesting functions and see if they can be bent to the hacker's
  731. purposes. The various sections within this chapter highlight the sort
  732. of facilities you need; before lashing out on some new software or
  733. hardware, try to get hold of as much publicity and documentation
  734. material as possible to see how adaptable the products are. In a few
  735. cases, it is worth looking at the second-hand market, particularly
  736. Hacker's Handbook
  737. file:///E|/Books/Hackers Handbook.htm (16 of 133) [11/28/2000 5:58:48 AM]
  738. for modems, cables and test equipment.
  739. Although it is by no means essential, an ability to solder a few
  740. connections and scrabble among the circuit diagrams of 'official'
  741. products often yield unexpectedly rewarding results.
  742. The computer
  743. Almost any popular microcomputer will do; hacking does not call
  744. upon enormous reserves of computer power. Nearly everything you hack
  745. will come to you in alphanumeric form, not graphics. The computer
  746. you already have will almost certainly have the essential qualities.
  747. However the very cheapest micros, like the ZX81, whilst usable,
  748. require much more work on the part of the operator/hacker, and give
  749. him far less in the way of instant facilities.
  750. ** Page 15
  751. (In fact, as the ZX81 doesn't use ASCII internally, but a
  752. Sinclair-developed variant; you will need a software or firmware fix
  753. for that, before you even think of hooking it up to a modem.)
  754. Most professional data services assume the user is viewing on an
  755. 80-column screen; ideally the hacker's computer should be capable of
  756. doing that as well, otherwise the display will be full of awkward
  757. line breaks. Terminal emulator software (see below) can some- times
  758. provide a 'fix'.
  759. One or two disc drives are pretty helpful, because you will want
  760. to be able to save the results of your network adventures as quickly
  761. and efficiently as possible. Most terminal emulators use the
  762. computer's free memory (i.e. all that is not required to support the
  763. operating system and the emulator software itself) as store for the
  764. received data, but once the buffer is full, you will begin to lose
  765. the earliest items. You can, of course, try to save to cassette, but
  766. normally that is a slow and tedious process.
  767. An alternative storage method is to save to a printer, printing
  768. the received data stream not only to the computer screen, but also on
  769. a dot matrix printer. However, most of the more popular (and cheaper)
  770. printers do not work sufficiently fast. You may find you lose
  771. characters at the beginning of each line. Moreover, if you print
  772. everything in real-time, you'll include all your mistakes, false
  773. starts etc., and in the process use masses of paper. So, if you can
  774. save to disc regularly, you can review each hack afterwards at your
  775. leisure and, using a screen editor or word processor, save or print
  776. out only those items of real interest.
  777. Serial ports
  778. The computer must have a serial port, either called that or marked
  779. RS232C (or its slight variant RS423), or V24, which is the official
  780. designator of RS232C used outside the USA, though not often seen on
  781. Hacker's Handbook
  782. file:///E|/Books/Hackers Handbook.htm (17 of 133) [11/28/2000 5:58:48 AM]
  783. micros.
  784. The very cheapest micros, like the ZX81, Spectrum, VIC20, do not
  785. have RS232C ports, though add-on boards are available. Some of the
  786. older personal computers, like the Apple or the original Pet, were
  787. also originally sold without serial ports, though standard boards are
  788. available for all of these.
  789. You are probably aware that the RS232C standard has a large number
  790. of variants, and that not all computers (or add-on boards) that claim
  791. to have a RS232C port can actually talk into a modem.
  792. Historically, RS232C/V24 is supposed to cover all aspects of
  793. serial communication, including printers and dumb terminals as well
  794. as computers. The RS232C standard specifies electrical and physical
  795. requirements.
  796. ** Page 16
  797. Everything is pumped through a 25-pin D-shaped connector, each pin
  798. of which has some function in some implementation. But in most cases,
  799. nearly all the pins are not used. In practice, only three connections
  800. are essential for computer to modem communication:
  801. Pin 7 signal ground
  802. Pin 2 characters leaving the computer
  803. Pin 3 characters arriving at the computer
  804. The remaining connections are for such purposes as feeding power
  805. to an external device, switching the external advice on or off,
  806. exchanging status and timing signals, monitoring the state of the
  807. line, and so forth. Some computers and their associated firmware
  808. require one or other of these status signals to go 'high' or 'low' in
  809. particular circumstances, or the program hangs. Check your
  810. documentation if you have trouble.
  811. Some RS232C implementations on microcomputers or add-on boards are
  812. there simply to support printers with serial interfaces, but they can
  813. often be modified to talk into modems. The critical two lines are
  814. those serving Pins 2 and 3.
  815. A computer serving a modem needs a cable in which Pin 2 on the
  816. computer is linked to Pin 2 on the modem.
  817. A computer serving a printer, etc, needs a cable in which Pin 3 on
  818. the: computer is linked to Pin 2 on the printer and Pin 3 on the
  819. printer is linked to Pin 2 on the computer.
  820. If two computers are linked together directly, without a modem,
  821. then Pin 2 on computer A must be linked to Pin 3 on computer B and
  822. Pin 3 on computer B linked to Pin 2 on computer A: this arrangement
  823. is sometimes called a 'null modem' or a 'null modem cable'.
  824. Hacker's Handbook
  825. file:///E|/Books/Hackers Handbook.htm (18 of 133) [11/28/2000 5:58:48 AM]
  826. There are historic explanations for these arrangements, depending
  827. on who you think is sending and who is receiving--forget about them,
  828. they are confusing. The above three cases are all you need to know
  829. about in practice.
  830. One difficulty that frequently arises with newer or portable
  831. computers is that some manufacturers have abandoned the traditional
  832. 25-way D-connector, largely on the grounds of bulk, cost and
  833. redundancy. Some European computer and peripheral companies favour
  834. connectors based on the DIN series (invented in Germany), while
  835. others use D-connectors with fewer pin-outs.
  836. ** Page 17
  837. There is no standardisation. Even if you see two physically
  838. similar connectors on two devices, regard them with suspicion. In
  839. each case, you must determine the equivalents of:
  840. Characters leaving computer (Pin 2)
  841. Characters arriving at computer (Pin 3)
  842. Signal ground (Pin 7)
  843. You can usually set the speed of the port from the computer's
  844. operating system and/or from Basic. There is no standard way of doing
  845. this; you must check your handbook and manuals. Most RS232C ports can
  846. handle the following speeds:
  847. 75, 110, 300, 600, 1200, 2400, 4800, 9600
  848. and sometimes 50 and 19200 baud as well. These speeds are selectable
  849. in hardware by appropriate wiring of a chip called a baud-rate
  850. generator. Many modern computers let you select speed in hardware by
  851. means of a DIL switch. The higher speeds are used either for driving
  852. printers or for direct computer-to-computer or computer-to-peripheral
  853. connections. The normal maximum speed for transmitting along phone
  854. lines is 1200 baud.
  855. Depending on how your computer has been set up, you may be able to
  856. control the speed from the keyboard--a bit of firmware in the
  857. computer will accept micro-instructions to flip transistor switches
  858. controlling the wiring of the baud-rate generator. Alternatively,
  859. the speeds may be set in pure software, the micro deciding at what
  860. speed to feed information into the serial port.
  861. In most popular micro implementations the RS232C cannot support
  862. split-speed working (different speeds for receive and transmit). If
  863. you set the port up for 1200 baud, it has to be 1200 receive and
  864. transmit. This is a nuisance in Europe, where 75/1200 is in common
  865. use both for viewdata systems and for some on-line services. The
  866. usual way round is to have special terminal emulator software, which
  867. requires the RS232C hardware to operate at 1200 /1200 and then slows
  868. down (usually the micro's transmit path) to 75 baud in software by
  869. means of a timing loop. An alternative method relies on a special
  870. modem, which accepts data from the computer at 1200/1200 and then
  871. Hacker's Handbook
  872. file:///E|/Books/Hackers Handbook.htm (19 of 133) [11/28/2000 5:58:48 AM]
  873. performs the slowing-down to 75 baud in its own internal firmware.
  874. Terminal emulators
  875. We all need a quest in life. Sometimes I think mine is to search
  876. for the perfect software package to make micros talk to the outside
  877. world.
  878. ** Page 18
  879. As in all such quests, the goal is occasionally approached but
  880. never reached, if only because the process of the quest causes one to
  881. redefine what one is looking for.
  882. These items of software are sometimes called communications
  883. packages, or asynchronous comms packages, and sometimes terminal
  884. emulators, on the grounds that the software can make the micro appear
  885. to be a variety of different computer terminals. Until recently, most
  886. on-line computer services assumed that they were being examined
  887. through 'dumb' terminals--simply a keyboard and a screen, with no
  888. attendant processing or storage power (except perhaps a printer).
  889. With the arrival of PCs all this is slowly changing, so that the
  890. remote computer has to do no more than provide relatively raw data
  891. and all the formatting and on-screen presentation is done by the
  892. user's own computer. Terminal emulator software is a sort of
  893. half-way house between 'dumb' terminals and PCs with considerable
  894. local processing power.
  895. Given the habit of manufacturers of mainframe and mini- computers
  896. to make their products as incompatible with those of their
  897. competitors as possible (to maximise their profits), many slight
  898. variants on the 'dumb' computer terminal exist--hence the
  899. availability of terminal emulators to provide, in one software
  900. package, a way of mimicking all the popular types.
  901. Basic software to get a computer to talk through its RS232C port,
  902. and to take in data sent to it, is trivial. What the hacker needs is
  903. software that will make his computer assume a number of different
  904. personalities upon command, store data as it is collected, and print
  905. it out.
  906. Two philosophies of presenting such software to the user exist:
  907. first, one which gives the naive user a simple menu which says, in
  908. effect, 'press a key to connect to database' and then performs
  909. everything smoothly, without distracting menus. Such programs need an
  910. 'install' procedure, which requires some knowledge, but most
  911. 'ordinary' users never see this. Normally, this is a philosophy of
  912. software writing I very much admire: however, as a hacker you will
  913. want the precise opposite. The second approach to terminal emulator
  914. software allows you to re configure your computer as you go on--there
  915. is plenty of on-screen help in the form of menus allowing you to turn
  916. on and off local echo, set parity bits, show non-visible control
  917. codes and so on. In a typical hack, you may have only vague
  918. information about the target computer, and much of the fun is seeing
  919. Hacker's Handbook
  920. file:///E|/Books/Hackers Handbook.htm (20 of 133) [11/28/2000 5:58:48 AM]
  921. how quickly you can work out what the remote computer wants to 'see'
  922. - and how to make your machine respond.
  923. ** Page 19
  924. Given the numbers of popular computers on the market, and the
  925. numbers of terminal emulators for each one, it is difficult to make a
  926. series of specific recommendations. What follows there- fore, is a
  927. list of the sort of facilities you should look for:
  928. On-line help You must be able to change the software
  929. characteristics while on-line--no separate 'install' routine. You
  930. should be able to call up 'help' menus instantly, with simple
  931. commands --while holding on to the line.
  932. Text buffer - The received data should be capable of going into the
  933. computer's free memory automatically so that you can view it later
  934. off-line. The size of the buffer will depend on the amount of memory
  935. left after the computer has used up the space required for its
  936. operating system and the terminal software. If the terminal software
  937. includes special graphics, as in Apple Visiterm or some of the ROM
  938. packs used with the BBC, the buffer space may be relatively small.
  939. The software should tell you how much buffer space you have used and
  940. how much is left, at any time. A useful adjunct is an auto-save
  941. facility which, when the buffer becomes full, stops the stream of
  942. text from the host computer and automatically saves the buffer text
  943. to disc. A number of associated software commands should let you turn
  944. on and off the buffer store, clear it or, when off-line, view the
  945. buffer. You should also be able to print the buffer to a 'line'
  946. printer (dot-matrix or daisy wheel or thermal image). Some terminal
  947. emulators even include a simple line editor, so that you can delete
  948. or adjust the buffer before printing. (I use a terminal emulator
  949. which saves text files in a form which can be accessed by my
  950. word-processor and use that before printing out.)
  951. Half/full Duplex (Echo On/Off) - Most remote services use an echoing
  952. protocol: this means that when the user sends a character to the host
  953. computer, the host immediately sends back the same character to the
  954. user's computer, by way of confirmation. What the user sees on his
  955. computer screen, therefore, has been generated, not locally by his
  956. direct action on the keyboard, but remotely by the host computer.
  957. (One effect of this is that there may sometimes be a perceptible
  958. delay between keystroke and display of a letter, particularly if you
  959. are using a packet-switched connection--if the telephone line is
  960. noisy, the display may appear corrupt). This echoing protocol is
  961. known as full duplex, because both the user's computer and the host
  962. are in communication simultaneously.
  963. However, use of full duplex/echo is not universal, and all
  964. terminal emulators allow you to switch on and off the facility. If,
  965. for example, you are talking into a half-duplex system (i.e. no
  966. echo), your screen would appear totally blank. In these
  967. circumstances, it is best if your software reproduces on the screen
  968. your keystrokes.
  969. Hacker's Handbook
  970. file:///E|/Books/Hackers Handbook.htm (21 of 133) [11/28/2000 5:58:48 AM]
  971. ** Page 20
  972. However, if you have your computer set for half-duplex and the host
  973. computer is actually operating in full duplex. each letter will
  974. appear twice--once from the keyboard and once, echoing from the host,
  975. ggiiwiinngg tthhiiss ssoorrtt ooff eeffffeecctt. Your terminal
  976. emulator needs to able to toggle between the two states.
  977. Data Format/Parity Setting - In a typical asynchronous protocol, each
  978. character is surrounded by bits to show when it starts, when it ends,
  979. and to signify whether a checksum performed on its binary equivalent
  980. comes out even or odd. The character itself is described, typically,
  981. in 7 bits and the other bits, start, stop and parity, bringing the
  982. number up to 10. (See chapter 2.) However, this is merely one very
  983. common form, and many systems use subtle variants -- the ideal
  984. terminal emulator software will let you try out these variants while
  985. you are still on line. Typical variants should include:
  986. Word length Parity No stop bits
  987. 7 Even 2
  988. 7 Odd 2
  989. 7 Even 1
  990. 7 Odd 1
  991. 8 None 2
  992. 8 None 1
  993. 8 Even 1
  994. 8 Odd 1
  995. (NB although the ASCII character set is 7 bit, 8 bits are sometimes
  996. transmitted with a ~padding~ bit; machine code instructions for 8-bit
  997. and 16-bit machines obviously need 8-bit transmissions.)
  998. Show Control Characters - This is a software switch to display
  999. characters not normally part of the text that is meant to be read but
  1000. which nevertheless are sent by the host computer to carry out display
  1001. functions, operate protocols, etc. With the switch on, you will see
  1002. line feeds displayed as ^J, a back-space as ^H and so on; see
  1003. Appendix IV for the usual equivalents.
  1004. Using this device properly you will be able, if you are unable to
  1005. get the text stream to display properly on your screen, to work out
  1006. what exactly is being sent from the host, and modify your local
  1007. software accordingly.
  1008. ** Page 21
  1009. Control-Show is also useful for spotting 'funnies' in passwords and
  1010. log-on procedures--a common trick is to include ^H (backspace) in the
  1011. middle of a log-on so that part of the full password is overwritten.
  1012. (For normal reading of text, you have Control-Show switched off, as
  1013. it makes normal reading difficult.)
  1014. Macros - This is the US term, now rapidly being adopted in the UK,
  1015. Hacker's Handbook
  1016. file:///E|/Books/Hackers Handbook.htm (22 of 133) [11/28/2000 5:58:48 AM]
  1017. for the preformatting of a log-on procedure, passwords etc. Typical
  1018. connecting procedures to US services like The Source, CompuServe, Dow
  1019. Jones etc are relatively complicated, compared with using a local
  1020. hobbyist bulletin board or calling up Prestel. Typically, the user
  1021. must first connect to a packet- switched service like Telenet or
  1022. Tymnet (the US commercial equivalents of BT's PSS), specify an
  1023. 'address' for the host required (a long string of letters and
  1024. numbers) and then, when the desired service or 'host' is on line,
  1025. enter password(s) to be fully admitted. The password itself may be in
  1026. several parts.
  1027. The value of the 'macro' is that you can type all this junk in
  1028. once and then send off the entire stream any time you wish by means
  1029. of a simple command. Most terminal emulators that have this feature
  1030. allow you to preformat several such macros.
  1031. From the hacker's point of view, the best type of macro facility
  1032. is one that can be itself addressed and altered in software:
  1033. supposing you have only part of a password: write a little routine
  1034. which successively tries all the unknowns; you can then let the
  1035. computer attempt penetration automatically. (You'll have to read the
  1036. emulator's manual carefully to see if it has software-addressable
  1037. macros: the only people who need them are hackers, and, as we have
  1038. often observed, very few out-and-out hacker products exist!)
  1039. Auto-dial - Some modems contain programmable auto-diallers so that
  1040. frequently-called services can be dialled from a single keyboard
  1041. command.
  1042. Again the advantage to the hacker is obvious--a partly- known
  1043. telephone number can be located by writing some simple software
  1044. routine to test the variables.
  1045. However, not all auto-dial facilities are equally useful. Some
  1046. included in US-originated communications software and terminal
  1047. emulators are for specific 'smart' modems not available
  1048. elsewhere--and there is no way of altering the software to work with
  1049. other equipment. In general, each modem that contains an auto-dialler
  1050. has its own way of requiring instructions to be sent to it. If an
  1051. auto-dialling facility is important to you, check that your software
  1052. is configurable to your choice of auto-dial modem.
  1053. Another hazard is that certain auto-diallers only operate on the
  1054. multi-frequency tones method ('touch-tone') of dialling used in large
  1055. parts of the United States and only very slowly being introduced in
  1056. other countries. The system widely used in the UK is called 'pulse'
  1057. dialling. Touch-tone dialling is much more rapid than pulse dialling,
  1058. of course.
  1059. ** Page 22
  1060. Finally, on the subject of US-originated software, some packages
  1061. will only accept phone numbers in the standard North American format
  1062. of: 3-digit area code, 3-digit local code, 4-digit subscriber code.
  1063. In the UK and Europe the phone number formats vary quite
  1064. Hacker's Handbook
  1065. file:///E|/Books/Hackers Handbook.htm (23 of 133) [11/28/2000 5:58:48 AM]
  1066. considerably. Make sure that any auto-dial facility you use actually
  1067. operates on your phone system.
  1068. Format Screen - Most professional on-line and time-share services
  1069. assume an 80-column screen. The 'format screen' option in terminal
  1070. emulators may allow you to change the regular text display on your
  1071. micro to show 80 characters across by means of a graphics 'fiddle';
  1072. alternatively, it may give you a more readable display of the stream
  1073. from the host by forcing line feeds at convenient intervals, just
  1074. before the stream reaches the right- hand margin of the micro's
  1075. 'natural' screen width.
  1076. Related to this are settings to handle the presentation of the
  1077. cursor and to determine cursor movement about the screen-- normally
  1078. you won't need to use these facilities, but they may help you when
  1079. on-line to some odd-ball, non-standard service. Certain specific
  1080. 'dumb' terminals like the VT52 (which has become something of a
  1081. mainframe industry standard) use special sequences to move the cursor
  1082. about the screen--useful when the operator is filling in standard
  1083. forms of information.
  1084. Other settings within this category may allow you to view
  1085. characters on your screen which are not part of the normal character
  1086. set. The early Apples, for example, lacked lower case, presenting
  1087. everything in capitals (as does the ZX81), so various ingenious
  1088. 'fixes' were needed to cope. Even quite advanced home computers may
  1089. lack some of the full ASCII character set, such oddities as the tilde
  1090. ~ or backslash \ or curly bracket { }, for example.
  1091. Re-assign - keyboard A related problem is that home micro keyboards
  1092. may not be able to generate all the required characters the remote
  1093. service wishes to see. The normal way to generate an ASCII character
  1094. not available from the keyboard is from Basic, by using a Print
  1095. CHR$(n) type command. This may not be possible when on-line to a
  1096. remote computer, where everything is needed in immediate mode. Hence
  1097. the requirement for a software facility to re-assign any little-used
  1098. key to send the desired 'missing' feature. Typical requirements are
  1099. BREAK~ ESC, RETURN (when part of a string as opposed to being the end
  1100. of a command) etc. When re-assigning a series of keys, you must make
  1101. sure you don't interfere with the essential functioning of the
  1102. terminal emulator.
  1103. ** Page 23
  1104. For example, if you designate the sequence ctrl-S to mean 'send a DC1
  1105. character to the host', the chances are you will stop the host from
  1106. sending anything to you, because ctrl-S is a common command (some-
  1107. times called XOF) to call for a pause--incidentally, you can end the
  1108. pause by hitting ctrl-Q. Appendix IV gives a list of the full ASCII
  1109. implementation and the usual 'special' codes as they apply to
  1110. computer-to-computer communications.
  1111. File Protocols - When computers are sending large files to each
  1112. other, a further layer of protocol, beyond that defining individual
  1113. letters, is necessary. For example, if your computer is automatically
  1114. Hacker's Handbook
  1115. file:///E|/Books/Hackers Handbook.htm (24 of 133) [11/28/2000 5:58:48 AM]
  1116. saving to disk at regular intervals as the buffer fills up, it is
  1117. necessary to be able to tell the host to stop sending for a period,
  1118. until the save is complete. On older time-share services, where the
  1119. typical terminal is a teletypewriter, the terminal is in constant
  1120. danger of being unable mechanically to keep up with the host
  1121. computer's output. For this reason, many host computers use one of
  1122. two well-known protocols which require the regular exchange of
  1123. special control characters for host and user to tell each other all
  1124. is well. The two protocols are:
  1125. Stop/Start - The receiving computer can at any time send to the host
  1126. a Stop (ctrl-S) signal, followed by, when it is ready a Start,
  1127. (ctrl-Q).
  1128. EOB/ACK - The sending computer divides its file into a blocks (of any
  1129. convenient length); after each block is sent, an EOB (End of Block)
  1130. character is sent (see ASCII table, Appendix IV). The user's computer
  1131. must then respond with a ACK (Acknowledge) character.
  1132. These protocols can be used individually, together or not at all.
  1133. You may be able to use the 'Show Control Codes' option to check
  1134. whether either of the protocols are in use. Alternatively, if you
  1135. have hooked on to a service which for no apparent reason, seems to
  1136. stop in its tracks, you could try ending an ACK or Start (ctrl-F or
  1137. ctrl-S) and see if you can get things moving.
  1138. File transmission - All terminal emulators assume you will want to
  1139. send, as well as receive, text files. Thus, in addition to the
  1140. protocol settings already mentioned, there may be additional ones for
  1141. that purpose, e.g. the XMODEM protocol very popular on bulletin
  1142. boards. Hackers, of course, usually don't want to place files on
  1143. remote computers.....
  1144. Specific terminal emulation - Some software has pre-formatted sets of
  1145. characteristics to mimic popular commercial 'dumb' terminals. For
  1146. example, with a ROM costing under £60 fitted to a BBC micro, you can
  1147. obtain almost all of the features of DEC's VT100 terminal, which
  1148. until recently was regarded as something of an industry-standard and
  1149. costing just under £1000.
  1150. ** Page 24
  1151. Other popular terminals are the VT52 and some Tektronix models, the
  1152. latter for graphics display. ANSI have produced a 'standard'
  1153. specification.
  1154. Baudot characters - The Baudot code, or International Telegraphic
  1155. Code No 2, is the 5-bit code used in telex and telegraphy -- and in
  1156. many wire-based news services. A few terminal emulators include it as
  1157. an option, and it is useful if you are attempting to hack such
  1158. services. Most software intended for use on radio link-ups (see
  1159. Chapter 10) operates primarily in Baudot, with ASCII as an option.
  1160. Viewdata emulation - This gives you the full, or almost full,
  1161. graphics and text characters of UK-standard viewdata. Viewdata tv
  1162. Hacker's Handbook
  1163. file:///E|/Books/Hackers Handbook.htm (25 of 133) [11/28/2000 5:58:48 AM]
  1164. sets and adapters use a special character-generator chip and a few,
  1165. mostly British-manufactured, micros use that chip also-- the Acorn
  1166. Atom was one example. The BBC has a teletext mode which adopts the
  1167. same display. But for most micros, viewdata emulation is a matter of
  1168. using hi-res graphics to mimic the qualities of the real thing, or to
  1169. strip out most of the graphics. Viewdata works on a screen 40
  1170. characters by 24 rows, and as some popular home micros have 'native'
  1171. displays smaller than that, some considerable fiddling is necessary
  1172. to get them to handle viewdata at all.
  1173. In some emulators, the option is referred to as Prestel or
  1174. Micronet--they are all the same thing. Micronet-type software usually
  1175. has additional facilities for fetching down telesoftware programs
  1176. (see Chapter 10).
  1177. Viewdata emulators must attend not only to the graphics
  1178. presentation, but also to split-speed operation: the usual speeds are
  1179. 1200 receive from host, 75 transmit to host. USA users of such
  1180. services may get them via a packet-switched network, in which case
  1181. they will receive it either at 1200/1200 full duplex or at 300/300.
  1182. Integrated terminal emulators offering both 'ordinary'
  1183. asynchronous emulation and viewdata emulation are rare: I have to use
  1184. completely different and non-compatible bits of software on my own
  1185. home set-up.
  1186. Modems
  1187. Every account of what a modem is and does begins with the classic
  1188. explanation of the derivation of the term: let this be no exception.
  1189. Modem is a contraction of modulator-demodulator.
  1190. A modem taking instructions from a computer (pin 2 on RS232C)
  1191. converts the binary 0's and 1's into specific single tones, according
  1192. to which 'standard' is being used. In RS232C/V24, binary 0 (ON)
  1193. appears as positive volts and binary 1 (OFF) appears as negative
  1194. volts.
  1195. ** Page 25
  1196. The tones are then fed, either acoustically via the telephone
  1197. mouth-piece into the telephone line, or electrically, by generating
  1198. the electrical equivalent direct onto the line. This is the
  1199. modulating process.
  1200. In the demodulating stage, the equipment sits on the phone line
  1201. listening for occurrences of pre-selected tones (again according to
  1202. whichever 'standard' is in operation) and, when it hears one,
  1203. delivers a binary 0 or binary 1 in the form of positive or negative
  1204. voltage pulses into pin 3 of the computer's serial port.
  1205. This explanation holds true for modems operating at up to 1200
  1206. baud; above this speed, the modem must be able to originate tones,
  1207. and detect them according to phase as well, but since higher-speed
  1208. Hacker's Handbook
  1209. file:///E|/Books/Hackers Handbook.htm (26 of 133) [11/28/2000 5:58:48 AM]
  1210. working is unusual in dial-up ports--the hacker's special interest,
  1211. we can leave this matter to one side.
  1212. The modem is a relatively simple bit of kit: on the transmit side
  1213. it consists of a series of oscillators acting as tone generators, and
  1214. on receive has a series of narrow band-pass filters. Designers of
  1215. modems must ensure that unwanted tones do not leak into the telephone
  1216. line (exchanges and amplifiers used by telephone companies are
  1217. sometimes remotely controlled by the injection of specific tones) and
  1218. also that, on the receive side, only the distinct tones used for
  1219. communications are 'interpreted' into binary 0s or 1s. The other
  1220. engineering requirements are that unwanted electrical currents do not
  1221. wander down the telephone cable (to the possible risk of phone
  1222. company employees) or back into the user's computer.
  1223. Until relatively recently, the only UK source of low-speed modems
  1224. was British Telecom. The situation is much easier now, but
  1225. de-regulation of 'telephone line attachments', which include modems,
  1226. is still so recent that the ordinary customer can easily become
  1227. confused. Moreover, modems offering exactly the same service can vary
  1228. in price by over 300%. Strictly speaking, all modems connected to
  1229. the phone line should be officially approved by BT or other
  1230. appropriate regulatory authority.
  1231. At 300 baud, you have the option of using direct-connect modems
  1232. which are hard-wired into the telephone line, an easy enough
  1233. exercise, or using an acoustic coupler in which you place the
  1234. telephone hand-set. Acoustic couplers are inherently prone to
  1235. interference from room-noise, but are useful for quick lash-ups and
  1236. portable operation. Many acoustic couplers operate only in
  1237. 'originate' mode, not in' answer'. Newer commercial direct- connect
  1238. modems are cheaper than acoustic couplers.
  1239. ** Page 26
  1240. At higher speeds acoustic coupling is not recommended, though a
  1241. 75/1200 acoustic coupler produced in association with the Prestel
  1242. Micronet service is not too bad, and is now exchanged on the
  1243. second-hand market very cheaply indeed.
  1244. I prefer modems that have proper status lights--power on, line
  1245. seized, transmit and receive indicators. Hackers need to know what is
  1246. going on more than most users.
  1247. The table below shows all but two of the types of service you are
  1248. likely to come across; V-designators are the world-wide 'official'
  1249. names given by the CCITT; Bell-designators are the US names:
  1250. Service Speed Duplex Transmit Receive Answer
  1251. Designator 0 1 0 1
  1252. V21 orig 300(*) full 1180 980 1850 1650 -
  1253. V21 ans 300(*) full 1850 1650 1180 980 2100
  1254. V23 (1) 600 half 1700 1300 1700 1300 2100
  1255. V23 (2) 1200 f/h(**) 2100 1300 2100 1300 2100
  1256. Hacker's Handbook
  1257. file:///E|/Books/Hackers Handbook.htm (27 of 133) [11/28/2000 5:58:48 AM]
  1258. V23 back 75 f/h(**) 450 390 450 390 -
  1259. Bell 103 orig 300(*) full 1070 1270 2025 2225 -
  1260. Bell 103 ans 300(*) full 2025 2225 1070 1270 2225
  1261. Bell 202 1200 half 2200 1200 2200 1200 2025
  1262. (*)any speed up to 300 baud, can also include 75 and 110 baud
  1263. services
  1264. (**)service can either be half-duplex at 1200 baud or asymmetrical
  1265. full duplex, with 75 baud originate and 1200 baud receive (commonly
  1266. used as viewdata user) or 1200 transmit and 75 receive (viewdata
  1267. host)
  1268. The two exceptions are:
  1269. V22 1200 baud full duplex, two wire
  1270. Bell 212A The US equivalent
  1271. These services use phase modulation as well as tone.
  1272. British Telecom markets the UK services under the name of
  1273. Datel--details are given in Appendix V.
  1274. BT's methods of connecting modems to the line are either to
  1275. hard-wire the junction box (the two outer-wires are the ones you
  1276. usually need)--a 4-ring plug and associated socket (type 95A) for
  1277. most modems, a 5-ring plug and associated socket (type 96A) for
  1278. Prestel applications (note that the fifth ring isn't used)--and, for
  1279. all new equipment, a modular jack called type 600. The US also has a
  1280. modular jack, but of course it is not compatible.
  1281. ** Page 27
  1282. Modern modem design is greatly aided by a wonder chip called the
  1283. AMD 7910. This contains nearly all the facilities to modulate and
  1284. demodulate the tones associated with the popular speed services, both
  1285. in the CCITT and Bell standards. The only omission--not always made
  1286. clear in the advertisements--are services using 1200/1200
  1287. full-duplex, ie V22 and Bell 212A.
  1288. Building a modem is now largely a question of adding a few
  1289. peripheral components, some switches and indicator lights, and a box.
  1290. In deciding which 'world standard' modem to purchase, hackers should
  1291. consider the following features:
  1292. Status lights you need to be able to see what is happening on the
  1293. line.
  1294. Hardware/software switching - cheaper versions merely give you a
  1295. switch on the front enabling you to change speeds, originate or
  1296. answer mode and CClTT or Bell tones. More expensive ones feature
  1297. firmware which allows your computer to send specially formatted
  1298. instructions to change speed under program control. However, to make
  1299. full use of this facility, you may need to write (or modify) your
  1300. terminal emulator.
  1301. Auto-dial - a pulse dialler and associated firmware are included in
  1302. Hacker's Handbook
  1303. file:///E|/Books/Hackers Handbook.htm (28 of 133) [11/28/2000 5:58:48 AM]
  1304. some more expensive models. You should ascertain whether the
  1305. auto-dialer operates on the telephone system you intend to hook the
  1306. modem up to--some of the US 'smart' modems present difficulties
  1307. outside the States. You will of course need software in your micro to
  1308. address the firmware in the modem --and the software has to be part
  1309. of your terminal emulator, otherwise you gain nothing in convenience.
  1310. However, with appropriate software, you can get your computer to try
  1311. a whole bank of numbers one after the other.
  1312. D25 connector - this is the official 'approved' RS232CN24 physical
  1313. connection--useful from the point-of-view of easy hook-up. A number
  1314. of lower-cost models substitute alternative DIN connectors. You must
  1315. be prepared to solder up your own cables to be sure of connecting up
  1316. properly.
  1317. Documentation I always prefer items to be accompanied by proper
  1318. instructions. Since hackers tend to want to use equipment in
  1319. unorthodox ways, they should look for good documentation too.
  1320. ** Page 28
  1321. Finally, a word on build-your-own modems. A number of popular
  1322. electronics magazines and mail-order houses have offered modem
  1323. designs. Such modems are not likely to be approved for direct
  1324. connection to the public telephone network. However, most of them
  1325. work. If you are uncertain of your kit-constructing skills, though.
  1326. remember badly-built modems can be dangerous both to your computer
  1327. and to the telephone network.
  1328. Test Equipment
  1329. Various items of useful test equipment occasionally appear on the
  1330. second-hand market--via mail-order, in computer junk shops, in the
  1331. flea-market section of exhibitions and via computer clubs.
  1332. It's worth searching out a cable 'break-out' box. This lets you
  1333. restrap a RS232C cable without using a soldering iron--the various
  1334. lines are brought out on to an accessible matrix and you use small
  1335. connectors to make (or break) the links you require. It's useful if
  1336. you have an 'unknown' modem, or an unusually configured computer.
  1337. Related, but much more expensive, is a RS232C/V24 analyser --this
  1338. gives LED status lights for each of the important lines, so you can
  1339. see what is happening.
  1340. Lastly, if you are a very rich and enthusiastic hacker, you can
  1341. buy a protocol analyser. This is usually a portable device with a
  1342. VDU, full keyboard, and some very clever firmware which examines the
  1343. telephone line or RS232C port and carries out tests to see which of
  1344. several popular datacomms protocols is in use. Hewlett Packard do a
  1345. nice range. Protocol analysers will handle synchronous transmissions
  1346. as well as synchronous. Cost: £1500 and up...and up.
  1347. ** Page 29
  1348. Hacker's Handbook
  1349. file:///E|/Books/Hackers Handbook.htm (29 of 133) [11/28/2000 5:58:48 AM]
  1350. CHAPTER 4
  1351. Targets
  1352. Wherever hackers gather, talk soon moves from past achievements
  1353. and adventures to speculation about what new territory might be
  1354. explored. It says much about the compartmentalisation of computer
  1355. specialities in general and the isolation of micro- owners from
  1356. mainstream activities in particular that a great deal of this
  1357. discussion is like that of navigators in the days before Columbus:
  1358. the charts are unreliable, full of blank spaces and confounded with
  1359. myth.
  1360. In this chapter I am attempting to provide a series of notes on
  1361. the main types of services potentially available on dial-up, and to
  1362. give some idea of the sorts of protocols and conventions employed.
  1363. The idea is to give voyagers an outline atlas of what is interesting
  1364. and possible, and what is not.
  1365. On-line hosts
  1366. On-line services were the first form of electronic publishing: a
  1367. series of big storage computers--and on occasion, associated
  1368. dedicated networks -- act as hosts to a group of individual databases
  1369. by providing not only mass data storage and the appropriate 'search
  1370. language' to access it, but also the means for registering, logging
  1371. and billing users. Typically, users access the on-line hosts via a
  1372. phone number which links into a a public data network using packet
  1373. switching (there's more on these networks in chapter 7).
  1374. The on-line business began almost by accident; large corporations
  1375. and institutions involved in complicated technological developments
  1376. found that their libraries simply couldn't keep track of the
  1377. publication of relevant new scientific papers, and decided to
  1378. maintain indices of the papers by name, author, subject-matter, and
  1379. so on, on computer. One of the first of these was the armaments and
  1380. aircraft company, Lockheed Corporation.
  1381. In time the scope of these indices expanded and developed and
  1382. outsiders -- sub-contractors, research agencies, universities,
  1383. government employees, etc were granted access. Other organisations
  1384. with similar information-handling requirements asked if space could
  1385. be found on the computer for their needs.
  1386. ** Page 30
  1387. Eventually Lockheed and others recognised the beginnings of a quite
  1388. separate business; in Lockheed's case it lead to the foundation of
  1389. Dialogue, which today acts as host and marketing agent for almost 300
  1390. separate databases. Other on-line hosts include BRS (Bibliographic
  1391. Hacker's Handbook
  1392. file:///E|/Books/Hackers Handbook.htm (30 of 133) [11/28/2000 5:58:48 AM]
  1393. Retrieval Services), Comshare (used for sophisticated financial
  1394. modelling), DataStar, Blaise (British Library) I P Sharp, and
  1395. Euronet-Diane.
  1396. On-line services, particularly the older ones, are not especially
  1397. user-friendly by modern standards. They were set up at a time when
  1398. both core and storage memory was expensive, and the search languages
  1399. tend to be abbreviated and formal. Typically they are used, not by
  1400. the eventual customer for the information, but by professional
  1401. intermediaries--librarians and the like-- who have undertaken special
  1402. courses. Originally on-line hosts were accessed by dumb terminals,
  1403. usually teletypewriters like the Texas Whisperwriter portable with
  1404. built-in acoustic modem, rather than by VDUs. Today the trend is to
  1405. use 'front-end' intelligent software on an IBM PC which allows the
  1406. naive user to pose his/her questions informally while offline; the
  1407. software then redefines the information request into the formal
  1408. language of the on-line host (the user does not witness this process)
  1409. and then goes on-line via an auto-dial modem to extract the
  1410. information as swiftly and efficiently as possible.
  1411. On-line services require the use of a whole series of passwords:
  1412. the usual NUI and NUA for PSS (see chapter 7), another to reach the
  1413. host, yet another for the specific information service required.
  1414. Charges are either for connect-time or per record retrieved, or
  1415. sometimes a combination.
  1416. The categories of on-line service include bibliographic, which
  1417. merely indexes the existence of an article or book--you must then
  1418. find a physical copy to read; and source, which contains the article
  1419. or extract thereof. Full-text services not only contain the complete
  1420. article or book but will, if required, search the entire text (as
  1421. opposed to mere keywords) to locate the desired information. An
  1422. example of this is LEXIS, a vast legal database which contains nearly
  1423. all important US and English law judgements, as well as statutes.
  1424. News Services
  1425. The vast majority of news services, even today, are not, in the
  1426. strictest sense, computer-based, although computers play an important
  1427. role in assembling the information and, depending on the nature of
  1428. the newspaper or radio or tv station receiving it, its subsequent
  1429. handling.
  1430. ** Page 31
  1431. The world's big press agencies--United Press, Associated Press,
  1432. Reuters, Agence France Presse, TASS, Xinhua, PAP, VoA -- use telex
  1433. techniques to broadcast their stories. Permanent leased telegraphy
  1434. lines exist between agencies and customers, and the technology is
  1435. pure telex: the 5-bit Baudot code (rather than ASCII) is adopted,
  1436. giving capital letters only, and 'mark' and space' are sent by
  1437. changing voltage conditions on the line rather than audio tones.
  1438. Speeds are 50 or 75 baud.
  1439. Hacker's Handbook
  1440. file:///E|/Books/Hackers Handbook.htm (31 of 133) [11/28/2000 5:58:48 AM]
  1441. The user cannot interrogate the agency in any way. The stories
  1442. come in a single stream which is collected on rolls of paper and then
  1443. used as per the contract between agency and subscriber. To hack a
  1444. news agency line you will need to get physically near the appropriate
  1445. leased line, tap in by means of an inductive loop, and convert the
  1446. changing voltage levels (+80 volts on the line) into something your
  1447. RS232C port can handle. You will then need software to translate the
  1448. Baudot code into the ASCII which your computer can handle internally,
  1449. and display on screen or print to a file. The Baudot code is given in
  1450. Appendix IV.
  1451. None of this is easy and will probably involve breaches of several
  1452. laws, including theft of copyright material! However a number of news
  1453. agencies also transmit services by radio, in which case the signals
  1454. can be hijacked with a short-wave receiver. Chapter 9 explains.
  1455. Historic news, as opposed to the current stuff from agencies, is
  1456. now becoming available on-line. The New York Times, for example, has
  1457. long held its stories in an electronic 'morgue' or clippings library.
  1458. Initially this was for internal use, but for the last several years
  1459. it has been sold to outsiders, chiefly broadcasting stations and
  1460. large corporations. You can search for information by a combination
  1461. of keyword and date-range. The New York Times Information Bank is
  1462. available through several on-line hosts.
  1463. As the world's great newspapers increasingly move to electronic
  1464. means of production--journalists working at VDUs, sub-editors
  1465. assembling pages and direct-input into photo-typesetters--the
  1466. additional cost to each newspaper of creating its own morgue is
  1467. relatively slight and we can expect to see many more commercial
  1468. services.
  1469. In the meantime, other publishing organisations have sought to
  1470. make available articles, extract or complete, from leading magazines
  1471. also. Two UK examples are Finsbury Data Services' Textline and
  1472. Datasolve's d Reporter, the latter including material from the BBC's
  1473. monitoring service, Associated Press, the Economist and the Guardian.
  1474. Textline is an abstract service, but World Reporter gives the full
  1475. text. In October 1984 it already held 500 million English words.
  1476. ** Page 32
  1477. In the US there is NEXIS, which shares resources with LEXIS; NEXIS
  1478. held 16 million full text articles at that same date. All these
  1479. services are expensive for casual use and are accessed by dial-up
  1480. using ordinary asynchronous protocols.
  1481. Many electronic newsrooms also have dial-in ports for reporters
  1482. out on the job; depending on the system these ports not only allow
  1483. the reporter to transmit his or her story from a portable computer,
  1484. but may also (like Basys Newsfury used by Channel Four News) let them
  1485. see news agency tapes, read headlines and send electronic mail. Such
  1486. systems have been the subject of considerable hacker speculation.
  1487. Hacker's Handbook
  1488. file:///E|/Books/Hackers Handbook.htm (32 of 133) [11/28/2000 5:58:48 AM]
  1489. Financial Services
  1490. The financial world can afford more computer aids than any other
  1491. non-governmental sector. The vast potential profits that can be made
  1492. by trading huge blocks of currency, securities or commodities--and
  1493. the extraordinary advantages that a slight 'edge' in information can
  1494. bring--have meant that the City, Wall Street and the equivalents in
  1495. Hong Kong, Japan and major European capitals have been in the
  1496. forefront of getting the most from high-speed comms.
  1497. Ten years ago the sole form of instant financial information was
  1498. the ticker tape--telegraphy technology delivering the latest share
  1499. price movements in a highly abbreviated form. As with its news
  1500. equivalents, these were broadcast services (and still are, for the
  1501. services still exist) sent along leased telegraph lines. The user
  1502. could only watch, and 'interrogation' consisted of back-tracking
  1503. along a tape of paper. Extel (Exchange Telegraph) continues to use
  1504. this technique, though it is gradually upgrading by using viewdata
  1505. and intelligent terminals.
  1506. However, just over ten years ago Reuters put together the first
  1507. packages which gave some intelligence and 'questioning power' to the
  1508. end user. Each Reuters' Monitor is intelligent, containing (usually)
  1509. a DEC PDP-8 series mini and some firmware which accepts and selects
  1510. the stream of data from the host at the far end of the leased line,
  1511. marshalls interrogation requests and takes care of the local display.
  1512. Information is formatted in 'pages' rather like viewdata frames, but
  1513. without the colour. There is little point in eavesdropping into a
  1514. Reuters line unless you know what the terminal firmware does. Reuters
  1515. now face an aggressive rival in Telerate, and the fight is on to
  1516. deliver not only fast comprehensive prices services but international
  1517. screen-based dealing as well. The growth of Reuters and its rivals is
  1518. an illustration of technology creating markets--especially in
  1519. international currency--where none existed before.
  1520. ** Page 33
  1521. The first sophisticated Stock Exchange prices 'screens' used
  1522. modified closed circuit television technology. London had a system
  1523. called Market Price Display Service--MPDS--which consisted of a
  1524. number of tv displays of current prices services on different
  1525. 'channels' which could be selected by the user. But London now uses
  1526. TOPIC, a leased line variant on viewdata technology, though with its
  1527. magazine-like arrangement and auto-screen refresh, it has as much in
  1528. common with teletext as Prestel. TOPIC carries about 2,500 of the
  1529. total 7,500 shares traded in London, plus selected analytical
  1530. material from brokers. Datastream represents a much higher level of
  1531. sophistication: using its £40,000 plus pa terminals you can compare
  1532. historic data-- price movements, movements against sector indices
  1533. etc--and chart the results.
  1534. The hacker's reward for getting into such systems is that you can
  1535. see share and other prices on the move. None of these prices is
  1536. confidential; all could be obtained by ringing a stockbroker.
  1537. However, this situation is likely to change; as the City makes the
  1538. Hacker's Handbook
  1539. file:///E|/Books/Hackers Handbook.htm (33 of 133) [11/28/2000 5:58:48 AM]
  1540. change from the traditional broker/jobber method of dealing towards
  1541. specialist market making, there will then be electronic prices
  1542. services giving privileged information to specialist share dealers.
  1543. All these services are only available via leased lines; City
  1544. professionals would not tolerate the delays and uncertainties of
  1545. dial-up facilities. However dial-up ports exist for demonstrations,
  1546. exhibitions, engineering and as back-up--and a lot of hacking effort
  1547. has gone into tracking them down.
  1548. In the United States, in addition to Reuters, Telerate and local
  1549. equivalents of official streams of stock exchange and over-the-
  1550. counter data, there is Dow Jones, best known internationally for its
  1551. market indices similar to those produced by the Financial Times in
  1552. London. Dow Jones is in fact the owner of the Wall Street Journal and
  1553. some influential business magazines. Its Dow Jones News/Retrieval
  1554. Service is aimed at businesses and private investors. It features
  1555. current share prices, deliberately delayed by 15 minutes, historic
  1556. price data, which can be charted by the user's own computer
  1557. (typically an Apple or IBM PC) and historic 'morgue' type company
  1558. news and analysis. Extensions of the service enable customers to
  1559. examine accounts of companies in which they are interested. The bulk
  1560. of the information is US-based, but can be obtained world-wide via
  1561. packet-switching networks. All you need are the passwords and special
  1562. software.
  1563. ** Page 34
  1564. Business Information
  1565. Business information is usually about the credit-worthiness of
  1566. companies, company annual reports, trading opportunities and market
  1567. research. The biggest electronic credit data resource is owned by the
  1568. international company Dun & Bradstreet: during 1985-86 it is due to
  1569. spend £25m on making its data available all over Europe, including
  1570. the UK. The service, which covers more than 250,000 UK businesses, is
  1571. called DunsPrint and access is both on-line and via a viewdata
  1572. front-end processor. Another credit agency, CNN Services, extensively
  1573. used already by the big clearing banks, and with 3000 customers
  1574. accessing information via viewdata sets, has recently also announced
  1575. an extended electronic retrieval service for its own called Guardian
  1576. Business Information A third UK credit service available
  1577. electronically is called InfoLink.
  1578. In addition, all UK companies quoted on the London Stock Exchange
  1579. and many others of any size who are not, have a report and analysis
  1580. available from ICC (InterCompany Comparisons) who can be accessed via
  1581. on--line dial--up, through a viewdata interface and also by
  1582. Datastream customers. Dun & Bradstreet also have an on--line service
  1583. called KBE covering 20,000 key British enterprises.
  1584. Prodigious quantities of credit and background data on US
  1585. companies can be found on several of the major on--line hosts. A
  1586. valid phone number, passwords and extracts from the operations manual
  1587. of one of the largest US services, TRW--it has credit histories on 90
  1588. Hacker's Handbook
  1589. file:///E|/Books/Hackers Handbook.htm (34 of 133) [11/28/2000 5:58:48 AM]
  1590. million people--sat on some hackers' bulletin boards (of which much
  1591. more later) for over twelve months during 1983 and 1984 before the
  1592. company found out. No one knows how many times hackers accessed the
  1593. service. According to the Washington Post, the password and manual
  1594. had been obtained from a Sears Roebuck national chain store in
  1595. Sacramento; some hackers claimed they were able to alter credit
  1596. records, but TRW maintain that telephone access to their systems is
  1597. designed for read-only operations alone, updating of files taking
  1598. place solely on magnetic tape.
  1599. US market research and risk analysis comes from Frost Sullivan.
  1600. Risk analysis tells international businessmen which countries are
  1601. politically or economically unstable, or likely t become so, and so
  1602. unsafe to do business with. I once found myself accessing a
  1603. viewdata-based international assessment service run b a company
  1604. called Control Risks, which reputedly has strong link to the Special
  1605. Air Service. As so often happens when hacker think they are about to
  1606. uncover secret knowledge, the actual data files seemed relatively
  1607. trivial, the sort of judgements that could be made by a bright sixth
  1608. former who read posh newspapers and thoughtful weekly magazines.
  1609. ** Page 35
  1610. University facilities
  1611. In complete contrast to computers that are used to store and
  1612. present data are those where the value is to deliver processing power
  1613. to the outside world. Paramount among these are those installed in
  1614. universities and research institutes.
  1615. Although hackers frequently acquire phone numbers to enter such
  1616. machines, what you can do once you are there varies enormously. There
  1617. are usually tiers and banks of passwords, each allowing only limited
  1618. access to the range of services. It takes considerable knowledge of
  1619. the machine's operating system to break through from one to another
  1620. and indeed, in some cases, the operating system is so thoroughly
  1621. embedded in the mainframe's hardware architecture that the
  1622. substantial modifications necessary to permit a hacker to roam free
  1623. can only be done from a few designated terminals, or by having
  1624. physical access to the machine. However, the hobbyist bulletin board
  1625. system quite often provides passwords giving access to games and the
  1626. ability to write and run programs in exotic languages--my own first
  1627. hands--on experience of Unix came in exactly this way. There are
  1628. bulletin boards on mainframes and even, in some cases, boards for
  1629. hackers!
  1630. Given the nature of hacking, it is not surprising that some of the
  1631. earliest japes occurred on computers owned by universities. Way back
  1632. in the 1970s, MIT was the location of the famous 'Cookie Monster',
  1633. inspired by a character in the then-popular Rowan & Martin Laugh-in
  1634. television show. As someone worked away at their terminal, the word
  1635. 'cookie' would appear across their screen, at first slowly wiping out
  1636. the user's work. Unless the user moved quickly, things started to
  1637. speed up and the machine would flash urgently: "Cookie, cookie, give
  1638. Hacker's Handbook
  1639. file:///E|/Books/Hackers Handbook.htm (35 of 133) [11/28/2000 5:58:48 AM]
  1640. me a cookie". The whole screen would pulse with this message until,
  1641. after a while, the hacking program relented and the 'Monster' would
  1642. clear the screen, leaving the message: "I didn't want a cookie
  1643. anyway." It would then disappear into the computer until it snared
  1644. another unsuspecting user. You could save yourself from the Monster
  1645. by typing the word "Cookie", to which it replied "Thank you" and then
  1646. vanished.
  1647. In another US case, this time in 1980, two kids in Chicago,
  1648. calling themselves System Cruncher and Vladimir, entered the computer
  1649. at DePaul University and caused a system crash which cost $22,000 to
  1650. fix. They were prosecuted, given probation and were then made a movie
  1651. offer.
  1652. ** Page 36
  1653. In the UK, many important university and research institution
  1654. computers have been linked together on a special data network called
  1655. SERCNET. SERC is the Science and Engineering Research Council.
  1656. Although most of the computers are individually accessible via PSS,
  1657. SERCNET makes it possible to enter one computer and pass through to
  1658. others. During early 1984, SERCNET was the target of much hacker
  1659. attention; a fuller account appears in chapter 7, but to anticipate a
  1660. little, a local entry node was discovered via one of the London
  1661. University college computers with a demonstration facility which, if
  1662. asked nicely, disgorged an operating manual and list of 'addresses'.
  1663. One of the minor joys of this list was an entry labelled "Gateway to
  1664. the Universe", pure Hitch-hiker material, concealing an extensive
  1665. long-term multi-function communications project. Eventually some
  1666. hackers based at a home counties university managed to discover ways
  1667. of roaming free around the network....
  1668. Banking
  1669. Prominent among public fantasies about hackers is the one where
  1670. banks are entered electronically, accounts examined and some money
  1671. moved from one to another. The fantasies, bolstered by
  1672. under-researched low-budget movies and tv features, arise from
  1673. confusing the details of several actual happenings.
  1674. Most 'remote stealing' from banks or illicit obtaining of account
  1675. details touch computers only incidentally and involve straight-
  1676. forward fraud, conning or bribery of bank employees. In fact, when
  1677. you think about the effort involved, human methods would be much more
  1678. cost-effective for the criminal. For hackers, however, the very
  1679. considerable effort that has been made to provide security makes the
  1680. systems a great challenge in them- selves.
  1681. In the United Kingdom, the banking scene is dominated by a handful
  1682. of large companies with many branches. Cheque clearing and account
  1683. maintenance are conducted under conditions of high security with
  1684. considerable isolation of key elements; inter-bank transactions in
  1685. the UK go through a scheme called CHAPS, Clearing House Automatic
  1686. Payments System, which uses the X.25 packet switching protocols (see
  1687. Hacker's Handbook
  1688. file:///E|/Books/Hackers Handbook.htm (36 of 133) [11/28/2000 5:58:49 AM]
  1689. chapter 7). The network is based on Tandem machines; half of each
  1690. machine is common to the network and half unique to the bank. The
  1691. encryption standard used is the US Data Encryption Standard. Certain
  1692. parts of the network, relating to the en- and de-cryption of
  1693. messages, apparently auto-destruct if tampered with.
  1694. ** Page 37
  1695. The service started early in 1984. The international equivalent
  1696. is SWIFT (Society for Worldwide Interbank Financial Transactions);
  1697. this is also X.25- based and it handles about half-a-million messages
  1698. a day. If you want to learn someone's balance, the easiest and most
  1699. reliable way to obtain it is with a plausible call to the local
  1700. branch. If you want some easy money, steal a cheque book and cheque
  1701. card and practise signature imitation. Or, on a grander scale, follow
  1702. the example of the £780,000 kruggerand fraud in the City. Thieves
  1703. intercepted a telephone call from a solicitor or bank manager to
  1704. 'authenticate' forged drafts; the gold coins were then delivered to a
  1705. bogus company.
  1706. In the United States, where federal law limits the size of an
  1707. individual bank's operations and in international banking, direct
  1708. attacks on banks has been much easier because the technology adopted
  1709. is much cruder and more use is made of public phone and telex lines.
  1710. One of the favourite techniques has been to send fake authorisations
  1711. for money transfers. This was the approach used against the Security
  1712. National Pacific Bank by Stanley Rifkin and a Russian diamond dealer
  1713. in Geneva. $10.2m moved from bank to bank across the United States
  1714. and beyond. Rifkin obtained code numbers used in the bilateral Test
  1715. Keys. The trick is to spot weaknesses in the cryptographic systems
  1716. used in such authorisations. The specifications for the systems
  1717. themselves are openly published; one computer security expert, Leslie
  1718. Goldberg, was recently able to take apart one scheme--proposed but
  1719. not actually implemented--and show that much of the 'key' that was
  1720. supposed to give high level cryptographic security was technically
  1721. redundant, and could be virtually ignored. A surprisingly full
  1722. account of his 'perfect' fraud appears in a 1980 issue of the journal
  1723. Computer Fraud and Security Bulletin.
  1724. There are, however, a few areas where banking is becoming
  1725. vulnerable to the less mathematically literate hacker. A number of
  1726. international banks are offering their big corporation customers
  1727. special facilities so that their Treasury Departments (which ensure,
  1728. among other things, that any spare million dollars are not left doing
  1729. nothing over night but are earning short-term interest) can have
  1730. direct access to their account details via a PC on dial-up. Again,
  1731. telebanking is now available via Prestel and some of its overseas
  1732. imitators. Although such services use several layers of passwords to
  1733. validate transactions, if those passwords are mis-acquired, since no
  1734. signatures are involved, the bank account becomes vulnerable.
  1735. ** Page 38
  1736. Finally, the network of ATMs (hole-in-the-wall cash machines) is
  1737. expanding greatly. As mentioned early in this book, hackers have
  1738. Hacker's Handbook
  1739. file:///E|/Books/Hackers Handbook.htm (37 of 133) [11/28/2000 5:58:49 AM]
  1740. identified a number of bugs in the machines. None of them,
  1741. incidentally, lead directly to fraud. These machines allow card-
  1742. holders to extract cash up to a finite limit each week (usually
  1743. £100). The magnetic stripe contains the account number, validation
  1744. details of the owner's PIN (Personal Identity Number), usually 4
  1745. digits, and a record of how much cash has been drawn that week. The
  1746. ATM is usually off-line to the bank's main computer and only goes
  1747. on-line in two circumstances--first, during business hours, to
  1748. respond to a customer's 'balance request'; and second, outside
  1749. regular hours, to take into local memory lists of invalid cards which
  1750. should not be returned to the customer, and to dump out cheque book
  1751. and printed statement requests.
  1752. Hackers have found ways of getting more than their cash limit each
  1753. week. The ATMs belonging to one clearing bank could be 'cheated' in
  1754. this way: you asked for your maximum amount and then, when the
  1755. transaction was almost completed, the ATM asked you 'Do you want
  1756. another transaction, Yes/No?' If you responded 'yes' you could then
  1757. ask for--and get--your credit limit again, and again, and again. The
  1758. weakness in the system was that the magnetic stripe was not
  1759. overwritten to show you had had a transaction till it was physically
  1760. ejected from the machine. This bug has now been fixed.
  1761. A related but more bizarre bug resided for a while on the ATMs
  1762. used by that first bank's most obvious High Street rivals. In that
  1763. case, you had to first exhaust your week's limit. You then asked for
  1764. a further sum, say £75. The machine refused but asked if you wanted a
  1765. further transaction. Then, you slowly decremented the amounts you
  1766. were asking for by £5...70, 65, 60...and so on, down to £10. You then
  1767. told the ATM to cancel the last £5 transaction...and the machine gave
  1768. you the full £75. Some hackers firmly believe the bug was placed
  1769. there by the original software writer. This bug too has now been
  1770. fixed.
  1771. Neither of these quirks resulted in hackers 'winning' money from
  1772. the banks involved; the accounts were in every case, properly
  1773. debited. The only victory was to beat the system. For the future, I
  1774. note that the cost of magnetic stripe reader/writers which interface
  1775. to PCs is dropping to very low levels. I await the first inevitable
  1776. news reports.
  1777. Electronic Mail
  1778. Electronic mail services work by storing messages created by some
  1779. users until they are retrieved by their intended recipients.
  1780. ** Page 39
  1781. The ingredients of a typical system are: registration/logging on
  1782. facilities, storage, search and retrieval, networking, timing and
  1783. billing. Electronic mail is an easy add-on to most mainframe
  1784. installations, but in recent years various organisations have sought
  1785. to market services to individuals, companies and industries where
  1786. electronic mail was the main purpose of the system, not an add-on.
  1787. Hacker's Handbook
  1788. file:///E|/Books/Hackers Handbook.htm (38 of 133) [11/28/2000 5:58:49 AM]
  1789. The system software in widest use is that of ITI-Dialcom; it's the
  1790. one that runs Telecom Gold. Another successful package is that used
  1791. in the UK and USA by Easylink, which is supported by Cable & Wireless
  1792. and Western Union.
  1793. In the Dialcom/Telecom Gold service, the assumption is made that
  1794. most users will want to concentrate on a relatively narrow range of
  1795. correspondents. Accordingly, the way it is sold is as a series of
  1796. systems, each run by a 'manager': someone within a company. The
  1797. 'manager' is the only person who has direct contact with the
  1798. electronic mail owner and he in turn is responsible for bringing
  1799. individual users on to his 'system' -- he can issue 'mailboxes'
  1800. direct, determine tariff levels, put up general messages. In most
  1801. other services, every user has a direct relationship with the
  1802. electronic mail company.
  1803. The services vary according to their tariff structures and levels;
  1804. and also in the additional facilities: some offer bi-directional
  1805. interfaces to telex; and some contain electronic magazines, a little
  1806. like videotex.
  1807. The basic systems tend to be quite robust and hacking is mainly
  1808. concentrated on second-guessing users IDs. Many of the systems have
  1809. now sought to increase security by insisting on passwords of a
  1810. certain length--and by giving users only three or four attempts at
  1811. logging on before closing down the line. But increasingly their
  1812. customers are using PCs and special software to automate logging-in.
  1813. The software packages of course have the IDs nicely pre-stored....
  1814. Government computers
  1815. Among hackers themselves the richest source of fantasising
  1816. revolves around official computers like those used by the tax and
  1817. national insurance authorities, the police, armed forces and
  1818. intelligence agencies.
  1819. The Pentagon was hacked in 1983 by a 19-year-old Los Angeles
  1820. student, Ronald Austin. Because of the techniques he used, a full
  1821. account is given in the operating systems section of chapter 6. NASA,
  1822. the Space Agency, has also acknowledged that its e-mail system has
  1823. been breached and that messages and pictures of Kilroy were left as
  1824. graffiti.
  1825. ** Page 40
  1826. This leaves only one outstanding mega-target, Platform, the global
  1827. data network of 52 separate systems focused on the headquarters of
  1828. the US's electronic spooks, the National Security Agency at Fort
  1829. Meade, Maryland. The network includes at least one Cray-1, the worlds
  1830. most powerful number-cruncher, and facilities provided by GCHQ at
  1831. Cheltenham.
  1832. Although I know UK phone freaks who claim to have managed to
  1833. Hacker's Handbook
  1834. file:///E|/Books/Hackers Handbook.htm (39 of 133) [11/28/2000 5:58:49 AM]
  1835. appear on the internal exchanges used by Century House (M16) and
  1836. Curzon Street House (M15) and have wandered along AUTOVON, the US
  1837. secure military phone network, I am not aware of anyone bold or
  1838. clever enough to have penetrated the UK's most secure computers.
  1839. It must be acknowledged that in general it is far easier to obtain
  1840. the information held on these machines--and lesser ones like the DVLC
  1841. (vehicle licensing) and PNC (Police National Computer)-- by criminal
  1842. means than by hacking -- bribery, trickery or blackmail, for example.
  1843. Nevertheless, there is an interesting hacker's exercise in
  1844. demonstrating how far it is possible to produce details from open
  1845. sources of these systems, even when the details are supposed to be
  1846. secret. But this relates to one of the hacker's own secret
  1847. weapons--thorough research, the subject of the next chapter.
  1848. ** Page 41
  1849. CHAPTER 5
  1850. Hackers' Intelligence
  1851. Of all the features of hacking that mystify outsiders, the first
  1852. is how the hackers get the phone numbers that give access to the
  1853. computer systems, and the passwords that open the data. Of all the
  1854. ways in which hacking is portrayed in films, books and tv, the most
  1855. misleading is the concentration on the image of the solitary genius
  1856. bashing away at a keyboard trying to 'break in'.
  1857. It is now time to reveal one of the dirty secrets of hacking:
  1858. there are really two sorts of hacker. For this purpose I will call
  1859. them the trivial and the dedicated. Anyone can become a trivial
  1860. hacker: you acquire, from someone else, a phone number and a password
  1861. to a system; you dial up, wait for the whistle, tap out the password,
  1862. browse around for a few minutes and log off. You've had some fun,
  1863. perhaps, but you haven't really done anything except follow a
  1864. well-marked path. Most unauthorised computer invasions are actually
  1865. of this sort.
  1866. The dedicated hacker, by contrast, makes his or her own
  1867. discoveries, or builds on those of other pioneers. The motto of
  1868. dedicated hackers is modified directly from a celebrated split
  1869. infinitive: to boldly pass where no man has hacked before.
  1870. Successful hacking depends on good research. The materials of
  1871. research are all around: as well as direct hacker-oriented material
  1872. of the sort found on bulletin board systems and heard in quiet
  1873. corners during refreshment breaks at computer clubs, huge quantities
  1874. of useful literature are published daily by the marketing departments
  1875. of computer companies and given away to all comers: sheaves of
  1876. stationery and lorry loads of internal documentation containing
  1877. important clues are left around to be picked up. It is up to the
  1878. hacker to recognise this treasure for what it is, and to assemble it
  1879. Hacker's Handbook
  1880. file:///E|/Books/Hackers Handbook.htm (40 of 133) [11/28/2000 5:58:49 AM]
  1881. in a form in which it can be used.
  1882. Anyone who has ever done any intelligence work, not necessarily
  1883. for a government, but for a company, or who has worked as an
  1884. investigative journalist, will tell you that easily 90% of the
  1885. information you want is freely available and that the difficult part
  1886. is recognising and analysing it. Of the remaining 10%, well over
  1887. half can usually be inferred from the material you already have,
  1888. because, given a desired objective, there are usually only a limited
  1889. number of sensible solutions.
  1890. ** Page 42
  1891. You can go further: it is often possible to test your inferences and,
  1892. having done that, develop further hypotheses. So the dedicated
  1893. hacker, far from spending all the time staring at a VDU and 'trying
  1894. things' on the keyboard, is often to be found wandering around
  1895. exhibitions, attending demonstrations, picking up literature, talking
  1896. on the phone (voice-mode!) and scavenging in refuse bins.
  1897. But for both trivial operator, and the dedicated hacker who wishes
  1898. to consult with his colleagues, the bulletin board movement has been
  1899. the single greatest source of intelligence.
  1900. Bulletin Boards
  1901. Since 1980, when good software enabling solitary micro-computers
  1902. to offer a welcome to all callers first became widely available, the
  1903. bulletin board movement has grown by leaps and bounds. If you haven t
  1904. logged on to at least one already, now is the time to try. At the
  1905. very least it will test out your computer, modem and software --and
  1906. your skills in handling them. Current phone numbers, together with
  1907. system hours and comms protocol requirements, are regularly published
  1908. in computer mags; once you have got into one, you will usually find
  1909. current details of most of the others.
  1910. Somewhere on most boards you will find a series of Special
  1911. Interest Group (SIG) sections and among these, often, will be a
  1912. Hacker's Club. Entrance to each SIG will be at the discretion of the
  1913. Sysop, the Bulletin Board owner. Since the BBS software allows the
  1914. Sysop to conceal from users the list of possible SIGs, it may not be
  1915. immediately obvious whether a Hacker's section exists on a particular
  1916. board. Often the Sysop will be anxious to form a view of a new
  1917. entrant before admitting him or her to a 'sensitive' area. It has
  1918. even been known for bulletin boards to carry two hacker sections:
  1919. one, admission to which can be fairly easily obtained; and a second,
  1920. the very existence of which is a tightly-controlled secret, where
  1921. mutually trusting initiates swap information.
  1922. The first timer, reading through a hacker's bulletin board, will
  1923. find that it seems to consist of a series of discursive conversations
  1924. between friends. Occasionally, someone may write up a summary for
  1925. more universal consumption. You will see questions being posed. if
  1926. you feel you can contribute, do so, because the whole idea is that a
  1927. Hacker's Handbook
  1928. file:///E|/Books/Hackers Handbook.htm (41 of 133) [11/28/2000 5:58:49 AM]
  1929. BBS is an information exchange. It is considered crass to appear on a
  1930. board and simply ask 'Got any good numbers?; if you do, you will not
  1931. get any answers. Any questions you ask should be highly specific,
  1932. show that you have already done some ground-work, and make clear that
  1933. any results derived from the help you receive will be reported back
  1934. to the board.
  1935. ** Page 43
  1936. Confidential notes to individuals, not for general consumption,
  1937. can be sent using the E-Mail option on the bulletin board, but
  1938. remember, nothing is hidden from the Sysop.
  1939. A flavour of the type of material that can be seen on bulletin
  1940. boards appears from this slightly doctored excerpt (I have removed
  1941. some of the menu sequences in which the system asks what you want to
  1942. do next and have deleted the identities of individuals):
  1943. Msg#: 3538 *Modem Spot*
  1944. 01/30/84 12:34:54 (Read 39 Times)
  1945. From: xxxxxxxxxx
  1946. To: ALL
  1947. Subj: BBC/MAPLIN MODEMS
  1948. RE THE CONNECTIONS ON THE BBC/MAPLIN MODEM SETUP. THE crs PIN IS USED TO
  1949. HANDSHAKE WITH THE RTS PIN E.G. ONE UNIT SENDS RTS (READY TO SEND) AND
  1950. SECOND UNIT REPLIES CTS (CLEAR TO SEND). USUALLY DONE BY TAKING PIN HIGH. IF
  1951. YOU STRAP IT HIGH I WOULD SUGGEST VIA A 4K7 RESISTOR TO THE VCC/+VE RAIL (5V).
  1952. IN THE EVENT OF A BUFFER OVERFLOW THESE RTS/CTS PINS ARE TAKEN LOW AND THIS
  1953. STOPS THE DATA TRANSFER. ON A 25WAY D TYPE CONNECTOR TX DATA IS PIN 2
  1954. RX DATA IS PIN 3
  1955. RTS IS PIN 4
  1956. CTS IS PIN 5
  1957. GROUND IS PIN 7
  1958. ALL THE BEST -- ANY COMMTO XXXXXXXXX
  1959. (DATA COMMS ENGINEER)
  1960. Msg#: 3570 *Modem Spot*
  1961. 01/31/84 23:43:08 (Read 31 Times)
  1962. From: XXXXXXXXXX
  1963. To: XXXXXXXXXXX
  1964. Subj: REPLY TO MSG# 3538 (BBC/MAPLIN MODEMS)
  1965. ON THE BBC COMPUTER IT IS EASIER TO CONNECT THE RTS (READY TO SEND) PIN HE
  1966. CTS (CLEAR TO SEND) PIN. THIS OVERCOMES THE PROBLEM OF HANDSHAKING.
  1967. SINCE THE MAPLIN MODEM DOES NOT HAVE HANDSHAKING.I HAVE PUT MY RTS CTS JUMPER
  1968. INSIDE THE MODEM. MY CABLES ARE THEN STANDARD AND CAN BE USED WITH HANDSHAKERS.
  1969. REGARDS
  1970. Hsg#: 3662 *HACKER'S CLUB*
  1971. 02/04/84 23:37:11 (Read 41 Times)
  1972. From: XXXXXXXXXX
  1973. To: ALL
  1974. Subj: PUBLIC DATA NET
  1975. Does anyone know what the Public Data Net is? I appear to have access to it, &
  1976. I daren't ask what it is!
  1977. Hacker's Handbook
  1978. file:///E|/Books/Hackers Handbook.htm (42 of 133) [11/28/2000 5:58:49 AM]
  1979. Also, can anyone tell me more about the Primenet systems... Again I seem to
  1980. have the means,but no info. For instance, I have a relative who logs on to
  1981. another Prime Both of our systems are on Primenet, is there any way we can
  1982. communicate?
  1983. More info to those who want it...
  1984. <n>ext msg, <r>eply, or <s>top?
  1985. Msg has replies, read now(Y/N)? y
  1986. Reply has been deleted
  1987. <n>ext msg, <r>eply, or <s>top?
  1988. Msg#: 3739 *HACKER'S CLUB*
  1989. 02/06/84 22:39:06 (Read 15 Times)
  1990. From: xxxxxxxxxx
  1991. To: xxxxxxxxxx
  1992. Subj: REPLY TO MSG# 3716 (PRIMENET COMMS)
  1993. Ahh, but what is the significance of the Address-does it mean a PSS number. or
  1994. some thing like that? Meanwhile, I'II get on-line (via voice-link on the phone!)
  1995. to my cousin, and see what he has on it....
  1996. ** Page 44
  1997. Msg#: 3766 *HACKER'S CLUB*
  1998. 02/07/84 13:37:54 (Read 13 Times)
  1999. From: xxxxxxxxxxx
  2000. To: xxxxxxxxxxx
  2001. Subj: REPLY TO MSG# 3751 (PUBLIC DATA NET)
  2002. Primenet is a local network. I know of one in Poole, An BTGold use
  2003. one between their systems too. It Is only an internal network, I
  2004. suggest using PSS to communicate between different primes. Cheers.
  2005. <n>ext msg, <r>eply, or <s>top?
  2006. Msg#: 3799 *BBC*
  2007. 02/07/84 22:09:05 (Read 4 Times)
  2008. From: xxxxxxxxxxx
  2009. To: xxxxxxxxxxx
  2010. Subj: REPLY TO MSG# 3751 (RGB VIDEO)
  2011. The normal video output BNC can be made to produce colour video by
  2012. making a link near to the bnc socket on the pcb. details are in the
  2013. advanced user guide under the chapter on what the various links do.
  2014. If you require more I will try to help, as I have done this mod and
  2015. it works fine
  2016. Msg#: 935 *EREWHON*
  2017. 09/25/83 01:23:00 (Read 90 Times)
  2018. From: xxxxxxxxxx
  2019. To: ALL
  2020. Subj: US PHONE FREAKING
  2021. USA Phone Freaking is done with a 2 out of 5 Code. The tones must be
  2022. with 30Hz, and have less than 1% Distortion.
  2023. Master Tone Frequency = 2600 Hz.
  2024. Hacker's Handbook
  2025. file:///E|/Books/Hackers Handbook.htm (43 of 133) [11/28/2000 5:58:49 AM]
  2026. >1 = 700 & 900 Hz
  2027. >2 = 700 & 1100 Hz
  2028. >3 = 900 & 1100 HZ
  2029. >4 = 700 & 1300 Hz
  2030. >5 = 900 & 1300 Hz
  2031. >6 = 1100 & 1300 Hz
  2032. >7 = 700 & 1500 HZ
  2033. >8 = 900 & 1500 Hz
  2034. >9 = 1100 & 1500 Hz
  2035. >0 = 1300 & 1500 Hz
  2036. >Start Key Signal = 1100 & 1700 Hz
  2037. >End Key Signal = 1300 & 1700 Hz
  2038. > Military Priority Keys 11=700 & 1700 ; 12=900 & 1700 - I don't
  2039. recommend using these. ( The method of use will be explained in a
  2040. separate note. DO NOT DISCLOSE WHERE YOU GOT THESE FREQUENCIES TO
  2041. ANYONE!
  2042. Msg#: 936 *EREWHON*
  2043. 09/20/83 01:34:43 (Read 89 Times)
  2044. From: xxxxxxxxxxxx
  2045. To: ALL
  2046. Subj: UK PHONE FREAKING
  2047. The UK System also uses a 2 out of 5 tone pattern.
  2048. The Master Frequency is 2280 Hz
  2049. >I = 1380 & 1500 Hz
  2050. >2 = 1380 & 1620 Hz
  2051. >3 = 1500 & 1620 Hz
  2052. >4 = 1380 & 1740 Hz
  2053. >5 = 1500 & 1740 Hz
  2054. >6 = 1620 & 1740 Hz
  2055. >7 = 1380 & I860 Hz
  2056. >8 = 1500 & 1860 Hz
  2057. >9 = 1620 & 1860 Hz
  2058. >0 = 1740 & 1860 Hz
  2059. >Start Key = 1740 & 1980 ; End Keying = 1860 & 1980 Hz
  2060. >Unused I think 11 = 1380 & 1980 ; 12 = 1500 & 1980 Hz
  2061. This is from the CCITT White Book Vol. 6 and is known as SSMF No. 3
  2062. to some B.T. Personnel.
  2063. The 2280 Hz tone is being filtered out at many exchanges so you may
  2064. need quite high level for it to work.
  2065. ** Page 45
  2066. Msg#: 951 *EREWHON*
  2067. 09/21/83 17:44:28 (Read 79 Times)
  2068. From: xxxxxxxxxx
  2069. To: PHONE FREAK's
  2070. Subj: NEED YOU ASK ?
  2071. In two other messages you will find the frequencies listed for the
  2072. Internal phone system controls. This note is intended to explain how
  2073. the system could be operated. The central feature to realise is that
  2074. Hacker's Handbook
  2075. file:///E|/Books/Hackers Handbook.htm (44 of 133) [11/28/2000 5:58:49 AM]
  2076. ( especially in the (USA) the routing information in a call is not in
  2077. the Dialled Code. The normal sequence of a call is that the Area Code
  2078. is received while the Subscriber No. Is stored for a short period.
  2079. The Local Exchange reads the area code and selects the best route at
  2080. that time for the call. The call together with a new "INTERNAL"
  2081. dialling code Is then sent on to the next exchange together with the
  2082. subscriber number. This is repeated from area to area and group to
  2083. group. The system this way provides many routes and corrects itself
  2084. for failures.
  2085. The Technique. make a Long Distance call to a number which does not
  2086. answer. Send down the Master Tone. (2600 or 22080 Hz) This will
  2087. clear the line back, but leave you in the system. You may now send
  2088. the "Start key Pulse" followed by the Routing Code and the Subscriber
  2089. No. Finish with the "End keying Pulse". The system sees you as being
  2090. a distant exchange requesting a route for a call.
  2091. Meanwhile back at the home base. Your local exchange will be logging
  2092. you in as still ringing on the first call. There are further problems
  2093. in this in both the USA and the UK as the techniques are understood
  2094. and disapproved of by those in authority. You may need to have a
  2095. fairly strong signal into the system to get past filters present on
  2096. the line. Warning newer exchanges may link these filters to alarms.
  2097. Try from a phone box or a Public Place and see what happens or who
  2098. comes.
  2099. Example:- To call from within USA to Uk:
  2100. > Ring Toll Free 800 Number
  2101. > Send 2600 Hz Key Pulse
  2102. > When line goes dead you are in trunk level
  2103. > Start Pulse 182 End Pulse = White Plains N.Y. Gateway continued in
  2104. next message
  2105. Hsg#: 952 *EREWHON*
  2106. 09/21/83 18:03:12 (Read 73 Times)
  2107. From: xxxxxxxxxx
  2108. To: PHONE FREAKS
  2109. Subj: HOW TO DO IT PT 2
  2110. > Start Pulse 044 = United Kingdom
  2111. > 1 = London ( Note no leading O please )
  2112. > 730 1234 = Harrods Department Store.
  2113. Any info on internal address codes would be appreciated from any
  2114. callers.
  2115. Msg#: 1028 *EREWHON*
  2116. 09/25/83 23:02:35 (Read 94 Times)
  2117. From: xxxxxxxxxxxx
  2118. To: ALL
  2119. Subj: FREEFONE PART I
  2120. The following info comes from a leaflet entitled 'FREEFONE':
  2121. "British Telecom's recent record profits and continuing appalling
  2122. Hacker's Handbook
  2123. file:///E|/Books/Hackers Handbook.htm (45 of 133) [11/28/2000 5:58:49 AM]
  2124. service have prompted the circulation of this information. It
  2125. comprises a method of making telephone calls free of charge."
  2126. Circuit Diagram:
  2127. O---o------- -------o----O
  2128. : ! ! :
  2129. : ! ! :
  2130. L o-------- --------o P
  2131. I ! ! H
  2132. N ! ! O
  2133. E o-- ------ ----o N
  2134. : ! ! E
  2135. I ! ! :
  2136. N o------- -------o :
  2137. : :
  2138. : :
  2139. : :
  2140. O---------------------------O
  2141. ** Page 46
  2142. S1 = XXX
  2143. C1 = XXX
  2144. D1 = XXX
  2145. D2 = XXX
  2146. R1 = XXX
  2147. Continued...
  2148. MSG#: 1029 *EREWHON*
  2149. 09/25/83 23:19:17 (Read 87 Times)
  2150. From xxxxxxxxxxx
  2151. To: ALL
  2152. Subj: FREEFONE PART 2
  2153. Circuit Operation:
  2154. The circuit inhibits the charging for incoming calls only. When a
  2155. phone is answered, there is normally approx. IOOmA DC loop current
  2156. but only 8mA or so is necessary to polarise the mic In the handset.
  2157. Drawing only this small amount is sufficient to fool BT's ancient
  2158. "Electric Meccano".
  2159. It's extremely simple. When ringing, the polarity of the line
  2160. reverses so D1 effectively answers the call when the handset is
  2161. lifted. When the call is established, the line polarity reverts and
  2162. R1 limits the loop current while D2 is a LED to indicate the circuit
  2163. is in operation. C1 ensures speech is unaffected. S1 returns the
  2164. telephone to normal.
  2165. Local calls of unlimited length can be made free of charge. Long
  2166. distance calls using this circuit are prone to automatic
  2167. disconnection this varies from area to area but you will get at least
  2168. 3 minutes before the line is closed down. Further experimentation
  2169. Hacker's Handbook
  2170. file:///E|/Books/Hackers Handbook.htm (46 of 133) [11/28/2000 5:58:49 AM]
  2171. should bear fruit in this respect.
  2172. Sith the phone on the hook this circuit is completely undetectable.
  2173. The switch should be cLosed if a call is received from an operator,
  2174. for example, or to make an outgoing call. It has proved extremely
  2175. useful, particularly for friends phoning from pay phones with jammed
  2176. coin slots.
  2177. *Please DO NOT tell ANYONE where yoU found this information*
  2178. Msg#: 1194 *EREWHON*
  2179. 10/07/83 04:50:34 (Read 81 Times)
  2180. From: xxxxxxxxxxxx
  2181. To: ALL
  2182. Subj: FREE TEST NUMBERS
  2183. Free Test Numbers
  2184. Here are some no's that have been found to work:
  2185. Dial 174 <last 4 figs of your no>: this gives unobtainable then when
  2186. you replace handset the phone rings.
  2187. Dial 175 <last 4 figs of your no: this gives start test...start
  2188. test...
  2189. then when you hang-up
  2190. the phone rings. pick it up and
  2191. either get dial tone which indicates ok or will a recording
  2192. i.e poor insulation b linetelling whats wrong. if can immediately 1305 to do further
  2193. test
  2194. might say faulty pulsesother numbers try
  2195. are 182184
  2196. 185. i have discovered my exchange (pontybodkin) ring for 1267.
  2197. these all depend on local so pays experiment starting with 1
  2198. as
  2199. functions. discover something interest let me know sig.
  2200. msg: 2241 *erewhon*
  2201. 12/04/83 20:48:49 (read 65 times)
  2202. from: sysop
  2203. to: serious freaks
  2204. subj: usa info
  2205. there is company (?) in called loopmaniacs unlimitedpo box 1197port townsend.wa98368
  2206. who publish books
  2207. telephone hacking.
  2208. some circuits even. write m. hoy there. one their publications steal book at s5.95
  2209. plus about $4
  2210. post. its worth stealing but dont show customs!** page 47
  2211. msg#: 3266
  2212. 01/22/84 06:25:01 53 xxxxxxxxxx university
  2213. computers already described getting onto ucl pad allows various calls.
  2214. via network access many university/research full
  2215. Hacker's Handbook
  2216. file:///E|/Books/Hackers Handbook.htm (47 of 133) [11/28/2000 5:58:49 AM]
  2217. list use
  2218. call 40 helpselect guide.
  2219. typing view prompt listing addresses. host be used by addrwhere
  2220. address. passwords demo etc. find anything interesting report here.
  2221. hint: aviod hanging end each
  2222. logon command - name pwd. seems
  2223. trick. another number: tel: (0235) 834531. data
  2224. exchange. bit harder wake up. must send break
  2225. level start. done using software maplin
  2226. just momentarily pull out rs232 com. returns. classes could manchesters help:-
  2227. 1020300user:demo pwd:demo enre pacx. 3687 *hacker club*
  2228. 02/05/84 14:41:43 416 xxxxxxxxxxxx hackers following collected sig:
  2229. commodore bbs (finland) 358 61 116223
  2230. gateway 01 600 1261
  2231. prestest (1200/75) 583 9412 useful prestel nodes 640..res.d (martlesham experiments
  2232. dynamic drcscept standardspicture601
  2233. (mailboxtelemessagingtelex link maybe telecom gold)651
  2234. (scratchpad -always changing). occasionally parts 650 (ip news) not properly cuged
  2235. off. 190 sometimes well. boards specialised lonely hearts services ! an asterisk bell
  2236. tones
  2237. *fairbanksak907-479-0315
  2238. *burbank ca213-840-8252213-842-9452
  2239. *clovis209-298-1328
  2240. *glendale213-242-l882
  2241. *la palma714-220-0239
  2242. *hollywood213-764-8000
  2243. *san francisco415-467-2588
  2244. *santa monica213-390-3239
  2245. *sherman oaks213-990-6830
  2246. *tarana213-345-1047
  2247. *crystal rivers fl*atlantaga912-233-0863
  2248. *hammond219-845-4200
  2249. *clevelandoh216-932-9845
  2250. *lynnefieldma6l7-334-6369
  2251. *omahane402-571-8942
  2252. *freeholdnj201-462-0435
  2253. *new yorkny212-541-5975
  2254. *carync919-362-0676
  2255. *newport newsva 804-838-3973
  2256. *vancouver200-250-6624
  2257. marseillesfrance 33-91-91-0060
  2258. both nos. prefix (0101)
  2259. a) daily x-rated doke service 516-922-9463
  2260. b) auto-biographies young ladies normally work
  2261. unpublishable magazines 212-976-2727.
  2262. c)dial wank0101 48 3688 14:44:51 393 xxxxxxxxxxx cont...
  2263. hertford pdp 11/70 bbs: 0707-263577 110 baud selected. type: set speed 300crafter
  2264. hitting switch baud. hello 124
  2265. !password: hae4 ><cr>
  2266. When logged on type: COMMAND HACKER <cr>
  2267. Use: BYE to log out
  2268. *********
  2269. Hacker's Handbook
  2270. file:///E|/Books/Hackers Handbook.htm (48 of 133) [11/28/2000 5:58:49 AM]
  2271. EUCLID 388-2333
  2272. TYPE A COUPLE OF <cr> THEN PAD <cr>
  2273. ONCE LOGGED ON TO PAD TYPE CALL 40 <cr> TRY DEMO AS A USERID WHY NOT
  2274. TRY A FEW DIFFER DIFFERENT CALLS THIS WILL LET U LOG ON TO A WHOLE
  2275. NETWORK SYSTEM ALL OVER EUROPE!
  2276. YOU CAN ALSO USE 01-278-4355.
  2277. ********
  2278. unknown 300 Baud 01-854 2411
  2279. 01-854 2499
  2280. ******
  2281. Honeywell:From London dial the 75, else 0753(SLOUGH)
  2282. 75 74199 75 76930
  2283. Type- TSS
  2284. User id: D01003
  2285. password: Unknown (up to 10 chars long)
  2286. Type: EXPL GAMES LIST to list games
  2287. To run a game type: FRN GAMES(NAME) E for a fotran game.
  2288. Replace FRN with BRN for BASIC games.
  2289. ******
  2290. Central London Poly 01 637 7732/3/4/5
  2291. ******
  2292. PSS (300) 0753 6141
  2293. ******
  2294. Comshare (300) 01 351 2311
  2295. ******
  2296. 'Money Box' 01 828 9090
  2297. ******
  2298. Imperial College 01 581 1366
  2299. 01 581 1444
  2300. *******
  2301. These are most of the interesting numbers that have come up over the
  2302. last bit. If I have omitted any, please leave them in a message.
  2303. Cheers, xxxxx.
  2304. Msg#: 5156 *HACKER'S CLUB*
  2305. 04/15/84 08:01:11 (Read 221 Times)
  2306. From: xxxxxxxxxx
  2307. To: ALL
  2308. Subj: FINANCIAL DATABASES
  2309. You can get into Datastream on dial-up at 300/300 on 251 6180 - no I
  2310. don't have any passwords....you can get into Inter Company
  2311. Comparisons (ICC) company database of 60,000 companies via their
  2312. 1200/75 viewdata front-end processor on 253 8788. Type ***# when
  2313. asked for your company code to see a demo...
  2314. Msg#: 5195 *HACKER'S CLUB*
  2315. 04/17/84 02:28:10 (Read 229 Times)
  2316. From: xxxxxxxxxx
  2317. To: ALL
  2318. Subj: PSS TELEX
  2319. THIS IS PROBOBLY OLD HAT BY NOW BUT IF YOU USE PSS THEN A92348******
  2320. WHERE **=UK TELEX NO. USE CTRL/P CLR TO BET OUT AFTER MESSAGE. YOU
  2321. WILL BE CHARGED FOR USE I GUESS
  2322. Hacker's Handbook
  2323. file:///E|/Books/Hackers Handbook.htm (49 of 133) [11/28/2000 5:58:49 AM]
  2324. ** Page 49
  2325. Msg#: 7468 *EREWHON*
  2326. 06/29/84 23:30:24 (Read 27 Times)
  2327. From: xxxxxxxxxx
  2328. To: PHREAKS
  2329. Subj: NEW(OLD..) INFO
  2330. TODAY I WAS LUCKY ENOUGH TO DISCOVER A PREVIOUSLY UNKNOWN CACHE OF
  2331. AMERICAN MAGAZINE KNOWN AS TAP. ALTHOUGH THEYRE RATHER OUT OF DATE
  2332. (1974-1981) OR SO THEY ARE PRETTY FUNNY AND HAVE A FEW INTERESTING
  2333. BITS OF INFORMATION, ESPECIALLY IF U WANT TO SEE THE CIRCUIT DIAGRAMS
  2334. OF UNTOLD AMOUNTS OF BLUE/RED/BLACK/??? BOXES THERE ARE EVEN A FEW
  2335. SECTIONS ON THE UK (BUT AS I SAID ITS COMPLETELY OUT OF DATE). IN THE
  2336. FUTURE I WILL POST SOME OF THE GOOD STUFF FROM TAP ON THIS BOARD
  2337. (WHEN AND IF I CAN GET ON THIS BLOODY SYSTEM''). ALSO I MANAGED TO
  2338. FIND A HUGE BOOK PUBLISHED BY AT&T ON DISTANCE DIALING (DATED 1975).
  2339. DUNNO, IF ANYBODY'S INTERESTED THEN LEAVE A NOTE REQUESTING ANY INFO
  2340. YOU'RE ARE CHEERS PS ANYBODY KNOW DEPRAVO THE RAT?? DOES HE STILL
  2341. LIVE?
  2342. Msg#: 7852 t*ACKER'S CLUB*
  2343. 08/17/84 00:39:05 (Read 93 Times)
  2344. From: xxxxxxxxxx
  2345. To: ALL USERS
  2346. Subj: NKABBS
  2347. NKABBS IS NOW ONLINE. FOR ATARI & OTHER MICRO USERS. OPERATING ON 300
  2348. BAUD VIA RINGBACK SYSTEM. TIMES 2130HRS-2400HRS DAILY. TEL :0795
  2349. 842324. SYSTEM UP THESE TIMES ONLY UNTIL RESPONSE GROWS. ALL USERS
  2350. ARE WELCOME TO ON. EVENTUALLY WE WILL BE SERVING BBC,COMMODORE VIC
  2351. 20/64 OWNERS.+NEWS ETC.
  2352. Msg#:8154 *EREWHON*
  2353. 08/02/84 21:46:11 (Read 13 Times)
  2354. From: ANON
  2355. To: ALL
  2356. Subj: REPLY TO MSG# :1150 (PHREAK BOARDS)
  2357. PHREAK BOARD NUMBERS
  2358. ACROSS THE U.S.
  2359. IF YOU KNOW OF A BOARD THAT IS NOT LISTED HERE, PLEASE LET ME KNOW
  2360. ABOUT IT.
  2361. JOLLY ROGER 713-468-0174
  2362. PIRATE'S CHEST 617-981-1349
  2363. PIRATE'S DATA CENTER 213-341-3962
  2364. PIRATE'S SPACE STATION 617-244-8244
  2365. PIRATE'S OUTHOUSE 301-299-3953
  2366. PIRATE'S HANDLE 314-434-6187
  2367. PIRATE'S DREAM 713-997-5067
  2368. PIRATE'S TRADE 213-932-8294
  2369. PIRATE'S TREK 914-634-1268
  2370. PIRATE'S TREK III 914-835-3627
  2371. Hacker's Handbook
  2372. file:///E|/Books/Hackers Handbook.htm (50 of 133) [11/28/2000 5:58:49 AM]
  2373. PIRATE-80 305-225-8059
  2374. SANCTUARY 201-891-9567
  2375. SECRET SERVICE ][ 215-855-7913
  2376. SKELETON ISLAND 804-285-0041
  2377. BOCA HARBOR 305-392-5924
  2378. PIRATES OF PUGET SOUND 206-783-9798
  2379. THE INSANITARIUM 609-234-6106
  2380. HAUNTED MANSION 516-367-8172
  2381. WASTELANDS 513-761-8250
  2382. PIRATE'S HARBOR 617-720-3600
  2383. SKULL ISLAND 203-972-1685
  2384. THE TEMPLE 305-798-1615
  2385. SIR LANCELOT'S CASTLE 914-381-2124
  2386. PIRATE'8 CITY 703-780-0610
  2387. PIRATE-S GALLEY 213-796-6602
  2388. THE PAWN SHOPPE 213-859-2735
  2389. HISSION CONTROL 301-983-8293
  2390. BIG BLUE MONSTER 305-781-1683
  2391. THE I.C.'S SOCKET 213-541-5607
  2392. THE MAGIC REALM 212-767-9046
  2393. PIRATE'S BAY 415-775-2384
  2394. BEYOND BELIEF 213-377-6568
  2395. PIRATE's TROVE 703-644-1665
  2396. CHEYANNE MOUNTAIN 303-753 1554
  2397. ALAHO CITY 512-623-6123
  2398. CROWS NEST 617-862-7037
  2399. PIRATE'S PUB ][ 617-891-5793
  2400. PIRATE'S I/0 201-543-6139
  2401. SOUNDCHASER 804-788-0774
  2402. SPLIT INFINITY 408-867-4455
  2403. CAPTAIN'S LOG 612-377-7747
  2404. THE SILHARILLION 714-535-7527
  2405. TWILIGHT PHONE 313-775-1649
  2406. THE UNDERGROUND 707-996-2427
  2407. THE INTERFACE 213-477-4605
  2408. THE DOC BOARD 713-471-4131
  2409. SYSTEM SEVEN 415-232-7200
  2410. SHADOW WORLD 713-777-8608
  2411. OUTER LIMITS 213-784-0204
  2412. METRO 313-855-6321
  2413. MAGUS 703-471-0611
  2414. GHOST SHIP 111 - PENTAGON 312-627-5138
  2415. GHOST SHIP - TARDIS 312-528-1611
  2416. DATA THIEVES 312-392-2403
  2417. DANGER ISLAND 409-846-2900
  2418. CORRUPT COMPUTING 313-453-9183
  2419. THE ORACLE 305-475-9062
  2420. PIRATE'S PLANET 901-756-0026
  2421. CAESER S PALACE 305-253-9869
  2422. CRASHER BBS 415-461-8215
  2423. PIRATE'S BEACH 305-865-5432
  2424. PIRATE'S COVE 516-698-4008
  2425. PIRATE'S WAREHOUSE 415-924-8338
  2426. PIRATE'S PORT 512-345-3752
  2427. PIRATE'S NEWSTAND ][ 213-373-3318
  2428. Hacker's Handbook
  2429. file:///E|/Books/Hackers Handbook.htm (51 of 133) [11/28/2000 5:58:49 AM]
  2430. PIRATE'S GOLDMINE 617-443-7428
  2431. PIRATE'S SHIP 312-445-3883
  2432. PIRATE'S MOUNTAIN 213-472-4287
  2433. PIRATE'S TREK ][ 914-967-2917
  2434. PIRATE'S TREK IV 714-932-1124
  2435. PORT OR THIEVES 305-798-1051
  2436. SECRET SERVICE 213-932-8294
  2437. SHERWOOD FOREST 212-896-6063
  2438. GALAXY ONE 215-224-0864
  2439. R.A.G.T.I.H.E. 217-429-6310
  2440. KINGDOM OF SEVEN 206-767-7777
  2441. THE STAR SYSTEM 516-698-7345
  2442. ALPHANET 203-227-2987
  2443. HACKER HEAVEN 516-796-6454
  2444. PHANTOM ACCESS 814-868-1884
  2445. THE CONNECTION 516-487-1774
  2446. THE TAVERN 516-623-9004
  2447. PIRATE'S HIDEAWAY 617-449-2808
  2448. PIRATE'S PILLAGE 317-743-5789
  2449. THE PARADISE ON-LINE 512-477-2672
  2450. MAD BOARD FROM MARS 213-470-5912
  2451. NERVOUS SYSTEM 305-554-9332
  2452. DEVO 305-652-9422
  2453. TORTURE CHAMBER 213-375-6137
  2454. HELL 914-835-4919
  2455. CRASHER BBS 415-461-8215
  2456. ALCATRAZ 301-881-0846
  2457. THE TRADING POST 504-291-4970
  2458. DEATH STAR 312-627-5138
  2459. THE CPU 313-547-7903
  2460. TRADER'S INN 618-856-3321
  2461. PIRATE'S PUB 617-894-7266
  2462. BLUEBEARDS GALLEY 213-842-0227
  2463. MIDDLE EARTH 213-334-4323
  2464. EXIDY 2000 713-442-7644
  2465. SHERWOOD FOREST ][ 914-352-6543
  2466. WARLOCK~S CASTLE 618-345-6638
  2467. TRON 312-675-1819
  2468. THE SAFEHOUSE 612-724-7066
  2469. THE GRAPE VINE 612-454-6209
  2470. THE ARK 701-343-6426
  2471. SPACE VOYAGE 713-530-5249
  2472. OXGATE 804-898-7493
  2473. MINES OF MORIA ][ 408-688-9629
  2474. MERLIN'S TOWER 914-381-2374
  2475. GREENTREE 919-282-4205
  2476. GHOST SHIP ][ - ARAGORNS 312-644-5165
  2477. GENERAL HOSPITAL 201-992-9893
  2478. DARK REALM 713-333-2309
  2479. COSMIC VOYAGE 713-530-5249
  2480. CAMELOT 312-357-8075
  2481. PIRATE'S GUILD 312-279-4399
  2482. HKGES 305-676-5312
  2483. MINES OF MORIA 713-871-8577
  2484. A.S.C.I.I. 301-984-3772
  2485. Hacker's Handbook
  2486. file:///E|/Books/Hackers Handbook.htm (52 of 133) [11/28/2000 5:58:49 AM]
  2487. ** Page 50
  2488. If Anybody is mad enough to actually dial up one (or more') of these
  2489. BBs please log everything so thAt others may benefit from your
  2490. efforts. IE- WE only have to register once, and we find out if this
  2491. board suits our interest. Good luck and have fun! Cheers,
  2492. Msg#: 8163 *HACKER'S CLUB*
  2493. 08/30/84 18:55:27 (Read 78 Times)
  2494. From: XXXXXXXXXX
  2495. To- ALL
  2496. Subj: XXXXXX
  2497. NBBS East is a relatively new bulletin board running from lOpm to
  2498. 1230am on 0692 630610. There are now special facilities for BBC users
  2499. with colour, graphics etc. If you call it then please try to leave
  2500. some messages as more messages mean more callers, which in turn means
  2501. more messages Thanks a lot, Jon
  2502. Msg#: 8601 *HACKER'S CLUB*
  2503. 09/17/84 10:52:43 (Read 57 Times!
  2504. From: xxxxxxxxxx
  2505. To: xxxxxxxxx
  2506. Subj: REPLY TO Msg# 8563 (HONEYWELL)
  2507. The thing is I still ( sort of I work for XXX so I don't think they
  2508. would be too pleased if I gave out numbers or anything else. and I
  2509. would rather keep my job Surely you don't mean MFI furniture ??
  2510. Msg#: 8683 *HACKER'S CLUB*
  2511. 09/19/84 19:54:05 (Read 63 Times)
  2512. From: xxxxxxxxx
  2513. To: ALL
  2514. Subj: DATA NODE
  2515. To those who have difficulty finding interesting numbers. try the UCL
  2516. Data Node on 01-388 2333 (300 baud).When you get the Which Service?
  2517. prompt. type PAD and a couple of CRs. Then, when the PAD> prompt
  2518. appears type CALL XOOXOOX, where is any(number orrange of numbers.
  2519. Indeed you can try several formats and numbers until you find
  2520. something interesting. The Merlin Cern computer is 9002003 And it's
  2521. difficult to trace You through aq data exchange! If anyone finds any
  2522. interesting numbers, let me know on this board, or Pretsel mailbox
  2523. 012495225.
  2524. Msg has replies, read now(Y/N)' Y
  2525. Msg#: 9457 *HACKER'S CLUB*
  2526. 10/11/84 01:52:56 (Read 15 Times)
  2527. From: xxxxxxxxxxx
  2528. To: xxxxxxxxxxx
  2529. Subj: REPLY TO MSG# 8683 (DATA NODE)
  2530. IF YOU WANT TO KNOW MORE ABOUT THIS xxxxx PHONE PHONE xxxx xxxxxx
  2531. ON 000 0000
  2532. Msg#: 8785 *HACKER'S CLUB*
  2533. 09/21/B4 20-28-59 (Read 40 Times)
  2534. Hacker's Handbook
  2535. file:///E|/Books/Hackers Handbook.htm (53 of 133) [11/28/2000 5:58:49 AM]
  2536. From xxxxxxxxxxxxxx
  2537. Subj: NEW Number
  2538. NEW Computer ON LINE TRY RINGING 960 7868 SORRY THAT'S 01 (IN LONDON) IN FRONT.
  2539. good LUCK!
  2540. ** Page 51
  2541. Please note that none of these hints, rumours, phone numbers and
  2542. passwords are likely to work by the time you are reading this...
  2543. However, in the case of the US credit agency TRW, described in the
  2544. previous chapter, valid phone numbers and passwords appear to have
  2545. sat openly on a number of bulletin boards for up to a year before the
  2546. agency realised it. Some university mainframes have hacker's boards
  2547. hidden on them as well.
  2548. It is probably bad taste to mention it, but of course people try
  2549. to hack bulletin boards as well. An early version of one of the most
  2550. popular packages could be hacked simply by sending two semi-colons
  2551. (;;) when asked for your name. The system allowed you to become the
  2552. Sysop, even though you were sitting at a different computer; you
  2553. could access the user file, complete with all passwords, validate or
  2554. devalidate whomever you liked, destroy mail, write general notices,
  2555. and create whole new areas...
  2556. Research Sources
  2557. The computer industry has found it necessary to spend vast sums on
  2558. marketing its products and whilst some of that effort is devoted to
  2559. 'image' and 'concept' type advertising--to making senior management
  2560. comfortable with the idea of the XXX Corporation's hardware because
  2561. it has 'heard' of it--much more is in the form of detailed product
  2562. information.
  2563. This information surfaces in glossies, in conference papers, and
  2564. in magazine journalism. Most professional computer magazines are
  2565. given away on subscription to 'qualified' readers; mostly the
  2566. publisher wants to know if the reader is in a position to influence a
  2567. key buying decision--or is looking for a job.
  2568. I have never had any difficulty in being regarded as qualified:
  2569. certainly no one ever called round to my address to check up the size
  2570. of my mainframe installation or the number of employees. If in doubt,
  2571. you can always call yourself a consultant. Registration is usually a
  2572. matter of filling in a post-paid card. My experience is that, once
  2573. you are on a few subscription lists, more magazines, unasked for,
  2574. tend to arrive every week or month--together with invitations to
  2575. expensive conferences in far-off climes. Do not be put off by the
  2576. notion that free magazines must be garbage. In the computer industry,
  2577. as in the medical world, this is absolutely not the case. Essential
  2578. regular reading for hackers are Computing, Computer Weekly, Software,
  2579. Datalink, Communicate, Communications Management, Datamation,
  2580. Mini-Micro Systems, and Telecommunications.
  2581. Hacker's Handbook
  2582. file:///E|/Books/Hackers Handbook.htm (54 of 133) [11/28/2000 5:58:49 AM]
  2583. ** Page 52
  2584. The articles and news items often contain information of use to
  2585. hackers: who is installing what, where; what sort of facilities are
  2586. being offered; what new products are appearing and what features they
  2587. have. Sometimes you will find surveys of sub-sets of the computer
  2588. industry. Leafing through the magazine pile that has accumulated
  2589. while this chapter was being written, I have marked for special
  2590. attention a feature on Basys Newsfury, an electronic newsroom package
  2591. used, among others, by ITN's Channel Four News; several articles on
  2592. new on-line hosts; an explanation of new enhanced Reuters services; a
  2593. comparison of various private viewdata software packages and who is
  2594. using them; some puffs for new Valued Added Networks (VANs); several
  2595. pieces on computer security; news of credit agencies selling
  2596. on-line and via viewdata; and a series on Defence Data Networks.
  2597. In most magazines, however, this is not all: each advertisement is
  2598. coded with a number which you have to circle on a tear-out post-paid
  2599. 'bingo card': each one you mark will bring wads of useful
  2600. information: be careful, however, to give just enough information
  2601. about yourself to ensure that postal packets arrive and not
  2602. sufficient to give the 'I was just passing in the neighbourhood and
  2603. thought I would call in to see if I could help' sales rep a 'lead' he
  2604. thinks he can exploit.
  2605. Another excellent source of information are exhibitions: there are
  2606. the ubiquitous 'product information' sheets, but also the actual
  2607. machines and software to look at and maybe play with; perhaps you can
  2608. even get a full scale demonstration and interject a few questions.
  2609. The real bonus of exhibitions, of course, is that the security sense
  2610. of salespersons, exhausted by performing on a stand for several days
  2611. and by the almost compulsory off-hours entertainment of top clients
  2612. or attempted seduction of the hired-in 'glamour' is rather low.
  2613. Passwords are often written down on paper and consulted in your full
  2614. view. All you need is a quick eye and a reasonable memory.
  2615. At both exhibitions and conferences it is a good idea to be a
  2616. freelance journalist. Most computer mags have relatively small
  2617. full-time staff and rely on freelancers, so you won't be thought odd.
  2618. And you'll have your questions answered without anyone asking 'And
  2619. how soon do you think you'll be making a decision? Sometimes the lack
  2620. of security at exhibitions and demonstrations defies belief. When ICL
  2621. launched its joint venture product with Sinclair, the One-Per-Desk
  2622. communicating executive work- stations; it embarked on a modest
  2623. road-show to give hands-on experience to prospective purchasers. The
  2624. demonstration models had been pre-loaded with phone numbers...of
  2625. senior ICL directors, of the ICL mainframe at its headquarters in
  2626. Putney and various other remote services....
  2627. ** Page 53
  2628. Beyond these open sources of information are a few murkier ones.
  2629. The most important aid in tackling a 'difficult' operating system or
  2630. applications program is the proper documentation: this can be
  2631. obtained in a variety of ways. Sometimes a salesman may let you look
  2632. Hacker's Handbook
  2633. file:///E|/Books/Hackers Handbook.htm (55 of 133) [11/28/2000 5:58:49 AM]
  2634. at a manual while you 'help' him find the bit of information he can't
  2635. remember from his sales training. Perhaps an employee can provide a
  2636. 'spare', or run you a photocopy. In some cases, you may even find the
  2637. manual stored electronically on the system; in which case, print it
  2638. out. Another desirable document is an organisation's internal phone
  2639. book...it may give you the numbers for the computer ports, but
  2640. failing that, you will be able to see the range of numbers in use
  2641. and, if you are using an auto-dial modem coupled with a
  2642. search-and-try program, you will be able to define the search
  2643. parameters more carefully. A phone book will also reveal the names of
  2644. computer managers and system engineers; perhaps they use fairly
  2645. obvious passwords.
  2646. It never ceases to astonish me what organisations leave in refuse
  2647. piles without first giving them a session with the paper shredder.
  2648. I keep my cuttings carefully stored away in a second-hand filing
  2649. cabinet; items that apply to more than one interest area are
  2650. duplicated in the photocopier.
  2651. Inference
  2652. But hackers' research doesn't rely simply on collecting vast
  2653. quantities of paper against a possible use. If you decide to target
  2654. on a particular computer or network, it is surprising what can be
  2655. found out with just a little effort. Does the organisation that owns
  2656. the system publish any information about it. In a handbook, annual
  2657. report, house magazine? When was the hardware and software installed?
  2658. Did any of the professional weekly computer mags write it up? What do
  2659. you know about the hardware, what sorts of operating systems would
  2660. you expect to see, who supplied the software, do you know anyone with
  2661. experience of similar systems, and so on.
  2662. By way of illustration, I will describe certain inferences it is
  2663. reasonable to make about the principal installation used by Britain's
  2664. Security Service, MI5. At the end, you will draw two conclusions:
  2665. first that someone seriously interested in illicitly extracting
  2666. information from the computer would find the traditional techniques
  2667. of espionage--suborning of MI5 employees by bribery, blackmail or
  2668. appeal to ideology--infinitely easier than pure hacking; and second,
  2669. that remarkable detail can be accumulated about machines and
  2670. systems, the very existence of which is supposed to be a secret--and
  2671. by using purely open sources and reasonable guess-work.
  2672. ** Page 54
  2673. The MI5 databanks and associated networks have long been the
  2674. subject of interest to civil libertarians. Few people would deny
  2675. absolutely the need for an internal security service of some sort,
  2676. nor deny that service the benefit of the latest technology. But,
  2677. civil libertarians ask, who are the legitimate targets of MI5's
  2678. activities? If they are 'subversives', how do you define them? By
  2679. looking at the type of computer power MI5 and its associates possess,
  2680. it possible to see if perhaps they are casting too wide a net for
  2681. Hacker's Handbook
  2682. file:///E|/Books/Hackers Handbook.htm (56 of 133) [11/28/2000 5:58:49 AM]
  2683. anyone's good. If, as has been suggested, the main installation can
  2684. hold and access 20 million records, each containing 150 words, and
  2685. Britain's total population including children, is 56 million, then
  2686. perhaps an awful lot of individuals are being marked as 'potential
  2687. subversives'.
  2688. It was to test these ideas out that two journalists, not
  2689. themselves out-and-out hackers, researched the evidence upon which
  2690. hackers have later built. The two writers were Duncan Campbell of the
  2691. New Statesman and Steve Connor, first of Computing and more recently
  2692. on the New Scientist. The inferences work this way: the only
  2693. computer manufacturer likely to be entrusted to supply so sensitive a
  2694. customer would be British and the single candidate would be ICL. You
  2695. must therefore look at their product range and decide which items
  2696. would be suitable for a really large, secure, real-time database
  2697. management job. In the late 1970s, the obvious path was the 2900
  2698. series, possibly doubled up and with substantive rapid-access disc
  2699. stores of the type EDS200.
  2700. Checking through back issues of trade papers it is possible to see
  2701. that just such a configuration, in fact a dual 2980 with a 2960 as
  2702. back-up and 20 gigabytes of disc store, were ordered for classified
  2703. database work by the Ministry of Defence'. ICL, on questioning by
  2704. the journalists, confirmed that they had sold 3 such large systems
  2705. two abroad and one for a UK government department. Campbell and
  2706. Connor were able to establish the site of the computer, in Mount Row,
  2707. London W1, and, in later stories, gave more detail, this time
  2708. obtained by a careful study of advertisements placed by two
  2709. recruitment agencies over several years. The main computer, for
  2710. example, has several minis attached to it, and at least 200
  2711. terminals. The journalists later went on to investigate details of
  2712. the networks--connections between National Insurance, Department of
  2713. Health, police and vehicle driving license Systems.
  2714. In fact, at a technical level, and still keeping to open sources,
  2715. You can build up even more detailed speculations about the MI5 main
  2716. computer.
  2717. ** Page 55
  2718. ICL's communication protocols, CO1, C02, C03, are published items;
  2719. you can get terminal emulators to work on a PC, and both the company
  2720. and its employees have published accounts of their approaches to
  2721. database management systems, which, incidentally, integrate software
  2722. and hardware functions to an unusually high degree, giving speed but
  2723. also a great deal of security at fundamental operating system level.
  2724. Researching MI5 is an extreme example of what is possible; there
  2725. are few computer installations of which it is in the least difficult
  2726. to assemble an almost complete picture.
  2727. ** Page 56
  2728. Hacker's Handbook
  2729. file:///E|/Books/Hackers Handbook.htm (57 of 133) [11/28/2000 5:58:49 AM]
  2730. CHAPTER 6
  2731. Hackers' Techniques
  2732. The time has now come to sit at the keyboard, phone and modems at
  2733. the ready, relevant research materials convenient to hand and see
  2734. what you can access. In keeping with the 'handbook' nature of this
  2735. publication, I have put my most solid advice in the form of a
  2736. trouble-shooting appendix (I), so this chapter talks around the
  2737. techniques rather than spelling them out in great detail.
  2738. Hunting instincts Good hacking, like birdwatching and many other
  2739. pursuits, depends ultimately on raising your intellectual knowledge
  2740. almost to instinctive levels. The novice twitcher will, on being told
  2741. 'There's a kingfisher!', roam all over the skies looking for the
  2742. little bird and probably miss it. The experienced ornithologist will
  2743. immediately look low over a patch of water, possibly a section shaded
  2744. by trees, because kingfishers are known to gulp the sort of flies
  2745. that hover over streams and ponds. Similarly, a good deal of skilful
  2746. hacking depends on knowing what to expect and how to react. The
  2747. instinct takes time to grow, but the first step is understanding that
  2748. you need to develop it in the first place.
  2749. Tricks with phones
  2750. If you don't have a complete phone number for a target computer,
  2751. then you can get an auto-dialler and a little utility program to
  2752. locate it for you. You will find a flow-chart for a program in
  2753. Appendix VII. An examination of the phone numbers in the vicinity of
  2754. the target machine should give you a range within which to search.
  2755. The program then accesses the auto-dial mechanism of the modem and
  2756. 'listens' for any whistles. The program should enable the phone line
  2757. to be disconnected after two or three 'rings' as auto-anSwer modems
  2758. have usually picked up by then.
  2759. Such programs and their associated hardware are a little more
  2760. Complicated than the popularised portrayals suggest: you must have
  2761. software to run sequences of calls through your auto-dialler, the
  2762. hardware must tell you whether you have scored a 'hit' with a modem
  2763. or merely dialled a human being, and, since the whole point of the
  2764. exercise is that it works unattended, the process must generate a
  2765. list of numbers to try.
  2766. ** Page 57
  2767. Logging on
  2768. You dial up, hear a whistle...and the VDU stays blank. What's gone
  2769. wrong? Assuming your equipment is not at fault, the answer must lie
  2770. either in wrong speed setting or wrong assumed protocol. Experienced
  2771. hackers listen to a whistle from an unknown computer before throwing
  2772. the data button on the modem or plunging the phone handset into the
  2773. rubber cups of an acoustic coupler. Different tones indicate
  2774. Hacker's Handbook
  2775. file:///E|/Books/Hackers Handbook.htm (58 of 133) [11/28/2000 5:58:49 AM]
  2776. different speeds and the trained ear can easily detect the
  2777. difference--appendix III gives the common variants.
  2778. Some modems, particularly those on mainframes, can operate at more
  2779. than one speed; the user sets it by sending the appropriate number of
  2780. carriage returns. In a typical situation, the mainframe answers at
  2781. 110 baud (for teletypewriters), and two carriage returns take it up
  2782. to 300 baud, the normal default for asynchronous working.
  2783. Some hosts will not respond until they receive a character from
  2784. the user. Try sending a space or a carriage return.
  2785. If these obvious things don't work and you continue to get no
  2786. response, try altering the protocol settings (see chapters 2 and 3).
  2787. Straightforward asynchronous protocols with 7-bit ASCII, odd or even
  2788. parity and surrounded by one stop and one start bit is the norm, but
  2789. almost any variant is possible.
  2790. Once you start getting a stream from the host, you must evaluate
  2791. it to work out what to do next. Are all the lines over-writing each
  2792. other and not scrolling down the screen? Get your terminal software
  2793. to insert carriage returns. Are you getting a lot of corruption?
  2794. Check your phone connections and your protocols. The more familiar
  2795. you are with your terminal software at this point, the more rapidly
  2796. you will get results.
  2797. Passwords
  2798. Everyone thinks they know how to invent plausible and acceptable
  2799. passwords; here are the ones that seem to come up over and over
  2800. again:
  2801. HELP - TEST - TESTER - SYSTEM - SYSTEM - MANAGER - SYSMAN - SYSOP -
  2802. ENGINEER - OPS - OPERATIONS - CENTRAL - DEMO - DEMONSTRATION - AID -
  2803. DISPLAY - CALL - TERMINAL - EXTERNAL - REMOTE - CHECK - NET - NETWORK
  2804. - PHONE - FRED
  2805. ** Page 58
  2806. Are you puzzled by the special inclusion of FRED? Look at your
  2807. computer keyboard sometime and see how easily the one-fingered typist
  2808. can find those four letters!
  2809. If you know of individuals likely to have legitimate access to a
  2810. system, find out what you can about them to see if you can
  2811. second-guess their choice of personal password. Own names, or those
  2812. of loved ones, or initials are the top favourites. Sometimes there is
  2813. some slight anagramming and other forms of obvious jumbling. If the
  2814. password is numeric, the obvious things to try are birthdays, home
  2815. phone numbers, vehicle numbers, bank account numbers (as displayed on
  2816. cheques) and so on.
  2817. Sometimes numeric passwords are even easier to guess: I have found
  2818. myself system manager of a private viewdata system simply by offering
  2819. Hacker's Handbook
  2820. file:///E|/Books/Hackers Handbook.htm (59 of 133) [11/28/2000 5:58:49 AM]
  2821. it the password 1234567890 and other hackers have been astonished at
  2822. the results obtained from 11111111, 22222222 etc or 1010101, 2020202.
  2823. It is a good idea to see if you can work on the mentality and known
  2824. pre-occupations of the legitimate password holder: if he's keen on
  2825. classic rock'n'roll, you could try ELVIS; a gardener might choose
  2826. CLEMATIS; Tolkien readers almost invariably select FRODO or BILBO;
  2827. those who read Greek and Roman Literature at ancient universities
  2828. often assume that no one would ever guess a password like EURIPIDES;
  2829. it is a definitive rule that radio amateurs never use anything other
  2830. than their call-signs.
  2831. Military users like words like FEARLESS and VALIANT or TOPDOG;
  2832. universities, large companies and public corporations whose various
  2833. departments are known by acronyms (like the BBC) can find those
  2834. initials reappearing as passwords.
  2835. One less-publicised trick is to track down the name of the top
  2836. person in the organisation and guess a computer identity for them;
  2837. the hypothesis is that they were invited to try the computer when it
  2838. was first opened and were given an 'easy' password which has neither
  2839. been used since nor wiped from the user files. A related trick is to
  2840. identify passwords associated with the hardware or software
  2841. installer; usually the first job of a system manager on taking over a
  2842. computer is to remove such IDs, but often they neglect to do so.
  2843. Alternatively, a service engineer may have a permanent ID so that, if
  2844. the system falls over, it can be returned to full activity with the
  2845. minimum delay.
  2846. Nowadays there is little difficulty in devising theoretically
  2847. secure password systems, and bolstering them by allowing each user
  2848. only three false attempts before the disconnecting the line, as
  2849. Prestel does, for example. The real difficulty lies in getting humans
  2850. to follow the appropriate procedures. Most of us can only hold a
  2851. limited quantity of character and number sequences reliably in our
  2852. heads.
  2853. ** Page 59
  2854. Make a log-on sequence too complicated, and users will feel compelled
  2855. to write little notes to themselves, even if expressly forbidden to
  2856. do so. After a while the complicated process becomes
  2857. counter-productive. I have a encrypting/decrypting software pack- age
  2858. for the IBM PC. It is undoubtedly many times more secure than the
  2859. famous Enigma codes of World War II and after. The trouble is that
  2860. that you need up to 25 different 14-digit numbers of your
  2861. specification, which you and your correspondent must share if
  2862. successful recovery of the original text is to take place.
  2863. Unfortunately the most convenient way to store these sequences is
  2864. in a separate disk file (get one character wrong and decryption is
  2865. impossible) and it is all too easy to save the key file either with
  2866. the enciphered stream, or with the software master, in both of which
  2867. locations they are vulnerable.
  2868. Hacker's Handbook
  2869. file:///E|/Books/Hackers Handbook.htm (60 of 133) [11/28/2000 5:58:49 AM]
  2870. Nowadays many ordinary users of remote computer services use
  2871. terminal emulator software to store their passwords. It is all too
  2872. easy for the hacker to make a quick copy of a 'proper' user's disk,
  2873. take it away, and then examine the contents of the various log-on
  2874. files--usually by going into an 'amend password' option. The way for
  2875. the legitimate user to obtain protection, other than the obvious one
  2876. of keeping such disks secure, is to have the terminal software itself
  2877. password protected, and all files encrypted until the correct
  2878. password is input. But then that new password has to be committed to
  2879. the owner's memory....
  2880. Passwords can also be embedded in the firmware of a terminal.
  2881. This is the approach used in many Prestel viewdata sets when the user
  2882. can, sometimes with the help of the Prestel computer, program his or
  2883. her set into an EAROM (Electrically Alterable Read Only Memory). If,
  2884. in the case of Prestel, the entire 14-digit sequence is permanently
  2885. programmed in the set, that identity (and the user bill associated
  2886. with it) is vulnerable to the first person who hits the 'viewdata'
  2887. button on the keypad. Most users only program in the first 10 digits
  2888. and key in the last four manually. A skilful hacker can make a
  2889. terminal disgorge its programmed ID by sticking a modem in
  2890. answer-mode on its back (reversing tones and, in the case of
  2891. viewdata, speeds also) and sending the ASCII ENQ (ctrl-E) character,
  2892. which will often cause the user's terminal to send its identity.
  2893. A more devious trick with a conventional terminal is to write a
  2894. little program which overlays the usual sign-on sequence. The program
  2895. captures the password as it is tapped out by the legitimate user and
  2896. saves it to a file where the hacker can retrieve it later.
  2897. ** Page 60
  2898. People reuse their passwords. The chances are that, if you obtain
  2899. someone's password on one system, the same one will appear on another
  2900. system to which that individual also has access.
  2901. Programming tricks
  2902. In most longish magazine articles about electronic crime, the
  2903. writer includes a list of 'techniques' with names like Salami, Trap
  2904. Door and Trojan Horse. Most of these are not applicable to pure
  2905. hacking, but refer to activities carried out by programmers
  2906. interested in fraud.
  2907. The Salami technique, for example, consists of extracting tiny
  2908. sums of money from a large number of bank accounts and dumping the
  2909. proceeds into an account owned by the frauds man. Typically there's
  2910. an algorithm which monitors deposits which have as their last digit
  2911. '8'; it then deducts '1' from that and then £1 or $1 is siphoned off.
  2912. The Trojan Horse is a more generalised technique which consists of
  2913. hiding away a bit of unorthodox active code in a standard legitimate
  2914. routine. The code could, for example, call a special larger routine
  2915. under certain conditions and that routine could carry out a rapid
  2916. Hacker's Handbook
  2917. file:///E|/Books/Hackers Handbook.htm (61 of 133) [11/28/2000 5:58:49 AM]
  2918. fraud before wiping itself out and disappearing from the system for
  2919. good.
  2920. The Trap Door is perhaps the only one of these techniques that
  2921. pure hackers use. A typical case is when a hacker enters a system
  2922. with a legitimate identity but is able to access and alter the user
  2923. files. The hacker than creates a new identity with extra privileges
  2924. to roam over the system, and is thus able to enter it at any time as
  2925. a 'super-user' or 'system manager'.
  2926. Hardware tricks
  2927. For the hacker with some knowledge of computer hardware and
  2928. general electronics, and who is prepared to mess about with circuit
  2929. diagrams, a soldering iron and perhaps a voltmeter, logic probe or
  2930. oscilloscope, still further possibilities open up. One of the most
  2931. useful bits of kit consists of a small cheap radio receiver (MW/AM
  2932. band), a microphone and a tape recorder. Radios in the vicinity of
  2933. computers, modems and telephone lines can readily pick up the chirp
  2934. chirp of digital communications without the need of carrying out a
  2935. physical phone 'tap'.
  2936. Alternatively, an inductive loop with a small low-gain amplifier in
  2937. the vicinity of a telephone or line will give you a recording you can
  2938. analyse later at your leisure.
  2939. ** Page 61
  2940. By identifying the pairs of tones being used, you can separate the
  2941. caller and the host. By feeding the recorded tones onto an
  2942. oscilloscope display you can freeze bits, 'characters' and 'words';
  2943. you can strip off the start and stop bits and, with the aid of an
  2944. ASCII-to-binary table, examine what is happening. With experience it
  2945. is entirely possible to identify a wide range of protocols simply
  2946. from the 'look' of an oscilloscope. A cruder technique is simply to
  2947. record and playback sign-on sequences; the limitation is that, even
  2948. if you manage to log on, you may not know what to do afterwards.
  2949. Listening on phone lines is of course a technique also used by
  2950. some sophisticated robbers. In 1982 the Lloyds Bank Holborn branch
  2951. was raided; the alarm did not ring because the thieves had previously
  2952. recorded the 'all-clear' signal from the phone line and then, during
  2953. the break-in, stuffed the recording up the line to the alarm
  2954. monitoring apparatus.
  2955. Sometimes the hacker must devise ad hoc bits of hardware trickery
  2956. in order to achieve his ends. Access has been obtained to a
  2957. well-known financial prices service largely by stringing together a
  2958. series of simple hardware skills. The service is available mostly on
  2959. leased lines, as the normal vagaries of dial-up would be too
  2960. unreliable for the City folk who are the principal customers.
  2961. However, each terminal also has an associated dial-up facility, in
  2962. case the leased line should go down; and in addition, the same
  2963. Hacker's Handbook
  2964. file:///E|/Books/Hackers Handbook.htm (62 of 133) [11/28/2000 5:58:49 AM]
  2965. terminals can have access to Prestel. Thus the hacker thought that it
  2966. should be possible to access the service with ordinary viewdata
  2967. equipment instead of the special units supplied along with the annual
  2968. subscription. Obtaining the phone number was relatively easy: it was
  2969. simply a matter of selecting manual dial-up from the appropriate
  2970. menu, and listening to the pulses as they went through the regular
  2971. phone.
  2972. The next step was to obtain a password. The owners of the terminal
  2973. to which the hacker had access did not know their ID; they had no
  2974. need to know it because it was programmed into the terminal and sent
  2975. automatically. The hacker could have put a micro 'back-to-front'
  2976. across the line and sent a ENQ to see if an ID would be sent back.
  2977. Instead he tried something less obvious.
  2978. The terminal was known to be programmable, provided one knew how
  2979. and had the right type of keyboard. Engineers belonging to the
  2980. service had been seen doing just that. How could the hacker acquire
  2981. 'engineer' status? He produced the following hypothesis: the keyboard
  2982. used by the service's customers was a simple affair, lacking many of
  2983. the obvious keys used by normal terminals; the terminal itself was
  2984. manufactured by the same company that produced a range of editing
  2985. terminals for viewdata operators and publishers. Perhaps if one
  2986. obtained a manual for the editing terminal, important clues might
  2987. appear. A suitable photocopy was obtained and, lo and behold, there
  2988. were instructions for altering terminal IDs, setting auto-diallers
  2989. and so on.
  2990. ** Page 62
  2991. Now to obtain a suitable keyboard. Perhaps a viewdata editing
  2992. keyboard or a general purpose ASCII keyboard with switchable baud
  2993. rates? So far, no hardware difficulties. An examination of the back
  2994. of the terminal revealed that the supplied keypads used rather
  2995. unusual connectors, not the 270° 6-pin DIN which is the Prestel
  2996. standard. The hacker looked in another of his old files and
  2997. discovered some literature relating to viewdata terminals. Now he
  2998. knew what sort of things to expect from the strange socket at the
  2999. back of the special terminal: he pushed in an unterminated plug and
  3000. proceeded to test the free leads with a volt-meter against what he
  3001. expected; eight minutes and some cursing later he had it worked out;
  3002. five minutes after that he had built himself a little patch cord
  3003. between an ASCII keyboard, set initially to 75 baud and then to 1200
  3004. baud as the most likely speeds; one minute later he found the
  3005. terminal was responding as he had hoped...
  3006. Now to see if there were similarities between the programming
  3007. commands in the equipment for which he had a manual and the equipment
  3008. he wished to hack. Indeed there were: on the screen before him was
  3009. the menu and ID and phone data he had hoped to see. The final test
  3010. was to move over to a conventional Prestel set, dial up the number
  3011. for the financial service and send the ID.
  3012. The hacker himself was remarkably uninterested in the financial
  3013. world and, after describing to me how he worked his trick, has now
  3014. Hacker's Handbook
  3015. file:///E|/Books/Hackers Handbook.htm (63 of 133) [11/28/2000 5:58:49 AM]
  3016. gone in search of other targets.
  3017. Operating Systems
  3018. The majority of simple home micros operate only in two modes--
  3019. Basic or machine code. Nearly all computers of a size greater than
  3020. this use operating systems which are essentially housekeeping
  3021. routines and which tell the processor where to expect instructions
  3022. from, how to identify and manipulate both active and stored memory,
  3023. how to keep track of drives and serial ports (and Joy-sticks and
  3024. mice), how to accept data from a keyboard and locate it on a screen,
  3025. how to dump results to screen or printer or disc drive, and so on.
  3026. Familiar micro-based operating systems lnclude CP/M, MS-DOS, CP/M-86
  3027. and so on, but more advanced operating systems have more
  3028. facilities--capacity to allow several users all accessing the same
  3029. data and programs without colliding with each other, enlarged
  3030. standard utilities to make fast file creation, fast sorting and fast
  3031. calculation much easier. Under Simple operating systems, the
  3032. programmer has comparatively few tools to help him; often there is
  3033. just the Basic language, which elf contains no standard
  3034. procedures--almost everything must be written from scratch each time.
  3035. ** Page 63
  3036. But most computer programs rely, in essence, on a small set of
  3037. standard modules: forms to accept data to a program, files to keep
  3038. the data in, calculations to transform that data, techniques to sort
  3039. the data, forms to present the data to the user upon demand, the
  3040. ability to present results in various graphics, and so on. So
  3041. programs written under more advanced operating systems tend to be
  3042. comparatively briefer for the same end-result than those with Basic
  3043. acting not only as a language, but also as the computer's
  3044. housekeeper.
  3045. When you enter a mainframe computer as an ordinary customer, you
  3046. will almost certainly be located in an applications program, perhaps
  3047. with the capacity to call up a limited range of other applications
  3048. programs, whilst staying in the one which has logged you on as user
  3049. and is watching your connect-time and central processor usage.
  3050. One of the immediate aims of a serious hacker is to get out of
  3051. this environment and see what other facilities might be located on
  3052. the mainframe. For example, if access can be had to the user-log it
  3053. becomes possible for the hacker to create a whole new status for
  3054. himself, as a system manager, engineer, whatever. The new status,
  3055. together with a unique new password, can have all sorts o f
  3056. privileges not granted to ordinary users. The hacker, having acquired
  3057. the new status, logs out in his original identity and then logs back
  3058. with his new one.
  3059. There is no single way to break out of an applications program
  3060. into the operating system environment; people who do so seldom manage
  3061. it by chance: they tend to have had some experience of a similar
  3062. mainframe. One of the corny ways is to issue a BREAK or ctrl-C
  3063. Hacker's Handbook
  3064. file:///E|/Books/Hackers Handbook.htm (64 of 133) [11/28/2000 5:58:49 AM]
  3065. command and see what happens; but most applications programs
  3066. concerned with logging users on to systems tend to filter out
  3067. 'disturbing' commands of that sort. Sometimes it easier to go beyond
  3068. the logging-in program into an another 'authorised' program and try
  3069. to crash out of that. The usual evidence for success is that the
  3070. nature of the prompts will change. Thus, on a well-known mini family
  3071. OS, the usual user prompt is
  3072. COMMAND ?
  3073. or simply
  3074. >
  3075. ** Page 64
  3076. Once you have crashed out the prompt may change to a simple
  3077. .
  3078. or
  3079. *
  3080. or even
  3081. :
  3082. it all depends.
  3083. To establish where you are in the system, you should ask for a
  3084. directory; DIR or its obvious variants often give results. Directories
  3085. may be hierarchical, as in MS-DOS version 2 and above, so that at
  3086. the bottom level you simply get directories of other directories.
  3087. Unix machines are very likely to exhibit this trait. And once you get
  3088. a list of files and programs...well, that's where the exploration
  3089. really begins.
  3090. In 1982, two Los Angeles hackers, still in their teens, devised
  3091. one of the most sensational hacks so far, running all over the
  3092. Pentagon's ARPA data exchange network. ARPAnet was and is the
  3093. definitive packet-switched network (more about these in the next
  3094. chapter). It has been running for twenty years, cost more than $500m
  3095. and links together over 300 computers across the United States and
  3096. beyond. Reputedly it has 5,000 legitimate customers, among them
  3097. NORAD, North American Air Defence Headquarters at Omaha, Nebraska.
  3098. Ron Austin and Kevin Poulsen were determined to explore it.
  3099. Their weapons were an old TRS-80 and a VIC-20, nothing
  3100. complicated, and their first attempts relied on password-guessing.
  3101. The fourth try, 'UCB', the obvious initials of the University of
  3102. California at Berkeley, got them in. The password in fact was little
  3103. used by its legitimate owner and in the end, it was to be their
  3104. downfall.
  3105. Hacker's Handbook
  3106. file:///E|/Books/Hackers Handbook.htm (65 of 133) [11/28/2000 5:58:49 AM]
  3107. Aspects of ARPAnet have been extensively written up in the
  3108. text-books simply because it has so many features which were first
  3109. tried there and have since become 'standard' on all data networks.
  3110. From the bookshop at UCLA, the hackers purchased the manual for UNIX,
  3111. the multi-tasking, multi-user operating system devised by Bell
  3112. Laboratories, the experimental arm of AT&T, the USA's biggest
  3113. telephone company.
  3114. ** Page 65
  3115. At the heart of Unix is a small kernel containing system primitives;
  3116. Unix instructions are enclosed in a series of shells, and very
  3117. complicated procedures can be called in a small number of text lines
  3118. simply by defining a few pipes linking shells. Unix also contains a
  3119. large library of routines which are what you tend to find inside the
  3120. shells. Directories of files are arranged in a tree-like fashion,
  3121. with master or root directories leading to other directories, and so
  3122. on.
  3123. Ron and Kevin needed to become system 'super-users' with extra
  3124. privileges, if they were to explore the system properly; 'UCB' was
  3125. merely an ordinary user. Armed with their knowledge of Unix, they set
  3126. out to find the files containing legitimate users' passwords and
  3127. names. Associated with each password was a Unix shell which defined
  3128. the level of privilege. Ron wrote a routine which captured the
  3129. privilege shell associated with a known super-user at the point when
  3130. that user signed on and then dumped it into the shell associated with
  3131. a little-used identity they had decided to adopt for their own
  3132. explorations. They became 'Jim Miller'; the original super-user lost
  3133. his network status. Other IDs were added. Captured privilege shells
  3134. were hidden away in a small computer called Shasta at Stanford, at
  3135. the heart of California's Silicon Valley.
  3136. Ron and Kevin were now super-users. They dropped into SRI,
  3137. Stanford Research Institute, one of the world's great centres of
  3138. scientific research; into the Rand Corporation, known equally for its
  3139. extensive futurological forecasting and its 'thinking about the
  3140. unthinkable', the processes of escalation to nuclear war; into the
  3141. National Research Laboratory in Washington; into two private research
  3142. firms back in California and two defence contractors on the East
  3143. Coast; and across the Atlantic to the Norwegian Telecommunications
  3144. Agency which, among other things, is widely believed to have a
  3145. special role in watching Soviet Baltic activity. And, of course,
  3146. NORAD.
  3147. Their running about had not gone unnoticed; ARPAnet and its
  3148. constituent computers keep logs of activity as one form of security
  3149. (see the section below) and officials both at UCLA (where they were
  3150. puzzled to see an upsurge in activity by 'UCB') and in one of the
  3151. defence contractors sounded an alarm. The KGB were suspected, the FBI
  3152. alerted.
  3153. One person asked to act as sleuth was Brian Reid, a professor of
  3154. electrical engineering at Stanford. He and his associates set up a
  3155. series of system trips inside a Unix shell to notify them when
  3156. Hacker's Handbook
  3157. file:///E|/Books/Hackers Handbook.htm (66 of 133) [11/28/2000 5:58:49 AM]
  3158. certain IDs entered an ARPAnet computer. His first results seemed to
  3159. indicate that the source of the hacking was Purdue, Indiana, but the
  3160. strange IDs seemed to enter ARPAnet from all over the place.
  3161. ** Page 66
  3162. Eventually, his researches lead him to the Shasta computer and he had
  3163. identified 'Miller' as the identity he had to nail. He closed off
  3164. entry to Shasta from ARPanet. 'Miller' reappeared; apparently via a
  3165. gateway from another Stanford computer, Navajo. Reid, who in his
  3166. sleuthing role had extremely high privileges, sought to wipe 'Miller'
  3167. out of Navajo. A few minutes after 'Miller' had vanished from his
  3168. screen, he re- appeared from yet another local computer, Diablo. The
  3169. concentration of hacking effort in the Stanford area lead Reid to
  3170. suppose that the origin of the trouble was local. The most effective
  3171. way to catch the miscreant was by telephone trace. Accordingly, he
  3172. prepared some tantalising, apparently private, files. This was bait,
  3173. designed to keep 'Miller' online as long as possible while the FBI
  3174. organised a telephone trace. 'Miller' duly appeared, the FBI went
  3175. into action--and arrested an innocent businessman.
  3176. But back at UCLA they were still puzzling about 'UCB'. In one of
  3177. his earliest sessions, Ron had answered a registration questionnaire
  3178. with his own address, and things began to fall into place. In one of
  3179. his last computer 'chats' before arrest, Kevin, then only 17 and only
  3180. beginning to think that he and his friend might have someone on their
  3181. trail, is supposed to have signed off: 'Got to go now, the FBI is
  3182. knocking at my door.' A few hours later, that is exactly what
  3183. happened.
  3184. Computer Security Methods
  3185. Hackers have to be aware of the hazards of being caught: there is
  3186. now a new profession of computer security experts, and they have had
  3187. some successes. The first thing such consultants do is to attempt to
  3188. divide responsibility within a computer establishment as much as
  3189. possible. Only operators are allowed physical access to the
  3190. installation, only programmers can use the operating system (and
  3191. under some of these, such as VM, maybe only part of it.). Only system
  3192. managers are permitted to validate passwords, and only the various
  3193. classes of users are given access to the appropriate applications
  3194. programs.
  3195. Next, if the operating system permits (it usually does), all
  3196. accesses are logged; surveillance programs carry out an audit, which
  3197. gives a historic record, and also, sometimes, perform monitoring,
  3198. which is real-time surveillance.
  3199. In addition, separate programs may be in existence the sole
  3200. purpose of which is threat monitoring: they test the system to see if
  3201. anyone is trying repeatedly to log on without apparent success (say
  3202. by using a program to try out various likely passwords).
  3203. ** Page 67
  3204. Hacker's Handbook
  3205. file:///E|/Books/Hackers Handbook.htm (67 of 133) [11/28/2000 5:58:49 AM]
  3206. They assess if any one port or terminal is getting more than usual
  3207. usage, or if IDs other than a regular small list start using a
  3208. particular terminal--as when a hacker obtains a legitimate ID but one
  3209. that normally operates from only one terminal within close proximity
  3210. to the main installation, whereas the hacker is calling from outside.
  3211. Increasingly, in newer mainframe installations, security is built
  3212. into the operating system at hardware level. In older models this was
  3213. not done, partly because the need was not perceived, but also because
  3214. each such 'unnecessary' hardware call tended to slow the whole
  3215. machine down. (If a computer must encrypt and decrypt every process
  3216. before it is executed, regular calculations and data accesses take
  3217. much longer.) However, the largest manufacturers now seem to have
  3218. found viable solutions for this problem....
  3219. ** Page 68
  3220. CHAPTER 7
  3221. Networks
  3222. Until ten years ago, the telecommunications and computer
  3223. industries were almost entirely separate. Shortly they will be almost
  3224. completely fused. Most of today's hackers operate largely in
  3225. ignorance of what goes on in the lines and switching centres between
  3226. the computer they own and the computer they wish to access.
  3227. Increasingly, dedicated hackers are having to acquire knowledge and
  3228. experience of data networks, a task made more interesting, but not
  3229. easier, by the fact that the world's leading telecommunications
  3230. organisations are pushing through an unprecedented rate of
  3231. innovation, both technical and commercial. Apart from purely local
  3232. lowspeed working, computer communications are now almost
  3233. exclusively found on separate high-speed data networks, separate that
  3234. is from the two traditional telecommunications systems telegraphy and
  3235. telephone. Telex lines operate typically at 50 or 75 baud with an
  3236. upper limit of 110 baud.
  3237. The highest efficient speed for telephone-line-based data is 1200
  3238. baud. All of these are pitifully slow compared with the internal
  3239. speed of even the most sluggish computer. When system designers first
  3240. came to evaluate what sort of facilities and performance would be
  3241. needed for data communications, it became obvious that relatively few
  3242. lessons would be drawn from the solutions already worked out in voice
  3243. communications.
  3244. Analogue Networks
  3245. In voicegrade networks, the challenge had been to squeeze as many
  3246. analogue signals down limited-size cables as possible. One of the
  3247. earlier solutions, still very widely used, is frequency division
  3248. Hacker's Handbook
  3249. file:///E|/Books/Hackers Handbook.htm (68 of 133) [11/28/2000 5:58:49 AM]
  3250. multiplexing (FDM): each of the original speech paths is modulated
  3251. onto one of a specific series of radio frequency carrier waves; each
  3252. such rf wave is then suppressed at the transmitting source and
  3253. reinserted close to the receiving position so that only one of the
  3254. sidebands (the lower), the part that actually contains the
  3255. intelligence of the transmission, is actually sent over the main data
  3256. path. This is similar to ssb transmission in radio.
  3257. The entire series of suppressed carrier waves are then modulated onto
  3258. a further carrier wave, which then becomes the main vehicle for
  3259. taking the bundle of channels from one end of a line to the other.
  3260. ** Page 69
  3261. Typically, a small coaxial cable can handle 60 to 120 channels in
  3262. this way, but large cables (the type dropped on the beds of oceans
  3263. and employing several stages of modulation) can carry 2700 analogue
  3264. channels. Changing audio channels (as they leave the telephone
  3265. instrument and enter the local exchange) into rf channels, as well as
  3266. making frequency division multiplexing possible, also brings benefits
  3267. in that over long circuits it is easier to amplify rf signals to
  3268. overcome losses in the cable.
  3269. Just before World War II, the first theoretical work was carried
  3270. out to find further ways of economising on cable usage; what was then
  3271. developed is called Pulse Code Modulation (PCM).
  3272. There are several stages. In the first, an analogue signal is
  3273. sampled at specific intervals to produce a series of pulses; this is
  3274. called Pulse Amplitude Modulation, and takes advantage of the
  3275. characteristic of the human ear that if such pulses are sent down a
  3276. line with only a very small interval between them, the brain smoothes
  3277. over the gaps and reconstitutes the entire original signal.
  3278. In the second stage, the levels of amplitude are sampled and
  3279. translated into a binary code. The process of dividing an analogue
  3280. signal into digital form and then reassembling it in analogue form is
  3281. called quantization. Most PCM systems use 128 quantizing levels, each
  3282. pulse being coded into 7 binary digits, with an eighth added for
  3283. supervisory purposes.
  3284. OPERATION OF A CHARACTER TDM
  3285. +-----+-----+-----+-----+-----+-----+-----+--
  3286. <------| SYN | CH1 | CH2 | CH3 | CH4 | SYN | CH1 |
  3287. +-----+-----+-----+-----+-----+-----+-----+--
  3288. +-----------------+ +-----------------+
  3289. 1 | | | |1
  3290. --+ | +---+ +---+ | +--
  3291. 2 | | | | | | | |2
  3292. --+ MULTIPLEXER |==+ M +--\/\/--+ M +==--+ MULTIPLEXER +--
  3293. 3 | | | | | | | |3
  3294. --+ | +---+ +---+ | +--
  3295. 4 | | | |4
  3296. Hacker's Handbook
  3297. file:///E|/Books/Hackers Handbook.htm (69 of 133) [11/28/2000 5:58:49 AM]
  3298. --+-----------------+ +-----------------+--
  3299. --+-----+-----+-----+-----+-----+-----+----+
  3300. | CH1 | SYN | CH4 | CH3 | CH2 | CH1 |SYN |------->
  3301. --+-----+-----+-----+-----+-----+-----+----+
  3302. <---------------------------->
  3303. ONE DATA FRAME
  3304. ** Page 70
  3305. By interleaving coded characters in a highspeed digital stream it
  3306. is possible to send several separate voice channels along one
  3307. physical link. This process is called Time Division Multiplexing
  3308. (TDM) and together with FDM still forms the basis of most of the
  3309. globe's voicegrade communications.
  3310. Digital Networks
  3311. Elegant though these solutions are, though, they are rapidly being
  3312. replaced by totally digital schemes. Analogue systems would be very
  3313. wasteful when all that is being transmitted are the discrete audio
  3314. tones of the output of a modem. In a speech circuit, the technology
  3315. has to be able to 'hear', receive, digitize and reassemble the entire
  3316. audio spectrum between 100 Hz and 3000 Hz, which is the usual
  3317. passband of what we have come to expect from the audio quality of the
  3318. telephone. Moreover, the technology must be sensitive to a wide range
  3319. of amplitude; speech is made up of pitch and associated loudness. In
  3320. a digital network, however, all one really wants to transmit are the
  3321. digits, and it doesn't matter whether they are signified by audio
  3322. tones, radio frequency values, voltage conditions or light pulses,
  3323. just so long as there is circuitry at either end which can encode and
  3324. decode.
  3325. There are other problems with voice transmission: once two parties
  3326. have made a connection with each other (by the one dialling a number
  3327. and the other lifting a handset), good sense has suggested that it
  3328. was desirable to keep a total physical path open between them, it not
  3329. being practical to close down the path during silences and re-open it
  3330. when someone speaks. In any case the electromechanical nature of most
  3331. of today's phone exchanges would make such turning off and on very
  3332. cumbersome and noisy.
  3333. But with a purely digital transmission, routing of a 'call'
  3334. doesn't have to be physical--individual blocks merely have to bear an
  3335. electronic label of their originating and destination addresses, such
  3336. addresses being 'read' in digital switching exchanges using chips,
  3337. rather than electromechanical ones. Two benefits are thus
  3338. simultaneously obtained: the valuable physical path (the cable or
  3339. satellite link) is only in use when some intelligence is actually
  3340. being transmitted and is not in use during 'silence'; secondly,
  3341. switching can be much faster and more reliable.
  3342. Hacker's Handbook
  3343. file:///E|/Books/Hackers Handbook.htm (70 of 133) [11/28/2000 5:58:49 AM]
  3344. Packet Switching
  3345. These ideas were synthesised into creating what has now become
  3346. packet switching. The methods were first described in the mid-1960's
  3347. but it was not until a decade later that suitable cheap technology
  3348. existed to create a viable commercial service.
  3349. ** Page 71
  3350. The British Telecom product is called Packet SwitchStream (PSS) and
  3351. notable comparable US services are Compuserve, Telenet and Tymnet.
  3352. Many other countries have their own services and international packet
  3353. switching is entirely possible--the UK service is called,
  3354. unsurprisingly, IPSS.
  3355. International Packet Switched Services and DNICs
  3356. INTERNATIONAL NETWORKS
  3357. Datacalls can be made to hosts on any listed International Networks.
  3358. The NIC (Data Network Identification Code) must precede the
  3359. international host's NUA. Charges quoted are for duration (per hour)
  3360. and volume (per Ksegment) and are raised in steps of 1 minute and 10
  3361. segments respectively.
  3362. Country Network DNIC
  3363. Australia Midas 5053
  3364. 8elgium Euronet 2062
  3365. Belgium Euronet 2063
  3366. Canada Datapac 3020
  3367. Canada Globedat 3025
  3368. Canada Infoswitch 3029
  3369. Denmark Euronet 2383
  3370. France Transpac 2080
  3371. French Antilles Euronet 3400
  3372. Germany (FDR) Datex P 2624
  3373. Germany (FDR) Euronet 2623
  3374. Hong Kong IDAS 4542
  3375. Irish Republic Euronet 2723
  3376. Italy Euronet 2223
  3377. Japan DDX-P 4401
  3378. Japan Venus-P 4408
  3379. Luxembourg Euronet 2703
  3380. ** Page 72
  3381. Netherlands Euronet 2043
  3382. Country Network DNIC
  3383. Norway Norpak 2422
  3384. Portugal N/A 2682
  3385. Singapore Telepac 5252
  3386. South Africa Saponet 6550
  3387. Spain TIDA 2141
  3388. Hacker's Handbook
  3389. file:///E|/Books/Hackers Handbook.htm (71 of 133) [11/28/2000 5:58:49 AM]
  3390. Sweden Telepak 2405
  3391. Switzerland Datalink 2289
  3392. Switzerland Euronet 2283
  3393. U.S.A. Autonet 3126
  3394. U.S.A. Compuserve 3132
  3395. U.S.A. ITT (UDTS) 3103
  3396. U.S.A. RCA (LSDS) 3113
  3397. U.S.A. Telenet 3110
  3398. U.S.A. Tymnet 3106
  3399. U.S.A. Uninet 3125
  3400. U.S.A. WUI (DBS) 3104
  3401. Additionally, Datacalls to the U.K. may be initiated from:
  3402. Bahrain, Barbados, Bermuda, Israel, New Zealand and the United Arabs
  3403. Emirates.
  3404. Up to date Information can be obtained from IPSS Marketing on
  3405. 01-9362743
  3406. In essence, the service operates at 48kbits/sec full duplex (both
  3407. directions simultaneously) and uses an extension of time division
  3408. multiplexing Transmission streams are separated in convenient- sized
  3409. blocks or packets, each one of which contains a head and tail
  3410. signifying origination and destination. The packets are assembled
  3411. either by the originating computer or by a special facility supplied
  3412. by the packet switch system. The packets in a single transmission
  3413. stream may all follow the same physical path or may use alternate
  3414. routes depending on congestion. The packets from one 'conversation'
  3415. are very likely to be interleaved with packets from many Other
  3416. 'conversations'. The originating and receiving computers see none of
  3417. this. At the receiving end, the various packets are stripped of their
  3418. routing information, and re-assembled in the correct order before
  3419. presentation to the computer's VDU or applications program.
  3420. ** Page 73
  3421. PACKET ASSEMBLY/DISASSEMBLY
  3422. +-------------------------
  3423. |
  3424. | PSS
  3425. +-----+
  3426. o> o> o> o> o> o> o> o> o> o> | | O> O> O>
  3427. Terminal D================================-+ PAD +-==========
  3428. <o ><o ><o ><o ><o ><o ><o ><o ><o ><o | || ><o ><o ><o
  3429. +-----+
  3430. +-------------------------
  3431. key:
  3432. o> CHARACTERS O> PACKETS
  3433. <o ><o all public data networksusing packet switching seek to be
  3434. compatible with each other at least a considerable degree. the international
  3435. standard they have implement is called ccitt x.25. this multi-layered protocol
  3436. covering (potentially) everything from electrical connections user interface. levels
  3437. Hacker's Handbook
  3438. file:///E|/Books/Hackers Handbook.htm (72 of 133) [11/28/2000 5:58:49 AM]
  3439. work like this:
  3440. 7 application interface
  3441. 6 presentation formatting & code conversion
  3442. 5 session co-ordination between processes
  3443. 4 transport control of quality service
  3444. 3 network set up and maintenance
  3445. 2 link reliable transfer
  3446. terminalphysical bitstream
  3447. ** page 74 moment agreement has only been reached on lowest three network. above that
  3448. there battle in progressibm
  3449. which solutions
  3450. problems under name sna (systems architecture)
  3451. most remainder
  3452. principal main- frame manufacturerswhose
  3453. solution osi (open systems interconnection).
  3454. single so much for background explanation. how does affect
  3455. user? users can accessone two ways. use special
  3456. terminals able create packets an appropriate form--called
  3457. (in original book diagram showing
  3458. dial-up termials connecting
  3459. pad system directly
  3460. connected pss. note added by electronic images) 75
  3461. jargon--and these sit
  3462. switch circuitaccessing it via nearest pss
  3463. exchange permanent dataline modems operating speeds 240048009600or 48k bauddepending
  3464. level traffic. alternatively customer ordinary asynchronous without packet-creating
  3465. capabilities
  3466. connect into facility handles assembly him.such devices are assembler/ disassemblers
  3467. pads. jargon said character terminals. pads accessed either leased line 300 1200
  3468. thosebut also 110 1200/75. readers if used will done their own computers
  3469. as dialling pad. phone numbers uk found directory
  3470. published telecom national networks. order you individual need identity (nui)
  3471. registeredyour local (pse).
  3472. pse throw off dont give recognisable nui. extremely flexible configure ports suit
  3473. equipmentboth speed screen addressingrather bulletin board (though
  3474. accurate mimics pad). speed: (std) 1200/75 duplex
  3475. aberdeen (0224) 642242 642484 642644
  3476. birmingham (021) 2145139 2146191 241 3061
  3477. bristol (0272) 216411 216511 216611cambridge (0223)
  3478. 82511 82411 82111
  3479. edinburgh (031) 337 9141 9121 9393
  3480. glasgow (041) 204 2011 2031 2051
  3481. leeds (0532) 470711 470611 470811
  3482. Hacker's Handbook
  3483. file:///E|/Books/Hackers Handbook.htm (73 of 133) [11/28/2000 5:58:49 AM]
  3484. liverpool (051) 211 0000 212 5127 213 6327
  3485. london (01) 825 9421 407 8344 928 2333 9111 3399 1737
  3486. luton (0582) 8181 8191 8101
  3487. manchester (061) 833 0242 0091 0631
  3488. newcastle/tyne (0632) 314171 314181 314161
  3489. nottingham (0602) 881311 881411 881511
  3490. portsmouth (0705) 53011 53911 53811
  3491. reading (0734) 389111 380111 384111
  3492. (*)slough (0753) 6141 6131 6171
  3493. (*)local area slough not available. modem/dataphone receipt tone. 76
  3494. next address (nua) host
  3495. calling. available same directory:
  3496. university computing servicess nua 234 222339399blaise
  3497. 219200222istel 252724241 on. first four known dnic (data identification code) country
  3498. ( identifier)
  3499. last specificsignifying get prestelthough purposes academic exercise: a9 1100 2018
  3500. gives
  3501. graphics (a9 indicates teletype
  3502. terminal).
  3503. once routed
  3504. computer choicethen exactly were entering direct dial password requested. costs
  3505. governed number
  3506. exchanged than distance actual time call. typical
  3507. thus contain following running costs: call (on
  3508. regular billtime-related) charges (dependent sent) bills (which could time-related
  3509. per record fixed subscription). techniques confined uses them
  3510. its mini-network
  3511. various retrieval (the ones into)
  3512. update mailbox handle gateway connections. newer private switched. 77
  3513. valued (vans) basic telecoms facilities some additional service--data processing
  3514. hosting publishing ventures example--has added. offering easier cheaper boon hacker.
  3515. no longer hacker worry about protocols normally expects see
  3516. users. x.25 adaptability mean even comms talk
  3517. anything tariff structurefavouringmeans any anywhere
  3518. world target.
  3519. austin poulsen arpanet hackersmade dramatic packet-switched net milwaukee 414s ran
  3520. around gte
  3521. telenet biggest us.
  3522. self-adopted comes telephone
  3523. city chiefly hitherto centre american beer
  3524. industry.during spring summer 1983 publicly directories usual guessing games
  3525. pass-numbers pass-words dropped security
  3526. pacific bank
  3527. los angeles sloan-kettering cancer clinic newyork (it still clear me actually altered
  3528. patients
  3529. records merely looked them) canadian cement company alamos research laboratory
  3530. mexicohome atomic
  3531. bomb where
  3532. nuclear weapons continues day.
  3533. believed saw sensitive classifiedfiles.
  3534. Hacker's Handbook
  3535. file:///E|/Books/Hackers Handbook.htm (74 of 133) [11/28/2000 5:58:49 AM]
  3536. commenting activities prominent
  3537. consultantjoesph coatessaid: babies great
  3538. kind kids anyone would - be...there nothing
  3539. wrong kids. problem idiots who sold ignorant people bought it. nobody should buy
  3540. knowing . built in....you timid dealing foolish. couple months 1984british carried
  3541. out thorough exploration sercnet sponsored science engineering council
  3542. centred rutherford appleton cambridge. linkstogether technology universities
  3543. polytechnics united kingdom gateways cern (european research). 78
  3544. almost every type mainframelarge mini-computer discovered hanging 3032 370
  3545. itselfprime 400s550s 750s over placevax 11/780s
  3546. oxforddaresbury vaxs durhameast anglia newcastle gec 4000 family members odd
  3547. pdp11 unix.
  3548. penetration was achieved when appeared popular hobbyist suggestion instruction
  3549. 40might results. soon typed demo asked establishmentthings started happen. several
  3550. days left
  3551. messagesreporting
  3552. lack eventually became obvious supposed suggests limited demonstration
  3553. casual had insecurely up. i remember night pulled down manual filewatching after
  3554. scroll my vdu baud. do word
  3555. guide fetching lists addresses
  3556. mnemonics members. included extensive
  3557. descriptions relationpss-style complete chapter know certain forms shut appears
  3558. continue. best stories definite
  3559. ending. offer brief extracts captured sessions.
  3560. 03eoehaae node 3. service?
  3561. com
  3562. fad>CALL 40
  3563. Welcome to SERCNET-PSS Gateway. Type HELP for help.
  3564. Gatew::~cInkging in
  3565. user HELP
  3566. ID last used Wednesday, 18 January 1984 16:53
  3567. Started - Wed 18 Jan 19a4 17:07:55
  3568. Please enter your name and establishment DEMO
  3569. Due to a local FTP problem messages entered via the HELP system
  3570. during the last month have been lost. Please resubmit if
  3571. problem/question is still outstanding 9/1/84
  3572. No authorisation is required for calls which do not incur charges at
  3573. the Gateway. There is now special support for TELEX. A TELEX service
  3574. may be announced shortlY.
  3575. Copies of the PSS Guide issue 4 are available on request to Program
  3576. Advisory Office at RAL, telephone 0235 44 6111 (direct dial in) or
  3577. 0235 21900 Ext 6111. Requests for copies should no longer be placed
  3578. in this help system.
  3579. The following options are available:
  3580. ** Page 79
  3581. Hacker's Handbook
  3582. file:///E|/Books/Hackers Handbook.htm (75 of 133) [11/28/2000 5:58:49 AM]
  3583. NOTES GUIDE TITLES ERRORS EXAMPLES HELP QUIT
  3584. Which option do you require? GUIDE
  3585. The program 'VIEW' is used to display the Gateway guide
  3586. Commands available are:
  3587. <cr> or N next page
  3588. p previous page
  3589. n list page n
  3590. +n or -n go forward or back n pages
  3591. S first page
  3592. E last page
  3593. L/string find line Containing string
  3594. F/string find line beginning string
  3595. Q exit from VIEW
  3596. VIEW Vn 6> Q
  3597. The following options are available:
  3598. NOTES GUIDE TITLES ERRORS EXAMPLES HELP OUIT
  3599. Which option do you require? HELP
  3600. NOTES replies to user queries & other notes
  3601. GUIDE Is the complete Gateway user guide (including the Appendices)
  3602. TITLES 1- a list of SERCNET L PSS addresses & mnemonics (Guide
  3603. Appendix 1)
  3604. ERRORS List of error codes you may receive EXAMPLES are ome examples
  3605. of use of the Gateway (Guide Appendix 2)
  3606. QUIT exits from this session
  3607. The following options are available:
  3608. NOTES GUIDE TITLES ERRORS EXAMPLES HELP QUIT
  3609. Which option do you require? TITLES
  3610. VIEW Vn o>
  3611. If you have any comments, please type them now, terminate with E
  3612. on a line on its own. Otherwise just type <cr>
  3613. CPU used: 2 ieu, Elapsed: 14 mins, IO: 2380 units, Break: 114
  3614. Budgets: this period = 32.000 AUs, used = 0.015 AU, left - 29.161 AUs
  3615. User HELP terminal 2 logged out Wed 18 Jan 1984 17:21:59
  3616. 84/04/18. 18.47.00.
  3617. I.C.C.C. NETWORK OPERATING SYSTEM. NOS 1.1-430.20A
  3618. USER NUMBER:
  3619. PASSWORD:
  3620. IMPROPER LOG IN, TRY AGAIN.
  3621. USER NUMBER:
  3622. PASSWORD:
  3623. >SCIENCE AND ENGINEERING RESEARCH COUNCIL
  3624. >RUTHERFORD APPLETON LABORATORY
  3625. COMPUTING DIVISION
  3626. >
  3627. Hacker's Handbook
  3628. file:///E|/Books/Hackers Handbook.htm (76 of 133) [11/28/2000 5:58:49 AM]
  3629. > ThE SERCNET - PSS Gateway
  3630. > User's Guide
  3631. A S Dunn
  3632. >Issue 4 16 February 1983
  3633. >Introduction
  3634. ** Page 80
  3635. Frm 1; Next>
  3636. The SERCNET-PSS Gateway provides access from SERCNET to PSS and PSS
  3637. to SERCNET. It functions as a 'straight through' connection between
  3638. the networks, ie it is protocol transparant. It operates as a
  3639. Transport Level gateway, in accordance with the 'Yellow book'
  3640. Transport Service. However the present implementation does not have a
  3641. full Transport Service. and therefore there are some limitations in
  3642. the service provided. For X29 which is incompatible with the Yellow
  3643. book Transport Service. special facilities are provided for the input
  3644. of user identification and addresses.
  3645. No protocol conversion facilities are provided by the Gateway -
  3646. protocol conversion facilities (eg X29 - TS29) can be provided by
  3647. calling through a third party machine (usually on SERCNET).
  3648. The Transport Service addressing has been extended to include
  3649. authorisation fields, so that users can be billed for any charges
  3650. they incur.
  3651. The Gateway also provides facilities for users to inspect their
  3652. accounts and change their passwords, and also a limited HELP
  3653. facility.
  3654. User Interface
  3655. The interface which the user sees will depend on the local equipment
  3656. to
  3657. Frm 2; Next>
  3658. which he is attached. This may be a PAD in which case he will
  3659. probably be using the X29 protocol, or a HOST (DTE) in which case he
  3660. might be using FTP for example. The local equipment must have some
  3661. way of generating a Transport Service Called Address for the Gateway,
  3662. which also includes an authorisation field - the format of this is
  3663. described below. The documentation for the local system must
  3664. therefore be consulted in order to find out how to generate the
  3665. Transport Service Called Address. Some examples given in Appendix 2.
  3666. A facility is provided for the benefit of users without access to the
  3667. 'Fast Select' facility, eg BT PAD users (but available to all X29
  3668. terminal users) whereby either a minimal address can be included in
  3669. Hacker's Handbook
  3670. file:///E|/Books/Hackers Handbook.htm (77 of 133) [11/28/2000 5:58:49 AM]
  3671. the Call User Data Field or an X25 subaddress can be used and the
  3672. Call User Data Field left absent.
  3673. The authorisation and address can then be entered when prompted by
  3674. the Gateway.
  3675. Unauthorised Use
  3676. Frm 5: Next>
  3677. No unauthorised use of the Gateway is allowed regardless of whether
  3678. charges are Incurred at the Gateway or not.
  3679. However, there is an account DEMO (password will be supplied on
  3680. request) With a small allocation which is available for users to try
  3681. out the Gateway but it should be noted that excessive use of this
  3682. account will soon exhaust the allocation thus depriving others of its
  3683. use.
  3684. Prospective users of the Gateway should first contact User Interface
  3685. Group In the Computing Division of the Rutherford Appleton
  3686. Laboratory.
  3687. Addressing
  3688. To connect a call through the Gateway the following information is
  3689. required in the Transport Service Called Address:
  3690. 1) The name of the called network
  3691. 2) Authorisation. consisting of a USERID, PASSWORD and ACCOUNT, and
  3692. optionally, a reverse charging request
  3693. 3) The address of the target host on the called network
  3694. The format is as follows:
  3695. <netname>(<authorisation>).<host address>
  3696. 1) <netname> is one of the following:
  3697. ** Page 81
  3698. SERCNET to connect to the SERC network
  3699. PSS to connect to PSS
  3700. S an alias for SERCNET
  3701. 69 another alias for SERCNET
  3702. 2) <authorisation> is a list of positional or keyword
  3703. parameters or booleans as follows:
  3704. keyword Meaning
  3705. US User identifier
  3706. PW User's password
  3707. AC the account - not used at present - talen to be same as US
  3708. RF 'reply paid' request (see below)
  3709. Hacker's Handbook
  3710. file:///E|/Books/Hackers Handbook.htm (78 of 133) [11/28/2000 5:58:49 AM]
  3711. R reverse charging indicator (boolean)
  3712. keywords are separated from their values by '='.
  3713. keyword-value pairs positional parameters and booleans are separated
  3714. from each other by ','. The whole string is enclosed in parentheses:
  3715. ().
  3716. Examples:
  3717. (FRED.XYZ R)
  3718. (US=FRED,PW=XYZ,R)
  3719. (R,PW=XYZ,US=FRED)
  3720. All the above have exactly the same meaning. The first form is the
  3721. most usual.
  3722. When using positionals, the order is: US,PW,AC,RP,R
  3723. 3)<host address> is the address of the machine being called on the
  3724. target network. It may be a compound address, giving the service
  3725. within the target machine to be used. It may begin with a mnemonic
  3726. instead of a full DTE address. A list of current mnemonics for both
  3727. SERCNET and PSS is given in Appendix 1.
  3728. A restriction of using the Gateway is that where a Transport Service
  3729. address (service name) is required by the target machine to identify
  3730. the service to be used, then this must be included explicitly by the
  3731. user in the Transport Service Called Address, and not assumed from
  3732. the mnemonic, since the Gateway cannot Inow from the mnemonic. which
  3733. protocol is being used.
  3734. Examples:
  3735. RLGS.FTP
  3736. 4.FTP
  3737. Both the above would refer to the FTP service on the GEC 'B' machine
  3738. at Rutherford.
  3739. RLGB alone would in fact connect to the X29 server, since no service
  3740. name is Frm 7; Next>
  3741. required for X29.
  3742. In order to enable subaddresses to be entered more easily with PSS
  3743. addresses, the delimiter '-' can be used to delimit a mnemonic. When
  3744. the mnemonic is translated to an address the delimiting '-' is
  3745. deleted so that the following string is combined with the address.
  3746. Eg:
  3747. SERC-99 is translated to 23422351919199
  3748. Putting the abovementioned three components together, a full
  3749. Transport Service Called Address might look like:
  3750. Hacker's Handbook
  3751. file:///E|/Books/Hackers Handbook.htm (79 of 133) [11/28/2000 5:58:49 AM]
  3752. S(FRED,XYZ,R).RLGS.FTF
  3753. ** Page 82
  3754. Of course a request for reverse charging on SERCNET is meaningless,
  3755. but not illegal.
  3756. Reply Paid Facility (Omit at first reading)
  3757. In many circumstances it is necessary for temporary authorisation to
  3758. be passed to a third party. For example, the recipient of network
  3759. MAIL may not himself be authorised to use the Gateway, and therefore
  3760. the sender may wish to grant him temporary authorisation in order to
  3761. reply. With the Job Transfer and maniplulation protocol, there is a
  3762. requirement to return output documents from jobs which have been
  3763. executed on a remote site.
  3764. The reply paid facility is involved by including the RP keyword in the
  3765. authorisation. It can be used either as a boolean or as a
  3766. keyword-value pair. When used as a boolean, a default value of I is
  3767. assumed.
  3768. The value of the RP parameter indicates the number of reply paid
  3769. calls which are to be authorised. All calls which use the reply paid
  3770. authorisation will be charged to the account of the user who
  3771. initiated the reply paid authorisation.
  3772. Frm 9; Next:
  3773. The reply paid authorisation parameters are transmitted to the
  3774. destination address of a call as a temporary user name and password
  3775. in the Transport Service Calling Address. The temporary user name and
  3776. password are in a form available for use by automatic systems in
  3777. setting up a reply to the address which initiated the original call.
  3778. Each time a successful call is completed using the temporary user
  3779. name and password, the number of reply paid authorisations is reduced
  3780. by 1, until there are none left, when no further replies are allowed.
  3781. In addition there is an expiry date of I week, after which the
  3782. authorisations are cancelled.
  3783. In the event of call failures and error situations, it is important
  3784. that the effects are clearly defined. In the following definitions,
  3785. the term 'fail' is used to refer to any call which terminates with
  3786. either a non-zero clearing cause or diagnostic code or both,
  3787. regardless of whether data has been communicated or not. The rules
  3788. are defined as follows:
  3789. 1) If a call which has requested reply paid authorisation fails for
  3790. any reason, then the reply paid authorisation is not set up.
  3791. 2) If the Gateway is unable to set up the reply paid authorisation
  3792. for any reason (eg insufficient space), then the call requesting the
  3793. authorisation will be refused.
  3794. Hacker's Handbook
  3795. file:///E|/Books/Hackers Handbook.htm (80 of 133) [11/28/2000 5:58:49 AM]
  3796. 3) A call which is using reply paid authorisation may not create
  3797. another reply paid authorisation.
  3798. 4) If a call which is using reply paid authorisation fails due to a
  3799. network error (clearing cause non zero) then the reply paid count is
  3800. not reduced.
  3801. 5) If a call which is using reply paid authorisation fails due to a
  3802. host clearing (clearing cause zero, diagnostic code non-zero) then
  3803. the reply paid count is reduced, except where the total number of
  3804. segments transferred on the call is zero (ie call setup was never
  3805. completed).
  3806. Frm 11; Next?
  3807. X29 Terminal Protocol
  3808. There is a problem in that X29 is incompatible with the Transport
  3809. Service. For this reason, it is possible that some PAD
  3810. implementations will be unable to generate the Transport Service
  3811. Called Address. Also some PAD's, eg the British Telecom PAD, may be
  3812. unable to generate Fast Select calls - this means that the Call User
  3813. Data Field is only 12 bytes long - insufficient to hold the Transport
  3814. Service Address.
  3815. If a PAD is able to insert a text string into the Call User Data Field
  3816. beginning at the fifth byte, but is restricted to 12 characters
  3817. because of inability to generate Fast Select calls, then a partial
  3818. address can be included consisting of either the network name being
  3819. called, or the network name plus authorisation.
  3820. ** Page 83
  3821. The first character is treated as a delimiter, and should be entered
  3822. as the character '7'. This is followed by the name of the called
  3823. network - SERCNET.
  3824. Alternatively, if the PAD is incapable of generating a Call User Data
  3825. Field, then the network name can be entered as an X25 subaddress. The
  3826. mechanism employed by the Gateway is to transcribe the X25 subaddress
  3827. to the beginning of the Transport Service Called Address, converting
  3828. the digits of the subaddress into ASCII characters in the process.
  3829. Note that this means only SERCNET can be called with this method at
  3830. present by using subaddress 69.
  3831. The response from the Gateway will be the following message:
  3832. Please enter your authorisation and address required in form:
  3833. (user,password).address
  3834. Reply with the appropriate response eg:
  3835. (FRED,XYZ).RLGB
  3836. There is a timeout of between 3 and 4 minutes for this response.
  3837. Hacker's Handbook
  3838. file:///E|/Books/Hackers Handbook.htm (81 of 133) [11/28/2000 5:58:50 AM]
  3839. after which the call will be cleared. There is no limit to the number
  3840. of attempts which may be made within this time limit - if the
  3841. authorisation or address entered is invalid, the Gateway will request
  3842. it again. To abandon the attempt. the call should be cleared from the
  3843. local PAD.
  3844. A restriction of this method of use of the Gateway is that a call
  3845. must be correctly authorised by the Gateway before charging can
  3846. begin, thus reverse charge calls from PSS which do not contain
  3847. authorisation in the Call Request packet will be refused. However it
  3848. is possible to include the authorisation but not the address in the
  3849. Call Request packet. The authorisation must then be entered again
  3850. together with the address when requested by the Gateway.
  3851. The above also applies when using a subaddress to identify the called
  3852. network. In this case the Call User Data Field will contain only the
  3853. authorisation in parentheses (preceded by the delimiter '@')
  3854. - 5 -
  3855. Due to the lack of a Transport Service ACCEPT primitive in X29 it will be
  3856. found, on some PADs, that a 'call connected' message will appear on the
  3857. terminal as soon as the call has been connected to the Gateway. The 'call
  3858. connected' message should not be taken to imply that contact has been made
  3859. With the ultimate destination. The Gateway will output a message 'Call
  3860. connected to remote address' when the connection has been established.
  3861. Frm 14; Next
  3862. ITP Terminal Protocol
  3863. The terminal protocol ITP is used extensively on SERCNET and some
  3864. hosts support only this terminal protocol. Thus it will not be
  3865. possible to make calls directly between these hosts on SERCNET and
  3866. addresses on PSS which support only X29 or TS29. In these cases it
  3867. will be necessary to go through an intermediate machine on SERCNET
  3868. which supports both x29 and ITP or TS29 and ITP, such as a GEC ITP.
  3869. This is done by first making a call to the GEC MUM, and then making
  3870. an outgoing call from there to the desired destination.
  3871. PTS29 Terminal Protocol
  3872. This is the ideal protocol to use through the Gateway. since there
  3873. should be no problem about entering the Transport Service address.
  3874. However, it is divisable first to ascertain that the machine to be
  3875. called will support
  3876. When using this protocol, the service name of the TS29 server should be
  3877. entered explicitly, eg:
  3878. ** Page 84
  3879. S(FRED,XYZ).RLGB.TS29
  3880. Restrictions
  3881. Hacker's Handbook
  3882. file:///E|/Books/Hackers Handbook.htm (82 of 133) [11/28/2000 5:58:50 AM]
  3883. Due to the present lack of a full Transport Service in the Gateway,
  3884. some primitives are not fully supported.
  3885. In particular, the ADRESS, DISCONNECT and RESET primitives are not
  3886. fully supported. Howerver this should not present serious problems,
  3887. since the ADDRESS and REASET primitives are not widely used, and the
  3888. DISCONNECT primitive can be carried in a Clear Request packet.
  3889. IPSS
  3890. Access to IPSS is through PSS. Just enter the IPSS address in place
  3891. of the PSS address.
  3892. ................ and on and on for 17 pages
  3893. ** Page 85
  3894. CHAPTER 8
  3895. Viewdata Systems
  3896. Viewdata, or videotex, has had a curious history. At one stage, in
  3897. the late 1970s, it was possible to believe that it was about to take
  3898. over the world, giving computer power to the masses via their
  3899. domestic tv sets. It was revolutionary in the time it was developed,
  3900. around 1975, in research laboratories owned by what was then called
  3901. the Post Office, but which is now British Telecom. It had a
  3902. colour-and-graphics display, a user-friendly means of talking to it
  3903. at a time when most computers needed precise grunts to make them
  3904. work, and the ordinary layperson could learn how to use it in five
  3905. minutes.
  3906. The viewdata revolution never happened, because Prestel, its most
  3907. public incarnation, was mismarketed by its owners, British Telecom,
  3908. and because, in its original version, it is simply too clumsy and
  3909. limited to handle more sophisticated applications. All information is
  3910. held on electronic file cards which can easily be either too big or
  3911. too small for a particular answer and the only way you can obtain the
  3912. desired information is by keying numbers, trundling down endless
  3913. indices. In the early days of Prestel, most of what you got was
  3914. indices, not substantive information. By the time that viewdata sets
  3915. were supposed to exist in their hundreds of thousands, home
  3916. computers, which had not been predicted at all when viewdata first
  3917. appeared, had already sold into the millionth British home.
  3918. Yet private viewdata, mini-computers configured to look like
  3919. Prestel and to use the same special terminals, has been a modest
  3920. success. At the time of writing there are between 120 and 150
  3921. significant installations. They have been set up partly to serve the
  3922. needs of individual companies, but also to help particular trades,
  3923. industries and professions. The falling cost of viewdata terminals
  3924. has made private systems attractive to the travel trade, to retail
  3925. Hacker's Handbook
  3926. file:///E|/Books/Hackers Handbook.htm (83 of 133) [11/28/2000 5:58:50 AM]
  3927. stores, the motor trade, to some local authorities and to the
  3928. financial world.
  3929. ** Page 86
  3930. The hacker, armed with a dumb viewdata set, or with a software
  3931. fix for his micro, can go ahead and explore these services. At the
  3932. beginning of this book, I said my first hack was of a viewdata
  3933. service. Viditel, the Dutch system. It is astonishing how many
  3934. British hackers have had a similar experience. Indeed, the habit of
  3935. viewdata hacking has spread throughout Europe also: the wonder- fully
  3936. named Chaos Computer Club of Hamburg had some well-publicised fun
  3937. with Bildschirmtext, the West German Prestel equivalent
  3938. colloquially-named Btx.
  3939. What they appear to have done was to acquire the password of the
  3940. Hamburger Sparkasse, the country's biggest savings bank group.
  3941. Whereas telebanking is a relatively modest part of Prestel --the
  3942. service is called Homelink--the West German banks have been a
  3943. powerful presence on Btx since its earliest days. In fact, another
  3944. Hamburg bank, the Verbraucher Bank, was responsible for the world's
  3945. first viewdata Gateway, for once in this technology, showing the
  3946. British the way. The 25-member Computer Chaos Club probably acquired
  3947. the password as a result of the carelessness of a bank employee.
  3948. Having done so, they set about accessing the bank's own, rather high
  3949. priced, pages, some of which cost almost DM10 (£2.70). In a
  3950. deliberate demonstration, the Club then set a computer to
  3951. systematically call the pages over and over again, achieving a
  3952. re-access rate of one page every 20 seconds. During a weekend in
  3953. mid-November 1984, they made more than 13,000 accesses and ran up a
  3954. notional bill of DM135,000 (£36,000). Information Providers, of
  3955. course, are not charged for looking at their own pages, so no bill
  3956. was payable and the real cost of the hack was embarrassment.
  3957. In hacking terms, the Hamburg hack was relatively trivial-- simple
  3958. password acquisition. Much more sophisticated hacks have been
  3959. perpertrated by British enthusiasts.
  3960. Viewdata hacking has three aspects: to break into systems and become
  3961. user, editor or system manager thereof; to discover hidden parts of
  3962. systems to which you have been legitimately admitted, and to uncover
  3963. new services.
  3964. Viewdata software structures
  3965. An understanding of how a viewdata database is set up is a great
  3966. aid in learning to discover what might be hidden away. Remember,
  3967. there are always two ways to each page--by following the internal
  3968. indexes, or by direct keying using *nnn#. In typical viewdata
  3969. software, each electronic file card or 'page' exists on an overall
  3970. tree-like structure:
  3971. ** Page 87
  3972. Hacker's Handbook
  3973. file:///E|/Books/Hackers Handbook.htm (84 of 133) [11/28/2000 5:58:50 AM]
  3974. Page
  3975. 0
  3976. |
  3977. ---------------------+----------------------- ...
  3978. 1 2 3 4 5 6 7 8
  3979. |
  3980. ------------+-------------------------------- ...
  3981. 31 32 33 34 35 36 37 38
  3982. |
  3983. ------------------------+-------------------- ...
  3984. 351 352 353 354 355 356 357 358 3-digit
  3985. | node
  3986. -------------+------------------------------- ...
  3987. 3531 3532 3533 3534 3535 3536 3537 3538
  3988. |
  3989. -------------------------------------------+-- ...
  3990. Top pages are called parents; lower pages filials. Thus page 3538
  3991. needs parent pages 353, 35, 3 and 0 to support it, i.e. these pages
  3992. must exist on the system. On Prestel, the parents owned by
  3993. Information Providers (the electronic publishers) are 3 digits long
  3994. (3-digit nodes). Single and double-digit pages (0 to 99) are owned by
  3995. the 'system manager' (and so are any pages beginning with the
  3996. sequences 100nn-199nn and any beginning with a 9nnn). When a page is
  3997. set up by an Information Provider (the process of going into 'edit'
  3998. mode varies from software package to package; on Prestel, you call up
  3999. page 910) two processes are necessary--the overt page (i.e. the
  4000. display the user sees) must be written using a screen editor. Then
  4001. the IP must select a series of options--e.g. whether the page is for
  4002. gathering a response from the user or is just to furnish information;
  4003. whether the page is to be open for viewing by all, by a Closed User
  4004. Group, or just by the IP (this facility is used while a large
  4005. database is being written and so that users don't access part of it
  4006. by mistake); the price (if any) the page will bear--and the 'routing
  4007. instructions'. When you look at a viewdata page and it says 'Key 8
  4008. for more information on ABC', it is the routing table that is
  4009. constructed during edit that tells the viewdata computer: 'If a user
  4010. on this page keys 8, take him through to the following next page'.
  4011. Thus, page 353880 may say 'More information on ABC....KEY 8'. The
  4012. information on ABC is actually held on page 3537891. The routing
  4013. table on page 353880 will say: 8=3537891. In this example, you will
  4014. see that 3537891 i9 not a true filial of 353880--this does not
  4015. matter; however, in order for 3537891 to exist on the system, its
  4016. parents must exist, i.e. there must be pages 353789, 35378, 3537
  4017. etc.
  4018. ** Page 88
  4019. P R E S T E L
  4020. PRESTEL EDITING SYSTEM
  4021. Input Details -
  4022. Update option o
  4023. Hacker's Handbook
  4024. file:///E|/Books/Hackers Handbook.htm (85 of 133) [11/28/2000 5:58:50 AM]
  4025. Pageno 4190100 Frame-Id a
  4026. User CUG User access y
  4027. Frame type i Frame price 2p
  4028. Choice type s
  4029. Choices
  4030. 0- * 1- 4196121
  4031. 2- 4196118 3- 4196120
  4032. 4- 4196112 5- 4196119
  4033. 6- 4196110 7- *
  4034. 8- 4190101 9- 4199
  4035. Prestel Editing. This is the 'choices' page which se s up the frame
  4036. before the overt page - the one the user sees - is prepared.
  4037. These quirky features of viewdata software can help the hacker
  4038. search out hidden databases:
  4039. * Using a published directory, you can draw up a list of 'nodes' and
  4040. who occupies them. You can then list out apparently 'unoccupied'
  4041. nodes and see if they contain anything interesting. It was when a
  4042. hacker spotted that an 'obvious' Prestel node, 456, had been unused
  4043. for a while, that news first got out early in 1984 about the Prestel
  4044. Micro computing service, several weeks ahead of the official
  4045. announcement.
  4046. * If you look at the front page of a service, you can follow the
  4047. routings of the main index--are all the obvious immediate filials
  4048. used? If not, can you get at them by direct keying?
  4049. ** Page 89
  4050. * Do any services start lower down a tree than you might expect
  4051. (i.e. more digits in a page number than you might have thought)? In
  4052. that case, try accessing the parents and see what happens.
  4053. * Remember that you can get a message 'no such page' for two
  4054. reasons: because the page really doesn't exist, or because the
  4055. Information Provider has put it on 'no user access'. In the latter
  4056. case, check to see whether this has been done consistently--look at
  4057. the immediate possible filials. To go back to when Prestel launched
  4058. its Prestel Microcom- puting service, using page 456 as a main node,
  4059. 456 itself was closed off until the formal opening, but page 45600
  4060. was open.
  4061. Prestel Special Features
  4062. In general, this book has avoided giving specific hints about
  4063. individual services, but Prestel is so widely available in the UK and
  4064. so extensive in its coverage that a few generalised notes seem
  4065. worthwhile.
  4066. Hacker's Handbook
  4067. file:///E|/Books/Hackers Handbook.htm (86 of 133) [11/28/2000 5:58:50 AM]
  4068. Not all Prestel's databases may be found via the main index or in
  4069. the printed directories; even some that are on open access are
  4070. unadvertised. Of particular interest over the last few years have
  4071. been nodes 640 (owned by the Research and Development team at
  4072. Martlesham), 651 (Scratchpad--used for ad hoc demonstration
  4073. databases), 601 (mostly mailbox facilities but also known to carry
  4074. experimental advanced features so that they can be tried out), and
  4075. 650 (News for Information Providers--mostly but not exclusively in a
  4076. Closed User Group). Occasionally equipment manufacturers offer
  4077. experimental services as well: I have found high-res graphics and
  4078. even instruction codes for digitised full video lurking around.
  4079. In theory, what you find on one Prestel computer you will find on
  4080. all the others. In practice this has never been true, as it has
  4081. always been possible to edit individually on each computer, as well
  4082. as on the main updating machine which is supposed to broadcast to all
  4083. the others. The differences in what is held in each machine will
  4084. become greater over time.
  4085. Gateway is a means of linking non-viewdata external computers to
  4086. the Prestel system. It enables on-screen buying and booking, complete
  4087. with validation and confirmation. It even permits telebanking, Most
  4088. 'live' forms of gateway are very secure, with several layers of
  4089. password and security. However, gateways require testing before they
  4090. can be offered to the public; in the past, hackers have been able to
  4091. secure free rides out of Prestel....
  4092. ** Page 90
  4093. Careful second-guessing of the routings on the databases including
  4094. telesoftware(*) have given users free programs while the
  4095. telesoftware(*) was still being tested and before actual public
  4096. release.
  4097. Prestel, as far as the ordinary user is concerned, is a very
  4098. secure system--it uses 14-digit passwords and disconnects after three
  4099. unsuccessful tries. For most purposes, the only way of hacking into
  4100. Prestel is to acquire a legitimate user's password, perhaps because
  4101. they have copied it down and left it prominently displayed. Most
  4102. commercial viewdata sets allow the owner to store the first ten
  4103. digits in the set (some even permit the full 14), thus making the
  4104. casual hacker's task easier. However, Prestel was sensationally
  4105. hacked at the end of October 1984, the whole system Iying at the feet
  4106. of a team of four West London hackers for just long enough to
  4107. demonstrate the extent of their skill to the press. Their success was
  4108. the result of persistence and good luck on their side and poor
  4109. security and bad luck on the part of BT. As always happens with
  4110. hacking activities that do not end up in court, some of the details
  4111. are disputed; there are also grounds for believing that news of the
  4112. hack was deliberately held back until remedial action had taken
  4113. place, but this is the version I believe:
  4114. The public Prestel service consists of a network of computers,
  4115. Hacker's Handbook
  4116. file:///E|/Books/Hackers Handbook.htm (87 of 133) [11/28/2000 5:58:50 AM]
  4117. mostly for access by ordinary users, but with two special-purpose
  4118. machines, Duke for IPs to update their information into and Pandora,
  4119. to handle Mailboxes (Prestel's variant on electronic mail). The
  4120. computers are linked by non-public packet-switched lines. Ordinary
  4121. Prestel users are registered (usually) onto two or three computers
  4122. local to them which they can access with the simple three-digit
  4123. telephone number 618 or 918. In most parts of the UK, these two
  4124. numbers will return a Prestel whistle. (BT Prestel have installed a
  4125. large number of local telephone nodes and
  4126. (*)Tefesoftware is a technique for making regular computer programs
  4127. available via viewdata the program lines are compressed according to
  4128. a simple set of rules and set up on a senes of viewdata frames. Each
  4129. frame contains a modest error-checking code. To receive a program,
  4130. the user's computer, under the control of a 'download' routine calls
  4131. the first program page down from the viewdata host, runs the error
  4132. check on it, and demands a re transmission if the check gives a
  4133. 'false' If it gives a 'true', the user's machine unsqueezes the
  4134. programmes and dumps them into the Computers main memory or disc
  4135. store. It then requests the next viewdata page unfil the whole
  4136. program is collected. You then have a text file which must be
  4137. Converted into program instructions. Depending on what model of
  4138. micro you have, and which telesoftware package, you can either run
  4139. the program immediately or expect it. Personally I found the
  4140. telesoftware experience interesting the first time I tried it, and
  4141. quite useless in terms of speed, reliability and quality afterwards.
  4142. ** Page 91
  4143. leased lines to transport users to their nearest machine at local
  4144. call rates, even though in some cases that machine may be 200 miles
  4145. away). Every Prestel machine also has several regular phone numbers
  4146. associated with it, for IPs and engineers. Most of these numbers
  4147. confer no extra privileges on callers: if you are registered to a
  4148. particular computer and get in via a 'back-door' phone number you
  4149. will pay Prestel and IPs exactly the same as if you had dialled 618
  4150. or 918. If you are not registered, you will be thrown off after three
  4151. tries.
  4152. In addition to the public Prestel computers there are a number of
  4153. other BT machines, not on the network, which look like Prestel and
  4154. indeed carry versions of the Prestel database. These machines, left
  4155. over from an earlier stage of Prestel's development, are now used for
  4156. testing and development of new Prestel features. The old Hogarth
  4157. computer, originally used for international access, is now called
  4158. 'Gateway Test' and, as its name implies, is used by IPs to try out
  4159. the interconnections of their computers with those of Prestel prior
  4160. to public release. It is not clear how the hackers first became aware
  4161. of the existence of these 'extra' machines; one version is that it
  4162. was through the acquisition of a private phone book belonging to a BT
  4163. engineer. Another version suggests that they tried 'obvious' log-in
  4164. pass-numbers--2222222222 1234--on a public Prestel computer and found
  4165. themselves inside a BT internal Closed User Group which contained
  4166. lists of phone numbers for the develop computers. The existence of at
  4167. least two stories suggests that the hackers wished to protect their
  4168. Hacker's Handbook
  4169. file:///E|/Books/Hackers Handbook.htm (88 of 133) [11/28/2000 5:58:50 AM]
  4170. actual sources. In fact, some of the phone numbers had, to my certain
  4171. knowledge, appeared previously on bulletin boards.
  4172. At this first stage, the hackers had no passwords; they could
  4173. simply call up the log-in page. Not being registered on that
  4174. computer, they were given the usual three tries before the line was
  4175. disconnected.
  4176. For a while, the existence of these log-in pages was a matter of
  4177. mild curiosity. Then, one day, in the last week of October, one of
  4178. the log-in pages looked different: it contained what appeared to be a
  4179. valid password, and one with system manager status, no less. A
  4180. satisfactory explanation for the appearance of this password
  4181. imprinted on a log-in page has not so far been forthcoming. Perhaps
  4182. it was carelessness on the part of a BT engineer who thought that, as
  4183. the phone number was unlisted, no unauthorised individual would ever
  4184. see it. The pass-number was tried and admission secured.
  4185. ** Page 92
  4186. After a short period of exploration of the database, which
  4187. appeared to be a 'snapshot' of Prestel rather than a live version of
  4188. it--thus showing that particular computer was not receiving constant
  4189. updates from Duke--the hackers decided to explore the benefits of
  4190. System Manager status. Since they had between them some freelance
  4191. experience of editing on Prestel, they knew that all Prestel special
  4192. features pages are in the *9nn# range: 910 for editing; 920 to change
  4193. personal passwords; 930 for mailbox messages and so ...what would
  4194. pages 940, 950, 960 and so on do? It became obvious that these pages
  4195. would reveal details of users together with account numbers
  4196. (systelnos), passwords and personal passwords. There were facilities
  4197. to register and deregister users.
  4198. However, all this was taking place on a non-public computer. Would
  4199. the same passwords on a 'live' Prestel machine give the same
  4200. benefits? Amazingly enough, the passwords gave access to every
  4201. computer on the Prestel network. It was now time to examine the user
  4202. registration details of real users as opposed to the BT employees who
  4203. were on the development machine. The hackers were able to assume any
  4204. personality they wished and could thus enter any Closed User Group,
  4205. simply by picking the right name. Among the CUG services they swooped
  4206. into were high-priced ones providing investment advice for clients of
  4207. the stockbroker Hoare Govett and commentary on international currency
  4208. markets supplied by correspondents of the Financial Times. They were
  4209. also able to penetrate Homelink, the telebanking service run by the
  4210. Nottingham Building Society. They were not able to divert sums of
  4211. money, however, as Homelink uses a series of security checks which
  4212. are independent of the Prestel system.
  4213. Another benefit of being able to become whom they wished was the
  4214. ability to read Prestel Mailboxes, both messages in transit that had
  4215. not yet been picked up by the intended recipient and those that had
  4216. been stored on the system once they had been read. Among the
  4217. Mailboxes read was the one belonging to Prince Philip. Later, with a
  4218. newspaper reporter as witness, one hacker sent a Mailbox, allegedly
  4219. Hacker's Handbook
  4220. file:///E|/Books/Hackers Handbook.htm (89 of 133) [11/28/2000 5:58:50 AM]
  4221. from Prince Philip to the Prestel System Manager:
  4222. I do so enjoy puzzles and games. Ta ta. Pip! Pip!
  4223. H R H Hacker
  4224. Newspaper reports also claimed that the hackers were able to gain
  4225. editing passwords belonging to IPs, enabling them to alter pages and
  4226. indeed the Daily Mail of November 2nd carried a photograph of a
  4227. Prestel page from the Financial Times International Financial Alert
  4228. saying:
  4229. ** Page 93
  4230. FT NEWSFLASH!!! œ1 EQUALS $50
  4231. The FT maintained that, whatever might theoretically have been
  4232. possible, in fact they had no record of their pages actually being so
  4233. altered and hazarded the suggestion that the hacker, having broken
  4234. into their CUG and accessed the page, had 'fetched it back' onto his
  4235. own micro and then edited there, long enough for the Mail's
  4236. photographer to snap it for his paper, but without actually
  4237. retransmitting the false page back to Prestel. As with so many other
  4238. hacking incidents, the full truth will never be known because no one
  4239. involved has any interest in its being told.
  4240. However, it is beyond doubt that the incident was regarded with the
  4241. utmost seriousness by Prestel itself. They were convinced of the
  4242. extent of the breach when asked to view page 1, the main index page,
  4243. which bore the deliberate mis-spelling: Idnex. Such a change
  4244. theoretically could only have been made by a Prestel employee with
  4245. the highest internal security clearance. Within 30 minutes, the
  4246. system manager password had been changed on all computers, public and
  4247. research. All 50,000 Prestel users signing on immediately after
  4248. November 2nd were told to change their personal password without
  4249. delay on every computer to which they were registered. And every IP
  4250. received, by Special Delivery, a complete set of new user and editing
  4251. passwords.
  4252. Three weeks after the story broke, the Daily Mail thought it had
  4253. found yet another Prestel hack and ran the following page 1 headline:
  4254. 'Royal codebuster spies in new raid on Prestel', a wondrous
  4255. collection of headline writer's buzzwords to capture the attention of
  4256. the sleepy reader. This time an Information Provider was claiming
  4257. that, even after new passwords had been distributed, further security
  4258. breaches had occurred and that there was a 'mole' within Prestel
  4259. itself. That evening, Independent Television News ran a feature much
  4260. enjoyed by cognoscenti: although the story was about the Prestel
  4261. service, half the film footage used to illustrate it was wrong: they
  4262. showed pictures of the Oracle (teletext) editing facility and of
  4263. some-one using a keypad that could only have belonged to a TOPIC set,
  4264. as used for the Stock Exchange's private service. Finally, the name
  4265. of the expert pulled in for interview was mis-spelled although he was
  4266. a well-known author of micro books. The following day, BBC-tv's
  4267. breakfast show ran an item on the impossibility of keeping Prestel
  4268. Hacker's Handbook
  4269. file:///E|/Books/Hackers Handbook.htm (90 of 133) [11/28/2000 5:58:50 AM]
  4270. secure, also full of ludicrous inaccuracies.
  4271. ** Page 94
  4272. It was the beginning of a period during which hackers and hacking
  4273. attracted considerable press interest. No news service operating in
  4274. the last two months of 1984 felt it was doing an effective job if it
  4275. couldn't feature its own Hacker's Confession, suitably filmed in deep
  4276. shadow. As happens now and again, press enthusiasm for a story ran
  4277. ahead of the ability to check for accuracy and a number of Hacks That
  4278. Never Were were reported and, in due course, solemnly commented on.
  4279. BT had taken much punishment for the real hack--as well as causing
  4280. deep depression among Prestel staff, the whole incident had occurred
  4281. at the very point when the corporation was being privatised and
  4282. shares being offered for sale to the public--and to suffer an
  4283. unwarranted accusation of further lapses in security was just more
  4284. than they could bear. It is unlikely that penetration of Prestel to
  4285. that extent will ever happen again, though where hacking is
  4286. concerned, nothing is impossible.
  4287. There is one, relatively uncommented-upon vulnerability in the
  4288. present Prestel set-up: the information on Prestel is most easily
  4289. altered via the bulk update protocols used by Information Providers,
  4290. where there is a remarkable lack of security. All the system
  4291. presently requires is a 4-character editing password and the IP's
  4292. systel number, which is usually the same as his mailbox number
  4293. (obtainable from the on-system mailbox directory on page *7#) which
  4294. in turn is very likely to be derived from a phone number.
  4295. Other viewdata services
  4296. Large numbers of other viewdata services exist: in addition to the
  4297. Stock Exchange's TOPIC and the other viewdata based services
  4298. mentioned in chapter 4, the travel trade has really clutched the
  4299. technology to its bosom: the typical High Street agent not only
  4300. accesses Prestel but several other services which give up-to-date
  4301. information on the take-up of holidays, announce price changes and
  4302. allow confirmed air-line and holiday bookings.
  4303. Several of the UK's biggest car manufacturers have a stock locator
  4304. system for their dealers: if you want a British Leyland model with a
  4305. specific range of accessories and in the colour combinations of your
  4306. choice, the chances are that your local dealer will not have it
  4307. stock. He can, however, use the stock locator to tell him with which
  4308. other dealer such a machine may be found.
  4309. Stock control and management information is used by retail chains
  4310. using, in the main, a package developed by a subsidiary of Debenhams.
  4311. Debenhams had been early enthusiasts of Prestel in the days when it
  4312. was still being pitched at a mass consumer audience--its service was
  4313. called Debtel which wags suggested was for people who owed money or,
  4314. alternatively, for upper-class young ladies.
  4315. Hacker's Handbook
  4316. file:///E|/Books/Hackers Handbook.htm (91 of 133) [11/28/2000 5:58:50 AM]
  4317. ** Page 95
  4318. Later it formed DISC to link together its retail outlets, and this
  4319. was hacked in 1983. The store denied that anything much had
  4320. happened, but the hacker appeared (in shadow) on a tv program
  4321. together with a quite convincing demonstration of his control over
  4322. the system.
  4323. Audience research data is despatched in viewdata mode to
  4324. advertising agencies and broadcasting stations by AGB market
  4325. research. There are even alternate viewdata networks rivalling that
  4326. owned by Prestel, the most important of which is, at the time of
  4327. writing, the one owned by Istel and headquartered at Redditch in the
  4328. Midlands. This network transports several different trade and
  4329. professional services as well as the internal data of British
  4330. Leyland, of whom Istel is a subsidiary.
  4331. A viewdata front-end processor is a minicomputer package which
  4332. sits between a conventionally-structured database and its ports which
  4333. look into the phone-lines. Its purpose is to allow users with
  4334. viewdata sets to search the main database without the need to
  4335. purchase an additional conventional dumb terminal. Some view- data
  4336. front-end processors (FEPs) expect the user to have a full alphabetic
  4337. keyboard, and merely transform the data into viewdata pages 40
  4338. characters by 24 lines in the usual colours. More sophisticated FEPs
  4339. go further and allow users with only numeric keypads to retrieve
  4340. information as well. By using FEPs a database publisher or system
  4341. provider can reach a larger population of users. FEPs have been known
  4342. to have a lower standard of security protection than the conventional
  4343. systems to which they were attached.
  4344. Viewdata standards
  4345. The UK viewdata standard--the particular graphics set and method
  4346. of transmitting frames -- is adopted in many other European countries
  4347. and in former UK imperial possessions. Numbers and passwords to
  4348. access these services occasionally appear on bulletin boards and the
  4349. systems are particularly interesting to enter while they are still on
  4350. trial. As a result of a quirk of Austrian law, anyone can
  4351. legitimately enter their service without a password; though one is
  4352. needed if you are to extract valuable information. However, important
  4353. variants to the UK standards exist: the French (inevitably) have a
  4354. system that is remarkably similar in outline but incompatible.
  4355. ** Page 96
  4356. In North America, the emerging standard which was originally put
  4357. together by the Canadians for their Telidon service but which has
  4358. now, with modifications, been promoted by Ma Bell, has high
  4359. resolution graphics because, instead of building up images from block
  4360. graphics, it uses picture description techniques (eg draw line, draw
  4361. arc, fill-in etc) of the sort relatively familiar to most users of
  4362. modern home micros. Implementations of NALPS (as the US standard is
  4363. called) are available for the IBM PC.
  4364. Hacker's Handbook
  4365. file:///E|/Books/Hackers Handbook.htm (92 of 133) [11/28/2000 5:58:50 AM]
  4366. The Finnish public service uses software which can handle nearly
  4367. all viewdata formats, including a near-photographic mode.
  4368. Software similar to that used in the Finnish public service can be
  4369. found on some private systems. Countries vary considerably in their
  4370. use of viewdata technology: the German and Dutch systems consist
  4371. almost entirely of gateways to third-party computers; the French
  4372. originally cost-justified their system by linking it to a massive
  4373. project to make all telephone directories open to electronic enquiry,
  4374. thus saving the cost of printed versions. French viewdata terminals
  4375. thus have full alpha-keyboards instead of the numbers-only versions
  4376. common in other countries. For the French, the telephone directory is
  4377. central and all other information peripheral. Teletel/Antiope, as the
  4378. service is called, suffered its first serious hack late in 1984 when
  4379. a journalist on the political/satirical weekly Le Canard Finchaine
  4380. claimed to have penetrated the Atomic Energy Commission's computer
  4381. files accessible via Teletel and uncovered details of laser projects,
  4382. nuclear tests in the South Pacific and an experimental nuclear
  4383. reactor.
  4384. Viewdata: the future
  4385. Viewdata grew up at a time when the idea of mass computer
  4386. ownership was a fantasy, when the idea that private individuals could
  4387. store and process data locally was considered far-fetched and when
  4388. there were fears that the general public would have difficulties in
  4389. tackling anything more complicated than a numbers- only key-pad.
  4390. These failures of prediction have lead to the limitations and
  4391. clumsiness of present-day viewdata. Nevertheless, the energy and
  4392. success of the hardware salesmen plus the reluctance of companies and
  4393. organisations to change their existing set-ups will ensure that for
  4394. some time to come, new private viewdata systems will continue to be
  4395. introduced...and be worth trying to break into.
  4396. There is one dirty trick that hackers have performed on private
  4397. viewdata systems. Entering them is often easy, because high-level
  4398. editing passwords are, as mentioned earlier, sometimes desperately
  4399. insecure (see chapter 6) and it is easy to acquire editing status.
  4400. ** Page 97
  4401. Once you have discovered you are an editor, you can go to edit
  4402. mode and edit the first page on the system, page 0: you can usually
  4403. place your own message on it, of course; but you can also default all
  4404. the routes to page 90. Now *90# in most viewdata systems is the
  4405. log-out command, so the effect is that, as soon as someone logs in
  4406. successfully and tries to go beyond the first page, the system logs
  4407. them out....
  4408. However, this is no longer a new trick, and one which should be
  4409. used with caution: is the database used by an important organisation?
  4410. Are you going to tell the system manager what you have done and
  4411. urge more care in password selection in future?
  4412. Hacker's Handbook
  4413. file:///E|/Books/Hackers Handbook.htm (93 of 133) [11/28/2000 5:58:50 AM]
  4414. ** Page 98
  4415. CHAPTER 9
  4416. Radio Computer Data
  4417. Vast quantities of data traffic are transmitted daily over the
  4418. radio frequency spectrum; hacking is simply a matter of hooking up a
  4419. good quality radio receiver and a computer through a suitable
  4420. interface. On offer are news services from the world's great press
  4421. agencies, commercial and maritime messages, meteorological data, and
  4422. plenty of heavily-encrypted diplomatic and military traffic. A
  4423. variety of systems, protocols and transmission methods are in use and
  4424. the hacker jaded by land-line communication (and perhaps for the
  4425. moment put off by the cost of phone calls) will find plenty of fun on
  4426. the airwaves.
  4427. The techniques of radio hacking are similar to those necessary for
  4428. computer hacking. Data transmission over the airwaves uses either a
  4429. series of audio tones to indicate binary 0 and 1 which are modulated
  4430. on transmit and demodulated on receive or alternatively frequency
  4431. shift keying which involves the sending of one of two slightly
  4432. different radio frequency carriers, corresponding to binary 0 or
  4433. binary 1. The two methods of transmission sound identical on a
  4434. communications receiver (see below) and both are treated the same for
  4435. decoding purposes. The tones are different from those used on
  4436. land-lines--'space' is nearly always 1275 Hz and 'mark' can be one of
  4437. three tones: 1445 Hz (170 Hz shift--quite often used by amateurs and
  4438. with certain technical advantages); 1725 Hz (450 Hz shift--the one
  4439. most commonly used by commercial and news services) and 2125 Hz (850
  4440. Hz shift--also used commercially). The commonest protocol uses the
  4441. 5-bit Baudot code rather than 7-bit or 8-bit ASCII. The asynchronous,
  4442. start/stop mode is the most common. Transmission speeds include: 45
  4443. baud (60 words/minute), 50 baud (66 words/minute), 75 baud (100
  4444. words/ minute). 50 baud is the most common. However, many
  4445. interesting variants can be heard--special versions of Baudot for
  4446. non- European languages, error correction protocols, and various
  4447. forms of facsimile.
  4448. The material of greatest interest is to be found in the high
  4449. frequency or 'short wave' part of the radio spectrum, which goes from
  4450. 2 MHz, just above the top of the medium wave broadcast band, through
  4451. to 30 MHz, which is the far end of the 10-meter amateur band which
  4452. itself is just above the well-known Citizens' Band at 27 MHz.
  4453. ** Page 99
  4454. The reason this section of the spectrum is so interesting is that,
  4455. unique among radio waves, it has the capacity for world-wide
  4456. propagation without the use of satellites, the radio signals being
  4457. bounced back, in varying degrees, by the ionosphere. This special
  4458. Hacker's Handbook
  4459. file:///E|/Books/Hackers Handbook.htm (94 of 133) [11/28/2000 5:58:50 AM]
  4460. quality means that everyone wants to use HF (high frequency)
  4461. transmission--not only international broadcasters, the propaganda
  4462. efforts of which are the most familiar uses of HF. Data transmission
  4463. certainly occurs on all parts of the radio spectrum, from VLF (Very
  4464. Low Frequency, the portion below the Long Wave broadcast band which
  4465. is used for submarine communication), through the commercial and
  4466. military VHF and UHF bands, beyond SHF (Super High Frequency, just
  4467. above 1000 MHz) right to the microwave bands. But HF is the most
  4468. rewarding in terms of range of material available, content of
  4469. messages and effort required to access it.
  4470. Before going any further, hackers should be aware that in a number
  4471. of countries even receiving radio traffic for which you are not
  4472. licensed is an offence; in nearly all countries making use of
  4473. information so received is also an offence and, in the case of news
  4474. agency material, breach of copyright may also present a problem.
  4475. However, owning the equipment required is usually not illegal and,
  4476. since few countries require a special license to listen to amateur
  4477. radio traffic (as opposed to transmitting, where a license is needed)
  4478. and since amateurs transmit in a variety of data modes as well,
  4479. hackers can set about acquiring the necessary capability without
  4480. fear.
  4481. Equipment
  4482. The equipment required consists of a communications receiver, an
  4483. antenna, an interface unit/software and a computer.
  4484. Communications receiver - This is the name given to a good quality
  4485. high frequency receiver. Suitable models can be obtained,
  4486. second-hand, at around £100; new receivers cost upwards of £175.
  4487. There is no point is buying a radio simply designed to pick up
  4488. shortwave broadcasts which will lack the sensitivity, selectivity and
  4489. resolution necessary. A minimum specification would be:
  4490. Coverage 500 kHz--30 MHz
  4491. Resolution >100 Hz
  4492. ** Page 100
  4493. Modes AM, Upper Side Band, Lower Side Band,
  4494. CW (Morse)
  4495. Tuning would be either by two knobs, one for MHz, one for kHz, or
  4496. by keypad. On more expensive models it is possible to vary the
  4497. bandwidth of the receiver so that it can be widened for musical
  4498. fidelity and narrowed when listening to bands with many signals close
  4499. to one another.
  4500. Broadcast stations transmit using AM (amplitude modulation), but
  4501. in the person-to-person contacts of the aeronautical, maritime and
  4502. amateur world, single-side-band-suppressed carrier techniques are
  4503. Hacker's Handbook
  4504. file:///E|/Books/Hackers Handbook.htm (95 of 133) [11/28/2000 5:58:50 AM]
  4505. used--the receiver will feature a switch marked AM, USB, LSB, CW etc.
  4506. Side-band transmission uses less frequency space and so allows more
  4507. simultaneous conversations to take place, and is also more efficient
  4508. in its use of the power available at the transmitter. The chief
  4509. disadvantage is that equipment for receiving is more expensive and
  4510. must be more accurately tuned. Upper side band is used on the whole
  4511. for voice traffic, and lower side band for data traffic. (Radio
  4512. amateurs are an exception: they also use lower side-band for voice
  4513. transmissions below 10 MHz.) Suitable sources of supply for
  4514. communications receivers are amateur radio dealers, whose addresses
  4515. may be found in specialist magazines like Practical Wireless, Amateur
  4516. Radio, Ham Radio Today.
  4517. Antenna - Antennas are crucial to good shortwave reception--the sort
  4518. of short 'whip' aerial found on portable radios is quite insufficient
  4519. if you are to capture transmissions from across the globe. When using
  4520. a computer close to a radio you must also take considerable care to
  4521. ensure that interference from the CPU and monitor don't squash the
  4522. signal you are trying to receive. The sort of antenna I recommend is
  4523. the 'active dipole', which has the twin advantages of being small and
  4524. of requiring little operational attention. It consists of a couple of
  4525. 1-meter lengths of wire tied parallel to the ground and meeting in a
  4526. small plastic box. This is mounted as high as possible, away from
  4527. interference, and is the 'active' part. From the plastic box descends
  4528. coaxial cable which is brought down to a small power supply next to
  4529. the receiver and from there the signal is fed into the receiver
  4530. itself. The plastic box contains special low-noise transistors.
  4531. It is possible to use simple lengths of wire, but these usually
  4532. operate well only on a limited range of frequencies, and you will
  4533. need to cover the entire HF spectrum. Active antennas can be obtained
  4534. by mail order from suppliers advertising in amateur radio
  4535. magazines--the Datong is highly recommended.
  4536. ** Page 101
  4537. Interface The 'interface' is the equivalent of the modem in landline
  4538. communications; indeed, advertisements of newer products actually refer to
  4539. radio modems. Radio tele-type, or RTTY, as it is called, is traditionally
  4540. received on a modified teleprinter or telex machine; and the early interfaces
  4541. or terminal units (TUs) simply converted the received audio tones into 'mark'
  4542. and 'space' to act as the equivalent of the electrical line conditions of a
  4543. telex circuit. Since the arrival of the microcomputer, however, the design
  4544. has changed dramatically and the interface now has to perform the following
  4545. functions:
  4546. 1 Detect the designated audio tones
  4547. 2 Convert them into electrical logic states
  4548. 3 Strip the start/stop bits, convert the Baudot code into ASCII
  4549. equivalents, reinsert start/stop bits
  4550. 4 Deliver the new signal into an appropriate port on the computer.
  4551. (If RS232C is not available, then any other port, e.g. Game, that
  4552. Hacker's Handbook
  4553. file:///E|/Books/Hackers Handbook.htm (96 of 133) [11/28/2000 5:58:50 AM]
  4554. is)
  4555. A large number of designs exist: some consist of hardware
  4556. interfaces plus a cassette, disc or ROM for the software; others
  4557. contain both the hardware for signal acquisition and firmware for its
  4558. decoding in one box.
  4559. Costs vary enormously and do not appear to be related to quality
  4560. of result. The kit-builder with a ZX81 can have a complete set-up for
  4561. under £40; semi-professional models, including keyboards and screen
  4562. can cost in excess of £1000.
  4563. The kit I use is based on the Apple II (because of that model's
  4564. great popularity in the USA, much hardware and software exists); the
  4565. interface talks into the game port and I have several items of
  4566. software to present Baudot, ASCII or Morse at will. There is even
  4567. some interesting software for the Apple which needs no extra
  4568. hardware--the audio from the receiver is fed direct into the cassette
  4569. port of the Apple, but this method is difficult to replicate on other
  4570. machines because of the Apple's unique method of reading data from
  4571. cassette.
  4572. ** Page 102
  4573. Excellent inexpensive hard/firmware is available for many Tandy
  4574. computers, and also for the VlC20/Commodore 64. On the whole US
  4575. suppliers seem better than those in the UK or Japan-- products are
  4576. advertised in the US magazines QST and 73.
  4577. Setting Up Particular attention should be paid to linking all the
  4578. equipment together; there are special problems about using sensitive
  4579. radio receiving equipment in close proximity to computers and VDUs.
  4580. Computer logic blocks, power supplies and the synchronising pulses on
  4581. VDUs are all excellent sources of radio interference (rfi). RFI
  4582. appears not only as individual signals at specific points on the
  4583. radio dial, but also as a generalised hash which can blank out all
  4584. but the strongest signals.
  4585. Interference can escape from poorly packaged hardware, but also
  4586. from unshielded cables which act as aerials. The remedy is simple to
  4587. describe: encase and shield everything, connecting all shields to a
  4588. good earth, preferably one separate from the mains earth. In
  4589. practice, much attention must be paid to the detail of the
  4590. interconnections and the relative placing of items of equipment. In
  4591. particular, the radio's aerial should use coaxial feeder with a
  4592. properly earthed outer braid, so that the actual wires that pluck the
  4593. signals from the ether are well clear of computer-created rfi. It is
  4594. always a good idea to provide a communications receiver with a proper
  4595. earth, though it will work without one: if used with a computer, it
  4596. is essential.
  4597. Do not let these paragraphs put you off; with care excellent
  4598. results can be obtained. And bear in mind my own first experience:
  4599. ever eager to try out same new kit, I banged everything together with
  4600. great speed--ribbon cable, poor solder joints, an antenna taped
  4601. Hacker's Handbook
  4602. file:///E|/Books/Hackers Handbook.htm (97 of 133) [11/28/2000 5:58:50 AM]
  4603. quickly to a window in a metal frame less than two meters from the
  4604. communications receiver--and all I could hear from 500 kHz to 30
  4605. MHz, wherever I tuned, was a great howl-whine of protest...
  4606. Where to listen
  4607. Scanning through the bands on a good communications receiver, you
  4608. realise just how crowded the radio spectrum is. The table in Appendix
  4609. VI gives you an outline of the sandwich-like fashion in which the
  4610. bands are organised.
  4611. The 'fixed' bands are the ones of interest; more particularly, the
  4612. following ones are where you could expect to locate news agency
  4613. transmissions (in kHz):
  4614. ** Page 103
  4615. 3155 -- 3400 14350 -- 14990
  4616. 3500 -- 3900 15600 -- 16360
  4617. 3950 -- 4063 17410 -- 17550
  4618. 4438 -- 4650 18030 -- 18068
  4619. 4750 -- 4995 18168 -- 18780
  4620. 5005 -- 5480 18900 -- 19680
  4621. 5730 -- 5950 19800 -- 19990
  4622. 6765 -- 7000 20010 -- 21000
  4623. 7300 -- 8195 21850 -- 21870
  4624. 9040 -- 9500 22855 -- 23200
  4625. ggoo -- 9995 23350 -- 24890
  4626. 10100 -- 11175 25010 -- 25070
  4627. 11400 -- 11650 25210 -- 25550
  4628. 12050 -- 12330 26175 -- 28000
  4629. 13360 -- 13600 29700 -- 30005
  4630. 13800 -- 14000
  4631. In addition, amateurs tend to congregate around certain spots on the
  4632. frequency map: 3590, 14090, 21090, 28090, and at VHF/UHF: 144.600,
  4633. 145.300, MHz 432.600, 433.300.
  4634. Tuning In
  4635. Radio Teletype signals have a characteristic two-tone warble sound
  4636. which you will hear properly only if your receiver is operating in
  4637. SSB (single-side-band) mode. There are other digital tone-based
  4638. signals to be heard: FAX (facsimile), Helschcrieber (which uses a
  4639. technique similar to dot-matrix printers and is used for Chinese and
  4640. related pictogram-style alphabets), SSTV (slow scan television, which
  4641. can take up to 8 seconds to send a low-definition picture), and
  4642. others.
  4643. But with practice, the particular sound of RTTY can easily be
  4644. recognised. More experienced listeners can also identify shifts and
  4645. speeds by ear.
  4646. Hacker's Handbook
  4647. file:///E|/Books/Hackers Handbook.htm (98 of 133) [11/28/2000 5:58:50 AM]
  4648. You should tune into the signal watching the indicators on your
  4649. terminal unit to see that the tones are being properly captured--
  4650. typically, this involves getting two LEDs to flicker simultaneously.
  4651. The software will now try to decode the signal, and it will be up
  4652. to you to set the speed and 'sense'. The first speed to try is 66/7
  4653. words per minute, which corresponds to 50 baud, as this is the most
  4654. common. On the amateur bands, the usual speed is 60 words per minute
  4655. (45 baud); thereafter, if the rate sounds unusually fast, you try 100
  4656. words per minute (approximately 75 baud).
  4657. ** Page 104
  4658. By 'sense' or 'phase' is meant whether the higher tone corresponds
  4659. to logical 1 or logical 0. Services can use either format; indeed
  4660. the same transmission channel may use one 'sense' on one occasion and
  4661. the reverse 'sense' on another. Your software can usually cope with
  4662. this. If it can't, all is not lost: you retune your receiver to the
  4663. opposite, side-band and the phase will thereby be reversed. So, if
  4664. you are listening on the lower side-band (LSB), usually the
  4665. conventional way to receive, you simply switch over to USB (upper
  4666. side-band), retune the signal into the terminal unit, and the sense'
  4667. will have been reversed.
  4668. Many news agency stations try to keep their channels open even if
  4669. they have no news to put out: usually they do this by sending test
  4670. messages like: 'The quick brown fox....' or sequences like
  4671. 'RYRYRYRYRYRY...' such signals are useful for testing purposes, if
  4672. a little dull to watch scrolling up the VDU screen.
  4673. You will discover many signals that you can't decode: the
  4674. commonest reason is that the transmissions do not use European
  4675. alphabets, and all the elements in the Baudot code have been
  4676. re-assigned--some versions of Baudot use not one shift, but two, to
  4677. give the required range of characters. Straightforward en- crypted
  4678. messages are usually recognisable as coming in groups of five
  4679. letters, but the encryption can also operate at the bit- as well as
  4680. at the character-level -- in that case, too, you will get
  4681. gobbleydegook.
  4682. A limited amount of ASCII code as opposed to Baudot is to be
  4683. found, but mostly on the amateur bands.
  4684. Finally, an error-correction protocol, called SITOR, is
  4685. increasingly to be found on the maritime bands, with AMTOR, an amateur
  4686. variant, in the amateur bands, SITOR has various modes of operation
  4687. but, in its fullest implementation, messages are sent in blocks which
  4688. must be formally acknowledged by the recipient before the next one is
  4689. despatched. The transmitter keeps trying until an acknowledgement is
  4690. received. You may even come across, on the amateur bands, packet
  4691. radio, which has some of the features of packet switching on digital
  4692. land lines. This is one of the latest enthusiasms in amateur radio
  4693. with at least two different protocols in relatively wide use.
  4694. Discussion of SITOR and packet radio is beyond the scope of this
  4695. book, but the reader is referred to BARTG (the British Amateur Radio
  4696. Hacker's Handbook
  4697. file:///E|/Books/Hackers Handbook.htm (99 of 133) [11/28/2000 5:58:50 AM]
  4698. Teletype Group) and its magazine Datacom for further information. You
  4699. do not need to be a licensed radio amateur to join. The address is:
  4700. 27 Cranmer Court, Richmond Road, Kingston KT2 SPY.
  4701. Operational problems of radio hacking are covered at the end of
  4702. Appendix I, the Baudot code is given Appendix IV and an outline
  4703. frequency plan is to be found in Appendix VI.
  4704. ** Page 105
  4705. The material that follows represents some of the types of common
  4706. transmissions: news services, test slips (essentially devices for
  4707. keeping a radio channel open), and amateur. The corruption in places
  4708. is due either to poor radio propagation conditions or to the presence
  4709. of interfering signals.
  4710. REVUE DE LA PRESSE ITALIENNE DU VENDREDI 28 DECEMBRE 1984
  4711. LE PROCES AUX ASSASSINS DE L~ POIELUSZKO, LA VISITE DE
  4712. M. SPADOLINI A ISRAEL, LA SITUATION AU CAMBODGE ET LA GUER-
  4713. ILLA AU MOZAMBIQUE FONT LES TITES DES PAGES POLITIQUES
  4714. MOBILISATION TO WORK FOR THE ACCOUNT OF 1985
  4715. - AT THE ENVER HOXHA AUTOMOBILE AND
  4716. TRACTOR COMBINE IN TIRANA 2
  4717. TIRANA, JANUARY XATA/. - THE WORKING PEOPLE OF THE ENVER HOXH~/
  4718. AUTOMOBILE AND TRACTOR COMBINE BEGAN THEIR WORR WITH VIGOUR
  4719. AND MOBILISATION FOR THE ACCOUNT OF 1985. THE WORK IN THIS
  4720. IMPROVOWNT CENTER FOR MECHANICAL INDUSTRY WAS NOT INTERRUPTED
  4721. FOR ONE MOMENT AND THE WORKING PEOPLE 8~S ONE ANOTHER FOR
  4722. FRESHER GREATER VICTORIES UNDER THE LEADERSHIP OF THE PARTY
  4723. WITH ENVER HOXHA AT THE HEAD, DURING THE SHIFTS, NEAR
  4724. THE FURNANCES~ PRESSES ETC.. JUST LIKE SCORES OF WORKING COLLE-
  4725. CTIVES OF THE COUNTRY WHICH WERE NOT AT HOME DURING THE NEW
  4726. YEAR B
  4727. IN THE FRONTS OF WORK FOR THE BENEFITS OF THE SOCI-
  4728. ALIST CONSTRUCTION OF THE COUNTRY.
  4729. PUTTING INTO LIFE THE TEACHINGS OF THE PARTY AND THE INSTRU-
  4730. CTIONS OF COMRADE ENVER HOXHA, THE WORKING COLLECTIVE OF THIS
  4731. COMBINE SCORED FRESH SUCCESSES DURING 1984 TO REALIZE THE
  4732. INDICES OF THE STATE PLAN BY RASING THE ECEONOMIC EFFECTIVE-
  4733. NESS. THE WORKING PEOPLE SUCCESSFULLY REALIZED AND OVERFUL
  4734. FILLED THE OBJECTIVE OF THE REVOLUTIONARY DRIVE ON THE HIGHER
  4735. EFFECTIOVENESS OF PRODUCTION, UNDERTAKEN IN KLAIDQAULSK SO~
  4736. WITHIN 1984 THE PLANNED PRODUCTIVITY, ACCORDING TO THE INDEX
  4737. OF THE FIVE YEAR PLAN, WAS OVERFULFILLED BY 2 PER CENT.
  4738. MOREOVER, THE FIVE YEAR PLAN FOR THE GMWERING OF THE COST OF
  4739. PRODUCTION WAS RAISED 2 MONTHS AHEAD OF TIME, ONE FIVE YEAR
  4740. PLAN FOR THE PRODUCTION OF MACHINERIES LAND EQUIPMENT AND
  4741. THE PRODUCTION OF THE TRACTORS WAS OVER-
  4742. FULFILLED. THE NET INCOME OF THE FIVE YEAR PLAN WAS REALIZED
  4743. WITHIN 4 YEARS. ETCM
  4744. Hacker's Handbook
  4745. file:///E|/Books/Hackers Handbook.htm (100 of 133) [11/28/2000 5:58:50 AM]
  4746. YRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRY
  4747. RYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYR
  4748. ** Page 106
  4749. YRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRY
  4750. YRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRY
  4751. RYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYRYR~ u UL ~v_.~v
  4752. GJ4YAD GJ4YAD DE G4DF G4DF
  4753. SOME QRM BUT MOST OK. THE SHIFT IS NORMAL...SHIFT IS NORMAL.
  4754. FB ON YOUR RIG AND NICE TO MEET YOU IN RTTY. THE WEATHER HERE
  4755. TODAY IS FINE AND BEEN SUNNY BUT C9LD. I HAVE BEEN IN THIS MODE
  4756. BEFORE BUT NOT FOR A FEW YEARS HI HI.
  4757. GJ4YAD GJ4YAD DE G4DF G4DF
  4758. PSE KKK
  4759. G4ElE G4EJE DE G3IMS G3IMS
  4760. TNX FOR COMING BACk. RIG HERE IS ICOM 720A BUT I AM SENDING
  4761. AFSk; NOT FSk'. I USED TO HAVE A CREED BUT CHUCKED IT OUT IT WAS
  4762. TOO NOISY AND NOW HAVE VIC2D SYSTEM AND SOME US kIT MY SON
  4763. BROUGHT ME HE TRAVELS A LOT.
  4764. HAD LOTS OF TROUBLE WITH RFI AND HAVE NOT YET CURED IT. VERTY BAD
  4765. QRM AT MOMENT. CAN GET NOTHING ABOVE 1CI MEGS AND NOT MUCH EX-G ON
  4766. S(:). HI HI. SUNSPOT COUNT IS REALLY LOW.
  4767. G4EJE G4EJE DE G3IMS G3IMS
  4768. ~I.Of;KKKk'KKKK
  4769. RYRYRYRYRYRYRYRYRYR
  4770. ~K~fk'KKKKKKK
  4771. G3IMS G3IMS DE G4EJE G4EJE
  4772. FB OM. URM IS GETTING WORSE. I HAVE ALWAYS LIk.ED ICOM RIGS BUT
  4773. THEY ARE EXEPENSIVE. CAN YOU RUN FULL 1QCI PER CENT DUTY CYCLE ON
  4774. RTTY OR DO YOU HAVE TO RUN AROUND 50 PER CENT. I GET OVER-HEATING
  4775. ON THIS OLD YAESU lQl. WHAT SORT OF ANTENNA SYSTEM DO YOU USE.
  4776. HERE IS A TRAPPED VERTICAL WITH 8CI METERS TUNED TO RTTY SPOT AT
  4777. ~;59(:1.
  4778. I STILL USE CREED 7 THOUGH AM GETTING FED UP WITH MECHANICAL
  4779. BREAK- W WN AND NOISE BUT I HAVE HEARD ABOUT RFI AND HOME
  4780. COMPUTER5. MY NEPHEW HAS A SPECTRUM, CAN YOU GET RTTY SOFTWARE
  4781. FOR THAT/.
  4782. G3IMs G3IMS DE G4EJE G4EJE
  4783. ** Page 107
  4784. CHAPTER 10
  4785. Hacker's Handbook
  4786. file:///E|/Books/Hackers Handbook.htm (101 of 133) [11/28/2000 5:58:50 AM]
  4787. Hacking: the Future
  4788. Security is now probably the biggest single growth area within the
  4789. mainstream computer business. At conference after conference,
  4790. consultants compete with each other to produce the most frightening
  4791. statistics.
  4792. The main concern, however, is not hacking but fraud. Donn Parker,
  4793. a frequent writer and speaker on computer crime based at the Stanford
  4794. Research Institute has put US computer fraud at $3000 million a year;
  4795. although reported crimes amount to only $100 million annually. In
  4796. June 1983 the Daily Telegraph claimed that British computer-related
  4797. frauds could be anything between £500 million and £2.5 billion a
  4798. year. Detective Inspector Ken McPherson, head of the computer crime
  4799. unit at the Metropolitan Police, was quoted in 1983 as saying that
  4800. within 15 years every fraud would involve a computer. The trouble is,
  4801. very few victims are prepared to acknowledge their losses. To date,
  4802. no British clearing bank has admitted to suffering from an
  4803. out-and-out computer fraud, other than the doctoring of credit and
  4804. plastic ID cards. Few consultants believe that they have been immune.
  4805. However, to put the various threats in perspective, here are two
  4806. recent US assessments. Robert P Campbell of Advanced Information
  4807. Management, formerly head of computer security in the US Army,
  4808. reckons that only one computer crime in 100 is detected; of those
  4809. detected, 15 per cent or fewer are reported to the authorities, and
  4810. that of those reported, one in 33 is successfully prosecuted--a
  4811. 'clear-up' rate of one in 22,000.
  4812. And Robert Courtney, former security chief at IBM produced a list
  4813. of hazards to computers: 'The No 1 problem now and forever is errors
  4814. and omissions'. Then there is crime by insiders, particularly
  4815. non-technical people of three types: single women under 35; 'little
  4816. old ladies' over 50 who want to give the money to charity; and older
  4817. men who feel their careers have left them neglected. Next, natural
  4818. disasters. Sabotage by disgruntled employees. Water damage. As for
  4819. hackers and other outsiders who break in, he estimates it is less
  4820. than 3 per cent of the total.
  4821. ** Page 108
  4822. Here in the UK, the National Computing Centre says that at least
  4823. 90 per cent of computer crimes involve putting false information into
  4824. a computer, as opposed to sophisticated logic techniques; such crimes
  4825. are identical to conventional embezzlement: looking for weaknesses
  4826. in an accounting system and taking advantage. In such cases the
  4827. computer merely carries out the fraud with more thoroughness than a
  4828. human, and the print-out gives the accounts a spurious air of being
  4829. correct.
  4830. In the meantime, we are on the threshold of a new age of
  4831. opportunities for the hacker. The technology we can afford has
  4832. suddenly become much more interesting.
  4833. The most recent new free magazines to which I have acquired
  4834. Hacker's Handbook
  4835. file:///E|/Books/Hackers Handbook.htm (102 of 133) [11/28/2000 5:58:50 AM]
  4836. subscriptions are for owners of the IBM PC, its variants and clones.
  4837. There are two UK monthlies for regular users, another for corporate
  4838. buyers and several US titles.
  4839. The IBM PC is only partly aimed at small business users as a
  4840. stand-alone machine to run accounting, word processing, spread- sheet
  4841. calculation and the usual business dross; increasingly the marketing
  4842. is pitching it as an executive work-station, so that the corporate
  4843. employee can carry out functions not only local to his own office,
  4844. but can access the corporate mainframe as well--for data, messaging
  4845. with colleagues, and for greater processing power.
  4846. In page after page, the articles debate the future of this
  4847. development--do employees want work-stations? Don't many bosses still
  4848. feel that anything to do with typing is best left to their secretary?
  4849. How does the executive workstation relate to the mainframe? Do you
  4850. allow the executive to merely collect data from it, or input as well?
  4851. If you permit the latter, what effect will this have on the integrity
  4852. of the mainframe's files? How do you control what is going on? What
  4853. is the future of the DP professional? Who is in charge?
  4854. And so the articles go on. Is IBM about to offer packages which
  4855. integrate mainframes and PCs in one enormous system, thus effectively
  4856. blocking out every other computer manufacturer and software publisher
  4857. in the world by sheer weight and presence?
  4858. I don't know the answers to these questions, but elsewhere in
  4859. these same magazines is evidence that the hardware products to
  4860. support the executive workstation revolution are there--or, even if
  4861. one has the usual cynicism about computer trade advertising ahead of
  4862. actual availability, about to be.
  4863. The products are high quality terminal emulators, not the sort of
  4864. thing hitherto achieved in software--variants on asynchronous
  4865. protocols with some fancy cursor addressing--but cards capable of
  4866. supporting a variety of key synchronous communications, like 327x
  4867. (bisynch and SDLC), and handling high-speed file transfers in CICs,
  4868. TSO, IMS and CMS.
  4869. ** Page 109
  4870. These products feature special facilities, like windowing or
  4871. replicate aspects of mainframe operating systems like VM (Virtual
  4872. Machine), giving the user the experience of having several different
  4873. computers simultaneously at his command. Other cards can handle IBM's
  4874. smaller mini- mainframes, the Systems/34 and /38. Nor are other
  4875. mainframe manufacturers with odd-ball comms requirements ignored:
  4876. ICL, Honeywell and Burroughs are all catered for. There are even
  4877. several PC add-ons which give a machine direct X.25; it can sit on a
  4878. packet-switched network without the aid of a PAD.
  4879. Such products are expensive by personal micro standards, but it
  4880. means that, for the expenditure of around £8000, the hacker can call
  4881. up formidable power from his machine. The addition of special
  4882. environments on these new super micros which give the owner direct
  4883. Hacker's Handbook
  4884. file:///E|/Books/Hackers Handbook.htm (103 of 133) [11/28/2000 5:58:50 AM]
  4885. experience of mainframe operating systems--and the manuals to go with
  4886. them--will greatly increase the population of knowledgeable computer
  4887. buffs. Add to this the fact that the corporate workstation market, if
  4888. it is at all succesful, must mean that many executives will want to
  4889. call their mainframe from home --and there will be many many more
  4890. computer ports on the PTSN or sitting on PSS.
  4891. There can be little doubt that the need for system security will
  4892. play an increasing role in the specification of new mainframe
  4893. installations. For some time, hardware and software engineers have
  4894. had available the technical devices necessary to make a computer
  4895. secure; the difficulty is to get regular users to implement the
  4896. appropriate methods--humans can only memorise a limited number of
  4897. passwords. I expect greater use will be made of threat monitoring
  4898. techniques: checking for sequences of unsuccessful attempts at
  4899. logging in, and monitoring the level of usage of customers for
  4900. extent, timing, and which terminals or ports they appear on.
  4901. The interesting thing as far as hackers are concerned is that it
  4902. is the difficulty of the exercise that motivates us, rather than the
  4903. prospect of instant wealth. It is also the flavour of naughty, but
  4904. not outright, illegality. I remember the Citizens Band radio boom of
  4905. a few years ago: it started quietly with just a handful of London
  4906. breakers who had imported US sets, really simply to talk to a few
  4907. friends. One day everyone woke up, switched on their rigs and
  4908. discovered overnight there was a whole new sub-culture out there,
  4909. breathing the ether. Every day there were more and more until no
  4910. spare channels could be found. Then some talented engineers found out
  4911. how to freak the rigs and add another 40 channels to the original 40.
  4912. And then another 40. Suddenly there were wholesalers and retailers
  4913. and fanzines, all selling and promoting products the using or
  4914. manufacturing of which was illegal under British law.
  4915. ** Page 110
  4916. Finally, the government introduced a legalised CB, using different
  4917. standards from the imported US ones. Within six months the illegal
  4918. scene had greatly contracted, and no legal CB service of comparable
  4919. size ever took its place. Manufacturers and shop- keepers who had
  4920. expected to make a financial killing were left with warehouses full
  4921. of the stuff. Much of the attraction of AM CB was that it was
  4922. forbidden and unregulated. There is the desire to be an outlaw, but
  4923. clever and not too outrageous with it, in very many of us.
  4924. So I don't believe that hacking can be stopped by tougher
  4925. security, or by legislation, or even by the fear of punishment.
  4926. Don't get me wrong: I regard computers as vastly beneficial. But
  4927. they can threaten our traditional concepts of freedom, individuality
  4928. and human worth I like to believe hacking is a curious
  4929. re-assertion of some of those ideas.
  4930. The challenge of hacking is deeply ingrained in many computer
  4931. enthusiasts; where else can you find an activity the horizons of
  4932. which are constantly expanding, where new challenges and dangers can
  4933. Hacker's Handbook
  4934. file:///E|/Books/Hackers Handbook.htm (104 of 133) [11/28/2000 5:58:50 AM]
  4935. be found every day, where you are not playing a visibly artificial
  4936. 'game', where so much can be accessed with so little resource but a
  4937. small keyboard, a glowing VDU, an inquisitive and acquisitive brain,
  4938. and an impish mentality?
  4939. ** Page 111
  4940. APPENDIX I
  4941. Trouble Shooting
  4942. The assumption is that you are operating in the default mode of
  4943. 300/300 baud asynchronous using CCITT tones, 7 bits, even parity, one
  4944. stop bit, full-duplex/echo off, originate. You have dialled the
  4945. remote number, seized the line and can hear a data tone. Something is
  4946. not working properly. This is a partial list of possibilities.
  4947. The screen remains blank.
  4948. * A physical link has failed -- check the cables between computer,
  4949. modem and phone line.
  4950. * The remote modem needs waking up--send a <cr> or failing that, a
  4951. ENQ (<ctrl>E), character.
  4952. * The remote modem is operating at a different speed. Some modems
  4953. can be brought up to speed by hitting successive <cr>s; they usually
  4954. begin at 110 baud and then go to 300,so two successive <cr>s should
  4955. do the trick.
  4956. * The remote modem is not working at V21 standards, either because
  4957. it is a different CCITT standard, e.g. V22, V22 bis, V23 etc or
  4958. operates on Bell (US) tones.
  4959. * Since different standards tend to have different 'wake-up' tones
  4960. which are easily recognised with practice, you may be able to spot
  4961. what is happening. It shouldn't need to be said that if you are
  4962. calling a North American service you should assume Bell tones.
  4963. * Both your modem and that of the remote service are in answer or in
  4964. originate and so cannot 'speak' to each other. Always assume you are
  4965. in the originate mode.
  4966. * The remote service is not using ASCII/International Alphabet No 5.
  4967. The screen fills with random characters
  4968. * Data format different from your defaults--check 7 or 8 bit
  4969. characters, even/odd parity, stop and start bits.
  4970. Hacker's Handbook
  4971. file:///E|/Books/Hackers Handbook.htm (105 of 133) [11/28/2000 5:58:50 AM]
  4972. * Mismatch of characters owing to misdefined protocol--check
  4973. start/stop, try alternately EOB/ACK and XON/XOF.
  4974. * Remote computer operating at a different speed from you-- try, in
  4975. order, 110, 300, 600, 1200, 75.
  4976. ** Page 112
  4977. * Poor physical connection--if using an acoustic coupler check
  4978. location of handset, if not, listen on line to see if it is noisy or
  4979. crossed.
  4980. * The remote service is not using ASCII/International Alphabet No 5.
  4981. Every character appears twice
  4982. * You are actually in half-duplex mode and the remote computer as
  4983. well as your own are both sending characters to your screen--switch
  4984. to full-duplex/echo off.
  4985. All information appears on only one line, which is constantly
  4986. overwritten.
  4987. * The remote service is not sending line feeds--if your terminal
  4988. software has the facility, enable it to induce line feeds when each
  4989. display line is filled. Many on-line services and public dial-up
  4990. ports let you configure the remote port to send line feeds and vary
  4991. line length. Your software may have a facility to show control
  4992. characters, in which case you will see <ctrl>J if the remote service
  4993. is sending line feeds.
  4994. Wide spaces appear between display lines.
  4995. * The remote service is sending line feeds and your software is
  4996. inducing another one simultaneously--turn off your induced carriage
  4997. return facility. In 'show control character' mode, you will see
  4998. <ctrl>Js.
  4999. Display lines are broken awkwardly
  5000. * The remote service is expecting your screen to support more
  5001. characters than it is able. Professional services tend to expect 80
  5002. characters across whilst many personal computers may have less than
  5003. 40, so that they can be read on a tv screen. Check if your software
  5004. can help, but you may have to live with it. Alternatively, the
  5005. remote computer may let you reconfigure its character stream.
  5006. Most of the display makes sense, but every so often it becomes
  5007. garbled
  5008. Hacker's Handbook
  5009. file:///E|/Books/Hackers Handbook.htm (106 of 133) [11/28/2000 5:58:50 AM]
  5010. * You have intermittent line noise--check if you can command the
  5011. remote computer to send the same stream again and see if you get the
  5012. garbling.
  5013. * The remote service is sending graphics instructions which your
  5014. computer and software can't resolve.
  5015. ** Page 113
  5016. The display contains recognisable characters in definite groupings,
  5017. but otherwise makes no sense The data is intended for an intelligent
  5018. terminal, which will combine the transmitted data with a local
  5019. program so that it makes sense.
  5020. * The data is intended for batch processing.
  5021. * The data is encrypted Although the stream of data appeared
  5022. properly on your vdu, when you try to print it out, you get
  5023. corruption and over-printing
  5024. * Most printers use a series of special control characters to enable
  5025. various functions--line feeds, back-space, double- intensity, special
  5026. graphics etc. The remote service is sending a series of control
  5027. characters which, though not displayed on your screen, are
  5028. 'recognised' by your printer, though often in not very helpful ways.
  5029. You may be able to correct the worst problems in software, e.g. by
  5030. enabling line-feeds; alternatively many printers can be re-configured
  5031. in hardware by appropriate settings of DIL switches internally.
  5032. When accessing a viewdata service, the screen fills with squares.
  5033. * The square is the standard display default if your viewdata
  5034. terminal can't make sense of the data being sent to it.
  5035. * Check physical connections and listen for line noise.
  5036. * The viewdata host does not work to UK viewdata standards-- French
  5037. viewdata uses parallel attributes and has a number of extra features.
  5038. The CEPT standard for Europe contains features from both the UK and
  5039. French systems and you may be able to recognise some of the display.
  5040. North American videotex is alpha-geometric and sends line drawing
  5041. instructions rather than characters.
  5042. * The viewdata host has enhanced graphics features, perhaps for
  5043. dynamically redefined character sets, alphageometric instructions, or
  5044. alpha-photographic (full resolution) pictures. If the host has some
  5045. UK standard-compatible features, you will be able to read them
  5046. normally. If the cursor jumps about the screen, the host has dynamic
  5047. graphics facilities. If the viewdata protocol is anything at all like
  5048. the UK standard, you should see regular clear-screens as each new
  5049. page comes up; however, advanced graphics features tend to work by
  5050. suppressing clear-screens.
  5051. ** Page 114
  5052. Hacker's Handbook
  5053. file:///E|/Books/Hackers Handbook.htm (107 of 133) [11/28/2000 5:58:50 AM]
  5054. * The service you have dialled is not using viewdata. PSS is
  5055. accessible at 75/1200, as are one or two direct-dial services. In
  5056. this case you should be seeing a conventional display or trying one
  5057. of the other suggestions in this appendix. It is usual to assume that
  5058. any subscriber dialling into a 75/1200 port has only a 40 character
  5059. display.
  5060. You can't see what you are typing
  5061. * The remote computer is not echoing back to you--switch to
  5062. half-duplex. If the remote computer's messages now appear doubled;
  5063. that would be unusual but not unique; you will have to toggle back to
  5064. full-duplex for receive.
  5065. Data seems to come from the remote computer in jerky bursts rather
  5066. than as a smooth stream.
  5067. * If you are using PSS or a similar packet-switched service and it
  5068. is near peak business hours either in your time zone or in that of
  5069. the host you are accessing, the effect is due to heavy packet
  5070. traffic. There is nothing you can do--do not send extra commands to
  5071. 'speed things up' as those commands will arrive at the host
  5072. eventually and cause unexpected results.
  5073. * The host is pausing for a EOB/ACK or XON/XOF message-- check your
  5074. protocol settings--try sending ctrl-Q or ctrl-F.
  5075. You have an apparently valid password but it is not accepted.
  5076. * You don't have a valid password, or you don't have all of it.
  5077. * The password has hidden control characters which don't display on
  5078. the screen. Watch out for <ctrl>H -- the back-space, which will
  5079. over-write an existing displayed character.
  5080. * The password contains characters which your computer doesn't
  5081. normally generate--check your terminal software and see if there is a
  5082. way of sending them.
  5083. Most of the time everything works smoothly, but you can't get past
  5084. certain prompts
  5085. * The remote service is looking for characters your computer doesn't
  5086. normally generate. Check your terminal software and see if there is a
  5087. way of sending them.
  5088. A list or file called up turns out to be boring--can you stop it?
  5089. * Try sending <ctrl>S; this may simply make the remote machine
  5090. Hacker's Handbook
  5091. file:///E|/Books/Hackers Handbook.htm (108 of 133) [11/28/2000 5:58:50 AM]
  5092. pause, until a <ctrl>Q is sent--and you may find the list resumes
  5093. where it left off. On the other hand it may take you on to a menu.
  5094. * Send a BREAK signal (<ctrl>1). If one BREAK doesn't work, send
  5095. another in quick succession.
  5096. ** Page 115
  5097. You wish to get into the operating system from an applications
  5098. program.
  5099. * Don't we all? There is no standard way of doing this, and indeed
  5100. it might be almost impossible, because the operating system can only
  5101. be addressed by a few privileged terminals, of which yours (and its
  5102. associated password) is not one. However, you could try the
  5103. following:
  5104. * Immediately after signing on, send two BREAKs (<ctrl>1).
  5105. * Immediately after signing on, try combinations of ESC, CTRL and
  5106. SHIFT. As a desperate measure, send two line feeds before signing
  5107. on--this has been known to work!.
  5108. * At an options page, try requesting SYSTEM or some obvious
  5109. contraction like SYS or X. If in the Basic language, depending on the
  5110. dialect, SYSTEM or X in immediate mode should get you the operating
  5111. system.
  5112. You are trying to capture data traffic from a short-wave radio and are having
  5113. little success
  5114. * Your computer could be emitting so much radio noise itself that
  5115. any signal you are attempting to hear is squashed. To test: tune your
  5116. radio to a fairly quiet short-wave broadcast and then experiment
  5117. listening to the background hash with the computer switched first
  5118. on, then off. If the noise level drops when you turn off the
  5119. computer, then you need to arrange for more rf suppression and to
  5120. move the computer and radio further apart. Another source of rf noise
  5121. is the sync scan in a tv tube.
  5122. * If you can hear the two-tones of rtty traffic but can't get
  5123. letters resolved, check that your terminal unit is locking on to the
  5124. signal (often indicated by LEDs); you should then at least get some
  5125. response on your screen, if it doesn't make immediate sense.
  5126. * Once you have letters on screen, try altering the speed at which
  5127. you are receiving (see chapter 10); check also that you are reading
  5128. in the right 'sense', ie that mark and space have not been reversed.
  5129. * In addition to signals sent with the conventional International
  5130. Telegraphic Code No 2 (Baudot), variants exist for foreign letter
  5131. sets, like Cyrillic, which your software may not be able to resolve.
  5132. * There are other data-type services which sound a little like RTTY,
  5133. Hacker's Handbook
  5134. file:///E|/Books/Hackers Handbook.htm (109 of 133) [11/28/2000 5:58:50 AM]
  5135. but are not: they include FAX (facsimile) hellschreiber ( a form of
  5136. remote dot-matrix printing), SITOR (see chapter 10) and special
  5137. military/diplomatic systems.
  5138. ** Page 116
  5139. APPENDIX II
  5140. Glossary
  5141. This glossary collects together the sort of name, word, abbreviation
  5142. phrase you could come across during your network adventures
  5143. and for which you may not be able to find a precise definition
  5144. ACK
  5145. Non--printing character used in some comms protocols to indicate that
  5146. a block has been received and that more can be sent; used in
  5147. association with EOB.
  5148. ANSI
  5149. American National Standards Institute--one of a number of standards
  5150. organizations.
  5151. Answer mode
  5152. When a modem is set up to receive calls--the usual mode for a host.
  5153. The user's computer will be in originate.
  5154. ARQ
  5155. Automatic Repeat Request--method of error correction.
  5156. ASCII
  5157. American Standard Code for Information Interchange--alternate name
  5158. for International Telegraph Alphabet No 5: 7-bit code to symbolise
  5159. common characters and comms instructions, usually transmitted as
  5160. 8-bit code to include a parity bit.
  5161. ASR
  5162. Automatic Send Receive--any keyboard terminal capable of generating a
  5163. message into off-line storage for later transmission; includes
  5164. paper-tape telex machines as well as microcomputers.
  5165. Asynchronous
  5166. Description of communications which rely on 'start' and 'stop' bits
  5167. to synchronise originator and receiver of data--hence asynchrnous
  5168. protocols, channels, modems, terminals etc.
  5169. ** Page 117
  5170. Backward channel
  5171. Supervisory channel, not used as main channel of communication; in
  5172. viewdata the 75 baud back from the user to the host.
  5173. Hacker's Handbook
  5174. file:///E|/Books/Hackers Handbook.htm (110 of 133) [11/28/2000 5:58:50 AM]
  5175. Baud
  5176. Measure of the signalling rate on a data channel, number of
  5177. signalling elements per second.
  5178. Baseband
  5179. Modulation is direct on the comms line rather than using audio or
  5180. radio frequencies; used in some local area networks. A baseband or
  5181. 'short-haul' modem can be used to link computers in adjacent offices,
  5182. but not over telephone lines.
  5183. Baudot
  5184. 5-bit data code used in telegraphy, telex and RTTY--also known as
  5185. International Telegraph Alphabet No 2.
  5186. Bell
  5187. (1) non-printing character which sounds a bell or bleep, usually
  5188. enabled by <ctrl> G; (2) Common name for US phone company and, in
  5189. this context, specifiers for a number of data standards and services,
  5190. e.g. Bell 103a, 202a, 212a, etc--see Appendix V
  5191. Bit Binary digit
  5192. value 0 or 1.
  5193. Broadband
  5194. Broadband data channels have a wider bandwidth than ordinary
  5195. telephone circuits--12 times in fact, to give a bandwidth of 48kHz,
  5196. over which may simultaneous high-speed data transfers can take place.
  5197. Broadcast service
  5198. Data service in which all users receive the same information
  5199. simultaneously, without the opportunity to interrogate or query;
  5200. e.g. news services like AP, Reuters News, UPI etc. See also on-line
  5201. service.
  5202. Bisynchronous
  5203. IBM protocol involving synchronous transmission of binary coded data.
  5204. ** Page 118
  5205. BLAISE
  5206. British Library Automated Information Service-- substantial
  5207. bibliographic on-line host.
  5208. BREAK
  5209. Non-printing character used in some data transmission protocols and
  5210. found on some terminals--can often be regenerated by using <ctrl> 1.
  5211. BSC
  5212. Binary Synchronous Communications--see bisynchronous.
  5213. I Byte
  5214. Group of bits (8) representing one data character.
  5215. Call accept
  5216. In packet-switching, the packet that confirms the party is willing to
  5217. Hacker's Handbook
  5218. file:///E|/Books/Hackers Handbook.htm (111 of 133) [11/28/2000 5:58:50 AM]
  5219. proceed with the call.
  5220. Call redirection
  5221. In packet-switching, allows call to be automatically redirected from
  5222. original address to another, nominated address.
  5223. Call request
  5224. In packet-switching, packet sent to initiate a datacall.
  5225. CCITT
  5226. Comite Consultatif International Telephonique et Telegraphique
  5227. --committee of International Telecommunications Union which sets
  5228. international comms standards. Only the US fails to follow its
  5229. recommendations in terms of modem tones, preferring 'Bell' tones. The
  5230. CCITT also sets such standards as V21, 24, X25 etc.
  5231. Character terminal
  5232. In packet-switching, a terminal which can only access via a PAD.
  5233. Cluster
  5234. When two or more terminals are connected to a data channel at a
  5235. single point.
  5236. Common Carrier
  5237. A telecommunications resource providing facilities to the public.
  5238. ** Page 119
  5239. Connect-time
  5240. Length of time connected to a remote computer, often the measure of
  5241. payment. Contrast with cpu time or cpu units, which measures how
  5242. much 'effort' the host put into the communication.
  5243. CPS
  5244. Characters Per Second.
  5245. Cpu Time
  5246. In an on-line session, the amount of time the central processor
  5247. actually spends on the interaction process, as opposed to connect-
  5248. time; either can be used as the basis of tariffing.
  5249. CRC
  5250. Cyclic Redundancy Check--error detection method.
  5251. CUG
  5252. Closed User Group--group of users/terminals who enjoy privacy with
  5253. respect to a public service.
  5254. Datacall
  5255. In packet-switching, an ordinary call, sometimes called a 'switched
  5256. virtual call'.
  5257. Dataline
  5258. In packet-switching, dedicated line between customer's terminal and
  5259. packet-switch exchange (PSE).
  5260. Hacker's Handbook
  5261. file:///E|/Books/Hackers Handbook.htm (112 of 133) [11/28/2000 5:58:50 AM]
  5262. DCE
  5263. Data Circuit-terminating Equipment--officialese for modems.
  5264. DTE
  5265. Data Terminal Equipment--officialese for computers.
  5266. EBCDIC
  5267. Extended Binary Coded Decimal Interchange Code--IBM's alternative to
  5268. ASCII, based on an 8-bit code, usually transmitted synchronously. 256
  5269. characters are available.
  5270. Emulator
  5271. Software/hardware set-up which makes one device mimic another, e.g. a
  5272. personal computer may emulate an industry-standard dumb terminal like
  5273. the VT100. Compare simulator, which gives a device the attributes of
  5274. another, but not necessarily in real time, e.g. when a large mini
  5275. carries a program making it simulate another computer to develop
  5276. software.
  5277. ** Page 120
  5278. Euronet-Diane
  5279. European direct access information network.
  5280. Datel
  5281. BT's name for its data services, covering both the equipment and the
  5282. type of line, e.g. Datel 100 corresponds to telegraph circuits, Datel
  5283. 200 is the usual 300/300 asynchronous service, Datel 400 is for
  5284. one-way transmissions e.g. monitoring of remote sites, Datel 600 is
  5285. a two- or four-wire asynchronous service at up to 1200 baud, Datel
  5286. 2400 typically uses a 4-wire private circuit at 2400 baud
  5287. synchronous, etc. etc.
  5288. DES
  5289. Data Encryption Standard--a US-approved method of encrypt- ing data
  5290. traffic, and somewhat controversial in its effectiveness.
  5291. Dialog
  5292. Well-established on-line host available world-wide covering an
  5293. extensive range of scientific, bibiographic and news services. Also
  5294. known as Lockheed Dialog.
  5295. Dial-up
  5296. Call initiated via PTSN, no matter where it goes after that; as
  5297. opposed to service available via permanent leased line.
  5298. Duplex
  5299. Transmission in two directions simultaneously, sometimes called
  5300. full-duplex; contrast half-duplex, in which alternate transmissions
  5301. by either end are required. NB this is terminology used in data
  5302. communications over land-lines. Just to confuse matters, radio
  5303. technology refers to simplex, when only one party can transmit at a
  5304. time and a single radio frequency is used; two-frequency-simplex or
  5305. half-duplex when only one party can speak but two frequencies are
  5306. Hacker's Handbook
  5307. file:///E|/Books/Hackers Handbook.htm (113 of 133) [11/28/2000 5:58:50 AM]
  5308. used, as in repeater and remote base working; and full-duplex, when
  5309. both parties can speak simultaneously and two radio frequencies are
  5310. used, as in radio-telephones.
  5311. Echo
  5312. (1) When a remote computer sends back to the terminal each letter as
  5313. it is sent to it for confirming re-display locally. (2) Effect on
  5314. long comms lines caused by successive amplifications
  5315. --echo-suppressors are introduced to prevent disturbance caused by
  5316. this phenomenon, but in some data transmission the echo- suppressors
  5317. must be switched off.
  5318. ** Page 121
  5319. EIA
  5320. Electronic Industries Association, US standards body.
  5321. ENQ
  5322. Non-printing character signifying 'who are you?' and often sent by
  5323. hosts as they are dialled up. When the user's terminal receives ENQ
  5324. it may be programmed to send out a password automatically.
  5325. Corresponds to <esc> E.
  5326. EOB
  5327. End Of Block--non-printing character used in some protocols, usually
  5328. in association with ACK.
  5329. Equalisation
  5330. Method of compensation for distortion over long comms channels.
  5331. FDM
  5332. Frequency Division Multiplexing--a wide bandwidth transmission
  5333. medium, e.g. coaxial cable, supports several narrow band- width
  5334. channels by differentiating by frequency; compare time division
  5335. multiplexing.
  5336. FSK
  5337. Frequency Shift Keying--a simple signalling method in which
  5338. frequencies but not phase or amplitude are varied according to
  5339. whether '1' or '0' is sent--used in low-speed asynchronous comms both
  5340. over land-line and by radio.
  5341. Handshaking
  5342. Hardware and software rules for remote devices to communicate with
  5343. each other, supervisory signals such as 'wait', 'acknowledge',
  5344. 'transmit', 'ready to receive' etc.
  5345. HDLC
  5346. In packet-switching, High Level Data Link Control procedure, an
  5347. international standard which detects and corrects errors in the
  5348. stream of data between the terminal and the exchange--and to provide
  5349. flow control. Host The 'big' computer holding the information the
  5350. user wishes to retrieve.
  5351. ** Page 122
  5352. Hacker's Handbook
  5353. file:///E|/Books/Hackers Handbook.htm (114 of 133) [11/28/2000 5:58:50 AM]
  5354. Infoline
  5355. Scientific on-line service from Pergamon.
  5356. ISB
  5357. see sideband.
  5358. ISO
  5359. International Standards Organisation.
  5360. LAN
  5361. Local Area Network--normally using coaxial cable, this form of
  5362. network operates at high speed over an office or works site, but no
  5363. further. May have inter-connect facility to PTSN or PSS.
  5364. LF
  5365. Line Feed--cursor moves active position down one line--usual code is
  5366. <ctrl>J; not the same as carriage return, which merely sends cursor
  5367. to left-hand side of line it already occupies. However, in many
  5368. protocols/terminals/set-ups, hitting the <ret> or <enter> button
  5369. means both <lf> and <cr>.
  5370. Logical Channel
  5371. Apparently continuous path from one terminal to another.
  5372. LSB
  5373. see sideband.
  5374. KSR
  5375. Keyboard Send Receive--terminal with keyboard on which anything that
  5376. is typed is immediately sent. No off-line preparation facility, e.g.
  5377. teletypewriter, 'dumb' terminals.
  5378. Macro software
  5379. Facility frequently found in comms programs which permits the
  5380. preparation and sending of commonly-used strings of information,
  5381. particularly passwords and routing instructions.
  5382. Mark
  5383. One of the two conditions on a data communications line, the other
  5384. being 'space'; mark indicates 'idle' and is used as a stop bit.
  5385. ** Page 123
  5386. Message switching
  5387. When a complete message is stored and then forwarded, as opposed to a
  5388. packet of information. This technique is used in some electronic mail
  5389. services, but not for general data transmission.
  5390. Modem
  5391. Modulator-demodulator.
  5392. Multiplexer
  5393. Device which divides a data channel into two or more independent
  5394. channels .
  5395. Hacker's Handbook
  5396. file:///E|/Books/Hackers Handbook.htm (115 of 133) [11/28/2000 5:58:50 AM]
  5397. MVS
  5398. Multiple Virtual Storage--IBM operating system dating from mid-70s.
  5399. NUA
  5400. Network User Address, number by which each terminal on a
  5401. packet-switch network is identified (character terminals don't have
  5402. them individually, because they use a PAD). In PSS, it's a 10-digit
  5403. number.
  5404. NUI
  5405. Network User Identity, used in PSS for dial-up access by each user.
  5406. Octet
  5407. In packet-switching, 8 consecutive bits of user data, e.g. 1
  5408. character.
  5409. On-line service
  5410. Interrogative or query service available for dial-up. Examples
  5411. include Lockheed Dialog, Blaise, Dow Jones News Retrieval, etc;
  5412. leased-line examples include Reuters Monitor, Telerate.
  5413. Originate
  5414. Mode-setting for a modem operated by a user about to call another
  5415. computer.
  5416. OSI
  5417. Open Systems Interconnect--intended world standard for digital
  5418. network connections--c.f. SNA. Packet terminal Terminal capable of
  5419. creating and disassembling packets, interacting with a
  5420. packet-network, c.f. character terminal.
  5421. ** Page 124
  5422. PAD
  5423. Packet Assembly/disassembly Device--permits 'ordinary' terminals to
  5424. connect to packet switch services by providing addressing, headers,
  5425. (and removal), protocol conversion etc.
  5426. Parity checking
  5427. Technique of error correction in which one bit is added to each data
  5428. character so that the number of bits is always even (or always odd).
  5429. PDP/8 & /11
  5430. Large family of minis, commercially very sucessful, made by DEC. the
  5431. PDP 8 was 12-bit, the PDP 11 is 16-bit. The LSI 11 have strong family
  5432. connections to the PDP 11, as have some configurations of the
  5433. desk-top Rainbow.
  5434. Polling
  5435. Method of controlling terminals on a clustered data network, where
  5436. each is called in turn by the computer to see if it wishes to
  5437. transmit or receive.
  5438. Protocol
  5439. Hacker's Handbook
  5440. file:///E|/Books/Hackers Handbook.htm (116 of 133) [11/28/2000 5:58:50 AM]
  5441. Agreed set of rules.
  5442. PSE
  5443. Packet Switch Exchange--enables packet switching in a network.
  5444. PTSN
  5445. Public Switched Telephone Network--the voice-grade telephone network
  5446. dialled from a phone. Contrast with leased lines, digital networks,
  5447. conditioned lines etc.
  5448. PTT
  5449. jargon for the publicly-owned telecommunications authority/ utility
  5450. PVC
  5451. Permanent Virtual Circuit--a connection in packet switching which is
  5452. always open, no set-up required.
  5453. ** Page 125
  5454. Redundancy checking
  5455. Method of error correction.
  5456. RS232C
  5457. The list of definitions for interchange circuit: the US term for
  5458. CCITT V24--see Appendix III.
  5459. RSX-ll
  5460. Popular operating system for PDP/11 family.
  5461. RTTY
  5462. Radio Teletype -- method of sending telegraphy over radio waves.
  5463. RUBOUT
  5464. Back-space deleting character, using <ctrl>H.
  5465. Secondary channel
  5466. Data channel, usually used for supervision, using same physical path
  5467. as main channel; in V23 which is usually 600 or 1200 baud
  5468. half-duplex, 75 baud traffic is supervisory but in viewdata is the
  5469. channel back from the user to the host, thus giving low-cost full
  5470. duplex.
  5471. Segment
  5472. Chargeable unit of volume on PSS.
  5473. Serial transmission
  5474. One bit at a time, using a single pair of wires, as opposed to
  5475. parallel transmission, in which several bits are sent simultaneously
  5476. over a ribbon cable. A serial interface often uses many more than two
  5477. wires between computer and modem or computer and printer, but only
  5478. two wires carry the data traffic, the remainder being used for
  5479. supervision, electrical power and earthing, or not at all.
  5480. Sideband
  5481. In radio the technique of suppressing the main carrier and limiting
  5482. Hacker's Handbook
  5483. file:///E|/Books/Hackers Handbook.htm (117 of 133) [11/28/2000 5:58:50 AM]
  5484. the transmission to the information-bearing sideband. To listen at
  5485. the receiver, the carrier is re-created locally. The technique, which
  5486. produces large economies in channel occupany, is extensively used in
  5487. professional, non-broadcast applications. The full name is single
  5488. side-band, supressed carrier. Each full carrier supports two
  5489. sidebands, an upper and lower, USB and LSB respectively; in general,
  5490. USB is used for speech, LSB for data, but this is only a
  5491. convention--amateurs used LSB for speech below 10 MHz, for example.
  5492. ISB, independent side-band, is when the one carrier supports two
  5493. sidebands with separate information on them, usually speech on one
  5494. and data on the other. If you listen to radio teletype on the 'wrong'
  5495. sideband, 'mark' and 'space' values become reversed with a consequent
  5496. loss of meaning.
  5497. ** Page 126
  5498. SITOR
  5499. Error-correction protocol for sending data over radio-path using
  5500. frequent checks and acknowledgements.
  5501. SNA
  5502. System Network Architecture-- IBM proprietary networking protocol,
  5503. the rival to OSI.
  5504. Space
  5505. One of two binary conditions in a data transmission channel, the
  5506. other being 'mark'. Space is binary 0.
  5507. Spooling
  5508. Simultaneous Peripheral Operation On-Line--more usually, the ability,
  5509. while accessing a database, to store all fetched information in a
  5510. local memory buffer, from which it may be recalled for later
  5511. examination, or dumped to disc or printer.
  5512. Start/Stop
  5513. Asynchronous transmission; the 'start' and 'stop' bits bracket each
  5514. data character.
  5515. Statistical Multiplexer
  5516. A statmux is an advanced multiplexer which divides one physical link
  5517. between several data channels, taking advantage of the fact that not
  5518. all channels bear equal traffic loads.
  5519. STX
  5520. Start Text--non-printing character used in some protocols.
  5521. SVC
  5522. Switched Virtual Circuit--in packet switching, when connection
  5523. between two computers or computer and terminal must be set up by a
  5524. specific call.
  5525. ** Page 127
  5526. SYN
  5527. Non-printing character often used in synchronous transmission to tell
  5528. Hacker's Handbook
  5529. file:///E|/Books/Hackers Handbook.htm (118 of 133) [11/28/2000 5:58:50 AM]
  5530. a remote device to start its local timing mechanism.
  5531. Synchronous
  5532. Data transmission in which timing information is super-imposed ~,n
  5533. pure data. Under this method 'start/stop' techniques are not used
  5534. and data exchange is more efficient, hence synchronous channel,
  5535. modem, terminal, protocol etc.
  5536. TDM
  5537. Time Division Multiplex--technique for sharing several data channels
  5538. along one high-grade physical link. Not as efficient as statistical
  5539. techniques.
  5540. Telenet
  5541. US packet-switch common carrier.
  5542. Teletex
  5543. High-speed replacement for telex, as yet to find much commercial
  5544. support.
  5545. Teletext
  5546. Use of vertical blanking interval in broadcast television to transmit
  5547. magazines of text information, e.g. BBC's Ceefax and IBA's Oracle.
  5548. Telex
  5549. Public switched low-speed telegraph network.
  5550. TOPIC
  5551. The Stock Exchange's market price display service; it comes down a
  5552. leased line and has some of the qualities of both viewdata and
  5553. teletext.
  5554. Tymnet
  5555. US packet-switch common carrier.
  5556. V-standards
  5557. Set of recommendations by CCITT--see Appendix III.
  5558. VAX
  5559. Super-mini family made by DEC; often uses Unix operating system.
  5560. ** Page 128
  5561. Viewdata
  5562. Technology allowing large numbers of users to access data easily on
  5563. terminal based (originally) on modified tv sets. Information is
  5564. presented in 'page' format rather than on a scrolling screen and the
  5565. user issues all commands on a numbers-only keypad. Various standards
  5566. exist of which the UK one is so far dominant; others include the
  5567. European CEPT standard which is similar to the UK one, a French
  5568. version and the US Presentation Level Protocol. Transmission speeds
  5569. are usually 1200 baud from the host and 75 baud from the user.
  5570. Viewdata together with teletext is known jointly as videotex(t).
  5571. Virtual
  5572. Hacker's Handbook
  5573. file:///E|/Books/Hackers Handbook.htm (119 of 133) [11/28/2000 5:58:50 AM]
  5574. In the present context, a virtual drive, store, machine etc is one
  5575. which appears to the user to exist, but is merely an illusion
  5576. generated on a computer; thus several users of IBM's VM operating
  5577. system each think they have an entire separate computer, complete
  5578. with drives, discs and other peripherals--in fact the one actual
  5579. machine can support several lower-level operating systems
  5580. simultaneously.
  5581. VT52/100
  5582. Industry-standard general purpose computer terminals with no storage
  5583. capacity or processing power but with the ability to be locally
  5584. programmed to accept a variety of asynchronous transmission
  5585. protocols--manufactured by DEC. The series has developed since the
  5586. VT100
  5587. X-standards
  5588. Set of recommendations by CCITT--see Appendix III.
  5589. XON/XOF
  5590. Pair of non-printing characters sometimes used in protocols to tell
  5591. devices when to start or stop sending. XON often corresponds to
  5592. <ctrl>Q and XOF to <ctrl>S.
  5593. 80-80
  5594. Type of circuit used for telex and telegraphy--mark and space are
  5595. indicated by conditions of--or + 80 volts. Also known in the UK as
  5596. Tariff J. Usual telex speed is 50 baud, private wire telegraphy (news
  5597. agencies etc) 75 baud.
  5598. ** Page 129
  5599. APPENDIX III
  5600. Selected CCITT Recommendations
  5601. V series: Data transmission over telephone circuits
  5602. V1 Power levels for data transmission over telephone lines
  5603. V3 International Alphabet No S (ASCII)
  5604. V4 General structure of signals of IA5 code for data
  5605. transmission over public telephone network
  5606. V5 Standardisation of modulation rates and data signalling
  5607. rates for synchronous transmission in general switched
  5608. network
  5609. V6 Ditto, on leased circuits
  5610. V13 Answerback simulator
  5611. V15 Use of acoustic coupling for data transmission
  5612. V19 Modems for parallel data transmission using telephone
  5613. signalling frequencies
  5614. V20 Parallel data transmission modems standardised for
  5615. universal use in the general switched telephone network
  5616. V21 200 baud modem standardised
  5617. V22 1200 bps full-duplex 2-wire modem for PTSN
  5618. V22bis 2400 bps full-duplex 2-wire modem for PTSN
  5619. Hacker's Handbook
  5620. file:///E|/Books/Hackers Handbook.htm (120 of 133) [11/28/2000 5:58:50 AM]
  5621. V23 600/1200 bps modem for PTSN
  5622. V24 List of definitions for interchange circuits between data
  5623. terminal equipment and data circuit-terminating equipment
  5624. V25 Automatic calling and/or answering equipment on PTSN
  5625. V26 2400 bps modem on 4-wire circuit
  5626. V26bis 2400/1200 bps modem for PTSN
  5627. V27 4800 bps modem for leased circuits
  5628. V27bis 4800 bps modem (equalised) for leased circuits
  5629. V27 4800 bps modem for PTSN
  5630. V29 9600 bps modem for leased circuits
  5631. V35 Data transmission at 48 kbits/sec using 60-108 kHz band
  5632. circuits
  5633. ** Page 130
  5634. X series: recommendations covering data networks
  5635. X1 International user classes of services in public data networks
  5636. X2 International user facilities in public data networks
  5637. X3 Packet assembly/disassembly facility (PAD)
  5638. X4 General structure of signals of IA5 code for transmission
  5639. over public data networks
  5640. X20 Interface between data terminal equipment and data
  5641. circuit-terminating equipment for start-stop transmission
  5642. services on public data networks
  5643. X20bis V21-compatible interface
  5644. X21 Interface for synchronous operation
  5645. X25 Interface between data terminal equipment and data
  5646. circuit-terminating equipment for terminals operating in
  5647. the packet-switch mode on public data networks
  5648. X28 DTE/DCE interface for start/stop mode terminal equipment
  5649. accessing a PAD on a public data network
  5650. X29 Procedures for exchange of control information and user
  5651. data between a packet mode DTE and a PAD
  5652. X95 Network parameters in public data networks
  5653. X96 Call progress signals in public data networks
  5654. X121 International addressing scheme for PDNs
  5655. ** Page 131
  5656. APPENDIX IV
  5657. Computer Alphabets
  5658. Four alphabets are in common use for computer communications:
  5659. ASCII, also known as International Telegraphic Alphabet No 5; Baudot,
  5660. used in telex and also known as International Telegraphic Alphabet No
  5661. 2; UK Standard videotex, a variant of ASCII; and EDCDIC, used by IBM.
  5662. ASCII
  5663. This is the standard, fully implemented character set. There are a
  5664. number of national variants: # in the US variant is £ in the UK
  5665. variant. Many micro keyboards cannot generate all the characters
  5666. Hacker's Handbook
  5667. file:///E|/Books/Hackers Handbook.htm (121 of 133) [11/28/2000 5:58:50 AM]
  5668. directly, particularly the non-printing characters used for control
  5669. of transmission, effectors of format and information separators. The
  5670. 'keyboard' column gives the usual method of providing them, but you
  5671. should check the firmware/software manuals for your particular
  5672. set-up. You should also know that many of the 'spare' control
  5673. characters are often used to enable special features on printers.
  5674. HEX DEC ASCII Name Keyboard Notes
  5675. 00 0 NUL Null ctrl @
  5676. 01 1 SOH Start heading ctrl A
  5677. 02 2 STX Start text ctrl B
  5678. 03 3 ETX End text ctrl C
  5679. 04 4 EOT End transmission ctrl D
  5680. 05 5 ENQ Enquire ctrl E
  5681. 06 6 ACK Acknowledge ctrl F
  5682. 07 7 BEL Bell ctrl G
  5683. 08 8 BS Backspace ctrl H or special key
  5684. 09 9 HT Horizontal tab ctrl I or special key
  5685. OA 10 LF Line feed ctrl J
  5686. OB 11 VT Vertical tab ctrl K
  5687. 0C 12 FF Form feed ctrl L
  5688. ** Page 132
  5689. OD 13 CR Carriage return ctrl M or special key
  5690. OE 14 SO Shift out ctrl N
  5691. OF 15 Sl Shift in ctrl O
  5692. 10 16 DLE Data link escape ctrl P
  5693. 11 17 DC1 Device control 1 ctrl Q also XON
  5694. 12 18 DC2 Device control 2 ctrl R
  5695. 13 19 DC3 Device control 3 ctrl S also XOF
  5696. 14 20 DC4 Device control 4 ctrl T
  5697. 15 21 NAK Negative acknowledge ctrl U
  5698. 16 22 SYN Synchronous Idle ctrl V
  5699. 17 23 ETB End trans. block ctrl W
  5700. 18 24 CAN Cancel ctrl X
  5701. 19 25 EM End medium ctrl Y
  5702. 1A 26 SS Special sequence ctrl Z spare
  5703. 1B 27 ESC Escape check manuals to
  5704. transmit
  5705. 1C 28 FS File separator
  5706. 1D 29 GS Group separator
  5707. 1E 30 RS Record separator
  5708. 1F 31 US Unit separator
  5709. 20 32 SP Space
  5710. 21 33 ~
  5711. 22 34 "
  5712. 23 35 # £
  5713. 24 36 $
  5714. 25 37 %
  5715. 26 38 &
  5716. 27 39 ' Apostrophe
  5717. 28 40 (
  5718. 29 41 )
  5719. Hacker's Handbook
  5720. file:///E|/Books/Hackers Handbook.htm (122 of 133) [11/28/2000 5:58:50 AM]
  5721. 2A 42 ~
  5722. 2B 43 +
  5723. 2C 44 , Comma
  5724. 2D 45 -
  5725. 2E 46 . Period
  5726. 2F 47 / Slash
  5727. 30 48 0
  5728. 31 49 1
  5729. 32 50 2
  5730. 33 51 3
  5731. 34 52 4
  5732. 35 53 5
  5733. 36 54 6
  5734. 37 55 7
  5735. ** Page 133
  5736. 38 56 8
  5737. 39 57 9
  5738. 3A 58 : Colon
  5739. 3B 59 ; Semicolon
  5740. 3C 60 <
  5741. 3D 61
  5742. 3E 62 >
  5743. 3F 63 ?
  5744. 40 64 @
  5745. 41 65 A
  5746. 42 66 B
  5747. 43 67 C
  5748. 44 68 D
  5749. 45 69 E
  5750. 46 70 F
  5751. 47 71 G
  5752. 48 72 H
  5753. 49 73 1
  5754. 4A 74 J
  5755. 4B 75 K
  5756. 4C 76 L
  5757. 4D 77 M
  5758. 4E 78 N
  5759. 4F 79 O
  5760. 50 80 P
  5761. 51 81 Q
  5762. 52 82 R
  5763. 53 83 S
  5764. 54 84 T
  5765. 55 85 U
  5766. 56 86 V
  5767. 57 87 W
  5768. 58 88 X
  5769. 59 89 Y
  5770. 5A 90 Z
  5771. 5B 91 [
  5772. 5C 92 \ Backslash
  5773. 5D 93 1
  5774. Hacker's Handbook
  5775. file:///E|/Books/Hackers Handbook.htm (123 of 133) [11/28/2000 5:58:50 AM]
  5776. 5E 94 ^ Circumflex
  5777. 5F 95 _ Underscore
  5778. 60 96 Grave accent
  5779. 61 97 a
  5780. 62 98 b
  5781. ** Page 134
  5782. 63 99 c
  5783. 64 100 d
  5784. 65 101 e
  5785. 66 102 f
  5786. 67 103 9
  5787. 68 104 h
  5788. 69 105 i
  5789. 6A 106 j
  5790. 6B 107 k
  5791. 6C 108 l
  5792. 6D 109 m
  5793. 6E 110 n
  5794. 6F 111 o
  5795. 70 112 p
  5796. 71 113 q
  5797. 72 114 r
  5798. 73 115 s
  5799. 74 116 t
  5800. 75 117 u
  5801. 76 118 v
  5802. 77 119 w
  5803. 78 120 x
  5804. 79 121 y
  5805. 7A 122 z
  5806. 7B 123 {
  5807. 7C 124
  5808. 7D 125 }
  5809. 7E 126 ~ Tilde
  5810. 7F 127 DEL Delete
  5811. Baudot
  5812. This is the telex/telegraphy code known to the CCITT as International
  5813. Alphabet No 2. It is essentially a 5-bit code, bracketed by a start
  5814. bit (space) and a stop bit (mark). Idling is shown by 'mark'. The
  5815. code only supports capital letters, figure and two 'supervisory'
  5816. codes: 'Bell' to warn the operator at the far end and 'WRU'--'Who are
  5817. you?' to interrogate the far end 'Figures' changes all characters
  5818. received after to their alternates and 'Letters' switches back. The
  5819. letters/figures shift is used to give the entire character set.
  5820. ** Page 135
  5821. Viewdata
  5822. This is the character set used by the UK system, which is the most
  5823. widely used, world-wide. The character-set has many features in
  5824. common with ASCII but also departs from it in significant ways,
  5825. notably to provide various forms of graphics, colour controls,
  5826. Hacker's Handbook
  5827. file:///E|/Books/Hackers Handbook.htm (124 of 133) [11/28/2000 5:58:50 AM]
  5828. screen-clear (ctrl L) etc. The set is shared with teletext which in
  5829. itself requires further special codes, e.g. to enable sub-titling to
  5830. broadcast television, news flash etc. If you are using proper
  5831. viewdata software, then everything will display properly; if you are
  5832. using a conventional terminal emulator then the result may look
  5833. confusing. Each character consists of 10 bits:
  5834. Start binary 0
  5835. 7 bits of character code
  5836. Parity bit even
  5837. Stop binary 1
  5838. ENQ (Ctrl E) is sent by the host on log-on to initiate the
  5839. auto-log-on from the user's terminal. If no response is obtained, the
  5840. user is requested to input the password manually. Each new page
  5841. sequence opens with a clear screen instruction (Ctrl L, CHR$12)
  5842. followed by a home (Ctrl M, CHR$14).
  5843. Some viewdata services are also available via standard asynchronous
  5844. 300/300 ports (Prestel is, for example); in these cases, the graphics
  5845. characters are stripped out and replaced by ****s; and the pages will
  5846. scroll up the screen rather than present themselves in the
  5847. frame-by-frame format.
  5848. ** Page 136
  5849. *** Original contains a diagram of Viewdata Graphic Character Set.
  5850. ** Page 137
  5851. If you wish to edit to a viewdata system using a normal keyboard,
  5852. or view a viewdata stream as it comes from a host using
  5853. 'control-show' facilities, the table below gives the usual
  5854. equivalents. The normal default at the left-hand side of each line is
  5855. alphanumeric white. Each subsequent 'attribute', i.e. if you wish to
  5856. change to colour, or a variety of graphics, occupies a character
  5857. space. Routing commands and signals to start and end edit depend on
  5858. the software installed on the viewdata host computer: in Prestel
  5859. compatible systems, the edit page is *910#, options must be entered
  5860. in lower case letters and end edit is called by <esc>K.
  5861. esc A alpha red esc Q graphics red
  5862. esc B alpha green esc R graphics green
  5863. esc C alpha yellow esc S graphics yellow
  5864. esc D alpha blue esc T graphics blue
  5865. esc E alpha magenta esc U graphics magenta
  5866. esc F alpha cyan esc V graphics cyan
  5867. esc G alpha white esc W graphics white
  5868. esc H flash esc I steady
  5869. esc L normal height esc M double height
  5870. esc Y contiguous graphics esc Z separated graphics
  5871. esc ctrl D black background esc-shift M new background
  5872. (varies)
  5873. esc J start edit esc K end edit
  5874. Hacker's Handbook
  5875. file:///E|/Books/Hackers Handbook.htm (125 of 133) [11/28/2000 5:58:50 AM]
  5876. EBCDIC
  5877. The Extended Binary Coded Decimal Interchange Code is a 256-state
  5878. 8-bit extended binary coded digit code employed by IBM for internal
  5879. purposes and is the only important exception to ASCII. Not all 256
  5880. codes are utilised, being reserved for future expansion, and a number
  5881. are specially identified for application- specific purposes. In
  5882. transmission, it is usual to add a further digit for parity checking.
  5883. Normally the transmission mode is synchronous, so there are no
  5884. 'start' and 'stop' bits. The table shows how EBCDIC compares with
  5885. ASCII of the same bit configuration.
  5886. ** Page 138
  5887. IBM control characters:
  5888. EBCDIC bits Notes
  5889. NUL 0000 0000 Nul
  5890. SOH 0000 0001 Start of Heading
  5891. STX 0000 0010 Start of Text
  5892. ETX 0000 0011 End of Text
  5893. PF 0000 0100 Punch Off
  5894. HT 0000 0101 Horizontal Tab
  5895. LC 0000 0110 Lower Case
  5896. DEL 0000 0111 Delete
  5897. 0000 1000
  5898. RLF 0000 1001 Reverse Line Feed
  5899. SMM 0000 1010 Start of Manual Message
  5900. VT 0000 1011 Vertical Tab
  5901. FF 0000 1100 Form Feed
  5902. CR 0000 1101 Carriage Return
  5903. SO 0000 1110 Shift Out
  5904. Sl 0000 1111 Shift In
  5905. DLE 0001 0000 Data Link Exchange
  5906. DC1 0001 0001 Device Control 1
  5907. DC2 0001 0010 Device Control 2
  5908. TM 0001 0011 Tape Mark
  5909. RES 0001 0100 Restore
  5910. NL 0001 0101 New Line
  5911. BS 0001 0110 Back Space
  5912. IL 0001 0111 Idle
  5913. CAN 0001 1000 Cancel
  5914. EM 0001 1001 End of Medium
  5915. CC 0001 1010 Cursor Control
  5916. CU1 0001 1011 Customer Use 1
  5917. IFS 0001 1100 Interchange File Separator
  5918. IGS 0001 1101 Interchange Group Separator
  5919. IRS 0001 1110 Interchange Record Separator
  5920. IUS 0001 1111 Interchange Unit Separator
  5921. DS 0010 0000 Digit Select
  5922. SOS 0010 0001 Start of Significance
  5923. FS 0010 0010 Field Separator
  5924. 0010 0011
  5925. BYP 0010 0100 Bypass
  5926. Hacker's Handbook
  5927. file:///E|/Books/Hackers Handbook.htm (126 of 133) [11/28/2000 5:58:50 AM]
  5928. LF 0010 0101 Line Feed
  5929. ETB 0010 0110 End of Transmission Block
  5930. ** Page 139
  5931. EBCDIC bits Notes
  5932. ESC 0010 0111 Escape
  5933. 0010 1000
  5934. 0010 1001
  5935. SM 0010 1010 Set Mode
  5936. CU2 0010 1011 Customer Use 1
  5937. 0010 1100
  5938. ENQ 0010 1101 Enquiry
  5939. ACK 0010 1110 Acknowledge
  5940. BEL 0010 1111 Bell
  5941. 0011 0000
  5942. 0011 0001
  5943. SYN 0011 0010 Synchronous Idle
  5944. 0011 0011
  5945. PN 0011 0100 Punch On
  5946. RS 0011 0101 Reader Stop
  5947. UC 0011 0110 Upper Case
  5948. EOT 0011 0111 End of Transmission
  5949. 0011 1000
  5950. 0011 1001
  5951. 0011 1010
  5952. CU3 0011 1011 Customer Use 3
  5953. DC4 0011 1100 Device Control 4
  5954. NAK 0011 1101 Negative Acknowledge
  5955. 0011 1110
  5956. SUB 0011 1111 Substitute
  5957. SP 0100 0000 Space
  5958. ** Page 140
  5959. APPENDIX V
  5960. Modems and Services
  5961. The table below shows all but two of the types of service you are likely to
  5962. come across; V-designators are the world-wide 'official names given by the
  5963. CCITT; Bell-designators are the US names:
  5964. Service Speed Duplex Transmit Receive Answer
  5965. Designator 0 1 0 1
  5966. V21 orig 300(*) full 1180 980 1850 1650 -
  5967. V21 ans 300(*) full 1850 1650 1180 980 2100
  5968. V23 (1) 600 half 1700 1300 1700 1300 2100
  5969. V23 (2) 1200 f/h(**) 2100 1300 2100 1300 2100
  5970. V23 back 75 f/h(**) 450 390 450 390 -
  5971. Bell 103 orig 300(*) full 1070 1270 2025 2225 -
  5972. Hacker's Handbook
  5973. file:///E|/Books/Hackers Handbook.htm (127 of 133) [11/28/2000 5:58:50 AM]
  5974. Bell 103 ans 300(*) full 2025 2225 1070 1270 2225
  5975. Bell 202 1200 half 2200 1200 2200 1200 2025
  5976. (*)any speed up to 300 baud, can also include 75 and 110 baud
  5977. services
  5978. (**)service can either be half-duplex at 1200 baud or asymmetrical
  5979. full duplex, with 75 baud originate and 1200 baud receive (commonly
  5980. used as viewdata user) or 1200 transmit and 75 receive (viewdata
  5981. host)
  5982. The two exceptions are:
  5983. V22 1200 baud full duplex, two wire
  5984. Bell 212A The US equivalent
  5985. Both these services operate by detecting phase as well as tone.
  5986. British Telecom markets the UK services under the name of Datel as
  5987. follows--for simplicity The list covers only those services which use
  5988. the PTSN or are otherwise easily accessible--4-wire services, for
  5989. example are excluded.
  5990. ** Page 141
  5991. Datel Speed Mode Remarks
  5992. 100(H) 50 async Teleprinters, Baudot code
  5993. 100(J) 75-110 async News services etc, Baudot code
  5994. 50 async Telex service, Baudot code
  5995. 200 300 async full duplex, ASCII
  5996. 400 600 Hz async out-station to in-station only
  5997. 600 1200 async several versions exist--for 1200
  5998. half-duplex; 75/1200 for viewdata
  5999. users; 1200/75forviewdata hosts; and
  6000. a rare 600 variant. The 75 speed is
  6001. technically only for supervision but
  6002. gives asymetrical duplex
  6003. BT has supplied the following modems for the various services-- the
  6004. older ones are now available on the 'second-user' market:
  6005. Modem No Remarks
  6006. 1200 half-duplex--massive
  6007. 2 300 full-duplex--massive
  6008. 11 4800 synchronous--older type
  6009. 12 2400/1200 synchronous
  6010. 13 300 full-duplex--plinth type
  6011. 20(1) 1200 half-duplex--'shoe-box' style
  6012. (2) 1200/75 asymetrical duplex--'shoe-box' style
  6013. (3) 75/1200 asymetrical duplex--'shoe-box' style
  6014. 21 300 full-duplex--modern type
  6015. 22 1200 half-duplex--modern type
  6016. 24 4800 synchronous--modern type (made by Racal)
  6017. 27A 1200 full duplex, sync or async (US made &
  6018. modified from Bell 212A to CCITT tones)
  6019. Hacker's Handbook
  6020. file:///E|/Books/Hackers Handbook.htm (128 of 133) [11/28/2000 5:58:50 AM]
  6021. 27B 1200 full duplex, sync or async (UK made)
  6022. You should note that some commercial 1200/1200 full duplex modems
  6023. also contain firmware providing ARQ error correction protocols;
  6024. modems on both ends of the line must have the facilities, of course.
  6025. ** Page 142
  6026. BT Line Connectors
  6027. Modems can be connected directly to the BT network ('hard- wired')
  6028. simply by identifying the pair that comes into the building. Normally
  6029. the pair you want are the two outer wires in a standard 4 x 2 BT
  6030. junction box. (The other wires are the 'return' or to support a
  6031. 'ringing' circuit.)
  6032. A variety of plugs and sockets have been used by BT. Until
  6033. recently, the standard connector for a modem was a 4-ring jack, type
  6034. 505, to go into a socket 95A. Prestel equipment was terminated into a
  6035. similar jack, this time with 5 rings, which went into a socket type
  6036. 96A. However, now all phones, modems, viewdata sets etc, are
  6037. terminated in the identical modular jack, type 600. The corresponding
  6038. sockets need special tools to insert the line cable into the
  6039. appropriate receptacles.
  6040. Whatever other inter-connections you see behind a socket, the two
  6041. wires of the twisted pair are the ones found in the centres of the
  6042. two banks of receptacles. North America also now uses a modular jack
  6043. and socket system, but not one which is physically compatible with UK
  6044. designs...did you expect otherwise?
  6045. ** Page 143
  6046. APPENDIX VI
  6047. The Radio Spectrum
  6048. The table gives the allocation of the radio frequency spectrum up
  6049. 30 MHz. The bands in which radio-teletype and radio-data traffic are
  6050. most common are those allocated to 'fixed' services, but data traffic
  6051. is also found in the amateur and maritime bands.
  6052. LF,MF,HF, RADIO FREQUENCY SPECTRUM TABLE
  6053. 9 -- 14 Radionavigation
  6054. 14 -- 19.95 Fixed/Maritime mobile
  6055. 20 Standard Frequency & Time
  6056. 20.05 -- 70 Fixed & Maritime mobile
  6057. 70 -- 90 Fixed/Maritime mobile/Radionavigation
  6058. 90 -- 110 Radionavigation
  6059. Hacker's Handbook
  6060. file:///E|/Books/Hackers Handbook.htm (129 of 133) [11/28/2000 5:58:50 AM]
  6061. 110 -- 130 Fixed/Maritime mobile/Radionavigation
  6062. 130 -- 148.5 Maritime mobile/Fixed
  6063. 148.5 -- 255 Broadcasting
  6064. 255 -- 283.5 Broadcasting/Radionavigation(aero)
  6065. 283.5 -- 315 Maritime/Aeronautical navigation
  6066. 315 -- 325 Aeronautical radionavigation/Maritime
  6067. radiobeacons
  6068. 325 -- 405 Aeronautical radionavigation
  6069. 405 -- 415 Radionavigation (410 = DF)
  6070. 415 -- 495 Aeronautical radionavigation/Maritime mobile
  6071. 495 -- 505 Mobile (distress & calling) > 500:cw&rtty
  6072. 505 -- 526.5 Maritime mobile/Aeronautical navigation
  6073. 526.5 -- 1606.5 Broadcasting
  6074. 1606.5 -- 1625 Maritime mobile/Fixed/Land mobile
  6075. 1625 -- 1635 Radiolocation
  6076. 1635 -- 1800 Maritime mobile/Fixed/Land mobile
  6077. 1800 -- 1810 Radiolocation
  6078. 1810 -- 1850 Amateur
  6079. 1850 -- 2000 Fixed/Mobile
  6080. ** Page 144
  6081. 2000 -- 2045 Fixed/Mobile
  6082. 2045 -- 2160 Maritime mobile/Fixed/Land mobile
  6083. 2160 -- 2170 Radiolocation
  6084. 2170 -- 2173.5 Maritime mobile
  6085. 2173.5 -- 2190.5 Mobile (distress & calling) >2182--voice
  6086. 2190.5 -- 2194 Maritime & Mobile
  6087. 2194 -- 2300 Fixed & Mobile
  6088. 2300 -- 2498 Fixed/Mobile/Broadcasting
  6089. 2498 -- 2502 Standard Frequency & Time
  6090. 2502 -- 2650 Maritime mobile/Maritime radionavigation
  6091. 2650 -- 2850 Fixed/Mobile
  6092. 2850 -- 3025 Aeronautical mobile (R)
  6093. 3025 -- 3155 Aeronautical mobile (OR)
  6094. 3155 -- 3200 Fixed/Mobile/Low power hearing aids
  6095. 3200 -- 3230 Fixed/Mobile/Broadcasting
  6096. 3230 -- 3400 Fixed/Mobile/Broadcasting
  6097. 3400 -- 3500 Aeronautical mobile (R)
  6098. 3500 -- 3800 Amateur/Fixed/Mobile
  6099. 3800 -- 3900 Fixed/Aeronautical mobile (OR)
  6100. 3900 -- 3930 Aeronautical mobile (OR)
  6101. 3930 -- 4000 Fixed/Broadcasting
  6102. 4000 -- 4063 Fixed/Maritime mobile
  6103. 4063 -- 4438 Maritime mobile
  6104. 4438 -- 4650 Fixed/Mobile
  6105. 4650 -- 4700 Aeronautical mobile (R)
  6106. 4700 -- 4750 Aeronautical mobile (OR)
  6107. 4750 -- 4850 Fixed/Aeronautical mobile (OR)/
  6108. Land mobile/Broadcasting
  6109. 4850 -- 4995 Fixed/Land mobile/Broadcasting
  6110. Hacker's Handbook
  6111. file:///E|/Books/Hackers Handbook.htm (130 of 133) [11/28/2000 5:58:50 AM]
  6112. 4995 -- 5005 Standard Frequency & Time
  6113. 5005 -- 5060 Fixed/Broadcasting
  6114. 5060 -- 5450 Fixed/Mobile
  6115. 5450 -- 5480 Fixed/Aeronautical mobile (OR)/Land mobile
  6116. 5480 -- 5680 Aeronautical mobile (R)
  6117. 5680 -- 5730 Aeronautical mobile (OR)
  6118. 5730 -- 5950 Fixed/Land mobile
  6119. 5950 -- 6200 Broadcasting
  6120. 6200 -- 6525 Maritime mobile
  6121. 6525 -- 6685 Aeronautical mobile (R)
  6122. 6685 -- 6765 Aeronautical mobile ~OR)
  6123. 6765 -- 6795 Fixed/lSM
  6124. 7000 -- 7100 Amateur
  6125. 7100 -- 7300 Broadcasting
  6126. 7300 -- 8100 Maritime mobile
  6127. ** Page 145
  6128. 8100 -- 8195 Fixed/Maritime mobile
  6129. 8195 -- 8815 Maritime mobile
  6130. 8815 -- 8965 Aeronautical mobile (R)
  6131. 8965 -- 9040 Aeronautical mobile ~OR)
  6132. 9040 -- 9500 Fixed
  6133. 9500 -- 9900 Broadcasting
  6134. ggoo -- 9995 Fixed
  6135. 9995 -- 10005 Standard Frequency & Time
  6136. 10005 -- 10100 Aeronautical mobile (R)
  6137. 10100 -- 10150 Fixed/Amateur(sec)
  6138. 10150 -- 11175 Fixed
  6139. 11175 -- 11275 Aeronautical mobile (OR)
  6140. 11275 -- 11400 Aeronautical mobile (R)
  6141. 11400 -- 11650 Fixed
  6142. 11650 -- 12050 Broadcasting
  6143. 2050 -- 12230 Fixed
  6144. 12230 -- 13200 Maritime mobile
  6145. 13200 -- 13260 Aeronautical mobile (OR)
  6146. 13260 -- 13360 Aeronautical mobile (R)
  6147. 13360 -- 13410 Fixed/Radio Astronomy
  6148. 13410 -- 13600 Fixed
  6149. 13600 -- 13800 Broadcasting
  6150. 13800 -- 14000 Fixed
  6151. 14000 -- 14350 Amateur
  6152. 14350 -- 14990 Fixed
  6153. 14990 -- 15010 Standard Frequency & Time
  6154. 15010 -- 15100 Aeronautical mobile (OR)
  6155. 15100 -- 15600 Broadcasting
  6156. Hacker's Handbook
  6157. file:///E|/Books/Hackers Handbook.htm (131 of 133) [11/28/2000 5:58:50 AM]
  6158. 15600 -- 16360 Fixed
  6159. 16360 -- 17410 Maritime mobile
  6160. 17410 -- 17550 Fixed
  6161. 17550 -- 17900 Broadcasting
  6162. 17900 -- 17970 Aeronautical mobile (R)
  6163. 17970 -- 18030 Aeronautical mobile (OR)
  6164. 18030 -- 18052 Fixed
  6165. 18052 -- 18068 Fixed/Space Research
  6166. 18068 -- 18168 Amateur
  6167. 18168 -- 18780 Fixed
  6168. 18780 -- 18900 Maritime mobile
  6169. 18900 -- 19680 Fixed
  6170. ** Page 146
  6171. 19680 -- 19800 Maritime mobile
  6172. 19800 -- 19990 Fixed
  6173. 19990 -- 20010 Standard Frequency & Time
  6174. 20010 -- 21000 Fixed
  6175. 21000 -- 21450 Amateur
  6176. 21450 -- 21850 Broadcasting
  6177. 21850 -- 21870 Fixed
  6178. 21870 -- 21924 Aeronautical fixed
  6179. 21924 -- 22000 Aeronautical (R)
  6180. 22000 -- 22855 Maritime mobile
  6181. 22855 -- 23200 Fixed
  6182. 23200 -- 23350 Aeronautical fixed & mobile (R)
  6183. 23350 -- 24000 Fixed/Mobile
  6184. 24000 -- 24890 Fixed/Land mobile
  6185. 24890 -- 24990 Amateur
  6186. 24990 -- 25010 Standard Frequency & Time
  6187. 25010 -- 25070 Fixed/Mobile
  6188. 25070 -- 25210 Maritime mobile
  6189. 25210 -- 25550 Fixed/Mobile
  6190. 25550 -- 25670 Radio Astronomy
  6191. 25670 -- 26100 Broadcasting
  6192. 26100 -- 26175 Maritime mobile
  6193. 26175 -- 27500 Fixed/Mobile (CB) (26.975-27.2835 ISM)
  6194. 27500 -- 28000 Meteorological aids/Fixed/Mobile (CB)
  6195. 28000 -- 29700 Amateur
  6196. 29700 -- 30005 Fixed/Mobile
  6197. Note: These allocations are as they apply in Europe, slight variations occur
  6198. in other regions of the globe.
  6199. ** Page 147
  6200. APPENDIX VII
  6201. Port-finder Flowchart
  6202. Hacker's Handbook
  6203. file:///E|/Books/Hackers Handbook.htm (132 of 133) [11/28/2000 5:58:50 AM]
  6204. This flow-chart will enable owners of auto-diallers to carry out
  6205. an automatic search of a range of telephone numbers to determine
  6206. which of them have modems hanging off the back.
  6207. It's a flow-chart and not a program listing, because the whole
  6208. exercise is very hardware dependent: you will have to determine what
  6209. sort of instructions your auto-modem will accept, and in what form;
  6210. you must also see what sort of signals it can send back to your
  6211. computer so that your program can 'read' them.
  6212. You will also need to devise some ways of sensing the phone line,
  6213. whether it has been seized, whether you are getting 'ringing', if
  6214. there is an engaged tone, a voice, a number obtainable tone, or a
  6215. modem whistle. Line seizure detect, if not already available on your
  6216. modem, is simply a question of reading the phone line voltage; the
  6217. other conditions can be detected with simple tone decoder modules
  6218. based on the 567 chip.
  6219. The lines from these detectors should then be brought to a A/D
  6220. board which your computer software can scan and read.
  6221. ** End of File
  6222. :-)
  6223. X-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-X
  6224. Another file downloaded from: & the Temple of the Screaming Electron
  6225. NIRVANAnet(tm) HQ (510) 935-5845
  6226. ! \ AREA CODE WILL BE (925) AS OF 03/98
  6227. -$- -------- *
  6228. ! . / Raw Data for Raw Nerves
  6229. /_\ /-o-\ Information * Innuendo * Lies
  6230. (o..) | * Full access for first-time callers
  6231. + |:| /^\ /~\ Thousands of text files * Multi-line Chat
  6232. ! |:|/\ _| |____|:| We don't want to know who you are, where you
  6233. /^\ / O |/...\ /_-_\ live, or what your phone number is
  6234. |@ \_| @ /:::::|/|- : -| We are not Big Brother
  6235. | | | /~ |/| _ |
  6236. |____|/~ @ /~\ |/|_(_)_| Free Speech * Anonymous Access * User-Supported
  6237. /_______|_|_|/ To make a $10 donation call (900)443-4227 x145
  6238. X-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-X
  6239. Hacker's Handbook
  6240. file:///E|/Books/Hackers Handbook.htm (133 of 133) [11/28/2000 5:58:50 AM]
Add Comment
Please, Sign In to add comment