How To Install Kali LInux On Virtual Box 2019

Build Kali with Live-Build on Debian-based systems

Table of Contents
  1. Building Kali on non-Kali Debian based systems
  2. No proof of commitment
  3. Download Kali Linux Images
    1. Download ARM images
    2. Download Kali Linux Images Securely
    3. Do you want an updated or customized Kali image?
  4. DOWNLOAD IMAGES OF KALI LINUX CLICK HERE

We use live-build to create our official versions of Kali and encourage users to jump in and create their own custom versions of Kali whenever we can. Our documentation of the process is one of the most popular articles in our documentation site and Kali Dojo also revolves around this theme. We love it and our users love it.

WordPress.com

A stumbling block of live-build has always been the fact that you need a Kali system to build a Kali system. The reason for this is that small changes to both the original debootstrap package and the live-build package are needed to build a Kali ISO. In Kali, these changes are already included, however, in most Kali ISOs, these changes are already included. Debian derivatives It takes a little massage for our ISOs to build up.

Today, we have updated our document site to include instructions on how to create a custom Kali ISO on other Debian-based systems such as Debian 9 (Stretch) and Ubuntu 16.04 and 18.04. It is hoped that this will allow users running Debian derivatives to test the waters with Kali and play with one of its coolest features.

Creating a custom version of Kali with live-build is not as scary as it might sound, so be sure to give it a try!

Building Kali on non-Kali Debian based systems

You can easily run live-build on Debian-based systems other than Kali. The following instructions have been tested to work on both Debian and Ubuntu.

First, we prepare the system by making sure it is fully up to date, then we proceed to download the Kali archive key set and the live build packages. The latest versions of these packages can always be found at http://http.kali.org/pool/main/k/kali-archive-keyring/ y https://archive.kali.org/kali/pool/main/ l / live-build / respectively.

sudo apt update
sudo apt -y upgradewget https: // http.kali.org / pool / main / k / kali-archive-keyring / kali-archive-keyring_2018.1_all.deb
wget https: // archive.kali.org / kali / pool / main / l / live-build / live-build_20180618kali1_all.deb

Once completed, we install some additional dependencies and the previously downloaded files.

sudo apt -y install git live-build cdebootstrap debootstrap debootstrap curl
sudo dpkg -i kali-archive-keyring_2018.1_all.deb
sudo dpkg -i live-build_20180618kali1_all.deb

With the environment ready, we start the live build process by configuring the build script and checking the build configuration.

cd / usr / share / debootstrap / scripts 
echo "default_mirror http://http.kali.org/kali" ; thirst- "s / debian-archive-keyring.gpg / kali-archive-keyring.gpg / g " sid > kali
sudo ln -s kali kali-rollingcd ~
git clone git: // git.kali.org / live-build-config.gitcd live-build-config /

At this point, we must edit the sequence of commands build.sh to skip a version check. We do this by commenting out "output 1" below.

# Check that we have a good debootstrap 
see_debootstrap = $ ( dpkg-query -f '$ {Version}' -W debootstrap 
yes dpkg --compare-versions $ ver_debootstrap " lt "1.0.97" ; then 
yes echo $ ver_debootstrap " grep -q kali; then 
echo "ERROR: You need debootstrap> = 1.0.97 (or a patched Kali debootstrap) Your current version:. $ ver_debootstrap " > &

With that change made, the script should look like this:

# Check that we have a good debootstrap 
see_debootstrap = $ ( dpkg-query -f '$ {Version}' -W debootstrap 
yes dpkg --compare-versions $ ver_debootstrap " lt "1.0.97" ; then 
yes echo $ ver_debootstrap " grep -q kali; then 
echo "ERROR: You need debootstrap> = 1.0.97 (or a debootstrap patched by Kali). Your current version: $ ver_debootstrap " > & 
# exit 1 
fi 
fi

Now we can build our ISO in the normal way:

sudo . / build.sh - light variable --verbose

No proof of commitment

After compiling Kali, you may want to quickly test the ISO you created. There is a quick no-compromise test you can do with QEMU. In Ubuntu, you just have to prepare the system by installing some packages:

sudo apt -y install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
sudo adduser $ id -an ) kvm
newgrp kvm

With that out of the way, we'll create a dynamic disk image to hold our Kali installation and then boot our newly created ISO. Don't worry about the size of the disk: it will grow as needed so you won't suddenly fill up your disk by simply creating the disk.

qemu-img create -f qcow2 kali-disk.img 100G
kvm - name Kali -m 1024 -hda kali-disk.img -cdrom kali-linux-light-rolling-amd64.iso -boot d

Kali LiveBuild in Debian

At this point, you can either run a live instance of Kali or install it on the virtual disk. If we go ahead and install, we will later launch the newly created VM with the command:

kvm - name Kali -m 1024 -hda kali-disk.img -boot c

Kali LiveBuild in Debian

There are few things as satisfying as running your own Linux installation that you created and tweaked for what you need. With a way to build Kali on other Debian-based distributions and a quick way to test it, why wait?

Download Kali Linux Images

We generate new Kali Linux image files every few months, which we make available for download. This page provides links to download Kali Linux  in its last official release. For a version history, please see our Kali Linux Releases . Please note that you can find unofficial and unverified weekly press releases at http://cdimage.kali.org/kali-weekly/

DOWNLOAD HERE THE FILE FOR BOOTING THE ISO ON A USB CLICK HERE

Kali Linux Weekly Builds

We now generate weekly Kali images so you can always get a new ISO whenever you need it. ISOs will be generated every Sunday and will be versioned as " -W ". Once all the compilations have been generated, they will be available through http://cdimage.kali.org/kali-images/kali-weekly . Each weekly release will have its own SHA256SUM file, which will be available at http://cdimage.kali.org/kali-weekly/SHA256SUMS

Download ARM images

Are you looking for images of ARM from Kali Linux ? The good people of Ofensive Security (who are also the sponsors, founders and developers of Kali Linux) have generated alternative flavors of Kali using the same build infrastructure as the official Kali releases. ARM Architecture images of Kali produced by Offensive Security can be found on the official web site of offensive security Security Kali Linux ARM Images .

Download Kali Linux Images Securely

When downloading an image, make sure that you download the files SHA256SUMS y SHA256SUMS.gpg that are next to the downloaded image (i.e., in the same directory in the Kali Linux download server ). Before verifying the image checksums, you should make sure that the SHA256SUMS file is the one generated by Kali. That is why the file is signed by the official Kali key with a separate signature in SHA256SUMS.gpg. The official Kali key can be downloaded like this:

wget -q -O - https: // www.kali.org / archive-key.asc gpg --import 
# or ...
$ gpg --keyserver hkp: // keys.gnupg.net --recv-key 7D8D0BF6
# ... and verify that the fingerprint shown matches the one below
$ gpg --fingerprint 7D8D0BF6
pub rsa4096 2012 -03-05 [ SC [ wins: 2021 -02-03 ]
44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6
uid [ unknown] Kali Linux Repository < devel @ kali.org >
sub rsa4096 2012 -03-05 [ E [ wins: 2021 -02-03 ]

Once you have downloaded SHA256SUMS y SHA256SUMS.gpg If you do not have a signature, you can verify the signature in the following way:

$ gpg --verify SHA256SUMS.gpg SHA256SUMS.gpg SHA256SUMS
gpg: signature made sea 13 feb 2018 03: 33 : 53 AM EST
gpg: using RSA key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6
gpg: good signature of "Kali Linux Repository " [ unknown ]
gpg: WARNING: This key is not certified with a trusted signature. 
gpg: there is no indication that the signature belongs to the owner.
Fingerprint of the main key: 44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6

If you do not get that "Good signature" message or if the key ID does not match, then you should stop the process and check if you downloaded the images from a legitimate Kali mirror.

Do you want an updated or customized Kali image?

Feeling a little more adventurous? Want to build the latest version of Kali? Want to customize your ISO? Looking for KDE, LXDE, MATE, XFCE and other customizations? This is the option for you. With everything set up correctly, the basic process is as simple as:

apt-get install git live-build cdebootstrap
git clone git: // git.kali.org / live-build-config.git
cd live-build-config
/ build.sh --distribution kali-rolling --verbose
https://youtu.be/W2xlqIxw7bQ
www.sentrypc.com

Leave a Reply

Go up

Cookies on this website are used to personalize content and ads, provide social media features and analyze traffic. More information