Установка кали линукс vmware

Как установить Kali Linux на VMware

В статье мы расскажем, как проходит установка Kali Linux на VMware и зачем это нужно.

Что такое Kali Linux

Kali Linux — это дистрибутив Linux, который создала компания Offensive Security. Он разработан для тестирования безопасности. Kali Linux основан на следующих дистрибутивах:

  • BackTrack — ПО для тестов безопасности и проведения цифровой криминалистической экспертизы;
  • Debian — операционная система семейства Linux.

Kali Linux не подходит для повседневных задач: в нём нет стандартных офисных программ. Также в этой ОС невозможно настроить гостевой доступ — пользователь имеет root-права по умолчанию. Инструменты Kali позволяют:

  • собирать информацию,
  • находить уязвимости,
  • тестировать беспроводные атаки и атаки паролем,
  • проверять аппаратный взлом,
  • делать обратный инжиниринг,
  • проводить стресс-тестирования и другое.

Kali будет полезна в работе:

  • сетевых администраторов, которые следят за эффективностью и безопасностью сети и отвечают за конфиденциальность данных;
  • пентестеров, которые проверяют корпоративную среду на уязвимости;
  • сетевых архитекторов, которые разрабатывают безопасных среды;
  • разработчиков сетевого оборудования — для проверки приложений;
  • White Hat Hackers или «этичных» хакеров, которые находят слабые места в системе в мирных целях.

Прежде чем установить Kali Linux в качестве гостевой ОС, нужно создать виртуальную машину. Ниже мы расскажем, как это сделать.

Как создать виртуальную машину

2. Запустите VMware Workstation.

3. Выберите File и кликните New virtual machine:

4. Выберите стандартную конфигурацию ВМ. Для этого отметьте пункт Typical. Затем кликните Next:

5. Отметьте вариант Use ISO image и выберите виртуальный образ с помощью кнопки Browse. Затем нажмите Next:

6. Выберите семейство ОС Linux и систему Debian 10. Затем нажмите Next:

7. Укажите название виртуальной машины и выберите папку для её хранения. Затем нажмите Next:

8. Укажите объём диска виртуальной машины (для Kali Linux достаточно 20 ГБ). Выберите тип хранения ВМ:

  • Store virtual disk as a single file — один файл. Используйте его, если не планируете переносить ВМ на другое устройство;
  • Split virtual disk into multiple files — несколько файлов. Используйте его, если вам нужно оперативно переносить ВМ между устройствами.

Затем кликните Next:

9. Нажмите Customize Hardware, чтобы распределить мощности для ВМ. Отметьте пункт Automatically power on this virtual machine after creation, если планируете настроить гостевую ОС сразу. Затем кликните Finish:

10. Дождитесь окончания загрузки.

Готово, вы создали виртуальную машину.

Как установить Kali Linux на VMware

Когда ВМ создана, необходимо установить гостевую ОС. Для этого:

1. Запустите VMware Workstation.

2. Выберите File и кликните Open. Выберите виртуальную машину на своём устройстве:

3. В стартовом окне выберите Graphical Install и нажмите Enter:

4. Выберите язык установки. Затем нажмите Continue:

5. Выберите ваше местоположение и нажмите Продолжить:

6. Выберите вторую раскладку клавиатуры (помимо латинской). Затем кликните Продолжить:

7. Выберите сочетание клавиш для смены раскладки клавиатуры. Затем нажмите Продолжить:

8. Введите имя вашего устройства. Оно может понадобиться, если вы планируете настроить сеть и включить в неё виртуальную машину. После этого нажмите Продолжить:

Читайте также:  Linux midnight commander config

9. Укажите домен. Если у вас нет зарегистрированного домена, используйте сочетание латинских символов, которое удобно. Затем нажмите Продолжить:

10. Укажите имя пользователя и кликните Продолжить:

11. Укажите логин пользователя и нажмите Продолжить:

12. Создайте пароль пользователя и подтвердите его. Затем нажмите Продолжить:

13. Выберите часовой пояс и кликните Продолжить:

14. Выберите вариант авторазметки или разметьте диск вручную. Затем нажмите Продолжить:

15. Выберите диск для разметки и кликните Продолжить:

16. Выберите схему разметки и нажмите Продолжить:

17. Подтвердите свой выбор, нажав Продолжить:

18. Запишите изменения на диск и кликните Продолжить:

19. Выберите ПО для установки и нажмите Продолжить:

20. Выберите первичный диск для установки GRUB. Затем кликните Продолжить:

21. Проверьте параметры установки и нажмите Продолжить. После этого начнётся установка:

22. Чтобы запустить систему, кликните Продолжить:

23. Укажите логин и пароль пользователя. Нажмите Войти:

Готово, вы установили Kali Linux на VMware Workstation.

Популярные статьи

  • Как указать (изменить) DNS-серверы для домена
  • Я зарегистрировал домен, что дальше
  • Как добавить запись типа A, AAAA, CNAME, MX, TXT, SRV для своего домена
  • Что такое редирект: виды и возможности настройки
  • Как создать почту со своим доменом

Источник

Установка кали линукс vmware

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”.

This allows for more users to benefit from Kali Linux out of the box (without having to edit the .vmx file to downgrade). If you are using a later version of VMware than v8, upon start up, VMware will prompt about upgrading the VM. This will remove any limitations caused by older VMware profiles. However, most users do not have their Kali Linux VM using all these extra resources (see screenshot below), so they wouldn’t benefit from having the latest profile, which is why we ship with a older profile.

Читайте также:  Перенос линукс на другой компьютер

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 “Virtual Machine Name”, which is where you name the VM. This name is also used as the filename (such as the configuration, hard disk and snapshot — which is not changed from this point).

We are keeping it generic in this guide, by using “Kali Linux” (as Kali Linux is a rolling distribution, and we update Kali Linux). However for our releases, we use the version number in the name as it is a fixed release ( kali-linux-YYYY.N-vmware-ARCH . Example: kali-linux-2023.2-vmware-amd64 ).

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”.

Читайте также:  Linux distributions package manager

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 what’s 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: 2023-May-30
Author: g0tmi1k

Источник

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