Vmware or virtualbox for kali linux

Vmware or virtualbox for kali linux

You can install VMware workstation or player on Kali Linux, allowing you to use Virtual Machines (VMs) inside of Kali Linux. However if you wish to use Kali Linux as a virtual machine, you will want our Kali Linux Guest VMware guide.

VMs are great, as there are many reasons why to use them. One of the being, able to run multiple Operating Systems at the same time. You can have your host machine “untouched”, and then only interact with the guest VMs. Another is when something is going right, take a snapshot. When something goes wrong, revert back.

VMware Workstation & Fusion is a commercial software (there is VMware Player which is free but it is limited in features). There are various free or open source solution (such as VirtualBox, QEMU, KVM/Xen with virt-manager).

Preparation

Before trying to install VMware, please make sure your version of Kali Linux is up-to-date, and if required, reboot the machine:

[email protected]:~$ sudo apt update [. ] [email protected]:~$ [email protected]:~$ sudo apt full-upgrade -y [. ] [email protected]:~$ [email protected]:~$ [ -f /var/run/reboot-required ] && sudo reboot -f [email protected]:~$ 

Download

To start with, you will need to download VMware. You can do this by going to VMware’s download page. At the time of writing, the latest version is 15.5.1-15018445 .

Alternatively, you can do the following command line method:

[email protected]:~$ sudo apt install -y curl [. ] [email protected]:~$ [email protected]:~$ curl -L https://www.vmware.com/go/getworkstation-linux \ > ~/Downloads/vmware.bin [email protected]:~$ [email protected]:~$ file Downloads/vmware.bin Downloads/vmware.bin: a /usr/bin/env bash script executable (binary data) [email protected]:~$ [email protected]:~$ ls -lah Downloads/vmware.bin -rwxr-xr-x 1 kali kali 511M Feb 14 20:46 Downloads/vmware.bin [email protected]:~$ 

When everything is up-to-date, and ready to go, make sure the file is executable and then call it:

[email protected]:~$ chmod +x ~/Downloads/vmware.bin [email protected]:~$ [email protected]:~$ sudo ~/Downloads/vmware.bin Extracting VMware Installer. done. Installing VMware Workstation 15.5.1 Configuring. [######################################################################] 100% Installation was successful. [email protected]:~$ 

We can see we have installed VMware Workstation 15.5.1. The version number may be needed later on.

After the installer is installed, you should be able to just run vmware to continue setup:

At this point, you should be be straight forward, often just clicking through.

Setup

The first part may be VMware Kernel Modules.

If vmware wasn’t called with superuser privileges, you may be prompted for a password.

At this point, it may not install correctly, and get the error message: Unable to install all modules. See log /tmp/vmware-kali/vmware-*.log for details. (Exit code 1) . This is often due to Kali’s kernel being newer than what VMware is expecting.

Looking at the log may help with troubleshooting the issue as well as the guide at the end of this post, vmware-host-modules .

Читайте также:  Linux find opened files

You will need to accept the legal agreement.

You may wish for it VMware to check for any updates.

You may wish to join “VMware Customer Experience Improvement Program”.

Enter the current username.

Enter a location for Shared VMs (this is different to each users own VMs).

Enter a port for HTTPS access

If you have a product key, you can enter it now, else it will be a trial for 30 days.

You may be once again prompt for superuser privileges if you didn’t execute the setup file with it.

The final screen should look like this.

If you now wish, you are able to install Kali Linux in a VMware VM (on Kali Linux).

Troubleshooting

libaio missing

If you see the following problem, upon trying to run vmware .

Try installing the libaio1 package:

[email protected]:~$ vmware [AppLoader] Use shipped Linux kernel AIO access library. An up-to-date "libaio" or "libaio1" package from your system is preferred. [email protected]:~$ [email protected]:~$ sudo apt install -y libaio1 [. ] [email protected]:~$ 

Then the next time you start vmware , it should of gone away.

Missing Packages

From time to time, things may not go right. There could be a number of reasons why VMware may not install. The first thing to check would be you have all the necessary packages installed:

[email protected]:~$ sudo apt install -y build-essential linux-headers-$( uname -r ) vlan libaio1 [. ] [email protected]:~$ 

Try running vmware again, and see if now setup continues.

Too Newer Kernel

A common issue is because the setup file for VMware isn’t supporting the latest kernels, which could be an issue as Kali Linux is a rolling distribution and receives frequent updates. If this is the case, we can patch VMware modules to support this:

[email protected]:~$ sudo apt install -y git [. ] [email protected]:~$ [email protected]:~$ sudo git clone \ -b workstation-$( grep player.product.version /etc/vmware/config | sed '/.*\"\(.*\)\".*/ s//\1/g' ) \ https://github.com/mkubecek/vmware-host-modules.git \ /opt/vmware-host-modules/ [. ] [email protected]:~$ [email protected]:~$ cd /opt/vmware-host-modules/ [email protected]:/opt/vmware-host-modules$ sudo make [email protected]:/opt/vmware-host-modules$ [email protected]:/opt/vmware-host-modules$ sudo make install [email protected]:/opt/vmware-host-modules$ 

Try now to install VMware, by doing vmware.

If you are still having issues, you may need to restart your Kali Linux before trying one more final time.

vmware-host-modules + Kernel Updates

As VMware has various kernel modules, we need to make sure they are kept up-to-date and re-patched when Kali Linux’s kernel gets updated. This can be achieved by the steps in the following guide:

[email protected]:~$ sudo tee /etc/kernel/install.d/99-vmmodules.install " BOOT_DIR_ABS="\$3" KERNEL_IMAGE="\$4" VMWARE_VERSION=\$( grep player.product.version /etc/vmware/config \ | sed '/.*\"\(.*\)\".*/ s//\1/g' ) ret=0 case "\$" in add) [ -z \$ ] \ && exit 0 git clone -b workstation-\$ https://github.com/mkubecek/vmware-host-modules.git /opt/vmware-host-modules-\$/ cd /opt/vmware-host-modules-\$/ make VM_UNAME=\$ make install VM_UNAME=\$ ((ret+=\$?)) ;; remove) exit 0 ;; *) usage ret=1;; esac exit \$ EOF [email protected]:~$ 

Still can’t start up VMware? vmware-modconfi

If VMware is unsuccessful, we can dig a little further by running the following:

[email protected]:~$ sudo vmware-modconfig --console --install-all [. ] [email protected]:~$ [email protected]:~$ sudo vmware-modconfig --console --install-all 2>&1 | grep error [. ] [email protected]:~$ 

Looking at the output, may either give us the exact issue, or at the very least something to search the Internet for.

Читайте также:  Альт линукс настройка прокси сервера

Can’t Power on a Virtual Machine

You may also face the following issues, when trying to power on a VM.

  • Failed to initialize monitor device
  • Could not open /dev/vmmon: No such file or directory. Please make sure that kernel module ‘vmmon’ is loaded
  • Unable to change virtual machine power state: Transport (VMDB) error -14: Pipe connection has been broken.

The quickest solution to fix these would be to reboot Kali Linux and try again.

Updated on: 2023-Mar-06
Author: g0tmi1k

Источник

How to Install Kali Linux ISO For VMware & VirtualBox

How to Install Kali Linux ISO For VMware & VirtualBox

Windows and Mac are the most popular and also most used operating system. They are definitely useful, updated and does whatever a user needs. As a computer user, you might have probably seen white dragon with blue background labeled as operating system. If you haven’t seen it completely, you might have at least seen its icon or wallpaper or anything else. Now what it really is and what it does, we’ll explain in this post. In this post, I’ll provide Kali Linux ISO for VMware & VirtualBox.

There is a Linux distribution called Kali that is very famous between hackers. It is only for penetrating, testing which have almost everything ready to use. The Kali Linux is the favorite of hackers because with this operating system whatever they want they can do in Linux. You can change, optimize, and improve everything there. You can also hack any operating system and any other thing. But keep in mind its not permitted. If you attempt to enter into the criminal world then you may also know what’s the result if you’re caught in.

Kali Linux

Kali Linux’s 2020.1 version was released on January 28, 2020 which is available for desktop/laptop computers. The previous version was 2019.4. This new Kali Linux version is available in 32-bit and 64-bit versions. It’s available in a variety of desktop environments such as KDL, LXDE, and Mate. Kali Linux is a novel list of Linux distributors, dedicated to providing an operating system that specializes in protection, legal workspace, and an intrusion testing system. The product is an open-source platform earlier known as BackTrack. Which offers a complete package of quality-oriented tools with multiple language support. In this post, I’ll provide Kali Linux ISO for VMware & VirtualBox.

Kali Linux is preloaded with many opportunities to provide a suitable system for security experts to identify and perform penetration testing tasks. In short, it’s clear that the product has much to do. One of the purposes is to bring the operating system industry to more security devices, a complete command line, control meta-packages, an flexible environment, and a user-friendly way to access applications.

Kali Linux has improved so much from the previous version. In terms of its features, you can see lots of improvements such as like switching default account instead of the main user changes to the normal user. Installing Kali Linux can be done in different ways. As separate or live boot or via ISO image upload network, a new theme for GNOME users, updated tools, Kali-undercover is now even more similar to Windows also more other new packages and updates.

Читайте также:  Ftp клиент для линукс

Download Kali Linux ISO For VMware & VirtualBox – Latest Version

Another benefit of this operating system is that once it’s installed, you don’t need to enter a custom program and programming code to work. You can simply read the instructions in the terminal window and type the command. You can use many tools in Kali Linux work via the command line, but you can also use some programs with graphical user interfaces such as WireShark, Burp Suite and Armitage.

This is the only operating system that has hundreds of pre-installed security tools. That after download it allows you to penetrate a computer, collect information, forensics, reverse engineering, crack passwords, sniffing and sniffing, and more. And you can also hack anything but you shouldn’t and you can’t download this for an unlawful purpose. Instead, you can use it only for correct activities which include learning, studying teaching. In terms of unlawful things, you can use it otherwise you’re putting yourself in risk.

How to Download Kali Linux ISO

Linux provides us with many tools and is highly flexible for researching, creating and manipulating systems and information. However, it has a terrific and unreliable user interface, making it difficult for enterprise applications to use it. Kali Linux is available on Windows 10 on top of windows subsystem for Linux(WSL). The official Kali Linux distribution for windows is also available in the Microsoft Store.

If you would like to enjoy this useful operating system so for this you need to download kali Linux ISO with which we can put our hands on. While it doesn’t require something in the sense that most of the tools it provides could be installed on any Linux distribution. And default settings can be chosen according to the intended use cases of the distribution, else than it perfectly provides what a user needs.

Go to the Kali Linux ISO link window and choose one then click.

Download Kali Linux ISO For VMware & VirtualBox

When the download window poped up, click on Start Download.

Download Window

While there are different ways to install Kali Linux but for every one of them, we need the Kali Linux ISO. One of the easy without installation method is to live bootable USB. That disc package can also create experience multiple profiles and encryption settings. Without the Kali Linux installer file, we can neither use nor study or do anything else.

Conclusion

Now if you have clicked in the link so you might have download the Kali Linux ISO. Kali Linux has lots of tools that you can use for several purposes, most of which includes exploiting a victim network or application, performing, network discovery, or scanning a target IP address. What we recommend is to use Kali Linux to study, work and understand security and vulnerabilities.

Everything is installed now so enjoy Kali Linux with its all update feature. If you encounter any problem, so let us know in the comments down below.

Источник

Оцените статью
Adblock
detector