How to install kali linux from windows

How to install kali linux from windows

One of the fastest method, for getting up and running with Kali Linux is to run it “live” from a USB drive. This method has several advantages:

  • It’s non-destructive — it makes no changes to the host system’s hard drive or installed OS, and to go back to normal operations, you simply remove the Kali Live USB drive and restart the system
  • It’s portable — you can carry Kali Linux in your pocket and have it running in minutes on an available system
  • It’s customizable — you can roll your own custom Kali Linux ISO image and put it onto a USB drive using the same procedures
  • It’s potentially persistent — with a bit of extra effort, you can configure your Kali Linux “live” USB drive to have persistent storage, so the data you collect is saved across reboots

In order to do this, we first need to create a bootable USB drive which has been set up from an ISO image of Kali Linux.

The specifics of this procedure will vary depending on whether you’re doing it on a Linux, macOS/OS X, or Windows system.

What You’ll Need

A verified copy of the appropriate ISO image of the latest Kali build image for the system you’ll be running it on.

If you’re running under Windows, there is not one tool that is considered the overall best for imaging. We recommend Etcher (installer or portable) as it is simpler to use, however Rufus is another popular option with its advance options. If one does not work for you, consider the other.

A USB drive, 8GB or larger (Systems with a direct SD card slot can use an SD card with similar capacity. The procedure is identical.)

Creating a Bootable Kali USB Drive on Windows (Etcher)

Plug your USB drive into an available USB port on your Windows PC, note which drive designator (e.g. “ G:\ «) it uses once it mounts, and launch Etcher.

Press Flash from file, and locate the Kali Linux ISO file to be imaged with.

Press Select target and check the list of options for the USB drive (e.g. “ G:\ ”, the manufacture and size).

Click the Flash! button once ready.

Note: You may get a UAC prompt asking for administrator privileges that you will need to accept.

5. Once Etcher alerts you that the image has been flashed, you can safely remove the USB drive and proceed to boot into Kali with it.

At the time of writing, Etcher will use MBR. This is to allow for the most hardware compatibility.

Creating a Bootable Kali USB Drive on Windows (Rufus)

Plug your USB drive into an available USB port on your Windows PC, note which drive designator (e.g. “ G:\ «) it uses once it mounts, and launch Rufus.

With Device, check the dropdown list of options for the USB drive (e.g. “ G:\ ” and size).

Boot section needs to point to point to the Kali Linux ISO file, which can be done by clicking the SELECT button

Depending on your configuration, you can set the Partition scheme, as well as Target system. If you are not sure, leave it as the default values.

Click the START button once ready.

6. You may get a prompt saying about ISOHybird image. Selecting ISO image, will allow you to edit the files from the Kali Linux ISO, but at the potential lose of hardware compatibility. As a result, we recommend selecting DD Image.

Note: If you select “DD Image” option, you can create another partition on the USB drive, allowing you to use the rest of the space. Start -> Run (Windows + R) -> diskmgmt.msc -> Locate the USB drive -> Right-click in “Unallocated” -> New Simple Volume -> Follow the rest of the wizard with next, next, next…

Booting A USB Drive In Windows

Depending on the system (such as BIOS or UEFI), as well as the version of Windows, and how they are each configured, you may need to re-image the USB drive.

  • Master Boot Record (MBR) is often used on legacy systems that use BIOS as well as UEFI which has Compatibility Support Module (CSM) enabled
  • GUID Partition Table (GPT) is required where UEFI has CSM disabled, forcing to use the modern standard
Читайте также:  Графические эффекты для windows

After writing the image to the USB drive, reboot Windows with the USB inserted. Depending on the motherboard manufacture, will also depend on the next stage. Some motherboard’s support a “temporary” boot menu, allowing for a one off selection. Others you need to enter BIOS/UEFI to configure it to try and boot from USB first. Entering either location, also depends on the motherboard. You can look up on the manufactures website and read the manual, try and read the screen when booting (however the text may be shown too quick or full logos used), or try common key combinations (such as ESC , F1 , F2 , F3 , F4 , F8 , F10 , F11 , F12 or DEL ).

Updated on: 2021-Sep-27
Author: g0tmi1k

Источник

How to install kali linux from windows

This page details the steps to install Win-Kex in under 2 minutes.

Installation

All installation steps, up to the point where we install Win-Kex, are also explained in the 5 minute video guide by the amazing NetworkChuck:

Prerequisites

  • Running Windows 10 version 2004 or higher
  • Using Windows Terminal

Install Kali Linux in WSL2

  • Open PowerShell as administrator and run:
  • Open PowerShell as administrator and run:

    Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel

    Open PowerShell as administrator and run: wsl —set-default-version 2

    Install Kali Linux from the Microsoft Store

    Note: to upgrade an existing WSL1 kali-linux installation, type: wsl —set-version kali-linux 2

    Run Kali and finish the initial setup

    Install Win-KeX

    Run Win-KeX

    Win-KeX supports three modes:

    Window Mode:

    To start Win-KeX in Window mode with sound support, run

    Refer to the Win-KeX Win usage documentation for further information.

    Enhanced Session Mode:

    To start Win-KeX in Enhanced Session Mode with sound support and arm workaround, run

    Refer to the Win-KeX ESM usage documentation for further information.

    Seamless mode:

    To start Win-KeX in Seamless mode with sound support, run

    Refer to the Win-KeX SL usage documentation for further information.

    Optional Steps:

    • If you have the space, why not install “Kali with the lot”?: sudo apt install -y kali-linux-large

    Choose amongst these options:

    Basic Win-KeX in window mode with sound:

    Advanced Win-KeX in window mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    Basic Win-KeX in seamless mode with sound:

    Advanced Win-KeX in seamless mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    Basic Win-KeX in ESM mode with sound:

    Advanced Win-KeX in ESM mode with sound — Kali icon and start in kali home directory:

    Copy the kali-menu.png icon across to your windows picture directory and add the icon and start directory to your WT config:

    For more information, ask for help via:

    or consult the manpage via:

    or join us in the Kali Forums

    Enjoy Win-KeX!

    Updated on: 2021-Sep-27
    Author: Re4son

    Источник

    Kali Linux в Windows

    С введением подсистемы Windows для Linux (WSL) в Windows 10 появились новые возможности, такие как поддержка Linux дистрибутивов, в частности Ubuntu. В этой статье я расскажу, как с помощью этой подсистемы подключить Kali LInux в Windows среде не используя системы виртуализации.

    Хотя работы Kali на Windows может быть не оптимальна из-за различных ограничений, все еще существует множество ситуаций, когда Kali Linux может быть необходим для использования совместно с Windows 10. Например это может быть консолидация рабочих областей, особенно если Windows является вашей основной рабочей средой. Также может быть полезна стандартизация инструментов и сценариев для работы в нескольких средах, быстрый перенос инструментов командной строки для тестирования проникновения в Linux для Windows и т. д.

    Для того, чтобы установить Kali необходимо выполнить несколько шагов. В первую очередь необходимо включить и установить Windows Subsystem for Linux Command Reference — запустить powershell оболочку с правами администратора, выполнить команду и перезагрузить вашу машину:

    После перезагрузки необходимо установить Ubuntu-environment:

    Далее вам необходимо установить WSL Distribution Switcher. Эта программа предназначена для переключения подсистемы Linux для использования различных дистрибутивов Linux. Образы rootfs в настоящее время загружаются из репозиториев Docker Hub в виде исходников или prebuilt-сборок.

    (Для клонирования проекта с git-репозитория необходимо установить git-клиент на Windows 10, например отсюда: https://git-scm.com/download/win, а также установить python для Windows).

    Теперь, когда Kali-environment развернут на вашей Windows 10 вы можете вызвать его с помощью команды:

    Далее вам необходимо обновить Kali Linux и установить кириллическую локализацию (при необходимости):

    После развертывания Kali-environment мы можем установить необходимые утилиты и использовать их из Windows:

    Таким простым способом вы получите современный дистрибутив для тестирования на проникновение в вашей Windows среде без запуска систем виртуализации, перезагрузок и прочего. Также, необходимо учесть, что из такой среды у вас не будут нормально работать утилиты по работе с железом, для вардрайвинга и т.д.

    Источник

    How to install kali linux from windows

    Installing Kali Linux (single boot) on your computer is an easy process. This guide will cover the basic install (which can be done on bare metal or guest VM), with the option of encrypting the partition. At times, you may have sensitive data you would prefer to encrypt using Full Disk Encryption (FDE). During the setup process you can initiate an LVM encrypted install on either Hard Disk or USB drives.

    First, you’ll need compatible computer hardware. Kali Linux is supported on amd64 (x86_64/64-Bit) and i386 (x86/32-Bit) platforms. Where possible, we would recommend using the amd64 images. The hardware requirements are minimal as listed in the section below, although better hardware will naturally provide better performance. You should be able to use Kali Linux on newer hardware with UEFI and older systems with BIOS.

    Our i386 images, by default use a PAE kernel, so you can run them on systems with over 4 GB of RAM.

    In our example, we will be installing Kali Linux in a fresh guest VM, without any existing operating systems pre-installed. We will explain other possible scenarios throughout the guide.

    System Requirements

    The installation requirements for Kali Linux will vary depending on what you would like to install and your setup. For system requirements:

    • On the low end, you can set up Kali Linux as a basic Secure Shell (SSH) server with no desktop, using as little as 128 MB of RAM (512 MB recommended) and 2 GB of disk space.
    • On the higher end, if you opt to install the default Xfce4 desktop and the kali-linux-default metapackage, you should really aim for at least 2 GB of RAM and 20 GB of disk space.
      • When using resource-intensive applications, such as Burp Suite, they recommend at least 8 GB of RAM(and even more if it large web application!) or using simultaneous programs at the same time.

    Installation Prerequisites

    This guide will make also the following assumptions when installing Kali Linux:

    • Using the amd64 installer image.
    • CD/DVD drive / USB boot support.
    • Single disk to install to.
    • Connected to a network (with DHCP & DNS enabled) which has outbound Internet access.

    We will be wiping any existing data on the hard disk, so please backup any important information on the device to an external media.

    Preparing for the Installation

    Download Kali Linux (We recommend the image marked Installer).

    Burn The Kali Linux ISO to DVD or image Kali Linux Live to USB drive. (If you cannot, check out the Kali Linux Network Install).

    Backup any important information on the device to an external media.

    Ensure that your computer is set to boot from CD/DVD/USB in your BIOS/UEFI.

    Kali Linux Installation Procedure

    1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Linux Boot screen. Choose either Graphical install or Install (Text-Mode). In this example, we chose the Graphical install.

    If you’re using the live image instead, you will see another mode, Live, which is also the default boot option.

    Language

    1. Select your preferred language. This will be used for both the setup process and once you are using Kali Linux.

    1. Specify your geographic location.

    1. Select your keyboard layout.

    Network

    1. The setup will now probe your network interfaces, looks for a DHCP service, and then prompt you to enter a hostname for your system. In the example below, we’ve entered kali as our hostname.

    If there is no network access with DHCP service detected, you may need to manually configure the network information or do not configure the network at this time.

    • If there isn’t a DHCP service running on the network, it will ask you to manually enter the network information after probing for network interfaces, or you can skip.
    • If Kali Linux doesn’t detect your NIC, you either need to include the drivers for it when prompted, or generate a custom Kali Linux ISO with them pre-included.
    • If the setup detects multiple NICs, it may prompt you which one to use for the install.
    • If the chosen NIC is 802.11 based, you will be asked for your wireless network information before being prompted for a hostname.

    1. You may optionally provide a default domain name for this system to use (values may be pulled in from DHCP or if there is an existing operating systems pre-existing).

    User Accounts

    1. Next, create the user account for the system (Full name, username and a strong password).

    Clock

    1. The installer will now probe your disks and offer you various choices, depending on the setup.

    In our guide, we are using a clean disk, so we have four options to pick from. We will select Guided — the entire disk, as this is the single boot installation for Kali Linux, so we do not want any other operating systems installed, so we are happy to wipe the disk.

    If there is an pre-existing data on the disk, you will have have an extra option (Guided — use the largest continuous free space) than the example below. This would instruct the setup not to alter any existing data, which is perfect for for dual-booting into another operating system. As this is not the case in this example, it is not visible.

    Experienced users can use the “Manual” partitioning method for more granular configuration options, which is covered more in our BTRFS guide.

    If you want to encrypt Kali Linux, you can enable Full Disk Encryption (FDE), by selecting Guided — used entire disk and setup encrypted LVM. When selected, later on in the setup (not in this guide) prompt you to enter a password (twice). You will have to enter this password every time you start up Kali Linux.

    1. Select the disk to be partitioned.

    1. Depending on your needs, you can choose to keep all your files in a single partition — the default — or to have separate partitions for one or more of the top-level directories.

    If you’re not sure which you want, you want “All files in one partition”.

    1. Next, you’ll have one last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.

    Encrypted LVM

    If enabled in the previous step, Kali Linux will now start to perform a secure wipe of the hard disk, before asking you for a LVM password.

    Please sure a strong password, else you will have to agree to the warning about a weak passphrase.

    This wipe may take “a while” (hours) depending on the size and speed of the drive.
    If you wish to risk it, you can skip it.

    Proxy Information

    1. Kali Linux uses a central repository to distribute applications. You’ll need to enter any appropriate proxy information as needed.

    Metapackages

    If network access was not setup, you will want to continue with setup when prompt.

    If you are using the Live image, you will not have the following stage.

    1. Next you can select which metapackages you would like to install. The default selections will install a standard Kali Linux system and you don’t really have to change anything here.

    Please refer to this guide if you prefer to change the default selections.

    Boot Information

    1. Next confirm to install the GRUB boot loader.

    1. Select the hard drive to install the GRUB bootloader in (it does not by default select any drive).

    Reboot

    1. Finally, click Continue to reboot into your new Kali Linux installation.

    Post Installation

    Now that you’ve completed installing Kali Linux, it’s time to customize your system.

    The General Use section has more information and you can also find tips on how to get the most out of Kali Linux in our User Forums.

    Updated on: 2021-Sep-27
    Author: gamb1t

    Источник

    Читайте также:  Не открывается окно установки windows
Оцените статью