Installing Kali Linux in Virtual Environment | Cyber Security | HACKING | hackin5min.com


Installing Kali Linux in Virtual Environment :



Installing Kali Linux in Virtual Environment | Cyber Security | HACKING | hackin5min.com  

VMWare Player Resources

    VMWare - http://www.vmware.com/

 ●    Kali Install Directions - http://docs.kali.org/category/installation

    Kali Downloads - http://www.kali.org/downloads/



    Microsoft Evaluation Software - http://technet.microsoft.com/en-us/evalcenter

 Introduction In this section 

we will setup Kali Linux, Windows 7 and Metasploitable 2 as Virtual Machines (VMs) using VMWare Player on a host computer. Setting up our testing lab using virtual machines makes it very easy to learn offensive computer security testing using Kali. Virtual machines make it possible to run several operating systems on a single computer. That way we do not need a room full of computers to set up a testing and learning environment.

We only need one machine powerful enough to run several Virtual Machine sessions at once. For the book I used a Windows 7 Core I-5 system with 8 GB of RAM. It had plenty of power to run all three of our lab operating systems at the same time with no problem at all. If you have experience with Virtual Systems, you can use any Virtual Machine software that you want. 

But for this tutorial I will be using VMWare Player as the host software, and then install Kali, Metasploitable 2 and Windows 7 in separate VMs running under the host. When done, you should have a small test network that looks something like this:
Because we will be dealing with vulnerable operating systems, make sure that you have a Firewall Router (Preferably hardware) between the Host system and the live internet. Install VMWare Player & Kali Installing Kali on VMWare is extremely simple as Offensive Security provides a Kali WMWare image that you can download, so we will not spend a lot of time on this.

 Download and install VMWare Player for your version of OS.

1.       Download and install VMWare Player 


2.      Agree to the license agreement and choose where you want it to install it, the default is normally fine. 3.       Click, “ ” when done.



4.      Download the Kali VMWare Image (http://www.kali.org/downloads/) and save it in a location where you want it to run from.
(Note: It is always a good idea to verify the SHA1SUM with the downloaded image to verify you have a legitimate copy of the image. There are numerous MD5/ SHA1 freeware programs available.) 

5.      Un-GZip and Un-Tar the downloaded image (7-Zip works great).

6.      Start the VMWare Player. 

7.      Click, “ ” from the menu. 
8.      Then “ ” 
9.      Next click, “ ”. 

10.   Surf to the extracted Kali .vmx file, select it, and click, “ ”. 

11.    It will now show up on the VMWare Player home screen:

12.   With the Kali VM highlighted click, “ ”. 

13.   Here you can view and change any settings for the VM:

14.   Click, “ ”:

It is set to NAT by default. This will be good enough for what we are doing. NAT means that each Virtual machine will be created in a small NAT network shared amongst themselves and with the host; they can also reach out to the internet if needed.
 Each machine will be given a DHCP IP address, which means that the IP addresses might change on the VMs when you reboot them. 

(If you need to know Kali’s or Metasploitable’s IP address, just type “ ” in a Terminal window. On a Windows based VM, just type “ ” at a command prompt.)

15.   Click “ ” to return to the VMWare Player main screen. 

16.   Now just click, “ ”, to start Kali. You may get a message asking if the VM was moved or copied, just click, “ ”. 

17.   When prompted to install VMWare tool, select to install them later. 

18.   When Kali boots up you will come to the Login Screen

19.   Click on “ ”, then login with the username, “ ” and the password “ ” (root backwards). 20.  You will then login to Kali and be presented with the main Desktop:
Updating Kali Linux

We will cover getting around in Kali a little later, but first, we need to update Kali to the latest version. The VM image is a bit old, so there are a lot of updates that could take a while to download.
1. Open a Terminal Window:
2. Type, “ ” and hit “ ”:


3. And then, “ ”:
(Type, “ ” and enter when prompted that additional disk space will be needed.) This can take quite a while, so this might be a good time for a break, you deserve it! 4. When done, reboot.

Tech Note:

 There are additional source repositories that you can manually add to Kali if you want. For example if you want the absolute latest and greatest, you can add the “Bleeding Edge” repositories to Kali. But these do come with the warning that they are not manually maintained and are low priority.



That’s it; Kali should now be installed, updated and ready to go. We will take a closer look at the desktop in the next section.

Installing VMWare Tools for Linux

 When Kali boots up, a WMWare pop-up should appear asking if you want to install the VMWare tools into the operating system VM.


This allows the OS to work better with VMWare, usually giving
you more control over video options and cut and paste capability with the host. You don’t need to install them, but it usually makes things work a little bit smoother. When you get the pop-up message below, click “Download and 
Install”:

The tools will then begin to download:
Allow the tools to install and then click, “ ” when finished.



Installing Kali Linux in Virtual Environment | Cyber Security | HACKING | hackin5min.com

DONATE VIA PAYPAL Support Your Brother | God Gaves You Alot | Contibute To Community https://www.hackin5min.com/. Jai Hind.
Newer Posts Newer Posts Older Posts Older Posts

More posts

Comments

Post a comment