Archive for September, 2008
Cracking WEP using Intel® PRO/Wireless 2200BG
Written by Tshepho Koboyatshwene on September 22, 2008 – 2:12 am -There are so many tutorials online on how to crack WEP i.e. Wired Equivalent Privacy and I have tried quite a few of them before I finally settled for one that actually worked for me. I have re-written the tutorial from remote-exploit.org with some screen shots.
Just a couple of things to note before you delve into this tutorial
- This tutorial is for information and educational purposes only
- Use your own wireless network to perform the steps in this guide
- I hold no responsibility for how you use the information in this page
NB. The screenshots thumbnails are linked to larger more legible images.
First Steps - Downloading Backtrack and aircrack
- Download BackTrack live CD from the closest mirror at http://www.remote-exploit.org/backtrack_download.html
- Download aircrack from http://download.aircrack-ng.org/aircrack-ng-0.9.3.tar.gz and keep it handy e.g. save it in a USB stick.(you’ll need this later)
- Burn image to CD using Nero or any capable application.
- Reboot your system from the CD and wait as the system loads
NB. YOU’LL NEED TO DO A BIT OF TYPING TO EXECUTE PRETTY MUCH ALL OF THE COMMAND, BUT YOU ONLY NEED TO TYPE THE TEXT I’VE TYPED IN SQUARE BRACKETS AND REMEMBER TO TYPE ENTER AT THE END OF EVERY COMMAND
Launching Backtrack and loading X-server
4. Once the system has loaded, Login as “root” using the password “toor” without quotes by typing the following
bt-login: [root] <Enter>
Password: [toor] <Enter>
Once logged in, you’llbe taken to a command prompt, you’ll need to launch a graphical user interface(GUI), you do this by issuing the following command
bt ~ #[startx] <Enter> (see p1.jpg)
then wait for the GUI to load(see p2.jpg)
Tags: bssid, mac address, router, wireless access point, wireless security
Posted in wireless security | 12 Comments »
Cisco Discovery Protocol - CDP
Written by Tshepho Koboyatshwene on September 7, 2008 – 6:40 am -This weekend was yet another CCNA Laboratory session, this time around it was divided into two:
- Using CDP to gather information
- Building a Hosts table in a router
A Cisco Discovery Protocol (CDP) is a protocol which was designed by Cisco guys to promote “spying” on neighbouring devices by network administrators. Well, of course, not the Alex Litvinenko spying but spying as in being used to collect information about attached and remote devices, this could be hardware information, protocol information etc.
Cisco uses the commands such as:
- “show cdp neighbors” : to display information about other devices connected to your device. Using the configuration in Basic Router and Switch Configuration Lab, suppose that you are in Router 2 (PxR2) and you want to check all the devices connected to that router: The much simplier way will be to use the command
- Obviously the information is not of much value, so that’s why Cisco came up with another command “show cdp neighbor detail” which provides a much more detailed information about connected devices such as their IP Addresses, Cisco version, holdtime etc are revealed.
PxR2#show cdp neighbors
which outputs the information :
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
| Device ID | Local Intrfce | Holdtime | Capability | Platform | Port ID |
|---|---|---|---|---|---|
| PxR1 | Ser 0/0/0 | 167 | R | 2610 | Ser 0/0 |
| PxS1 | Fas 0/0 | 134 | S I | WS-C2950- | Fas 0/1 |
A switch, PxS1 and one router, PxR1 are the only devices connected to router 2, PxR2.
PxR2#show cdp neighbor detail
————————-
Device ID: PxR1
Entry address(es):
IP address: 172.16.17.1
Platform: cisco 2610, Capabilities: Router
Interface: Serial0/0/0, Port ID (outgoing port): Serial0/0
Holdtime : 124 sec
Version :
Cisco Internetwork Operating System Software
IOS ™ C2600 Software (C2600-JK9O3S-M), Version 12.2(24), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 28-Apr-04 15:30 by kellmill
advertisement version: 2
————————-
Device ID: PxS1
Entry address(es):
IP address: 192.168.27.1
Platform: cisco WS-C2950-24, Capabilities: Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/1
Holdtime : 151 sec
Version :
Cisco Internetwork Operating System Software
IOS ™ C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 28-Aug-02 10:25 by antonino
advertisement version: 2
Protocol Hello: OUI=0×00000C, Protocol ID=0×0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000
9E40FF0000
VTP Management Domain: ‘null’
Duplex: full
- The “show cdp ?” was rather useful when I needed to get any Cisco Discovery Protocol command. For instance
PxR2#show cdp ?
entry - Information for specific neighbor entry
interface - CDP interface status and configuration
neighbors - CDP neighbor entries
traffic - CDP statistics
| - Output modifiers
The next article will be about the second part of this laboratory session, that is, Building a Hosts table. In addition to that, I will talk about how I collected information of neighbouring devices (using Cisco Discovery Protocol + Hosts table) as well as obtaining information of neighbouring devices of neighbours and neighbouring devices of neighbour’s neighbouring devices; We could be here all day, I guess you see where I’m going with this.
Thanks for your comments ![]()
Tags: cdp, cisco, cisco discovery protocol, discovery protocol, hardware information, ip addresses, network administrators, router
Posted in CCNA | 1 Comment »
Basic Router and Switch Configuration Lab
Written by Tshepho Koboyatshwene on September 1, 2008 – 3:08 pm -Last weekend I had my first CCNA laboratory session which consisted of 3 lab activities.The laboratory was meant to take 6 hours but i had a head start having played around with my simulator under similar configuration. I was given 3 cisco routers and 1 switch to play with using the configuration ( at least that is what I was supposed to have by the end of the lab) as shown in the image below:
Basically, the aim of the lab was to configure the three routers by:
- Setting IP addresses
- Giving them Hostnames
- Configuring each routers interface
- Setting passwords
- Banner message of the day e.t.c
It was just a basic lab except I had a slight difficulty when setting password using the “service password-encryption” command but I finally figured it out by :
- First setting a secret password for the router, using command
secret password [your password] - Set the passwords for a line console, line aux and line vty, using command :
password [your password] - And then finally to do the actual encryption of all the passwords I had to use “
service password-encryption” command. I checked the passwords using “show running-configcommand”. - Afterwards I used “
no service password-encryption” command. The passwords were still encrypted. So I was convinced that “no service password-encryption” command does not un-encrypt passwords, instead it leaves the passwords as there are (in this particular case encrypted).
All in all the lab was good experience. I am looking forward to my next lab which will be on the 6th September. Based on the notes so far, i have a feeling that it will be much more interesting than the other one. Apparently it is going to be about CDP (Cisco Discovery Protocol) lab.
Till next time
Tags: CCNA, CCNP, cisco routers, secret password, service password, switch configuration
Posted in CCNA | 1 Comment »



