KALI LINUX : Beginner Guide Installation (Window)

Let’s build a complete working KALI Linux in VirtualBox to start learning the hacking stuff or rather do a Penetration Testing to improve the security of our software.

Just to tell you guys something before I start the guide, I’m working as a Backend developer and have a passion to build a pc that can do these kind of stuff and I have no basic in networking, still a newbie in programming as well which make me a “Script kiddie” for now, just following other people recommend and do until it’s work. *Only basic stuff and not doing dangerous thing without permission.

Alright that for a quick and simple introduction, let setup the KALI Linux environment.

Tool Use

1. Oracle VM VirtualBox

2. KALI Linux ISO

3. Wi-Fi Adapter

1. Install Oracle VM VirtualBox

VirtualBox is designed to run virtual machines on your physical machine without re-installing your OS that is running on a physical machine through the virtualization, which another OS sharing the host computer’s resources. Each VM will have it’s own OS (can be Window, Linux, Mac), working separately from the host OS. Likewise, each VM will have its own CPU, RAM, DISK etc. A lot of other VM that can be used to setup the KALI environment (ex: VMware Workstation, Hyper-V , Parallels etc. ).

Previously I use VMware Workstation but I prefer VirtualBox nowadays cause it’s free, feature-rich application that is fairly easy to set up. It has a large and helpful community that keeps updating and enhancing the functionality. Additionally, it supports a variety of host operating systems (Windows, Linux, Macintosh, and Solaris) and is available under the terms of the GNU General Public License (GPL) version.

The installation of VirtualBox can be get from link below and the process should be quick to install.

In here I’ll install Windows hosts and Extension Pack for the VM. The extension pack is required for wi-fi adapter, which I’ll use ALFA AWUS036NHA Atheros wi-fi adapter.

Once the VirtualBox is installed, it should look like this (without the group section below the tools).

That it for VirtualBox easy right. Next is install KALI Linux ISO in VirtualBox.

2. Install Kali Linux ISO in VirtualBox

Kali Linux is an advanced penetration testing Linux distribution used for penetration testing, ethical hacking and network security assessments. Official images can be downloads through the links below.

The ISO can be download in official website choose the 1st option. The process of installation can be followed through KALI documentation below.

Once install it will look like this (ignore the other 2 Box). The specification of the VM it’s up to your specification, on how fast or smooth you want the VM will be. For me I want to maximize the VM since I got some extra resources and I want the process to be fast and effective plus I’ll upgrade the resource more once I’m familiar with KALI Linux stuff.

3. Install Wi-Fi adapter VirtualBox

Kali Linux and Aircrack-ng is the most commonly used software with some other options also available. Finding a good USB WiFi adapter is necessary since most dongles can not go into Monitor Mode (common dongles will be Manage Mode) and do the things that wireless Pen Testing needs.

Wi-fi adapter has a lot of option but for me I’ll pick this ALFA AWUS036NHA Atheros which is affordable and is good for beginner and I plan to change to better wi-fi adapter once I’m good enough. This adapter does not need to configure anything just plug and play and you are good to go.

Tips: Incase you do not have the driver can be download from here Alfa Network Inc.

Here are some other wi-fi adapter that can be used. Make sure to check the requirement before buying the adapter which support by KALI Linux and able to change to Monitor Mode.

TP-Link N150 TL-WN722N

Alfa AWUS036NH

Alfa AWUS1900

Alfa AWUS036ACH

Alright that should do it let go to the last part.

Tips: You might encounter this issue Enabling Virtualization or CPU Virtualization in Computer BIOS here are some other References

Enabling Virtualization

You can check in Task Manager > Performance > Click CPU > At the Bottom you can see Virtualization is enabled if not then you can follow the step to activate the virtualization.

Open Window Terminal Power Shell or Power Shell as Administrator and run this line.

  • bcdedit /set hypervisorlaunchtype off — incase not working switch back to bcdedit /set hypervisorlaunchtype auto and restart

Restart the computer.

If still not working, you might want to check in BIOS.

CPU Virtualization in Computer BIOS

The picture will depend on what motherboard you use, this one is ASUS BIOS you can check in CPU Configuration and Enabled the virtualization.

Once done, re-open the KALI Linux and the result should be like this. You can do the customization (theme, font, wallpaper etc.) later.

Here you need to go to Device > USB > Select Atheros which is your wi-fi adapter.

Once done you can check it out in terminal and run

  • ip addr

You will get this result, down there you will see the wlan0 which is your wi-fi adapter. Now installation done you can explore other thing like wifite, hashcat etc.

Hope this guide can help you guys, I’ll keep update the guide to make it more details and easy to understand. Anything you want to ask can comment in section I’ll try my best to help. The next stories will be some coding on Wifite and Hashcat stay tuned.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store