Skip to content

Kali In the Lab

Instructions to get Kali Linux Running in the University PC's

Downloading a Pre Made Image

First you need to download the relevant pre-built image

Download for VirtualBox VM

Download for VMWare VM

I have just stashed it in the Downloads folder

Once it has finished downloading unzip the file.

Starting Virtual Box

Start VirtualBox.

  1. Go to the start menu
  2. Type Virt...
  3. Start the "Oracle Virtual Box" program

Adding the Virtual Machine

Add

  1. Click Add (The Big Green Plus Icon)
  2. Navigate to where you unzipped the VM
  3. Select the Kali-Linux-2020.3-vbox-amd64.vbox file

Starting the VM

You can now start the VM by clicking run

Login with

  • username: kali
  • password: kali

Post Setup Steps

Depending on the version of the machine I uploaded you may also need to do the following.

You should only have to do this once, but the instructions are here in case you get a clean copy of the machine.

HTTP

It looks like the http repositories are being blocked. If you run any of the apt commands and get a server error

Edit /etc/apt/sources-list

change the line

deb http://http.kali.org

to

deb https://http.kali.org

Add user to the docker group

This saves you having to type sudo every time

  1. In a terminal type sudo usermod -aG docker kali
  2. log out
  3. log back in

You can test if this has worked by typing docker ps If it doesn't error about permissions, then everything is good.

Install docker-compose

Docker compose gives us an easy way to install stacks of software.

First we need to install python3-pip

sudo apt install python3-pip

Then install docker-compose

sudo pip3 install docker-compose

You can test this now by typing docker-compose

Back to top