Showing posts with label hacking. Show all posts
Showing posts with label hacking. Show all posts

'No one is ready for this'

A few years ago, the idea of hackers bringing the world to the brink of catastrophe was just a fun Hollywood plotline. Now, cyber-attacks are on the rise and Nato's top computer experts have gathered in a military base in Estonia to prepare cyberwar defences

A Nato base in Tallinn, Estonia, established to combat cybercrime

Nato base in Tallinn, Estonia, established to combat cybercrime. Photograph: Christian Sinibaldi

Back in 1983, the world was a simpler place. The economy looked healthy, there were only four channels on the TV - and, if you believed Hollywood at least, the biggest threat to world security was a pimply teenager with a computer. Matthew Broderick's turn in the film WarGames, as a nerdy kid who accidentally blunders into a highly classified computer system that controls the US nuclear arsenal and proceeds to take the world to the brink of nuclear war, didn't win many awards. But it made its mark on millions of people around the world - and introduced us to the stereotype of the precocious young hacker.

The film plugged into every paranoid star-wars fantasy from the Reagan era but now it is unlikely to elicit more than a snigger. The prospect of a cyberwar launched by someone too young to drink is, frankly, ridiculous. Isn't it?


Bobbie Johnson visits the cyberwarfare HQ. Link to this audio In fact, the implications of a cyberwar are, right now, being carefully considered by intelligence chiefs in Britain and around the western world. Their nightmare? A co-ordinated strike that targets businesses, public services, central government, the financial sector and communication systems.

In the worst-case scenario, what might start slowly - a few propaganda messages here, a hacked website there - could quickly spread. The already hammered British economy might soon be crippled as the nation's bank accounts are drained of their funds - stripping billions out of people's hands in seconds - and major online shops including eBay and Amazon fail.

Elsewhere, communications networks could come under fire, with phone, internet and mobile systems quickly collapsing. The transport network might fail, too, causing air-traffic control computers to go haywire, rail systems to break down, traffic light systems to be reprogrammed.

The ensuing chaos would create panic around the country, with airports from Heathrow to Glasgow on high alert, facing the horrifying prospect of midair collisions as the aircraft above them are fed wrong information. While the emergency services struggle to cope with the confusion, they could fall victim to attacks themselves. A stream of fake messages and alerts might send fire engines to the wrong locations, and ambulances to hospitals already filled with patients.

And the coup de grace? Hidden programs inside the country's electricity grid might then jump to life, shutting down power supplies, creating targeted blackouts, even sending nuclear reactors into freefall.

Such a doomsday scenario might sound drastic - more of a cyber-apocalypse than a cyber-attack - but it is one that has been outlined many times by the Metropolitan Police, MI5 and the Joint Intelligence Committee. The US Navy investigator and cybercrime specialist Kenneth Geers characterises the typical response of powerful individuals as they hear this doomsday scenario outlined as a sort of unbridled terror inspired by technology. "More than one senior official said they've had so many cyber-briefings now that they don't want to turn their computers on any more," he says.

Geers identifies a number of potential weak spots in the system, including websites of "pure economic value" (such as banks and online shops) as well as telecommunications systems and the electricity grid.

"In the worst case? [Someone] invading your own infrastructure and using your own tools against you," he says. "Tell your troops to move in the wrong direction, or your missiles to fire on your own cities ... anything in your imagination."

Hidden in the shadow of crumbling Soviet tower blocks on the outskirts of the Estonian capital Tallinn sits a compact military post that looks pretty much like any other. The base carries the official name of Cooperative Cyber Defence Centre of Excellence, but is usually referred to by the code name K5. Soldiers march across the small parade ground, passing a selection of camouflaged vehicles as they troop to and fro. Heavy weaponry is dotted around the buildings, while on one side of the plot a discreet armoury holds a stock of emergency weapons.

Behind the security gates and razor wire, however, this is a different kind of military operation - the unlikely frontline in Nato's attempt to prevent a global cyberwar. K5 is where the alliance's top computer experts - high-ranking researchers, academics and security specialists - work in teams to analyse potential cyberthreats, and predict exactly how Nato will fight virtual wars in the future.

Since the centre opened last year, few people have been granted a glimpse inside - but I am being given the chance to see exactly what takes place here. And so I find myself standing opposite Rain Ottis, a stout, serious-looking Estonian computer scientist who speaks flawless English, in the corner of K5's mess room. It would be easy to forget that this is a military station were it not for the fact he is wearing fatigues. I'm holding a cup of weak coffee in a Nato mug, and watching as a light rain starts falling on the barracks next door.
Ottis speaks with a calm voice, but is forceful about how we might need to respond to a future cyber-strike. His solution? Overwhelming response: a single, gigantic counter-strike that cripples the target and warns anyone else off launching a future cyberwar. He isn't sure what it would look like, but the show of force he envisages is so severe that the only thing he can compare it to is a nuclear attack - meaning, of course, that K5 could be the virtual equivalent of the Manhattan Project, the US-led secret programme to develop the atomic bomb.

"Obviously nuclear weapons do a lot more damage than a cyber-weapon would do in a physical sense - but a single cyber-weapon could have global consequences," he says. It feels as if we have come full circle from the contrived Hollywood paranoia of WarGames.

Fears over computerised warfare stretch back many years, but it was only in the early 1990s - when the internet started to become a more widely accepted technology - that researchers at Rand, the Pentagon thinktank, first coined the term "cyberwar". In a prescient 1993 paper, "Cyberwar is coming!", the analysts John Arquilla and David Ronfeldt argued that an online battle waged between two nations was almost inevitable - but that at least it would be less destructive than full-blown conflict.

Many of the cyber-attacks that have been identified in recent years have been linked back to China, which now has more internet users than anywhere in the world, and Russia. The growing animosity surrounding these reported strikes is developing into a new sort of cold war, played out by teams of cyber-spies sitting at computers in opposite corners of the globe.

Recent examples that have raised the tension include a hi-tech spy group known as Titan Rain, which successfully infected government computers in Britain, America and Germany, and GhostNet, a cyber-espionage network which targeted supporters of a free Tibet. Both were said to come from China, and possibly be directly linked to the People's Liberation Army - although researchers couldn't agree on the evidence. University of Cambridge researchers claim it was definitely the product of "agents of the Chinese government", while their colleagues at the University of Toronto say that it is too easy to presume guilt.
"Certainly Chinese cyber-espionage is a major global concern," the Canadian experts wrote in a report on GhostNet. "But attributing all Chinese malware to deliberate or targeted intelligence-gathering operations by the Chinese state is wrong and misleading."

Then, last week, it was widely reported that the US's power grid had succumbed to hackers. Given that America's security services are scrabbling for the attention of their new president, there's plenty of reason to be sceptical about these unsubstantiated and largely anonymous reports (American security whizz Kevin Poulsen says the timing of this uncheckable story is "unusually opportune"). Regardless, such stories are enough to convince the powers-that-be to take action: last week it emerged that the US Congress is considering legislation to massively increase the country's cyber-defences - including, potentially, a single official who is in charge of keeping civil systems, military networks and public utilities safe.

Inside Nato's own cyber-defence HQ in Estonia, the day-to-day business at K5 largely involves people staring at computer screens. Those expecting a vast, hi-tech control centre worthy of Nasa would probably be disappointed by the austere surroundings, which look more like they were lifted from a university hall than MI5 headquarters. Essentially, the centre is a hybrid of a global listening post and a thinktank. The 30 experts stationed here are tasked with gathering and processing intelligence and information, then giving scientists the information to simulate possible responses to cyber-attack.

The group is drawn from a range of Nato countries, and they spend their days analysing data that streams in from around the internet. One of those stationed at K5 is Geers, the author of a book called Cyber Jihad and the Globalisation of Warfare. Tall, slim, dark-haired and wearing civilian clothes, he tells me that we are paying the price for a headlong rush into using technologies without thinking through the potential consequences.

"In certain ways, this is a golden age for attackers," he says, in a careful voice. "Over the past 15 years, the world has rushed to connect networks together because they want to use their power. But the rush to connect everything to the internet was ahead of security."

With so much of the world now connected to the internet - billions of computers and mobile phones across a multitude of homes, banks, schools, shops and elsewhere - it is ripe for attackers to exploit the gaps in security. "It's a very big challenge for us to be able to leverage networks and the power of computers, while at the same time securing them."

In a side room, Geers' colleague Ottis tells me: "Espionage is something that countries and governments accept - it's always been there, and always will. But if we see attacks that target the citizen? That's different."
There is a particular reason for Ottis and his fellow Estonians to be concerned about the threat of cyberwar: in 2007, Estonia itself was the target of a massive internet assault, allegedly sparked by a political disagreement with Russia. Over the course of several weeks, Estonia's government, banking and commercial sectors endured a sustained barrage of online attacks that brought parts of the system - one of the most advanced and internet-friendly in the world - grinding to a halt.

Although the Estonians imply that the campaign was sponsored by the Kremlin, K5 officials admit they can offer no proof. But whoever was ultimately responsible, the strikes highlighted fears that technology is the weapon at the forefront of a new sort of cold war.

"This is definitely not science fiction any more," says Ottis. "We have plenty of examples where nation states have actually been involved - both on the offensive and the defensive side. Cyber-attacks are very efficient. You don't have to fly to the country you're attacking, you don't need a cell somewhere. All you need is a connection. What happens if your country gets targeted by 25,000 well-equipped, well-trained people who work to achieve the same goal? No country is ready for that."

The first step towards a proper cyber-defence is understanding who the actors behind a potential attack might be. But doing that requires information which, for the most part, is impossible to find. "Defence against cyberwarfare is extremely difficult," explains Peter Sommer, a computer security specialist and visiting professor at the London School of Economics. "Only the very unskilled leave pointers to their identities and locations."

Skilled hackers can implant targeted viruses inside their victim's computers and leave them to gestate for weeks, months or even years before activating them at a later date. There are numerous examples of such vast, destructive virus strikes - most notably the Conficker worm, which has infected more than 9m PCs worldwide in recent months. Right now nobody knows who created Conficker, or what its target might be. It has yet to fully activate, leaving security groups and antivirus companies on high alert. Some have suggested it is part of a criminal plan to steal identities by the million, or a dangerous cyber-weapon, or that it could simply be a gigantic prank. But even if the worm does prove the spark that ignites a full-blown cyber-conflict, its author would remain almost untraceable.

Just as any hard evidence to suggest the Russian military approved the Estonian cyberattack in 2007 is largely missing, so proving that China or Russia are directly responsible for other attacks is almost impossible. And, experts admit, it would be politically smart for a truly destructive organisation to mask their attacks and make them seem like they originated from a country already under scrutiny.

In truth, it could be almost anybody, almost anywhere. Rudimentary hackers' toolkits are available to buy cheaply online, while an illicit black-market trade in more complex tools takes would-be attackers out of the reach of the authorities on the so-called "darknet". And while a highly intelligent virus such as Conficker may have required some skill to program, other hackers may succeed simply by having the time to experiment rather than any great raw ability. (Gary McKinnon, the Briton accused of hacking into Pentagon computers, bumbled his way into supposedly secure networks by guessing that the password had not been changed from the default "password").

There is also an increasingly blurred line between what action the state sponsors (which would qualify as full-blown international conflict) and what is being done in the name of the state - a sort of guerrilla warfare played out on virtual battlefields. With China's growing power leading to widespread suspicion and criticism in the western media, these groups - a mixture of roguish hackers, disaffected teens and intellectuals frustrated by stereotypes about their culture - see part of their job as defending the homeland, even while they reserve the right to criticise it from the inside.

Rebecca MacKinnon, a Hong Kong-based journalist and academic, has identified this burgeoning ideology as "cyber-tarianism" - where highly connected citizens are critical of government repression but fiercely nationalistic at the same time.

"A lot of people don't want a western-style democracy," she told a conference in California last month. "Before the Olympics last year, Chinese students protested all over the world at what they saw as biased western media accounts." These protests included a series of large-scale hacking attacks - on large targets such as the news channel CNN, and small ones such as pro-Tibet websites, which temporarily disabled them.
In China and Russia, this cyberforce is reckoned to be becoming more powerful - and more destructive. Dissident Russian nationalists have also been blamed for the Estonia attacks, while similar groups are appearing in other countries around the globe as internet connectivity spreads. Armed with technical know-how and a passionate cause, these ad hoc groups of individuals would seem increasingly important in the way these conflicts are playing out.

But it's still difficult to imagine what would actually happen if a full-blown cyberwar ever did take place. After all, movies like WarGames - stuffed with Hollywood exaggerations - surely stretch the limits of what can happen. Don't they?

A Novice's Guide to Hacking

+++++++++++++++++++++++++++++++++++++++++++++++++
               |              The LOD/H Presents               |
++++++++++++++++                                               ++++++++++++++++
 \                 A Novice's Guide to Hacking- 1989 edition                 /
  \                =========================================                /
   \                                  by                                   /
    \                             The Mentor                              /
     \                  Legion of Doom/Legion of Hackers                 /
      \                                                                 /
       \                        December, 1988                         /
        \                  Merry Christmas Everyone!                  /
         \+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/

    **********************************************************************
    |  The author hereby grants permission to reproduce, redistribute,   |
    |  or include this file in your g-file section, electronic or print  |
    |  newletter, or any other form of transmission that you choose, as  |
    |  long as it is kept intact and whole, with no ommissions, delet-   |
    |  ions, or changes.  (C) The Mentor- Phoenix Project Productions    |
    |                                     1988,1989  XXX/XXX-XXXX        |
    **********************************************************************

Introduction: The State of the Hack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   After surveying a rather large g-file collection, my attention was drawn to
the fact that there hasn't been a good introductory file written for absolute
beginners since back when Mark Tabas was cranking them out (and almost
*everyone* was a beginner!)  The Arts of Hacking and Phreaking have changed
radically since that time, and as the 90's approach, the hack/phreak community
has recovered from the Summer '87 busts (just like it recovered from the Fall
'85 busts, and like it will always recover from attempts to shut it down), and
the progressive media (from Reality Hackers magazine to William Gibson and
Bruce Sterling's cyberpunk fables of hackerdom) is starting to take notice
of us for the first time in recent years in a positive light.
   Unfortunately, it has also gotten more dangerous since the early 80's.
Phone cops have more resources, more awareness, and more intelligence that they
exhibited in the past.  It is becoming more and more difficult to survive as
a hacker long enough to become skilled in the art.  To this end this file
is dedicated .  If it can help someone get started, and help them survive
to discover new systems and new information, it will have served it's purpose,
and served as a partial repayment to all the people who helped me out when I
was a beginner.

Contents
~~~~~~~~
   This file will be divided into four parts:
       Part 1: What is Hacking, A Hacker's Code of Ethics, Basic Hacking Safety
       Part 2: Packet Switching Networks: Telenet- How it Works, How to Use it,
               Outdials, Network Servers, Private PADs
       Part 3: Identifying a Computer, How to Hack In, Operating System
               Defaults
       Part 4: Conclusion- Final Thoughts, Books to Read, Boards to Call,
               Acknowledgements

Part One: The Basics
~~~~~~~~~~~~~~~~~~~~
    As long as there have been computers, there have been hackers.  In the 50's
at the Massachusets Institute of Technology (MIT), students devoted much time
and energy to ingenious exploration of the computers.  Rules and the law were
disregarded in their pursuit for the 'hack'.  Just as they were enthralled with
their pursuit of information, so are we.  The thrill of the hack is not in
breaking the law, it's in the pursuit and capture of knowledge.
    To this end, let me contribute my suggestions for guidelines to follow to
ensure that not only you stay out of trouble, but you pursue your craft without
damaging the computers you hack into or the companies who own them.

I.    Do not intentionally damage *any* system.
II.   Do not alter any system files other than ones needed to ensure your
      escape from detection and your future access (Trojan Horses, Altering
      Logs, and the like are all necessary to your survival for as long as
      possible.)
III.  Do not leave your (or anyone else's) real name, real handle, or real
      phone number on any system that you access illegally.  They *can* and
      will track you down from your handle!
IV.   Be careful who you share information with.  Feds are getting trickier.
      Generally, if you don't know their voice phone number, name, and
      occupation or haven't spoken with them voice on non-info trading
      conversations, be wary.
V.    Do not leave your real phone number to anyone you don't know.  This
      includes logging on boards, no matter how k-rad they seem.  If you
      don't know the sysop, leave a note telling some trustworthy people
      that will validate you.
VI.   Do not hack government computers.  Yes, there are government systems
      that are safe to hack, but they are few and far between.  And the
      government has inifitely more time and resources to track you down than
      a company who has to make a profit and justify expenses.
VII.  Don't use codes unless there is *NO* way around it (you don't have a
      local telenet or tymnet outdial and can't connect to anything 800...)
      You use codes long enough, you will get caught.  Period.
VIII. Don't be afraid to be paranoid.  Remember, you *are* breaking the law.
      It doesn't hurt to store everything encrypted on your hard disk, or
      keep your notes buried in the backyard or in the trunk of your car.
      You may feel a little funny, but you'll feel a lot funnier when you
      when you meet Bruno, your transvestite cellmate who axed his family to
      death.
IX.   Watch what you post on boards.  Most of the really great hackers in the
      country post *nothing* about the system they're currently working
      except in the broadest sense (I'm working on a UNIX, or a COSMOS, or
      something generic.  Not "I'm hacking into General Electric's Voice Mail
      System" or something inane and revealing like that.)
X.    Don't be afraid to ask questions.  That's what more experienced hackers
      are for.  Don't expect *everything* you ask to be answered, though.
      There are some things (LMOS, for instance) that a begining hacker
      shouldn't mess with.  You'll either get caught, or screw it up for
      others, or both.
XI.   Finally, you have to actually hack.  You can hang out on boards all you
      want, and you can read all the text files in the world, but until you
      actually start doing it, you'll never know what it's all about.  There's
      no thrill quite the same as getting into your first system (well, ok,
      I can think of a couple of bigger thrills, but you get the picture.)

   One of the safest places to start your hacking career is on a computer
system belonging to a college.  University computers have notoriously lax
security, and are more used to hackers, as every college computer depart-
ment has one or two, so are less likely to press charges if you should
be detected.  But the odds of them detecting you and having the personel to
committ to tracking you down are slim as long as you aren't destructive.
   If you are already a college student, this is ideal, as you can legally
explore your computer system to your heart's desire, then go out and look
for similar systems that you can penetrate with confidence, as you're already
familar with them.
   So if you just want to get your feet wet, call your local college.  Many of
them will provide accounts for local residents at a nominal (under $20) charge.
   Finally, if you get caught, stay quiet until you get a lawyer.  Don't vol-
unteer any information, no matter what kind of 'deals' they offer you. 
Nothing is binding unless you make the deal through your lawyer, so you might
as well shut up and wait.

Part Two: Networks
~~~~~~~~~~~~~~~~~~
   The best place to begin hacking (other than a college) is on one of the
bigger networks such as Telenet.  Why?  First, there is a wide variety of
computers to choose from, from small Micro-Vaxen to huge Crays.  Second, the
networks are fairly well documented.  It's easier to find someone who can help
you with a problem off of Telenet than it is to find assistance concerning your
local college computer or high school machine.  Third, the networks are safer.
Because of the enormous number of calls that are fielded every day by the big
networks, it is not financially practical to keep track of where every call and
connection are made from.  It is also very easy to disguise your location using
the network, which makes your hobby much more secure.
   Telenet has more computers hooked to it than any other system in the world
once you consider that from Telenet you have access to Tymnet, ItaPAC, JANET,
DATAPAC, SBDN, PandaNet, THEnet, and a whole host of other networks, all of
which you can connect to from your terminal.
   The first step that you need to take is to identify your local dialup port.
This is done by dialing 1-800-424-9494 (1200 7E1) and connecting.  It will
spout some garbage at you and then you'll get a prompt saying 'TERMINAL='.
This is your terminal type.  If you have vt100 emulation, type it in now.  Or
just hit return and it will default to dumb terminal mode.
   You'll now get a prompt that looks like a @.  From here, type @c mail 
and then it will ask for a Username.  Enter 'phones' for the username. When it
asks for a password, enter 'phones' again.  From this point, it is menu
driven.  Use this to locate your local dialup, and call it back locally.  If
you don't have a local dialup, then use whatever means you wish to connect to
one long distance (more on this later.)
   When you call your local dialup, you will once again go through the
TERMINAL= stuff, and once again you'll be presented with a @.  This prompt lets
you know you are connected to a Telenet PAD.  PAD stands for either Packet
Assembler/Disassembler (if you talk to an engineer), or Public Access Device
(if you talk to Telenet's marketing people.)  The first description is more
correct.
   Telenet works by taking the data you enter in on the PAD you dialed into,
bundling it into a 128 byte chunk (normally... this can be changed), and then
transmitting it at speeds ranging from 9600 to 19,200 baud to another PAD, who
then takes the data and hands it down to whatever computer or system it's
connected to.  Basically, the PAD allows two computers that have different baud
rates or communication protocols to communicate with each other over a long
distance.  Sometimes you'll notice a time lag in the remote machines response.
This is called PAD Delay, and is to be expected when you're sending data
through several different links.
   What do you do with this PAD?  You use it to connect to remote computer
systems by typing 'C' for connect and then the Network User Address (NUA) of
the system you want to go to.
   An NUA takes the form of   031103130002520
                              \___/\___/\___/
                                |    |    |
                                |    |    |____ network address
                                |    |_________ area prefix
                                |______________ DNIC


     This is a summary of DNIC's (taken from Blade Runner's file on ItaPAC)
     according to their country and network name.


DNIC   Network Name    Country          DNIC   Network Name    Country
_______________________________________________________________________________
                                     |
02041   Datanet 1       Netherlands  |  03110   Telenet         USA
02062   DCS             Belgium      |  03340   Telepac         Mexico
02080   Transpac        France       |  03400   UDTS-Curacau    Curacau
02284   Telepac         Switzerland  |  04251   Isranet         Israel
02322   Datex-P         Austria      |  04401   DDX-P           Japan
02329   Radaus          Austria      |  04408   Venus-P         Japan
02342   PSS             UK           |  04501   Dacom-Net       South Korea
02382   Datapak         Denmark      |  04542   Intelpak        Singapore
02402   Datapak         Sweden       |  05052   Austpac         Australia
02405   Telepak         Sweden       |  05053   Midas           Australia
02442   Finpak          Finland      |  05252   Telepac         Hong Kong
02624   Datex-P         West Germany |  05301   Pacnet          New Zealand
02704   Luxpac          Luxembourg   |  06550   Saponet         South Africa
02724   Eirpak          Ireland      |  07240   Interdata       Brazil
03020   Datapac         Canada       |  07241   Renpac          Brazil
03028   Infogram        Canada       |  09000   Dialnet         USA
03103   ITT/UDTS        USA          |  07421   Dompac          French Guiana
03106   Tymnet          USA          |

   There are two ways to find interesting addresses to connect to.  The first
and easiest way is to obtain a copy of the LOD/H Telenet Directory from the
LOD/H Technical Journal #4 or 2600 Magazine.  Jester Sluggo also put out a good
list of non-US addresses in Phrack Inc. Newsletter Issue 21.  These files will
tell you the NUA, whether it will accept collect calls or not, what type of
computer system it is (if known) and who it belongs to (also if known.)
   The second method of locating interesting addresses is to scan for them
manually.  On Telenet, you do not have to enter the 03110 DNIC to connect to a
Telenet host.  So if you saw that 031104120006140 had a VAX on it you wanted to
look at, you could type @c 412 614 (0's can be ignored most of the time.)
   If this node allows collect billed connections, it will say 412 614
CONNECTED and then you'll possibly get an identifying header or just a
Username: prompt.  If it doesn't allow collect connections, it will give you a
message such as 412 614 REFUSED COLLECT CONNECTION with some error codes out to
the right, and return you to the @ prompt.
   There are two primary ways to get around the REFUSED COLLECT message.  The
first is to use a Network User Id (NUI) to connect.  An NUI is a username/pw
combination that acts like a charge account on Telenet.  To collect to node
412 614 with NUI junk4248, password 525332, I'd type the following:
@c 412 614,junk4248,525332  <---- the 525332 will *not* be echoed to the
screen.  The problem with NUI's is that they're hard to come by unless you're
a good social engineer with a thorough knowledge of Telenet (in which case
you probably aren't reading this section), or you have someone who can
provide you with them.
   The second way to connect is to use a private PAD, either through an X.25
PAD or through something like Netlink off of a Prime computer (more on these
two below.)
   The prefix in a Telenet NUA oftentimes (not always) refers to the phone Area
Code that the computer is located in (i.e. 713 xxx would be a computer in
Houston, Texas.)  If there's a particular area you're interested in, (say,
New York City 914), you could begin by typing @c 914 001 .  If it connects,
you make a note of it and go on to 914 002.  You do this until you've found
some interesting systems to play with.
   Not all systems are on a simple xxx yyy address.  Some go out to four or
five digits (914 2354), and some have decimal or numeric extensions
(422 121A = 422 121.01).  You have to play with them, and you never know what
you're going to find.  To fully scan out a prefix would take ten million
attempts per prefix.  For example, if I want to scan 512 completely, I'd have
to start with 512 00000.00 and go through 512 00000.99, then increment the
address by 1 and try 512 00001.00 through 512 00001.99.  A lot of scanning.
There are plenty of neat computers to play with in a 3-digit scan, however,
so don't go berserk with the extensions.
   Sometimes you'll attempt to connect and it will just be sitting there after
one or two minutes.  In this case, you want to abort the connect attempt by
sending a hard break (this varies with different term programs, on Procomm,
it's ALT-B), and then when you get the @ prompt back, type 'D' for disconnect.
   If you connect to a computer and wish to disconnect, you can type  @
 and you it should say TELENET and then give you the @ prompt.  From there,
type D to disconnect or CONT to re-connect and continue your session
uninterrupted.

Outdials, Network Servers, and PADs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In addition to computers, an NUA may connect you to several other things.
One of the most useful is the outdial.  An outdial is nothing more than a modem
you can get to over telenet- similar to the PC Pursuit concept, except that
these don't have passwords on them most of the time.
   When you connect, you will get a message like 'Hayes 1200 baud outdial,
Detroit, MI', or 'VEN-TEL 212 Modem', or possibly 'Session 1234 established
on Modem 5588'.  The best way to figure out the commands on these is to
type ? or H or HELP- this will get you all the information that you need to
use one.
   Safety tip here- when you are hacking *any* system through a phone dialup,
always use an outdial or a diverter, especially if it is a local phone number
to you.  More people get popped hacking on local computers than you can
imagine, Intra-LATA calls are the easiest things in the world to trace inexp-
ensively.
   Another nice trick you can do with an outdial is use the redial or macro
function that many of them have.  First thing you do when you connect is to
invoke the 'Redial Last Number' facility.  This will dial the last number used,
which will be the one the person using it before you typed.  Write down the
number, as no one would be calling a number without a computer on it.  This
is a good way to find new systems to hack.  Also, on a VENTEL modem, type 'D'
for Display and it will display the five numbers stored as macros in the
modem's memory.
   There are also different types of servers for remote Local Area Networks
(LAN) that have many machine all over the office or the nation connected to
them.  I'll discuss identifying these later in the computer ID section.
   And finally, you may connect to something that says 'X.25 Communication
PAD' and then some more stuff, followed by a new @ prompt.  This is a PAD
just like the one you are on, except that all attempted connections are billed
to the PAD, allowing you to connect to those nodes who earlier refused collect
connections.
   This also has the added bonus of confusing where you are connecting from.
When a packet is transmitted from PAD to PAD, it contains a header that has
the location you're calling from.  For instance, when you first connected
to Telenet, it might have said 212 44A CONNECTED if you called from the 212
area code.  This means you were calling PAD number 44A in the 212 area.
That 21244A will be sent out in the header of all packets leaving the PAD.
   Once you connect to a private PAD, however, all the packets going out
from *it* will have it's address on them, not yours.  This can be a valuable
buffer between yourself and detection.

Phone Scanning
~~~~~~~~~~~~~~
   Finally, there's the time-honored method of computer hunting that was made
famous among the non-hacker crowd by that Oh-So-Technically-Accurate movie
Wargames.  You pick a three digit phone prefix in your area and dial every
number from 0000 --> 9999 in that prefix, making a note of all the carriers
you find.  There is software available to do this for nearly every computer
in the world, so you don't have to do it by hand.

Part Three: I've Found a Computer, Now What?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   This next section is applicable universally.  It doesn't matter how you
found this computer, it could be through a network, or it could be from
carrier scanning your High School's phone prefix, you've got this prompt
this prompt, what the hell is it?
   I'm *NOT* going to attempt to tell you what to do once you're inside of
any of these operating systems.  Each one is worth several G-files in its
own right.  I'm going to tell you how to identify and recognize certain
OpSystems, how to approach hacking into them, and how to deal with something
that you've never seen before and have know idea what it is.


VMS-       The VAX computer is made by Digital Equipment Corporation (DEC),
           and runs the VMS (Virtual Memory System) operating system.
           VMS is characterized by the 'Username:' prompt.  It will not tell
           you if you've entered a valid username or not, and will disconnect
           you after three bad login attempts.  It also keeps track of all
           failed login attempts and informs the owner of the account next time
           s/he logs in how many bad login attempts were made on the account.
           It is one of the most secure operating systems around from the
           outside, but once you're in there are many things that you can do
           to circumvent system security.  The VAX also has the best set of
           help files in the world.  Just type HELP and read to your heart's
           content.
           Common Accounts/Defaults:  [username: password [[,password]] ]
           SYSTEM:     OPERATOR or MANAGER or SYSTEM or SYSLIB
           OPERATOR:   OPERATOR
           SYSTEST:    UETP
           SYSMAINT:   SYSMAINT or SERVICE or DIGITAL
           FIELD:      FIELD or SERVICE
           GUEST:      GUEST or unpassworded
           DEMO:       DEMO  or unpassworded
           DECNET:     DECNET


DEC-10-    An earlier line of DEC computer equipment, running the TOPS-10
           operating system.  These machines are recognized by their
           '.' prompt.  The DEC-10/20 series are remarkably hacker-friendly,
           allowing you to enter several important commands without ever
           logging into the system.  Accounts are in the format [xxx,yyy] where
           xxx and yyy are integers.  You can get a listing of the accounts and
           the process names of everyone on the system before logging in with
           the command .systat (for SYstem STATus).  If you seen an account
           that reads [234,1001]   BOB JONES, it might be wise to try BOB or
           JONES or both for a password on this account.  To login, you type
           .login xxx,yyy  and then type the password when prompted for it.
           The system will allow you unlimited tries at an account, and does
           not keep records of bad login attempts.  It will also inform you
           if the UIC you're trying (UIC = User Identification Code, 1,2 for
           example) is bad.
           Common Accounts/Defaults:
           1,2:        SYSLIB or OPERATOR or MANAGER
           2,7:        MAINTAIN
           5,30:       GAMES

UNIX-      There are dozens of different machines out there that run UNIX.
           While some might argue it isn't the best operating system in the
           world, it is certainly the most widely used.  A UNIX system will
           usually have a prompt like 'login:' in lower case.  UNIX also
           will give you unlimited shots at logging in (in most cases), and
           there is usually no log kept of bad attempts.
           Common Accounts/Defaults: (note that some systems are case
           sensitive, so use lower case as a general rule.  Also, many times
           the accounts will be unpassworded, you'll just drop right in!)
           root:       root
           admin:      admin
           sysadmin:   sysadmin or admin
           unix:       unix
           uucp:       uucp
           rje:        rje
           guest:      guest
           demo:       demo
           daemon:     daemon
           sysbin:     sysbin

Prime-     Prime computer company's mainframe running the Primos operating
           system.  The are easy to spot, as the greet you with
           'Primecon 18.23.05' or the like, depending on the version of the
           operating system you run into.  There will usually be no prompt
           offered, it will just look like it's sitting there.  At this point,
           type 'login '.  If it is a pre-18.00.00 version of Primos,
           you can hit a bunch of ^C's for the password and you'll drop in.
           Unfortunately, most people are running versions 19+.  Primos also
           comes with a good set of help files.  One of the most useful
           features of a Prime on Telenet is a facility called NETLINK.  Once
           you're inside, type NETLINK and follow the help files.  This allows
           you to connect to NUA's all over the world using the 'nc' command.
           For example, to connect to NUA 026245890040004, you would type
           @nc :26245890040004 at the netlink prompt.
           Common Accounts/Defaults:
           PRIME       PRIME or PRIMOS
           PRIMOS_CS   PRIME or PRIMOS
           PRIMENET    PRIMENET
           SYSTEM      SYSTEM or PRIME
           NETLINK     NETLINK
           TEST        TEST
           GUEST       GUEST
           GUEST1      GUEST

HP-x000-   This system is made by Hewlett-Packard.  It is characterized by the
           ':' prompt.  The HP has one of the more complicated login sequences
           around- you type 'HELLO SESSION NAME,USERNAME,ACCOUNTNAME,GROUP'.
           Fortunately, some of these fields can be left blank in many cases.
           Since any and all of these fields can be passworded, this is not
           the easiest system to get into, except for the fact that there are
           usually some unpassworded accounts around.  In general, if the
           defaults don't work, you'll have to brute force it using the
           common password list (see below.)  The HP-x000 runs the MPE operat-
           ing system, the prompt for it will be a ':', just like the logon
           prompt.
           Common Accounts/Defaults:
           MGR.TELESUP,PUB                      User: MGR Acct: HPONLY Grp: PUB
           MGR.HPOFFICE,PUB                     unpassworded
           MANAGER.ITF3000,PUB                  unpassworded
           FIELD.SUPPORT,PUB                    user: FLD,  others unpassworded
           MAIL.TELESUP,PUB                     user: MAIL, others
                                                unpassworded
           MGR.RJE                              unpassworded
           FIELD.HPPl89 ,HPPl87,HPPl89,HPPl96   unpassworded
           MGR.TELESUP,PUB,HPONLY,HP3           unpassworded


IRIS-      IRIS stands for Interactive Real Time Information System.  It orig-
           inally ran on PDP-11's, but now runs on many other minis.  You can
           spot an IRIS by the 'Welcome to "IRIS" R9.1.4 Timesharing' banner,
           and the ACCOUNT ID? prompt.  IRIS allows unlimited tries at hacking
           in, and keeps no logs of bad attempts.  I don't know any default
           passwords, so just try the common ones from the password database
           below.
           Common Accounts:
           MANAGER
           BOSS
           SOFTWARE
           DEMO
           PDP8
           PDP11
           ACCOUNTING

VM/CMS-    The VM/CMS operating system runs in International Business Machines
           (IBM) mainframes.  When you connect to one of these, you will get
           message similar to 'VM/370 ONLINE', and then give you a '.' prompt,
           just like TOPS-10 does.  To login, you type 'LOGON '.
           Common Accounts/Defaults are:
           AUTOLOG1:            AUTOLOG or AUTOLOG1
           CMS:                 CMS
           CMSBATCH:            CMS or CMSBATCH
           EREP:                EREP
           MAINT:               MAINT or MAINTAIN
           OPERATNS:            OPERATNS or OPERATOR
           OPERATOR:            OPERATOR
           RSCS:                RSCS
           SMART:               SMART
           SNA:                 SNA
           VMTEST:              VMTEST
           VMUTIL:              VMUTIL
           VTAM:                VTAM

NOS-       NOS stands for Networking Operating System, and runs on the Cyber
           computer made by Control Data Corporation.  NOS identifies itself
           quite readily, with a banner of 'WELCOME TO THE NOS SOFTWARE
           SYSTEM.  COPYRIGHT CONTROL DATA 1978,1987'.  The first prompt you
           will get will be FAMILY:.  Just hit return here.  Then you'll get
           a USER NAME: prompt.  Usernames are typically 7 alpha-numerics
           characters long, and are *extremely* site dependent. Operator
           accounts begin with a digit, such as 7ETPDOC.
           Common Accounts/Defaults:
           $SYSTEM              unknown
           SYSTEMV              unknown

Decserver- This is not truly a computer system, but is a network server that
           has many different machines available from it.  A Decserver will
           say 'Enter Username>' when you first connect.  This can be anything,
           it doesn't matter, it's just an identifier.  Type 'c', as this is
           the least conspicuous thing to enter.  It will then present you
           with a 'Local>' prompt.  From here, you type 'c ' to
           connect to a system.  To get a list of system names, type
           'sh services' or 'sh nodes'.  If you have any problems, online
           help is available with the 'help' command.  Be sure and look for
           services named 'MODEM' or 'DIAL' or something similar, these are
           often outdial modems and can be useful!

GS/1-      Another type of network server.  Unlike a Decserver, you can't
           predict what prompt a GS/1 gateway is going to give you.  The
           default prompt it 'GS/1>', but this is redifinable by the
           system administrator.  To test for a GS/1, do a 'sh d'.  If that
           prints out a large list of defaults (terminal speed, prompt,
           parity, etc...), you are on a GS/1.  You connect in the same manner
           as a Decserver, typing 'c '.  To find out what systems
           are available, do a 'sh n' or a 'sh c'.  Another trick is to do a
           'sh m', which will sometimes show you a list of macros for logging
           onto a system.  If there is a macro named VAX, for instance, type
           'do VAX'.

           The above are the main system types in use today.  There are
           hundreds of minor variants on the above, but this should be
           enough to get you started.
         
Unresponsive Systems
~~~~~~~~~~~~~~~~~~~~
   Occasionally you will connect to a system that will do nothing but sit
there.  This is a frustrating feeling, but a methodical approach to the system
will yield a response if you take your time.  The following list will usually
make *something* happen.
1)  Change your parity, data length, and stop bits.  A system that won't re-
    spond at 8N1 may react at 7E1 or 8E2 or 7S2.  If you don't have a term
    program that will let you set parity to EVEN, ODD, SPACE, MARK, and NONE,
    with data length of 7 or 8, and 1 or 2 stop bits, go out and buy one.
    While having a good term program isn't absolutely necessary, it sure is
    helpful.
2)  Change baud rates.  Again, if your term program will let you choose odd
    baud rates such as 600 or 1100, you will occasionally be able to penetrate
    some very interesting systems, as most systems that depend on a strange
    baud rate seem to think that this is all the security they need...
3)  Send a series of 's.
4)  Send a hard break followed by a .
5)  Type a series of .'s (periods).  The Canadian network Datapac responds
    to this.
6)  If you're getting garbage, hit an 'i'.  Tymnet responds to this, as does
    a MultiLink II.
7)  Begin sending control characters, starting with ^A --> ^Z.
8)  Change terminal emulations.  What your vt100 emulation thinks is garbage
    may all of a sudden become crystal clear using ADM-5 emulation.  This also
    relates to how good your term program is.
9)  Type LOGIN, HELLO, LOG, ATTACH, CONNECT, START, RUN, BEGIN, LOGON, GO,
    JOIN, HELP, and anything else you can think of.
10) If it's a dialin, call the numbers around it and see if a company
    answers.  If they do, try some social engineering.

Brute Force Hacking
~~~~~~~~~~~~~~~~~~~
   There will also be many occasions when the default passwords will not work
on an account.  At this point, you can either go onto the next system on your
list, or you can try to 'brute-force' your way in by trying a large database
of passwords on that one account.  Be careful, though!  This works fine on
systems that don't keep track of invalid logins, but on a system like a VMS,
someone is going to have a heart attack if they come back and see '600 Bad
Login Attempts Since Last Session' on their account.  There are also some
operating systems that disconnect after 'x' number of invalid login attempts
and refuse to allow any more attempts for one hour, or ten minutes, or some-
times until the next day.
   The following list is taken from my own password database plus the data-
base of passwords that was used in the Internet UNIX Worm that was running
around in November of 1988.  For a shorter group, try first names, computer
terms, and obvious things like 'secret', 'password', 'open', and the name
of the account.  Also try the name of the company that owns the computer
system (if known), the company initials, and things relating to the products
the company makes or deals with.

                              Password List
                              =============

      aaa                daniel             jester             rascal
      academia           danny              johnny             really
      ada                dave               joseph             rebecca
      adrian             deb                joshua             remote
      aerobics           debbie             judith             rick
      airplane           deborah            juggle             reagan
      albany             december           julia              robot
      albatross          desperate          kathleen           robotics
      albert             develop            kermit             rolex
      alex               diet               kernel             ronald
      alexander          digital            knight             rosebud
      algebra            discovery          lambda             rosemary
      alias              disney             larry              roses
      alpha              dog                lazarus            ruben
      alphabet           drought            lee                rules
      ama                duncan             leroy              ruth
      amy                easy               lewis              sal
      analog             eatme              light              saxon
      anchor             edges              lisa               scheme
      andy               edwin              louis              scott
      andrea             egghead            lynne              scotty
      animal             eileen             mac                secret
      answer             einstein           macintosh          sensor
      anything           elephant           mack               serenity
      arrow              elizabeth          maggot             sex
      arthur             ellen              magic              shark
      asshole            emerald            malcolm            sharon
      athena             engine             mark               shit
      atmosphere         engineer           markus             shiva
      bacchus            enterprise         marty              shuttle
      badass             enzyme             marvin             simon
      bailey             euclid             master             simple
      banana             evelyn             maurice            singer
      bandit             extension          merlin             single
      banks              fairway            mets               smile
      bass               felicia            michael            smiles
      batman             fender             michelle           smooch
      beauty             fermat             mike               smother
      beaver             finite             minimum            snatch
      beethoven          flower             minsky             snoopy
      beloved            foolproof          mogul              soap
      benz               football           moose              socrates
      beowulf            format             mozart             spit
      berkeley           forsythe           nancy              spring
      berlin             fourier            napoleon           subway
      beta               fred               network            success
      beverly            friend             newton             summer
      bob                frighten           next               super
      brenda             fun                olivia             support
      brian              gabriel            oracle             surfer
      bridget            garfield           orca               suzanne
      broadway           gauss              orwell             tangerine
      bumbling           george             osiris             tape
      cardinal           gertrude           outlaw             target
      carmen             gibson             oxford             taylor
      carolina           ginger             pacific            telephone
      caroline           gnu                painless           temptation
      castle             golf               pam                tiger
      cat                golfer             paper              toggle
      celtics            gorgeous           password           tomato
      change             graham             pat                toyota
      charles            gryphon            patricia           trivial
      charming           guest              penguin            unhappy
      charon             guitar             pete               unicorn
      chester            hacker             peter              unknown
      cigar              harmony            philip             urchin
      classic            harold             phoenix            utility
      coffee             harvey             pierre             vicky
      coke               heinlein           pizza              virginia
      collins            hello              plover             warren
      comrade            help               polynomial         water
      computer           herbert            praise             weenie
      condo              honey              prelude            whatnot
      condom             horse              prince             whitney
      cookie             imperial           protect            will
      cooper             include            pumpkin            william
      create             ingres             puppet             willie
      creation           innocuous          rabbit             winston
      creator            irishman           rachmaninoff       wizard
      cretin             isis               rainbow            wombat
      daemon             japan              raindrop           yosemite
      dancer             jessica            random             zap


Part Four: Wrapping it up!
~~~~~~~~~~~~~~~~~~~~~~~~~~
   I hope this file has been of some help in getting started.  If you're
asking yourself the question 'Why hack?', then you've probably wasted a lot
of time reading this, as you'll never understand.  For those of you who
have read this and found it useful, please send a tax-deductible donation
of $5.00 (or more!) in the name of the Legion of Doom to:
                                       The American Cancer Society
                                       90 Park Avenue
                                       New York, NY  10016


******************************************************************************
References:
1) Introduction to ItaPAC by Blade Runner
   Telecom Security Bulletin #1
2) The IBM VM/CMS Operating System by Lex Luthor
   The LOD/H Technical Journal #2
3) Hacking the IRIS Operating System by The Leftist
   The LOD/H Technical Journal #3
4) Hacking CDC's Cyber by Phrozen Ghost
   Phrack Inc. Newsletter #18
5) USENET comp.risks digest (various authors, various issues)
6) USENET unix.wizards forum (various authors)
7) USENET info-vax forum (various authors)

Recommended Reading:
1) Hackers by Steven Levy
2) Out of the Inner Circle by Bill Landreth
3) Turing's Man by J. David Bolter
4) Soul of a New Machine by Tracy Kidder
5) Neuromancer, Count Zero, Mona Lisa Overdrive, and Burning Chrome, all
   by William Gibson
6) Reality Hackers Magazine c/o High Frontiers, P.O. Box 40271, Berkeley,
   California, 94704, 415-995-2606
7) Any of the Phrack Inc. Newsletters & LOD/H Technical Journals you can find.

Acknowledgements:
   Thanks to my wife for putting up with me.
   Thanks to Lone Wolf for the RSTS & TOPS assistance.
   Thanks to Android Pope for proofreading, suggestions, and beer.
   Thanks to The Urvile/Necron 99 for proofreading & Cyber info.
   Thanks to Eric Bloodaxe for wading through all the trash.
   Thanks to the users of Phoenix Project for their contributions.
   Thanks to Altos Computer Systems, Munich, for the chat system.
   Thanks to the various security personel who were willing to talk to
             me about how they operate.


An Introduction to Hacking

This is a brief tutorial designed to show you how to get started with 
hacking. It is not an in depth analysis of Unix and I will not show you how 
to hack specific systems or give you any specific usernames or passwords. 
Anything that you do after reading this file is NOT my responsibility, so 
don't expect me to write to you in jail if you get caught. If you are an 
advanced hacker, then I suggest you give this a miss as it's designed for 
beginners...

Section 1 : What exactly is a hacker then?

Tricky one really. There are hundreds of definitions floating around, but 
the basic description of a hacker would be someone who accesses and uses a 
computer system in ways which a normal user might not think of. This may be 
legal, but chances are that it will be illegal. Also, many hackers might not 
consider you to be one of them unless you have the hacker attitude. 
Basically what this means is that you have a certain view over the way in 
which things should be done. For example, nearly all hackers are anti 
authoritarian. Another thing which you really should do is give voluntry 
help to other hackers. This may be in the form of debugging programs that 
they have written, informing them of new bugs in systems e.t.c.... There are 
plenty of detailed FAQ's out there, so I won't go into it in detail. Try 
looking up 'hacker ethics' in any descent search engine (www.altavista.com 
is pretty good) for more

Section 2 : Tell me how to hack!

Yeah right. You ask any hacker or newsgroup this and your gonna get flamed. 
Flaming is when someone responds to your question by throwing a string of 
anger and obsenities at you because they are mad. Why would they do this? 
After all hacking is about giving voluntry help isn't it? Well, asking how 
to hack is not only far too general, but it's also pointless. Nobody can 
tell you how to hack. They can give you passwords, programs and bugs, but 
they by doing this they would be stopping you from learning and discovering 
new things, and let's face it, the best way to learn to hack is to do it.

Section 3 : Where to learn

Apart from actually hacking, the most important thing you can do is read. 
Texts can come from a variety of sources, including your local library and 
of coarse the internet. There are some around with titles like 'The secret 
underworld of hacking' but these are mostly a waste of time, and contain no 
valuable information. Instead, read books with titles like : 'Unix : An 
introduction' or 'How to teach yourself Unix'. These will contain a wealth 
of commands and information. You will not learn by simply downloading 
programs to do your work for you, although some are essential (I'll tell you 
which ones later).

Section 4 : The art of hacking

Hacking is in many ways an art. It takes time, patience and intelligence. 
You won't get immediate gratification, but if you do get good, then it's 
really worth it. There are several skills accosiated with hacking, but the 
fundemental one, which is often overlooked by newbies is the ability to 
program. Programming is basically telling the computer what to do, and a 
programming language is the way in which you write it. Again, there are 
millions of tutorials to do with this subject, and it is FAR too big to go 
into here. The basic languages you will need to know are perl and c, which 
are the main languages for the Unix operating system (I'll go onto that in a 
second). Again, any good search engine will give you hundreds of sites 
realted to these. Just to give you an idea of what programming is about, 
here' some c source code (that's the text before it is compiled/interpreted 
so the computer can understand it):

#include
using namespace std;
int main()
{
cout<<'Hi there, how are you!';
}

Note that this section of code is taken from a MSDOS application. Unix will 
differ slightly. Although it can be a bit tedious, programming is very 
rewarding, and is very important if you want to become a good hacker. You 
won't need to become some programming genius to hack though, just have a 
general idea of the syntax used by the languages. The next important skill 
you need to learn is how to use the Unix operating system. This is an 
operating system (like windows or DOS) which is specifically designed for 
networking. Most big servers use it and it allows thousands of users to 
connect to virtual (software) and hardware ports remotely ( if the computer 
it is operating has them). Like programming, Unix is very complicated and 
detailed, so I can only give you an introduction here. The best way to teach 
you what Unix is is to give you an example. This example assumes that the 
person using it has a shell account (a user name and password so that he can 
log in and use the computers), and that the user has windows on their 
computer. It is entirely fictional:

(In the run bar)
telnet shinracorperation.com 23
(Telnet starts up, there's a brief pause before the cursor starts flashing)
SunOS : 5.10
login:rudolf
password:########

Welcome to the shinra corperations main server. Type 'help' for more.
$

That is an example of a typical Unix system. To operate it, we run telnet 
(the standard telnet program included with windows), this will allow our 
computer to communicate with the remote server which is 
shinracorperation.com. The number 23 after it tells telnet to connect to 
port 23 on the computer. Ports allow remote users to input commands to the 
computer. A computer can have thousands of ports, each with a different 
number, but the most common and what they do are:

13 : Date and time port (pretty useless really)
21 : FTP (File transport Protocal) port
23 : Standard telnet port. This is the port which the telnet program will 
try to open by default
25 : Send Mail port. This allows the user to operate an ancient send mail 
program which can send messages to email addresses on that server (more 
later)
79 : The 'finger' port. This allows the user to type in the name of a user 
and get details on them (very useful)
80 : Standard http port (it's the one your browser opens)
110 : POP port. Allows you to operate a primitive POP email program.

To connect to each of these ports you would put the number instead of 23 in 
the command line. The next line tells us what type of operating system the 
computer is using. This will become important if you need to use a bug or 
back door to get into the system, as they vary from operating system to 
operating system. One advantage of Unix operating systems is that they don't 
record your login attemps, so the sysadmin won't find 6000 attempts in his 
log file when he has a look. Now, the only thing holding us back here is the 
need for a username and password. In the early days of hacking, you could 
telnet to any computer, type in root as your username and root as your 
password and you'd be in with superuser privialges (root is the username 
that should give you the ability to do anything on that computer). That 
ain't gonna happen these days. There are some servers which you might be 
lucky enough to guess a username and password on, so have a look at the list 
below of common Unix users:

root
admin
adm
sysadmin
guest (VERY often the password will be guest too)
test
demo
uucp

Although unlikely, these may work if you enter the password the same as the 
username, it's worth a try. I hope that gave you an idea of what Unix is. 
The final part, by the way, was the command prompt, similair to the C:\> 
prompt in DOS. Here you would enter commands for the computer. Since this is 
only an introduction, I won't go into commands here, but there are plenty of 
books, many from your local library which will tell you how to use Unix. You 
can find more information on how to exploit bugs in Unix operating systems 
and backdoors in them by using a search engine. Chances are that you will 
not be able to guess the password. In this case you'll need to do some 
research. Try looking at the companies web site, and finding out things 
about them.

Section 5 : Toolz

Although you should use them as little as possible, you will need to use 
some programs. One of the most essential is a password cracking program. In 
most Unix systems, the password file is located in /etc/passwd. As I've 
said, there are plenty of files which will tell you how to download it, so I 
won't go into that here. Now, assuming you've got the password file, you'll 
need a program called John the Ripper deencrypt the file and get the 
passwords. If you open the passwd file with a standard editor like notepad 
or edit, you will see something like:

root:h589798Hhgh:0:0:/etc

or

root:x:0:0:/etc

With many more lines added on. If it looks like the first one, then not only 
are you lucky, but you've got the passwords for the entire system. Now run 
Jack the ripper on it, and if your dictionary file (a file with lots of 
standard passwords in it) is good enough, you should at least get a few of 
the passwords. If you get root, then get very, very excited. You can now log 
into the system and do anything. BUT be warned, you do ANY damage what so 
ever, and they'll find you within a couple of hours, so DON'T. Not only 
that, but it'll make you a cracker which is someone who breaks into a system 
to do damage to it, they are looked down upon by real hackers. Now, if it 
looks more like the second one, get ready to cry 'cos the password file is 
shadowed. This means that although the users are stored in the passwd file, 
the passwords are stored in different one, usually /etc/shadow. This 
obviously means that you must download the shadow file (the server probably 
won't let you), merge it with the passswd file, and then run john the ripper 
on it. If you can get both the passwd and shadow files, you'll need to get a 
program called VCU to merge them, although there are some others around. 
Shadowing is used by most servers these days, and makes life a hell of a lot 
more difficult

Section 6 : Using programs on the server

The first program I'm gonna look at is SMTP (send mail) which is usually 
stored on port 25. I'm not gonna give any direct examples here, but replace 
the xxx part with virtually any server name and you should find one:

telnet xxx 25

SMPT Version 1.3 Ready

And that is all you get. You are now ready to run this program. It allows 
you to send mail to anyone who has an email address within that server. The 
commands that you'll need to know to use this program are

help - gives you a list of commands. If you follow it with a command, it 
will give you help on it

helo - This tells the computer who you are

mail from:xxx - It will say who the mail is from on the message (replace xx 
with a made up or real email address)

rcpt to: - Who the mail will go to. It must be within the server that you 
are hacking or you will get the error 'Relaying not allowed'

data : Press enter, and type in what you want the message to say. Put a full 
stop (a period) and a seperate line and press enter to end and send the 
message

quit : Disconnects you

vrfy xxx : Replace the xxx with a user name, and it will tell you if it 
exists

This should give you a basic idea of how to use the program. The commands 
should come in that order to send mail (vrfy is not needed to send mail, you 
can simply use it to tell if a user exists. Oh yeah, and you won't see what 
you type in.

The other program I'm gonna look at is in port 79 so type:

telnet xxx 79

You will be greeted by, well nothing. Loads of servers have closed this 
port, but if they have it open, then it is very useful. All you do is type 
in the name of the user you want to finger, and it will give you their 
account details. Try all of the common users above. This program will 
usually only let you finger one user before disconnecting.

Conclusion

I hope this has been an informative introduction into the world of hacking. 
Even at this level, there are tonnes more things which you will need to find 
out about so that you can hack. I suggest you look the following things up 
in your search engine:

Unix operatins system
computer security
hacking
c programming
perl programming
hacking tutorials

Hopefully you will find what you need. One last word of warning, be VERY 
careful about hacking, and don't do any damage, you WILL get caught if you 
do. Oh yeah, and have fun...

Legal Stuff...

You may reproduce this document on any web page or on any CDROM or 
otherwise. You do not have to ask my permission or anything, as long as it 
remains unchanged and I get the credit. As I've already said, I'm not 
responsible if you act on the information above, and this was intended for 
EDUCATIONAL PURPOSES ONLY.

Chaw...

Seditious

Plan to extend police-hacking powers gathers pace

By Tom Espiner

The U.K. government has agreed to work with the European Parliament on plans to extend police powers to conduct remote searches of computers.


The European Union Council of Ministers approved a plan in November 2008 to grant law-enforcement authorities in member states the power to perform remote searches of suspects' computers, as well as to perform "cyber patrols" of the Internet and increase data sharing between European police forces. The plan, to be implemented within the next five years, raises the possibility of cross-border co-operation on cyber investigations.

The Home Office said on Monday that it has decided to participate in the further formulation of the European Parliament plans, but that no timetable or detail for the proposals had been settled.

"The United Kingdom has agreed to a strategic approach towards tackling cybercrime on the same basis as all member states; however... the Council conclusions are not legally binding, and there are no agreed timescales," the Home Office said in a statement. "We fully support work to develop an understanding of the scale and impact of electronic crime across Europe and will work with member states to develop the detail of the proposal."

According to Richard Clayton, a Cambridge University computer security expert, it has been legal for the police to hack into suspect systems without a warrant since 1995, when a 1994 amendment of the Computer Misuse Act was brought into force. Remote warrantless searches of computers are also legal under part three of the Police Act 1995, and under parts of the Regulation of Investigatory Powers Act 2000.

Clayton told ZDNet Asia sister's site ZDNet UK on Monday that the most likely method for UK police to hack into computers was to enter a premises and install a keylogger on the target system. This would be more reliable than a drive-by download or "sending an email with a dodgy attachment", as the chances of successful interception of data were higher, said Clayton. Alternatively, police could hack Wi-Fi networks to gain access to systems, said the computer security expert.

"The police could sit outside the door, search for the Wi-Fi network, break the WEP or WPA encryption key and look at the contents of the hard drive," said Clayton.

The Association of Chief Police Officers (ACPO) said that between 2007 and 2008 there had been 194 warrantless searches performed by the police, but an ACPO spokesperson was unable to confirm at the time of writing how many of those searches had been of computers.

To perform a warrantless search, the police need the approval of a chief constable--no judicial oversight is necessary. However, according to an ACPO statement, the police should also in some circumstances seek the approval of the surveillance commissioner, except in an emergency.

"To be a valid authorization, the officer giving it must believe that when given it is necessary to prevent or detect serious crime and action is proportionate to what it seeks to achieve," said the ACPO statement.
Privacy campaigner Simon Davies, director of Privacy International, called on the Home Office to reform the warrant process so remote searches of computer systems have judicial oversight.

"That level of intrusion is more intrusive than telephone interception," Davies told ZDNet Asia sister's site ZDNet UK. "Frankly, the entire warrant system needs to be overhauled."

Davies said that there was a danger that an EU-wide system of remote searches could open the UK to requests for remote warrantless searches of U.K. computers by law-enforcement authorities from other member states.

"That would open a whole Pandora's box," said Davies. "Any European government that wanted to could invade the privacy of the British people."