Kali linux offensive security vm virtualbox

Установка виртуальной Кали Линукс на VirtualBox.

Установка виртуальной Кали Линукс на VirtualBox в Windows 10. В статье я сделаю упор на несколько главных моментов, которые интересуют пользователя. Как то:

  • процедуру установки скачанного образа готовой виртуальной машины
  • первый вход в систему и базовые команды
  • полноэкранный режим, общий буфер обмена с хозяйской ОС и прочие преимущества Guest Additions Virtual Box.

Ссылки, которые вам пригодятся чуть позже:

Скачивание виртуальной Кали Линукс: ISO или OVA?

Все мы перед установкой стоим перед небольшим выбором: на виртуальную машину можно поставить образ для физических машин или готовый образ для виртуальных. Установка виртуальной Кали Линукс с помощью ISO (CD формат) пригодиться вам, если вы собираетесь попрактиковаться с подготовкой жёсткого диска к установке Grub, разбиением на разделы, прохождением процедуры установки языковых и прочих настроек и т.п. Т.е. установкой Кали Линукс так, словно бы вы ставили её на реальную машину. Файл готовой виртуальной машины нам предлагается для упрощения процедуры установки. Функционал будет тем же, что и в предыдущем случае, но диск с системным содержимым, файл манифеста, OVF XML (спецификация аппаратного обеспечения) уже влючены в сборку и ставить ничего не нужно. Так что выбор в пользу OVA очевиден. Отправляемся по официальному адресу с выбором загрузок

Пролистываем верхнюю таблицу Download Kali Linux Images вниз до строки Kali Linux 64-bit VirtualBox и переходим по ссылке загрузок со страницы Offensive Security VM Download Page . По крайней мере, структура ссылок на странице загрузок в 2020 г. такая.

скачать кали линукс для virtual box

скачать виртуальную кали линукс

На следующей странице нас ждёт всегда свежий файл диска, готовый для скачивания. Скорость обмена с сервером неплохая, так что можете выбрать любой вариант загрузки: через браузер или торрентом. И ждать закачки:

скачать виртуальную кали линукс торрентом или браузер

Скачанную папку лучше переместить из папки Загрузок на отдельный диск или другое место, откуда вы его по ошибке не удалите.

Установка виртуальной Кали Линукс.

Самый быстрый этап. В открытом первоначальном окне Virtual Box выбираем ФайлИмпорт конфигураций… и указываем на папку с файлом виртуальной машины. Наш — рыжий значок с именем типа kali-linux-2020.2a-vbox-amd64 . Не ошибётесь:

импорт файла виртуальной машины

файл импорта конфигураций

Жмём Открыть и оставляем настройки виртуальной машины пока как есть, запуская процедуру установки, щёлкнув по Импорт:

настройки виртуальной машины

Соглашаемся с окнами, если вылезут и ждём:

импорт конфигураций виртуального диска кали линукс на vbox

После завершения установки в левой части окна VirtualBox жмём Настроить для выбранной виртуальной Кали Линукс. Скорректируем настройки виртуальной машины для улучшения производительности. Я обычно делю «возможности» хозяйской Windows 10 пополам в части процессора и RAM и присваиваю их таким образом виртуальной машине. В любой момент вы сможете эти характеристики изменить:

смена характеристик виртуальной машины

Первый запуск виртуальной Кали Линукс.

Пароль и логин для виртуальной Кали Линукс kali и kali. Система встречает нас неверным временем и английским языком:

Читайте также:  Linux telnet connection closed by foreign host

пароль и логин для виртуальной кали линукс

В соответствии с обновлёнными требованиями безопасности Кали сейчас также поставляется с автоматически активированной учётной записью Кали без root-прав. Так что любым командам в терминале должна предшествовать команда sudo с вводом пароля (в нашем случае kali). Усложнять пока процедуру знакомства регистрацией ещё одного пользователя мы не будем. А пока обновимся через терминал:

sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y

обновление в виртуальной кали линукс

Перезагружаемся командой sudo reboot и готовим систему к установке дополнений.

Настройка Дополнений гостевой ОС

Для начала ISO дополнений VBoxGuest Additions нужно скачать. Он находится на странице загрузок версий, откуда вам его нужно скачать в виде образа переходом на страницу. Я качаю в виде ISO последней версии:

скачать образ гостевых дополнений

После загрузки укажем его в качестве диска (он должен появиться на Рабочем столе Кали):

выбрать образ гостевых дополнений кали линукс

Однако при попытке его закрепить в чистом виде (Подключить образ диска Дополнений гостевой ОС…) вылезет ошибка:

не удалось подключить виртуальный оптический диск

Входим в Кали Линукс, открываем терминал и вводим поочерёдно:

cd /media sudo mkdir vbox sudo mount /dev/sr0 vbox/ cd vbox ls

установка диска дополнений к виртуальной машине кали линукс

Последняя команда покажет содержимое диска Дополнений. Запускаем файл VBoxLinuxAdditions.run от имени root:

sudo ./VBoxLinuxAdditions.run

установка гостевых дополнений в виртуальную кали линукс

По окончании команды окно виртуальной машины развернётся во весь (или почти) экран. Перезагружаемся. Проверяем, настроены ли общий с хозяйской Windows 10 буфер обмена и общие папки:

общий буфер обмена кали и windows

Проверьте: скопируйте из Windows 10 что-нибудь и вставьте в терминал Кали скопированное сочетанием CTRL + Shift + V. Если содержимое буфера в терминале виртуальной машины отобразилось, всё настроено верно.

5 thoughts on “ Установка виртуальной Кали Линукс на VirtualBox. ”

Добрый день. В Кали Линукс виртуальной во время запуска на короткое время появляется в правом углу надпись vboxclient: failed to register resizing support. Не то чтобы очень мешает, но как убрать?

null

Речь, видимо. вот об этом:
В настройках графического контроллера поставьте VBoxVGA или VBoxSVGA. VirtualBox укажет на неправильные настройки, однако ошибки больше не будет.

null

Здравствуйте. При попытке установить Кали я вижу сообщение в углу
vboxclient: failed to get dis…
И ничего не происодит. Могу только выключить. Как настройками VirtualBox не играл, дальше этого окна уйти не могу. Что делать?

Обновитесь до последнего релиза Virtual Box (или поставьте предыдущую версию виртуальной Кали Линукс) и должно прийти счастье )). Вы, скорее всего, ставите последний OVA от Кали Линукс на довольно подустаревую версию VBox. Для виртуалок Кали идёт с интегрированным guest edition, этот факт немного сбивает машину с толку.

Источник

Installing Kali Linux on VirtualBox: Quickest & Safest Way

Kali Linux is one of the best Linux distributions for hacking and security enthusiasts. Since it deals with a sensitive topic like hacking, it’s like a double-edged sword. We have discussed it in the past with a detailed Kali Linux review, so I am not going to bore you with the same stuff again. While you can install Kali Linux by replacing the existing operating system, using it via a virtual machine would be a better and safer option. With VirtualBox, you can use Kali Linux as a regular application in your Windows/Linux system. It’s almost the same as running VLC or a game in your system. Using Kali Linux in a virtual machine is also safe. Whatever you do inside Kali Linux will NOT impact your ‘host system’ (i.e. your original Windows or Linux operating system). Your actual operating system will be untouched and your data in the host system will be safe.

Читайте также:  Узнать линукс владелец файла

How to Install Kali Linux on VirtualBox

I’ll be using VirtualBox here. You may also install Kali Linux on VMWare. VirtualBox is a wonderful open source virtualization solution for anyone (professional or personal use). It is available free of cost. In this tutorial, we will talk about Kali Linux in particular but you can install almost any other OS using the ISO file or a pre-built virtual machine save file.

Download the virtual machine specific image of Kali Linux from official website

As I already mentioned, you can have either Windows or Linux installed as your host. But, in this case, I have Windows installed (don’t hate me!), where I try to install Kali Linux in VirtualBox step by step. And, the best part is that even if you use a Linux distro as your primary OS, the same steps will be applicable! Wondering how? Let’s see… As the file size is around 3 GB, you should either use the torrent option or download it using a download manager, whichever is fastest for you.

3. Install Kali Linux on Virtual Box

Once you have installed VirtualBox and downloaded the Kali Linux 7z image, you just need to add it to VirtualBox in order to make it work. Here’s how to add the VirtualBox image for Kali Linux: Step 1: Extract the downloaded 7z file. You can use 7zip for extracting the file.

The Kali Linux Virtual Machine storage will be on the same location as you extracted the 7z file. If you want a different location for the VM, you need to extract the 7z file to a location where you have sufficient storage available. I would never recommend the C: drive on Windows.

Step 2: Launch VirtualBox. You will notice an Add button – click on it. Click on the Add button in VirtualBox Welcome screenStep 3: Next, browse the folder you just downloaded and extracted. Choose the VirtualBox Machine Definition file to be added (as you can see in the image below). The file name should start with ‘kalilinux‘ and end with .vbox extension. Open the .vbox file in VirtualBoxOnce selected, proceed by clicking on Open. Step 4: Now, you will be shown the settings for the virtual machine you are about to add. So, you can customize them or not – that is your choice. It is okay if you go with the default settings. Start the Kali Linux Virtual Machine with default settingsHere, the hard drives as VDI refer to virtually mounting the hard drives by allocating the storage space set. After you are done with the settings, hit Start and wait for a while.

You might get an error at first for USB port 2.0 controller support, you can disable it to resolve it or just follow the on-screen instruction of installing an additional package to fix it. And, you are done!

Enter the user name and password for Kali Linux on the login screen. The default username and password is The default username in Kali Linux used to be root and the default password was toor. But since January 2020, Kali Linux is not using the root account. Now, the default account and password both are kali. You should be able to login to the system with it. Kali Linux is running inside VirtualBoxDo note that you should update Kali Linux before trying to install new applications or trying to hack your neighbor’s WiFi.

Читайте также:  Посмотреть размеры файлов линукс

Of course, Kali Linux has a lot of useful tools in it for penetration testing – so you can explore those after installation.

Both Kali Linux and Ubuntu are Debian-based. If you face any issues or error with Kali Linux, you may follow the tutorials intended for Ubuntu or Debian on the internet.

Suggested Read 📖

How to install Kali Linux on VirtualBox using VDI

While you can always follow the instructions recommended above, there’s also another way of installing Kali Linux. You will notice a VDI file when extracting the 7z file of Kali Linux. You can use this VDI file to create a Kali Linux Virtual Machine. Open VirtualBox and select New option. Click on the New button to create a new virtual machineNow, go to expert mode on Virtual box. Go to Expert mode in VirtualBoxThis is nothing but a comprehensive view of all the tweaks that we can do. From there, set all the things like below:

  • Name of VM: Kali Linux
  • Type: Linux
  • Version: Debian 64-bit
  • Under Hardware, Base Memory (RAM): 4GB (Recommended)
  • Processors: More than one, as per availability

Now, for the Hard Disk part, select Use an existing Virtual Hard Disk File and browse for the extracted .vdi file of Kali Linux.

Select

On the new dialog box, click on Add and search for the VDI file in resulting file browser. Once you find the file, select it and then press choose.

Select the Kali Linux VDI file and click on Choose button

You can now press the Finish button.

Click on the Finish button on the bottom right of VirtualBox expert mode settings to create a VM

The VM created will have several settings like Display Memory, Network etc set to default. You should give the Display memory as 128 MB and choose to enable 3D acceleration.

You can now start the VM, and use username and password «kali» once asked to log in.

You can always install Kali Linux using the ISO file, which has same process like any other Linux distribution.

Bonus: Free Kali Linux Guide

If you are just starting with Kali Linux, it will be a good idea to know how to use Kali Linux.

Offensive Security, the company behind Kali Linux, has created courses that explains the basics of Kali Linux, configuration, and more. It also has a few chapters on penetration testing and security tools.

Basically, it has everything you need to get started with Kali Linux. And the best thing is that the course is available for free. You can go to the portal to explore courses and certification exams, and learn them there.

Let us know in the comments below if you face an issue or simply share your experience with Kali Linux on VirtualBox. If you are curious, you can also try Kali Linux on Windows using WSL.

Источник

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