Backtrack 5 | Pwn5auce Revolution Reviewed 8 comments


Backtrack 5 codenamed ‘Revolution‘ based upon Ubuntu 10.04 LTS has been released and is all set to pwn. With major upgrade to the UI and application lists, Backtrack now serves as a good platform for all type of Security professionals, ethical-hackers, from newbies to pros. Its very carefully selected big list of hacking tools is the largest available toolkit in single os till date. Backtrack as a matter of fact is based upon Ubuntu to improve simplicity and responsiveness. Whether you’re hacking wireless, exploiting servers, performing a web application assessment, learning, or social-engineering a client, BackTrack is the one-stop-shop for all of your security needs.

Download Backtrack 5

Gnome

KDE

For VMware images and more, visit the Official Download Page.

Installation Tutorial

Download the .iso image and make a CD-DVD/USB bootable. Boot the live mode and

  1. Fireup the installer and read the instructions.
  2. Now, Select your laguage and proceed fruther.
  3. Select Region & Timezone and click ‘Forward’.
  4. Select Keyboard Layoput and proceed.
  5. Select Manual Partitioning and select an empty partition of minimum size 20GB & follow the instructions-
    • Create a root partition by selecting ‘New Partition’, make it ‘Primary’, set the size to 15GB (min.), Filesystem type should be ‘ext4 Journaling Filesystem’ and mount point ‘/’.
    • Create another partition by selecting remaining free space and set it ‘Logical’ and its size should be double to that of your RAM, Filesystem type ‘swap’.
    • This is your basic and final partition setup.
  6. Click Forward and in the end (step 8), check all the setting and ‘click install’. Now wait for the installation to complete.
  7. After that, reboot your system and login as –

Login ID – root
Loin Pass – toor

Now type ‘startx’ to enter the KDE GUI environment. This is your Backtrack 5.

bt5 Features

  • Its on Ubuntu Lucid (10.04 LTS) but with Kernel 2.6.38 and now will support 64bit and ARM in addition the 32 bit architectures.
  • Streamlined ISO downloads of each Desktop Environment.
  • Support KDE 4.6, Gnome 2.6, and Fluxbox.
  • Metasploit Framework 3.7.0
  • Stealth Forensics Mode.
  • Tool list has completely been revamped and refreshed.
  • Offensive Security software repositories
  • Source Code in repository.
  • Each tool’s functionality was assessed and decided upon before inclusion to BT5.

and much more… Backtrack 5 is best choice if you want to even start ethical hacking from a total newbie but are going to need some basic skills regarding Bash to perform almost every task at hand. Dont worry, we will be providing a comprehensive guide towards Bash which will help you in mastering backtrack easily.

The promo-video will take you to a quick Backtrack 5 tour –

The Basics

Coming to the basics, we have an installed version of Backtrack 5 now and we are looking forward to tweak it in the best of our interests. The following steps will help getting started with Backtrack a little easier.

1) Logging In

Well, logging into Backtrack 5 is a little different. You are not directly welcomed at the login screen, instead a shell is presented. Here, type

startx

after logging in as root. By default,

Username – root
Password – toor

Start Networking srervice before you get the UI –

/etc/init.d/networking start

Note: If you create another user afterwards and want to login, then type

sudo startx

even if your new account has administrator priviledges.

2)Change ‘root password’ (necessary)

It is highly recommended that when you first login to your Backtrack 5, the first thing you do is to remove the default password woth a strong one of your choice. A good password contains atleast 10 characters which are ciombination of numbers, alphabets and special characters making it hard to break via basic brute-forcing. So, tp change your root password, open the terminal and type –

passwd root

and follow the instructions and done.

3) Installing Hardware Drivers

We have covered a detailed post regarding Hardware Driver installation in Ubuntu which is also to some extent is directly applicable to Backtrack also. But as per the basics are concerned,download your respective drivers from these links – nVidia for Linux  & ATI driver for Linux.

For nVidia, use this –

Simply type this after you logout from backtrack UI session with internet working-

sudo apt-get install nvidia-driver

OR Use the above file you downloaded to install nVidia drivers to your system –

cd ~/downloads
chmod a+x nvidia-driver-filename.run
./nvidia-driver-filename.run
shurdown -r 0
startx

Now brose to nVidia-Xserver-Settings and configure your screen resolution and refresh rates.

For ATI, use this –

After the download, type

cd ~/Downloads
chmod a+x ati-driver-installer-11-?-x86.x86_64.run
./ati-driver-installer-11-?-x86.x86_64.run
shutdown -r 0
startx

and its done. Set your screen resolution and enjoy backtrack.

4) Setting up the Internet

Now comes the important task, setting up the network connection. Its not that difficult but will take a little time. So lets do it –

Configuring Network Interfaces

This is necessary for all users as internet connectiviry is very much necessary to work on Backtrack, for updates, latest exploits and testing purposes. So, lets get moving –

STATIC –  To start networking in Backtrack 5 issue the following command.

/etc/init.d/networking start

This will attempt to start all the interfaces in the /etc/network/interfaces file.

cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

If you don’t have or don’t want some of these interfaces then simply remove the from this file and they will not start.

If you need to set a static IP just set the variables in the /etc/network/interfaces file

auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

You will also need to make sure you set a nameserver in /etc/resolv.conf

cat /etc/resolv.conf
nameserver 192.168.0.1

DHCP – If all you have is eth0 and wlan0 on your system and you want them both to get a address via DHCP then remove every thing else for the file with the exception of the lo interface. Here is a example.

cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

To make all this to start at boot you can simply issue this command as root

update-rc.d networking defaults

This will create all the proper sym-links. Well thats enough to get up and running. If this doesnt seem wroking, then keep reading –

Using PPPOE

If you are on DSL connection and want to configure your internet connection, then PPPOE is the best and fastest way to get it done. Here it goes –

Open the terminal and type

sudo pppoeconf

and follow the instructions and respond accordingly. After the settings are save,type

sudo pon dsl-provider

to start the service and

sudo poff dsl-provider

to disconnect from internet.

Using WICD

If you have a wireless network setup and want to configre your wifi connection in Backtrack, then just follow the instrctuons given below and you are set.

1. Install wicd

First you will need to install wicd and remove the standard network-manager (if installed). wicd is an open source wired and wireless network manager for Linux which we will use later to configure your wireless connection.

sudo apt-get update
sudo apt-get purge network-manager
update-rc.d -f networking remove
sudo apt-get autoremove
sudo apt-get install wicd
/etc/init.d/wicd start
update-rc.d wicd defaults

2. Determine Wireless Card

Next you will need to determine the make and model of your wireless card within your system. This is achieved by running the following command :

lspci | grep Network

3. Download Drivers

Download proper wireless drivers for your hardware and install it.  Yo can find wireless drivers for Backtrack 5 for your network card at this page.
4. Confirm MODULE LOAD

Once your system has rebooted confirm that the driver has been loaded by running the following command.

lshw -C network -network
description: Wireless interface
product: XXXXX Wireless Network Adapter (PCI-Express)
vendor: XXXX Communications Inc.
physical id: 0 logical name: wlan0
version: 01
serial: xx:xx:xx:xx:xx
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=x.x.x firmware=N/A ip=10.1.1.35 latency=0 link=yes module=ath9k multicast=yes wireless=IEEE 802.11bgn

(Replace x with proper information regarding your network card)

You can also check to see if the module (driver) is loaded by running the command – lsmod | grep ath9k

5. Configure WiFi Connection

Next you will need to configure your connection, adding your settings such as keys, encryption etc etc. To access the Wicd Network Manager go to “K Menu” –> Select “Internet” and click on “Wicd Network Manager”.

Once you have configured your settings you should have the required wireless connectivity within Backtrack.

BUGS

The main issue I faced when configuring the above was that after adding my wireless key and then trying to connect I would get the message

Unable To Get IP Address

If I then configured a static IP address I received the message,

Connection failed: Could not contact the wireless access point

SOLUTION

To resolve this I removed the following file and rebooted.

sudo rm /etc/udev/rules.d/70-persistent-net.rules
??

Thats it ! Now your wireless card should be working.

5) Man pages and Help

Man pages are Ultimate guides to Bash and all the commands used in bash. Type

man man

to get a comprehensive detail of bash inside bash. Use navigation keys to make way to your content. Go through this many times so that you get all these in your mind to some extent.

Using ‘man pages’ to study about different commands and their usage is also easy, just type

man <command>

Eg- I want to know more about ‘apt‘, so i will just ype

man apt

and i am presented with this information. Type ctrl+z to get out of the prompt and proceed further.

Using man, any tool info can allso be extracted

man <tool name>

So, working with ‘man’ is easy and highyl useful.

Now over to help. Getting “usage” information of any command or tool is really easy in bash. Just type

command -h
command -help
command –help

and a lot of information about it, its uage and various arguements and their fuctions in the command are presented for your understanding of actual concepts.

6) Tutorials and Howtos

There are a lot of basic tutorials of Backtrack on youtube, blip.tv etc. but the documentation available with Backtrack official site are really useful to all the users. Beginning can be very difficult but once you geton with it, then it will be really a fun working with Backtrack 5. All the tools used in backtrack have their official website (most of them atleast) which are having a very good documentation regarding the usage of the tools properly. Even then, we provide you with a sit e that will take your from a newbe to pro in Petesting.  – IronGeek Security. For a widerange of collection of videos on backtrack and regarding hacking, pentesting, visit – SecurtiyTube.net.

7) The Backtrack Community

The Backtrack Comunity is very big and there are a lot of professionals over there to guide you while you prepare yourself as an ethical hacker. We recommned you to join the Backtrack Forums right away and keep going through the tutorials and various sections. Go through the forum rules and keep asking questions in case you have douibts. Ofcourse you can also ask us about your doubts but there the community is well managed, so there you will find better solutions.

To get the latest exploits, we mean ZERO DAY exploits, keep visiting –  ExploitDb.

Thats it for now folks ! We will be back with more stuff soon. Till then Njoy Backtrack !

Happy Hacking !!!


About Cell aka Abhishek

A Technology Fanatic, Open-source lover, a future Entrepreneur, & an Innovative thinker, is presently working as a R&D Engineer in the Wind Turbine Industry.

  • brah

    Hah you posted this the very day I decided to try out Backtrack. Thanks for the guide it was really helpful.

  • brah

    Hah you posted this the very day I decided to try out Backtrack. Thanks for the guide it was really helpful.

  • brah

    Hah you posted this the very day I decided to try out Backtrack. Thanks for the guide it was really helpful.

  • Tosin

    Great Tutorial. It’s a relief finding this page at all. I tried setting up wireless connection (on both BackTrack 4 r2 and BT5) inside vmware and I got the error that wireless extension are not installed after going thru the guide in the man pages ( and for bluetooth too). Whatever I come up with after trying your suggestions, I will give you a feedback. Thanks for your help.

  • tamer salah

    it didnt work with me
    ati 4870 installing to backtrack 5

  • Im getting the “unable to get IP address error”. I’ve tried both versions of BT5 and have the same issue with WICD. Although, if i just install Ubuntu or another flavor, WICD works just fine. I think it has something to do with the BT distro and the Broadcom drivers. I wish your fix worked for me but sadly it did not. Now, i get the following error upon reboot “could not connect to WICD’s D-Bus Interface”

    No big deal there though as I am ditching BT and going back to what works until someo0ne finds a fix for this annoying issue.

  • n1tr0g3n

    just set your IP to static like Linoob said and you’ll be on line trust me… and make sure your network adapter in WICD Network manager is set as the same as when you type “ifconfig -a” in terminal.  

  • sherif

    i want to uninstall bt5 and i dont have except it on my HD is their any suggestions