Установка kali linux на виртуальную машину vmware workstation
Установка kali linux на виртуальную машину vmware workstation
ЧАСТЬ 1, настройка машины.
Скачать и поставить Vmware.
Скачать Kali Linux (Все ссылки буду даны ниже)
Запускаем виртуалку и клацаем на «Создать новую виртуальную машину».
Открывается окошко, жмем «Обычный». Далее жмем «Файл образа установки (ISO)» и выбираем образ нашей ОС и жмем далее.
Пишете имя, и расположение где будут созданы файлы виртуалки и линукса.
Размер диска ставим не менее 30 GB, так как при меньшем значении возможны ошибки! И сохранить диск в одном файле.
(ВАЖНО! ДИСК БУДЕТ РАСШИРЯТЬСЯ ПО МЕРЕ ДОПОЛНЕНИЯ НОВЫХ ФАЙЛОВ!)
ЧАСТЬ 2 УСТАНОВКА ОС
Нажимаем «Включить виртуальную машину».
Выбираем «Graphical Install», потом язык, страну, и раскладку.
Пароль суперюзера: ставим любой.
Записать изменения на диск: Жмем «Да»
Ждем. (Обычно мин 10)
Использовать зеркало: Да
HTTP Proxy: Ничего не пишем и пропускаем.
Куда ставить grub: ничего не меняем (Должно быть: /dev/sda)
Далее идет процесс установки.
При завершение установки жмем продолжить.
Далее система перезагрузится и можно будет ее пользоваться.
Вот и все, вы успешно поставили Kali Linux
В следующем гайде будет настройка и прочая лабуда. Ставь лайцкос)
Как установить Kali Linux на VMware Workstation
В статье мы подробно расскажем, что такое Kali Linux и покажем, как проходит установка Kali Linux на VMware Workstation Player.
Что такое Kali Linux
Kali Linux — это дистрибутив ОС Linux. Его разработала американская компания Offensive Security, которая занимается тестированием на проникновение, информационной безопасностью и цифровой криминалистикой. Kali создавался для проекта по проведению тестов на безопасность. В основу его разработки легли такие проекты, как Auditor Security Collection и WHAX.
Kali создан на базе двух дистрибутивов: Debian и BackTrack. BackTrack — это ПО, специально созданное для тестирования безопасности и проведения цифровой криминалистической экспертизы. Первая его версия появилась в 2006 году в формате LiveCD. Уже через шесть лет, с появлением Kali Linux, BackTrack потерял свою актуальность.
В дистрибутив Кали входят такие программы, как Metasploit, Nmap, Aircrack-ng, Ettercap и сотни других приложений и инструментов для пентестинга. С помощью встроенных инструментов Кали можно:
Сейчас Kali Linux очень активно развивается, новые версии дистрибутива выходят раз в несколько месяцев.
Кому подойдет Kali Linux
Kali стал популярен благодаря сериалу «Mr. Robot» — в картине все взломы и тестирования проходят именно с помощью этой операционной системы. Фигурирование Кали в сериале вызвало резкий рост интереса к ОС среди обычных пользователей. Однако ОС не подходит для решения повседневных задач. Дело в том, что в Кали отсутствуют стандартные офисные программы и пользователь по умолчанию в ней root.
Kali Linux активно используют как добросовестные специалисты по информационной безопасности, так и хакеры и хакерские группировки. Кто чаще всего использует Kali Linux:
Кали Linux можно установить как с помощью ISO-файла, так и с помощью готового образа. В инструкциях ниже мы покажем оба способа настройки.
Как установить Kali Linux на VMware Workstation
Запустите Workstation Player и нажмите Create a New Virtual Machine:
Нажмите Browse и в локальной папке компьютера выберите ISO-образ Kali Linux. После этого кликните Next:
Кликните на строку Linux. Так как Kali Linux разработана на основе Debian, выберите в выпадающем списке Debian 10.x 64-bit и нажмите Next:
Введите имя виртуальной машины и выберите директорию для установки. Вы можете оставить параметры по умолчанию и нажать Next:
Выберите объём диска виртуальной машины. Для установки Kali Linux будет достаточно 20 ГБ. Также выберите тип диска — от него зависит, как будет храниться виртуальная машина:
Затем кликните Next:
По умолчанию для виртуальной машины выделяется одно ядро процессора. Для лучшей производительности выделите как минимум два ядра. Для этого нажмите Customize Hardware:
Затем нажмите Processors и в выпадающем списке «Number of processor cores» выберите значение 2. После этого кликните Close:
Чтобы завершить настройку, нажмите Finish:
После этого запустите виртуальную машину:
Нажмите Enter, чтобы выбрать установку с графическим интерфейсом. Это самый простой способ установки ОС без работы в командной строке:
Готово, установка завершена.
Как запустить готовую виртуальную машину Kali Linux на VMware Workstation
Запустите WMware Workstation Player и нажмите Open a Virtual Machine:
Откройте папку с файлами виртуальной машины, выберите файл в формате .vmx и нажмите Открыть:
Виртуальная машина появится в списке. Запустите её:
Нажмите I copied It и дождитесь загрузки операционной системы:
Введите логин и пароль для входа в систему:
Затем нажмите Log In:
Готово, вы запустили операционную систему:
Теперь вы знаете, каким способом можно установить Kali Linux на VMware Workstation и сможете быстро создать виртуальную машину по одной из наших инструкции.
Установка kali linux на виртуальную машину vmware workstation
This guide is about virtualizing Kali Linux inside of VMware, allowing you to have a Kali VM. This is a great way to use Kali, as it is completely separate from the host, allows you to interact with other VMs (as well as the host, and other machines on the network), and allows you to revert to snapshots.
If you are trying to install VMware on Kali Linux (as a host), please see our guide.
The guide below is what we use to generate our pre-made Kali Linux VMware images. You may alter this to your needs. We always generate the images using the latest version of VMware Workstation, as Player and Fusion don’t have the same level of functionally and controls over settings.
You will need to enable virtualization in your BIOS/UEFI for (e.g. Intel VT-x/AMD-V)
Wizard
Upon starting up VMware Workstation, select “Create a New Virtual Machine”.
When you have the option, select “Custom (advanced)” for the Virtual Machine Configuration, as this will allow us to have more control over the creation of the VM.
The next screen is “Virtual Machine Hardware Compatibility”, which we use “Workstation 8.x”.
On this screen, we select the Kali Linux image to use to install from. We select “Browse”, and navigate to the location of the ISO that we downloaded. For more information on what image to download, we have written up a guide.
When you see the “Guest Operating System” screen, select “Linux”, and then the latest version of Debian for the version (as Kali is based on Debian). In this example, its Debian 10. We are going to be use the x64 image to install Kali, so we have selected 64-bit.
The next screen is “Processors”. Here we can start to define how many resources we give the VM. Kali will be able to perform more tasks simultaneously and quicker if it is allocated more resources. We select “2 processors” and “2 cores per processors”, giving a total of 4 cores. You may wish to use more or less depending on your system requirements.
“Memory” is the next section, where we can define how much RAM to use. Again, the higher amount of RAM, the more applications can be open and at increased performance. Various tools inside of Kali can be demanding of resources. When we make the general VMs, we select 2GB (2048 MB) for RAM, but we often increase this for our personal machines as we have high-performing devices with spare RAM which Kali can utilize.
We are then presented with “Network Connection”. We default to using a NAT connection. However, this can easy be altered (even when the VM is powered on). This allows for Kali VM to talk to the Internet, as well as the rest of the LAN connection, without it taking up an additional IP address. The downside to this is it will not be able to receive reverse shells (without port forwarding inside of VMware).
Next is “I/O Controller Types”. We accept the default value of “LSI Logic”.
Next is “Virtual Disk Type”. We accept the default value of “SCSI”
The following screen is “Disk”, which allows us to “create a new virtual disk”
This screen below, “Disk Size”, allows us to define how large the virtual hard disk will be. We use “80 GB” for our VMs.
We also don’t have it in a single file, but instead “Split virtual disk into multiple files”. The VM hard disk will grow over time, to the maximum size, as we do not enable the “Allocate all disk space”.
It is possible to increase/decrease the hard disk after the VM has been created, however, if you have installed Kali, you’ll need to then also grow or shrink the partition for the space to reflect that.
When it comes to the “Disk File” screen, we accept the default value, which has been defined from our VM name earlier in the setup process.
We are then presented the final screen for the VM setup wizard, which gives us an overview of the settings we picked.
We are happy with whats shown to us, so we then press “Finish”. If you try and “Customize Hardware” at this stage, before the VM is fully created, not every setting is visible.
If this is the first time using the wizard, you may have the following prompt explaining how installing “VMware tools” will give you a better experience when using the VM.
After reading and understanding the page, you may wish to tick the “Don’t show this page again”, before pressing close.
Edit Settings
Before we start up the VM, we now edit its settings, by pressing “Edit virtual machine settings”.
We do not have a use for a printer, so we remove it. Navigate to the “Printer” section, and then press “Remove”.
You may wish to edit the “USB” settings to alter how USB devices behave. Here we have disabled “Automatically connect new USB devices” (may not have the option depending on your VMware version) and enabled “Show all USB input devices”.
Another item to point out is in the “Display” section. Make sure that “Accelerated 3D graphics” is disabled, as people have reported that causes issues.
We then move over to the “Options” tab, and move down to “Power”. We choose to enable “Report battery information to guests”, as it is a handy thing for users who use Kali on a laptop/notebook.
In “Shared folders”, we select “Always enable”. At this stage, do not share any paths, as some users may not wish for it.
The final option we alter is “VMware Tool”, where we enable “Synchronize guest time with host”.
After all this is done, we save, start up the VM, and then continue installing Kali Linux as we normally would for a bare metal install.
During Kali Linux setup process, the install wizard should detect if its inside a VM. If it is, should then automatically install any additional tools (such as open-vm-tools ) to give a better user experience. If you want to manually re-install it, you can see our VMware Guest Tools Guide.
Updated on: 2021-Dec-16
Author: g0tmi1k
Установка kali linux на виртуальную машину vmware workstation
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.
Download
Alternatively, you can do the following command line method.
When everything is up-to-date, and ready to go, make sure the file is executable and then call it.
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.
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
Try installing the libaio1 package.
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.
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.
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.
Still can’t start up VMware? vmware-modconfi
If VMware is unsuccessful, we can dig a little further by running the following.
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.
The quickest solution to fix these would be to reboot Kali Linux and try again.
Updated on: 2021-Dec-16
Author: g0tmi1k
SHAILESHJHA.com
In this blog post, I will show you how to setup and install Kali Linux 2021.1 in VMware Workstation Player 16 which is the latest version of VMware Player.
You can also watch my YouTube video on this topic. Rest of the blog is the detailed step.
About VMware Workstation Player
VMware Workstation Player is the limited capability free version of VMware Workstation Pro. That is, it is just as VMware Workstation Pro with lesser functionality. But what is available is enough for most of the home users.
VMware Workstation player is available free of cost. Earlier it was not free, but I see that VMware has made it available for free for non Commercial users. For commercial usage, VMware Workstation Pro is more suitable.
This is the download page for all the VMware products. You will have to scroll down to VMware Player option to see the download link. From here you download any VMware Products. This link will always remain valid even when newer versions of the products are released.
Lets gets started with Installing Kali Linux 2021 in VMware Player 16
Step 1 – Download Kali Linux ISO image
To install the Kali Linux, we will have to first get the installer ISO image file. You can get it by visiting the official download page. Please download the 64 bit or 32 bit image depending on the system you have.
Kali Linux official download page
Step 2 – Locate the downloaded file
You can find the downloaded image file in the downloads folder, if you have not changed the default settings. The filename would be something like kali-linux-2021.1-installer-amd64.iso and would be around 4.0 GB. If you have downloaded through torrent, the ISO file will be downloaded in a folder, folder name would be something like kali-linux-2021.1-installer-amd64.iso.
Step 3- Open VMWare Player
Open VMware Player from Windows Start menu or from you desktop if you have VMware Player icon there.
VMware Player 16 home screen
Step 4 – Launch VMware Player – New Virtual Machine installation wizard.
VMware Player 16 – Create new virtual machine
Step 5- Welcome to the new Virtual Machine Wizard dialog box appears
You will see new Virtual machine Wizard dialog box. Click Next.
VMware Player 16 – Welcome to the new Virtual machine Wizard
Step 6- Select installation media or source
In this dialog box you will have to browse to the downloaded ISO file and click next. Generally, VMware Workstation detects the OS automatically and initiates what they call as the Easy Install. But in the case of Kali Linux this is not the case and you will see a warning(yellow triangle). Please ignore that and click next to continue.
VMware Player 16 – Welcome to the new Virtual machine Wizard
VMware Workstation Player 16 – Select Guest Operating System
Step 7- Select Guest Operating System
In this dialog box, you will be asked to select the Guest Operating System. Select Guest operating system as Linux and Version as Debian 10.x 64-bit or 32 bit depending on your system.
VMware Workstation Player 16 – Select Guest Operating System
Step 8- Provide Virtual machine name
In this dialog box, you will be asked to provide the name of the virtual machine. You can provide any name you like. You can also change the location of the virtual machine. By default it is place in the Documents/Virtual Machine folder. Leaving it as the default is also fine.
Kali Linux Installation – Name of VM
Step 9- Specify disk capacity
This dialog box asks you to specify the disk capacity. This is the maximum amount of disk space it will utilize once the Virtual Machine is created. You can leave it to the default but if you are running low on disk space, you can reduce it to 20 GB. This is generally sufficient if you are not planning to install heavy disk using software’s such as Photoshop. Such software’s reduce the performance of your Virtual Machine if your Computer is not powerful enough.
Check Split Virtual Disk into multiple files. This is the default option. Say if you specify 60 GB, all of 60 GB will not be utilized or say 60 GB will not be blocked at once. These Virtual Disks expand according to the usage with a Maximum size you specifed as the disk capacity. On a fresh install normally it takes 10 GB of space which will grow according to the software’s you install in the VM.
Kali Linux Installation – Specify Disk Space
Step 10- Ready to create Virtual Machine Dialog Box
This is the final dialog box and what you see is all the options you have selected in previous dialog boxes.
Kali Linux Installation – Ready to create virtual machine
Customise Hardware – Normally I increase the RAM and memory before clicking finish. This helps to finish the installation process faster. If you have sufficient RAM and CPU on your host Windows machine, I suggest even you should increase RAM and CPU. To increase the RAM, before clicking Finish, click on customise hardware. Increase the memory using the slider.
Kali Linux Installation – Customise Hardware – Memory
To increase the CPU, Enter the number of cores. I normally enter 4. Based on your CPU you can enter the number of cores.Click on Finish to start the installation process.
Kali Linux Installation – Customise Hardware – Processor
Click on Display to change the display settings. Check Accelerated 3D Graphics, Use host settings for monitor.
Kali Linux Installation – Customise Hardware – Display
Click on OK and Finish to start the installation process
Kali Linux Installation – Ready to create virtual machine
Step 11 – Play Virtual Machine
Now you will have to click on play virtual machine to start the process.
VMware Player 16 – Play Virtual machine
Step 12 – Select Graphical Install from Boot Menu
Here you will see many options. Select Graphical Install using the down arrow key and click continue.
Kali linux installation boot menu screenshot
Step 13 – Select a Language
In this dialog box you will be asked to select a language. Please select a language and continue. This option sets your language in the Kali Linux Operating system. Default is English.
Install Kali Linux 2021 – Select a Language Screenshot
Step 14 – Select Location
In this dialog box you will be asked to select a Location. Please select a location and continue. This option sets your Location in the Kali Linux Operating system. later on, you will be able to set the time zone based on the location you choose here.
Install Kali Linux 2021 – Select Location Screenshot
Step 15 – Configure the Keyboard
In this dialog box you will be asked to select the keyboard layout. Please select a Keyboard layout using the arrow keys and click continue. This option sets your Keyboard in the Kali Linux Operating system. By default it is set to American English.
Install Kali Linux 2021 – Configure keyboard Screenshot
After you click continue, you will see the installation progresses for some them you see the Network Configuration dialog box, which is the next step.
Install Kali Linux 2021 – Installation progress Screenshot
Step 16 – Configure the Network – Enter Hostname
In this dialog box you will be asked to enter the hostname for your system. This being a home network, we can set anything. Enter any anything and click continue.
Install Kali Linux 2021 – Configure the Network Screenshot
Step 17 – Configure the Network – Enter domain name
In this dialog box you will be asked to enter the domain name for your system. This being a home network, we can set anything like example.com
Install Kali Linux 2021 – Configure the Network- Enter Domain Name Screenshot
Step 18 – Set User account and password
In this dialog box you will be asked create an account other than the root user. Please note that this is the user other than the root user. Please type your name and click continue
Install Kali Linux 2021 – Set up Users account Screenshot
Now you will be asked to provide the user name again. I use the same name as the account name in the previous screen.
Install Kali Linux 2021 – Set up Users name Screenshot
You will be asked to setup a password of the user you created. Enter the password. We will login with this username and password once the installation completes.
Kali Linux Installation – set user password
Step 19 – Partition Disk
In this dialog box you are asked how you would like to partition your disk. Select Guided – Use entire disk and click continue. This is the default option.
Install Kali Linux 2021 – Select Disk to Partition Screenshot
In this dialog box you are asked to select a disk to partition. Select sda, VMware Virtual disk. There should be only one option. Click Continue.
Install Kali Linux 2021 – Select Disk to Partition Screenshot
Step 20 – Select partition scheme
In this dialog box you are asked to select a scheme for disk partition. Select the default, All files in one partition and click Continue.
Install Kali Linux 2021 – Disk Partitioning Scheme Screenshot
Step 21 – Disk partition Overview
In this dialog box you are see the summary of your disk partition. Select the Finish Partitioning and Write changes to disk which should be selected by default. All you have to do is to click continue.
Install Kali Linux 2021 – Disk Partition Overview Screenshot
Step 22 – Disk partition Confirmation
In this dialog you are asked to confirm Write changes to disk. Select yes and click continue.
Install Kali Linux 2021 – Disk Partition Confirmation Screenshot
Step 23 – Installation starts
Now the actual installation starts. Wait for Configure the Package Manager Dialog box to appear.
Kali Linux – Installation begins
Installation process will continue. Wait for sometime and let the process continue.
Kali Linux Installation
Installation will continue… please have patience.
Kali Linux 2020 Installation progress
Installation will continue. Wait for the process to complete. This can take a long time. So have patience.
Step 24 – Software Selection
In this screen, you will have to specify what software you want to install. I accept the large, that is install all that is a part of default and additional tools. Click continue to proceed.
Kali Linux 2021 installation – Software selection
This step will take some time to complete. So have patience
Kali Linux Installation progress
After all the files are retrieved, the installation will begin as shown in the below screenshot.
Kali Linux Installation progress
Step 25 – Install GRUB boot loader
In this dialog box you will be asked if you would like to install the GRUB boot loader. Select Yes and click Continue.
Install GRUB Boot Loader Screenshot
Step 26 – Select device for GRUB boot loader Installation
In this dialog box you will be asked to select boot loader device for GRUB installation. Select /dev/sda and click Continue.
Select GRUB Boot Loader Device
Installation will continue. Wait for the process to complete.
Kali Linux Installation progress
Kali Linux Installation progress
Kali Linux Installation progress
Step 27 – Installation Complete
Installation will continue and now you will see Installation complete dialog box. Click continue to finalize the installation and wait for the VM to reboot. After reboot you will see the boot loader screen.
Install Kali Linux 2021 – Installation Complete Screenshot
Process Complete
After the VM starts, you will see the Grub boot loader. Select Kali GNU/Linux.
Kali Linux – Grub loader
Login with your credential you created. Enter your username and Password
Kali Linux login screen
You will be logged into Kali Desktop 2021.
Kali Linux Desktop
Step 28 – Create root user
By default, only user account is setup during the installation stage. After installation you have to setup the root account by setting upa password for the root account.
That’s it, you should be able to login as root user.
Kali Linux – change root password
Install VMware Tools (Optional for VMware 16 – Skip if you are able to switch to full screen automatically)
In VMware Player 16, VMware tools gets installed automatically. Manual steps for installing VMware tools is not required. You should automatically be able to switch to the full screen mode. Try to switch to full screen first. It should work, If not, follow the below steps, else ignore.
If you have internet connection, try this
Only this method of installing VMware tools will work for modern Operating systems. VMware now only supports Open VM tools.
Install VMware tools
You can check the version of installed VMware Tools. In terminal, execute the command
. This will show you the version number.
If you don’t have internet connection, you can install VMware tools directly from the VM. If you have internet connection, follow the next instruction which is easier.
VMware Tar Tool for Linux virtual machine is feature-frozen at version 10.3.10, so the tar tools (linux.iso) included in Workstation Pro is 10.3.10 and will not be updated. Due to this change, the Install/Update/Reinstall VMware Tools menu is disabled. Below steps worked in older versions of VMware Workstation. This will not work now for latest releases of Linux operating systems such as Redhat 8, Kali Linux 2021 etc… Please ignore the below steps for VMWare Workstation Player 16.
Process Complete
You are done, You can start working on Kali Linux 2021. Thanks for Visiting my blog.