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.
For VMware images and more, visit the Official Download Page.
Download the .iso image and make a CD-DVD/USB bootable. Boot the live mode and
- Fireup the installer and read the instructions.
- Now, Select your laguage and proceed fruther.
- Select Region & Timezone and click ‘Forward’.
- Select Keyboard Layoput and proceed.
- 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.
- Click Forward and in the end (step 8), check all the setting and ‘click install’. Now wait for the installation to complete.
- 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.
- 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 –
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
after logging in as root. By default,
Username – root
Password – toor
Start Networking srervice before you get the UI –
Note: If you create another user afterwards and want to login, then type
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 –
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 –
chmod a+x nvidia-driver-filename.run
shurdown -r 0
Now brose to nVidia-Xserver-Settings and configure your screen resolution and refresh rates.
For ATI, use this –
After the download, type
chmod a+x ati-driver-installer-11-?-x86.x86_64.run
shutdown -r 0
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.
This will attempt to start all the interfaces in the /etc/network/interfaces file.
iface lo inet loopback
iface eth0 inet dhcp
iface ath0 inet dhcp
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
iface eth0 inet static
You will also need to make sure you set a nameserver in /etc/resolv.conf
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.
iface lo inet loopback
iface eth0 inet dhcp
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 –
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
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.
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
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
width: 64 bits
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.
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
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
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
Eg- I want to know more about ‘apt‘, so i will just ype
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
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 !!!