installing backtrack 5 r1 for wireless lan security testing

29
Installing BackTrack 5 R1 in Virtual Machine Here, we are going to create New Virtual Machine for installing Backtrack 5 R1. So, we have to click on New Virtual Machine option in VMware. Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 1

Upload: kundan-prasad

Post on 29-Oct-2015

44 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Installing BackTrack 5 R1 in Virtual Machine

Here, we are going to create New Virtual Machine for installing Backtrack 5 R1.

So, we have to click on New Virtual Machine option in VMware.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 1

Page 2: Installing BackTrack 5 R1 for Wireless LAN Security Testing

So, as you see it has opened New Virtual Machine wizard.

It is prompting that what type of configuration do you want?

Select Typical (recommended) then click on Next.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 2

Page 3: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, it is prompting for selecting ISO Image.

So, we are going to select BackTrack 5 R1 ISO image.

After selecting ISO image just click on Next button to proceed with installation.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 3

Page 4: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, it is prompting for Guest operating system.

It means which operating system you are going to install on this virtual machine.

As you might know that BackTrack OS is based on Linux.

So, select Linux as your Guest operating system.

In version it will automatically select Ubuntu.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 4

Page 5: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, it is prompting for Virtual Machine Name and Location.

So, enter Pentest as our Virtual Machine Name.

Here, we have to choose Location, it means where we want to install BackTrack 5 R1.

Before we select Location, first open D: drive in My Computer and create one folder there & name this folder My Virtual Machines.

Now open your newly created folder My Virtual Machines & inside that folder create one more folder & name this folder BackTrack.

Now coming back to our New Virtual Machine Wizard, In Location browse for our newly created folder BackTrack in D:\My Virtual Machines\BackTrack.

Select BackTrack folder and then click on Next.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 5

Page 6: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, it is prompting for Maximum disk size (GB).

Enter 20 GB there, and then click on Next.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 6

Page 7: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, it is prompting for Hardware.

In Memory it has 512 MB by default; there is no need to increase Memory for BackTrack because it works fine in 512 MB.

Select Floppy & click on Remove button to remove it.

Select Network Adapter & change its setting from NAT to Bridged.

Finally, click on OK.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 7

Page 8: Installing BackTrack 5 R1 for Wireless LAN Security Testing

In this step we have to review all settings & then click on Finish option.

Then it will start Installation of BackTrack 5 R1.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 8

Page 9: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, just Hit enter key to continue with installation.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 9

Page 10: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, don’t change selection and Just Hit enter key to continue.

So, it will boot in Default Boot Text Mode.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 10

Page 11: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, type startx on terminal, to start a Graphical User Interface.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 11

Page 12: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, just double click on install BackTrack icon.

Here, English is by default, so just click on Forward button to proceed.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 12

Page 13: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, select your Location to India in world map for India Time and just Click on Forward button to proceed.

Here, In Keyboard layout, just click on Forward button to proceed.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 13

Page 14: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, where do you want to put BackTrack Live? Select Erase and use the entire disk option and just click on Forward button to proceed.

Finally click on Install button to proceed.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 14

Page 15: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, as you see it has started installing BackTrack 5 R1 operating system.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 15

Page 16: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, as you see it’s still installing BackTrack 5 R1 OS.

In progress bar it’s showing 99%. Please be patient here because it will

take at least 10 minutes more to complete.

Surely after 10 minutes it will prompt you to restart the system, so for

that just click on restart button. (Note: When it prompt then only you

have to click on Restart now button)

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 16

Page 17: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, as you see BackTrack 5 R1 is installed properly.

But still we need to install VMware Tools (that includes Graphics, Sound drivers etc)

So, for that we need to Shutdown our BackTrack OS.

So, click on System option & Shut Down.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 17

Page 18: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, just click on Shut Down.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 18

Page 19: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, as you see that our BackTrack OS has been Shut Down.

Now, click on Edit Virtual Machine Settings.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 19

Page 20: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, in Virtual Machine Settings Dialog, Select CD/DVD (IDE) option.

As, you see on the right hand side of Dialog, it’s is still using BackTrack ISO image.

So, we need to change this setting.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 20

Page 21: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Here, Select Use Physical Drive option & Auto detect settings.

Then click on OK.

Then click on Power on This Virtual Machine.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 21

Page 22: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Installing VMware Tools in BackTrack 5 R1

Here, BackTrack is started.

Now we are going to move further to install VMware Tools for our BackTrack OS.

So, for that just right click on your Virtual Machine Name Pentest & click on Install VMware Tools option.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 22

Page 23: Installing BackTrack 5 R1 for Wireless LAN Security Testing

As you see here, VMware Tools ISO image has been mounted automatically.

Now, next step is to create a directory in / and name this directory vmware.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 23

Page 24: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Then Open Terminal and run these commands:

cd /

cd media

cd VMware Tools

ls

tar –C /vmware –zxvf VMwareTools-8.1.3-203739.tar.gz

After invoking this command it will show you progress…

Once progress stops.

Type these command:

cd /vmware

ls

cd vmware-tools-distrib

ls

Now you need to execute vmware-install.pl file, so for that type this command:

./vmware-install.pl

Then it will ask you some questions:

Installing VMware Tools.

In which directory do you want to the install binary files?

[/usr/bin]

Hit enter key

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?

[/etc]

Hit enter key

What is the directory that contains the init scripts?

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 24

Page 25: Installing BackTrack 5 R1 for Wireless LAN Security Testing

[/etc/init.d]

Hit enter key

In which directory do you want to install the daemon files?

[/usr/sbin]

Hit enter key

In which directory do you want to install the library files?

[/usr/lib/vmware-tools]

Hit enter key

The path “usr/lib/vmware-tools” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?

[yes]

Hit enter key

In which directory do you want to install documentation files?

[/usr/share/doc/vmware-tools]

Hit enter key

The path “/usr/share/doc/vmware-tools” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?

[yes]

Hit enter key

The installation of VMware Tools 8.1.3 build-203739 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes]

Hit enter key

Searching for GCC...

Detected GCC binary at "/usr/bin/gcc".

The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 25

Page 26: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Would you like to change it? [no]

Hit enter key

Would you like to change it? [yes]

Type no and Hit enter key

Now it will show you many warning just like below but you do not need to care about these warning.

Just Press Enter key several times to continue.

WARNING: This program cannot compile any modules for the following reason(s)...

This program could not find a valid path to the kernel headers of the running kernel. Please ensure that the header files for the running kernel are installed on this system.

[Press Enter key to continue]

Finally it will be installed, so, after successful installation of VMware Tools

just right click on VMware Tools icon on desktop & click on Eject.

Now, the last step is to restart your BackTrack OS Virtual Machine.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 26

Page 27: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Taking Snapshots of BackTrack 5 R1

Now, it’s time to take Snapshot of BackTrack 5 R1.

So, for that go to VM à Select Snapshot à then select Snapshot Manager.

Click on Take Snapshot.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 27

Page 28: Installing BackTrack 5 R1 for Wireless LAN Security Testing

Enter the Name & Description same à Fresh Copy

Then click on OK.

As you see here, snapshot has been taken.

Now, click on Close.

Installing BackTrack 5 R1 for Wireless LAN Security Testing Page 28