Kali Linux VM installation on oracle virtual box
INTRODUCTION:
Kali Linux is a Debian-based security distribution of Linux that is specifically designed for advanced penetration testing and computer forensics. It was developed by Mati Aharoni and Devan Keams of Offensive Security, who rewrote BackTrack to create Kali Linux. With over 600 preinstalled penetration-testing applications, Kali Linux contains several hundred well-designed tools for various information security tasks, including penetration testing, security research, computer forensics, and reverse engineering. These tools are organized into categories such as information gathering, wireless attacks, exploitation tools, forensic tools, password attacks, and more. The professionals who use Kali Linux include security admins, network admins, penetration testers, forensic engineers, network architects, and others. Kali Linux is a unique operating system because it is openly used to detect and prevent security breaches, as well as to identify and possibly exploit security breaches.
Installation using Virtualbox
Below are the step by step process on how to install Kali Linux using Virtual Box (Oracle's Virtual Box). This method allows you to continue to use your existing hardware while experimenting with the feature enriched Kali Linux in a completely isolated environment. This post assumes you have already installed Oracle's Virtual Box on your system and have enabled 64-bit virtualization via the BIOS. Make sure to download VirtualBox for your specific platform package which can either be windows host, macOS host or Solaris host.
STEP 1:- Download and install the Oracle Virtualbox
Go to Oracle's official website , here you'd download the virtualbox software also ensure to download your specific platform package (either windows OS, mac OS or Linux distribution) . In the image below I just selected windows hosts
STEP 2:- DOWNLOAD THE KALI ISO IMAGE
Visit the official Kali Linux site to download the kali ISO image (select 64 bit or 32 bit according to your system specifications)
STEP 3:- CREATING A FIXED MEDIUM STORAGE UNIT FOR THE KALI VM
After the successful download of the kali ISO image, we have to launch our virtualbox. Open up the oracle virtualbox, now select TOOLS and then click on NEW. After that a new window pops up.
- Name your virtual machine (KALI LINUX OS)
- Select the type (Linux)
- Select the version (Debian 64-bit)
- Give a memory size of at least 2048mb
- Select the button for "Create a virtual hard disk now"
- Finally click on "Create"
- Select your preferred File location
- Give your preferred file size (recommended 50GB).
- Select "VHD" as your hard disk file type
- Select "Fixed size" as storage on physical hard disk option
- Click on "Create", then give the VM some time to create fixed medium storage unit
STEP 4:- IMPORT THE KALI ISO IMAGE TO THE ORACLE VIRTUALBOX
After that, select the just created Kali virtual machine from the list of VMs and click on "Settings"
When the settings window pops up, here are some steps to follow:
- Click on "Storage"
- Then select the "Empty" option
- Then click on the "blue-disk-like" optical drive image
- Then select "Choose a disk file"
Now a new window pops up where you'd be required to select your previously downloaded Kali ISO image from the folder where it was downloaded to (usually the download folder), ensure you select "All Files" so you might easily locate the ISO image. Now you click on "Open"
Now the Kali ISO image has been added to the optical drive. Close the settings window
STEP 5:- START UP THE KALI LINUX VM
To power on your Kali VM, select the VM then click on start. Once this is done, you now have just a few configurations to be done for your Kali VM to be fully functional
STEP 6:- SETTING UP KALI LINUX VM FULLY
Once the VM starts up, it displays a list of options from which you are expected to select your desired installer menu (graphical installer is recommended)
- Select your preferred Language. This would be the language for communication between your Kali VM and you
- Select your Location. The country of your operation is required here
- Select your desired Keyboard format
- Assign a hostname to your Kali machine
- Assign a Domain name to your Kali VM machine. this would normally end with .edu, .com, .net or .org
- Assign full name for the new user
- Assign a username to your Kali VM
- Set up a strong password for this user account. NB:- Ensure you recall the username and password as it would be required from you during the login process
- Configure the clock for this VM
- Now for the next step, we would have to partition our hard disk using the Guided partitioning - use entire disk and then click on configure
11. Select the disk you'd like the partitioning to occur in. Since we created only one virtual hard disk, we only need to select that VHD for partitioning(it should be of this format> SCSI3 (0,0,0) (sda) – 68.7 GB ATA VBOK HARDDISK)
12. Select All files in one partition as a partition scheme
13. Select Finish partitioning and write changes to disk and then click Continue
14. Select Yes to save changes to disk
15. Select the software you'd like to be preinstalled in your Kali machine like desktop environment, recommended tools e.t.c and click on Continue
16. Install the GRUB Boot loader on the hard disk.
17. After that Kali's installation wizard carries on full installation. This could take a few minutes depending on your system specifications
18. Once you get the prompt Installation complete, Click on Continue and the Reboot the Kali machine
After the reboot, you'd be prompted to input your username and password which would grant you access to the Kali Linux interface
CONCLUSION
This tutorial kicked off from the download and installation of Virtualbox, to the importation of the Kali ISO image to the Virtualbox, to the full step by step setup of Kali VM. The blogpost was made to combat issues that would normally arise during the setup of Kali VM. The comment section is open for discussion or enquiries pertaining to issues encountered during the installation process.
Comments
Post a Comment