Learn to install Kali Linux on windows 7/8/8.1

 

In this article, We will see how to install Kali Linux 1.0.6 in Virtual Box.
VirtualBox is an open source general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.

Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing . It is maintained and funded by Offensive Security Ltd. n March 2013, the Offensive Security team rebuilt BackTrack around the Debian distribution and released it under the name Kali Linux.BackTrack is their previous forensics Linux distribution.

Kali Linux is preinstalled with numerous penetration-testing programs, including nmap (a port scanner), Wireshark (a packet analyzer), John the Ripper (a password cracker), and Aircrack-ng (a software suite for penetration-testing wireless LANs). Users may run Kali Linux from a hard disk, live CD, or live USB. It is a supported platform of the Metasploit Project’s Metasploit Framework, a tool for developing and executing security exploits.

It is distributed in 32-bitand 64-bit images for use on hosts based on the x86 instruction set.


 Downloading VirtualBox

As Kali Linux  is a Linux based software,It can’t be installed on Windows  in a usual way of installation.So we have to install it in Virtual Box.

Download VirtualBox  here.

12

Download it and install it.


Downloading Kali Linux 1.0.6

After installation of VirtualBox.

Now we have to download and install Kali Linux 1.0.6.

Download  Kali Linux 1.0.6 here.

13

Download it as per you system type. I am going to download torrent,as it is fast download.

Now let’s go on with installation part.



STEPS FOR INSTALLATION



Creating a New Virtual Machine

1.After you complete your VirtualBox installation,open it.Click on new to create a new virtual Machine on your computer.14

2.Name it as “Kali Linux 1.0.6” or any name which you prefer.The default OS type Microsoft Windows was auto changed to Linux as you insert the name.If you are installing 64 bit version of Kali Linux,Change version to Linux 2.6/3.x (64 bit)  Click Next.15

3.Select the memory size to be allotted to your virtual machine.The default is 256 Mb. You can give a size of your preference.Mostly I would like to give it half memory to make it run fast and smoothly,but it will slow down my windows gradually.If you have 8 -12 RAM,do not hesitate to allot the size.Give a size of 4 GB.

17

But due to less memory I will give only 512 Mb as it run well on my PC.

16

After you select your memory,Click Next.

4.Moving on to the next screen,Create a new virtual hard drive or use existing Virtual hard drive.Then click create button.18

5.Now you need to select a hard drive file type. You can select VDI,VMDK, VHD or HDD.I recommend to keep it default to VDI. Click next.

19

6.Next is “Storage of physical drive”.

  • If you create a fixed-size image, an image file will be created on your host system which has roughly the same size as the virtual disk’s capacity. So, for a 10G disk, you will have a 10Gb file. Note that the creation of a fixed-size image can take a long time depending on the size of the image and the right performance of your hard disk.
  • For more flexible storage management, use a dynamically allocated image. This will initially be very small and not occupy any space for unused virtual disk sectors, but will grow every time a disk sector is written to for the first time, until the drive reaches the maximum capacity chosen when the drive was created.

You can Create a Fixed size image but sometimes it may corrupt as the size is kept for the image .So I recommend you to create dynamically allocated image.

20

7.From “File Location and size”,Select where you want to install this Kali Linux or can change the name too. As the default size is 8 Gb (Picture in step 4-“The recommended size of the Hard drive is 8  Gb”)Set the virtual machine drive size to 15 GB.If you have a Hard drive with big size,increase the size if you want and click create. It will create virtual machine.

21

Virtual Machine is now created

22


 Installation of Kali Linux 1.0.6

Let’s install Kali Linux

1.Now click on setting or right click on the newly created virtual machine “Kali Linux 1.0.6” or whatever you have named it.23

2.Click in System tab then Processor and tick Enable PAE/NX

(System>>Processor>>Checked box symbol Enable PAE/NX)

  • PAE gives 32-bit processors the ability to use more than 4 GB of physical memory on capable versions of Windows, and is a prerequisite for NX.

  • NX helps your processor guard the PC from attacks by malicious software.

Click ok.

 

24

3.Now again from setting window navigate to storage tab >>Controller:IDE and then browse for the Kali Linux ISO File as shown in the Picture Below.The location and the name of the ISo file will be displayed . Click OK.25

4.Now from the main window double click over the virtual machine “Kali Linux 1.0.6(you Virtual Machine Name)” or right click and start or select start button from the toolbar.26

Select “Install” or “Graphical Install” as it makes no difference.Press Enter.

27

5.Select the language which you are comfortable with and click continue.

28

6.Select your location and Click continue.

29

7.Select your keyboard layout and click continue.

30

8.The ISO will be mounted and additional components will be installed.

31

9.Enter the hostname for your system.It’s better to leave it with the default name “kali” and click continue.

32

10.Enter the domain name if you have any.Leave it blank if you are not using any domain.

33

11.The default user Id is”root”. So just enter a password for it.We will need this user Id and password in step 25.

34

12.Select “Guided-entire disk for installation”.

35

13.It is the default virtual hard drive which we had created earlier.

36

14.We really don’t need to separate our Partition since this is a virtual machine.In Partition disk option select “All files in one partition” as it is recommended for new users.If you are an advanced user try other options. and click continue

37

15.Select “Finish partitioning  and write  changes to disk” and click continue.

38

16.Confirm the changes and select”yes” and click continue.

39

17.Installation will start now, it will take 5-10 minutes to install.

40

18.Ok,Once you get the files copied over.It’s going to ask you if you want to use a network mirror to download the newer latest updates,packages.I would recommend you to say yes,else select No and click continue.

41

19.System will configure the packages.

42

20.Moving on to the next screen,it will ask you to install Grub boot loader.I am gonna do yes since we are running a virtual hard drive. Else select No and click Continue.

43

21.You will get “Installation Complete” screen.Click continue.

44

22.Once the installation is finished,system will restart itself.Don’t hit anything your virtual machine will now boot from the image that we just installed.

45

23.Ok ,Great.So once you got to this point,you are officially there.Now we successfully installed the Kali Linux 1.0.6 distro.
Click the Other button.

46

24.The Username is root. Press Enter.

47

25.Enter the password that you created while installation in step 11.

48

26.Yes you are there

49

Unfortunately,the problem with Kali,which it doesn’t support yet,is the ability to resize the screen.The Resolution of the virtual machine stays the same.And we are going to fix it by Installing Guest Additions.

50

27.If you know how to add guest addition,well and good.
But before installing reboot your Kali Linux. Buy clicking root icon on the top right corner and selecting Shut-down.

51

52

28.Create a snapshot once you are out of Kali.
With snapshots, you can save a particular state of a virtual machine for later use. At any later time, you can revert to that state, even though you may have changed the VM considerably since then.
Click on Snapshot>>Take Snapshot>Add Name(Anything you like)>>Add Description>>Ok

56

 


 

Installing Guest Additions

29.Reboot Kali Linux Before we install Guest Additions we need to install Linux Headers.Open the terminal window first.64

30.We are going to go ahead and update the packages and headers.

root@kali:~# apt-get update && apt-get install -y linux-headers-$(uname -r)

65

31.All the packages and Headers will be installed.55

32.Once we go through that install process,Now we going to actually insert our Guest Additions.
Go to Devices>>Insert Guest Additions CD Image.

57

33.A dialog box will appear just click cancel. You can see that the file/disk is successfully mounted.

58

34.Now we have to copy this disk from the CDrom.So just type this command in terminal window . Press Enter

root@kali:~#cp media/cdrom/VBoxLinuxAdditions.run /tmp/

Press Enter

root@kali:~# cd /tmp/

Press Enter

root@kali:/tmp# chmod 755 VBoxLinuxAdditions.run

Press Enter

root@kali:~# ./VBoxLinuxAdditions.run

Press Enter

It goes ahead Builds the modules and it will install it.

59

Now once our guest additions are install we will have to restart our virtual Machine.

35:Type ‘reboot‘ in command and hit enter the VM will restart itself.

Once you reboot it,The window will fit with the screen or it will change to the size you desire.

60

Compare the second picture in step 27 with this picture below.See the Difference.

61

Great We are done!!

Now just one last thing we have to do.Create a Snapshot

36.Shut Down your virtual Machine as shown in step 27.And Create a Snapshot as explained in step 28

62

63

Awesome!!Its Done. That wraps ups this installation tutorial.Now you can start your Kali Linux. Kali is a really best Linux Distribution so do the best use of it but only for educational purpose.

Hope you liked my tutorial and I am looking forward to post more such tutorial for you.
If you get stuck somewhere,Please Let me Know.I am always there for you,as the name suggest 😉
Till then have a good time with Kali Linux.

Comment will be appreciated 🙂

 


					
Advertisements

14 thoughts on “Learn to install Kali Linux on windows 7/8/8.1

  1. Pingback: How to install ‘Guest Additions’ on Kali linux | getsoftwarehelp24x7

  2. Thank you just for posting.It was certainly delightful looking at about your entire opinion of this particular area of interest.I was looking for this kind of article for quite a while,and gratefully i came accross your website.I am hoping you certainly will keep helping people in the same manner in future also.

    Like

  3. Well it was an immensely fascinating write-up.Thanx just for sharing this type of tips here.I really hope you’re going to carry on enlightening individuals in future also,with the help of such a helpful info.Carry on the brilliant task.

    Like

  4. Thank you for posting.It had been seriously terrific reading regarding all of your thoughts about this kind of subject.I had been hunting for this sort of article for quite a while,and gratefully i came accross your site.I’m hoping you will keep supporting people in the same way in future also.

    Like

  5. hello, kali linux stop just after i click install or graphical install and the screen shop black screen through
    is their any issue to that pls

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s