Skip to main content

Virtual Machine Set-up

 




Virtual Machine Set-Up with Kali Linux



To start working in a test environment, we will need to set up a virtual machine. This requires some minimum specification of hardware to run this virtual machine. Please reference the virtual box for more information. 


https://www.virtualbox.org/wiki/End-user_documentation 


Once you have the minimum hardware requirements we can move on to the next steps.


  1. Virtual Box installation

  2. Kali installation



Virtual Box Installation:


In the browser go to https://www.virtualbox.org/ to download the file for your operation system.



If you have Windows, download the Windows hosts, and if you have macOS download macOS.


You can install the application once you have the file downloaded to your host system. 

  1. Run the VirtualBox installer and follow the default installation

  2. Once installing is complete you can search for the application in your system and open the application.


  1. Once VirtualBox is open it should look something like this.



Downloading Kali Linux:


  1. In the browser go to https://www.kali.org/get-kali/#kali-virtual-machines to download the operation system to install or import.


  1. In this case, we are going to download a pre-built virtual machine. Down the one for VirtualBox because that image can only be used for VirtualBox.

  2. Once you have downloaded the image we can import the operation system to install or run the operation system.

  3. In this case, we do not need to install the ISO because it is already a pre-built system. So we are going to open the downloaded file and open the Ova file.

  1. Once you open the Ova file it will import the per-built OS into VirtualBox.

  1. Click on finish and the pre-built Kali will import.

  1. Once Ova has been imported you can click on the Kali on the left and go into setting.

  1. Change the RAM and Process to your liking. More CPU and RAM will speed up VM performance.

  1. We are going to keep the network setting to NAT.

  1. Save settings and launch Kali OS.

  1. You will be prompted to choose a setting or let the timer count down to choose 1st option, using Kali GNU/Linux.

  1. Your screen should prompt you to have a username and password. 

  1. Go to the VB setting and look at the description for the Kali at the bottom in the middle. This is where the pre-built Kali machine information will be listed with user and password information.


  1. Once you are logged in with the user and password. Open the terminal and run an update.



  1. Terminal command to run.

    1. Sudo apt update && sudo apt upgrade -y



  1. This completes the installation of VirtualBox and imported OS Kali.




Comments

Popular posts from this blog

Nmap Scan

  Nmap scan Youtube If you missed the first part of setting up the virtual machines and ping, do this part first before attempting to scan the devices on the network. https://toukeevang.blogspot.com/2023/10/3-vm-ping-connection-in-this-project-we.html We first going to start with an ARP scan to get the device's IP address. On your Kali virtual machine, open the terminal and type the following command. > nmap -PR -sn 10.0.2.0/24 nmap = is the tool we are using followed by some options within the tool. -PR = P is for ping, R is for randomize  -sn = ping scan no port x.x.x.x = your target IP address This next scan is to test websites and get the known IP address for the website. For this scan, you need to use the escalated privilege “ sudo “.  > sudo nmap -PE -sn scanme.nmap.org sudo = escalated privilege nmap = tool use -PE = sends ICMP packet only to get responses back -sn = ping scan no ports Scanme.nmap.org = target We are going to copy the IP addresses of the virt...