CNIT 120 Project 10: Preparing a Kali Linux Virtual Machine (10 Points)

What You Need for This Project

Start Your Host Machine

If you are working in S214, select a machine to be your primary machine for the semester. You'll want to keep using the same machine as much as possible, because your virtual machines will be there. Power on your computer. Boot to the operating system named "Win 7-S214". Log on as Student with no password.

Making Your VM (Virtual Machines) Folder

Click Start, "File Explorer", "This PC". Find the "VMs-S214" drive and double-click it to open it.

In the VMs-S214 window, right-click the empty space and click New, Folder. Name the folder "YOUR NAME VMs" replacing YOUR NAME with your own name.

Getting the Kali 7-Zip Archive File

In a browser, go to https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/

Download the "Kali Linux 32 bit VM PAE" file, as shown below.

Getting 7-Zip

You need 7-Zip on your host machine. If you don't have it, download it from 7-zip.org

If you are using a Mac, get Ez7z

Extracting the Kali Virtual Machine

Right-click the Kali-Linux-2.0.0-vm-i686.7z file, click 7-Zip, and click "Extract Files...". In the "Extract to:" box, enter the path to the folder you prepared, such as "G:\YOURNAME\Kali". Click OK.

Starting the Kali Linux Machine and Adjusting Networking

Start the Attacker Linux machine in VMware Player.

If you don't see a user named "root", click Other....

Log in to Kali with the username root and a password of toor

Troubleshooting

If your Kali virtual machine won't start, you probably didn't extract both compressed files. This is a very common mistake. You need all the files from both the ZIP archive and the 7Z archive in the same folder.
You should see the Kali Linux desktop as shown below:

Setting the Kali Linux VM to Bridged Networking

In the VMware Player window showing your Kali Linux desktop, on the top left, click Player, Manage, "Virtual Machine Settings".

In the "Virtual Machine Settings" box, on the left side, click "Network Adapter".

On the right side, click "Bridged: Connect directly to the physical network". Click OK.

At the top left of the Kali Linux desktop, find these items:

At the top left of the Kali Linux desktop, click the rectangular black icon to open a Terminal window.

In the Terminal window, type in this command to get a new IP address, and then press the Enter key:

dhclient -v

Finding your Kali Linux VM's IP Address

In the Terminal window, type in this command to find your IP address, and then press the Enter key:
ifconfig
You should see your IP address, as shown below:

Saving a Screen Image

Make sure the Kali Linux desktop is visible showing your IP address.

Click the taskbar at the bottom of your host Windows 7 desktop, to make the host machine listen to the keyboard, instead of the virtual machine.

Press the PrintScrn key in the upper-right portion of the keyboard. That will copy the whole desktop to the clipboard.

YOU MUST SUBMIT A FULL-SCREEN IMAGE FOR FULL CREDIT!

On the host machine, not the virtual machine, click Start.

Type mspaint into the Search box and press the Enter key.

Click in the untitled - Paint window, and press Ctrl+V on the keyboard. The desktop appears in the Paint window.

Save the document with the filename "YOUR NAME Proj 10", replacing "YOUR NAME" with your real name.

Email the image to me as an attachment. Send it to: cnit.120@gmail.com with a subject line of "Proj 10 From YOUR NAME", replacing "YOUR NAME" with your real name.

Send a Cc to yourself.

Shutting Down your Virtual Machines

In the VMware Player window, in the upper right corner, click the X. A box pops up, offering three choices, as shown below.

Suspend freezes your VM in its current state. This is usually the best choice.

Power Off is only for emergencies, when the guest operating system has crashed. It's the equivalent of pulling out the power plug on a real computer.

Click Suspend.

Last Modified: 3-22-16