For almost all purposes I recommend using cloud servers instead. This project is only intended for students who don't have a credit card, or for students doing special projects.
Log on as student with a password of student
In the VMs window, right-click the empty space and click New, Folder. Name the folder "YOUR NAME VMs" replacing YOUR NAME with your own name.
If you are using your own PC, you can get the free VMware Player here:
If you are using a Mac, you can get a free copy of VMware Fusion from the college as explained by your instructor, or use VirtualBox.
Install VMware with the default options.
Click "Kali Linux 64 bit VM [Zip]", as shown below.
Unzip the file into your directory on the VMs drive.
DO NOT PUT VIRTUAL MACHINES ON THE C: DRIVES IN S214!
They fill the drive and make the machines stop working. Virtual machines left on the desktop, Documents folder, or other C: drive locations may be deleted at any time, as needed to keep the machines working.
Navigate to the Kali VM you unzipped and start it.
Troubleshooting: Number of ProcessorsIf you see a message saying the virtual machine is configured to use four processors, adjust it with these steps:
- On the left side of the VMware Player window, click Kali once to select it.
- On the lower right side of the VMware Player window, click "Edit virtual machine settings".
- On the left side of the Virtual Machine Settings window, click Processors
- On the right side of the Virtual Machine Settings window, adjust the number to 1 and click OK
Log in to Kali with the username root and a password of toor
Troubleshooting: Slow PerformanceIf your virtual machines run very slowly, your host machine may be low on RAM.
You can adjust the RAM using the Virtual Machine Settings window, as explained in the previous Troubleshooting box.
Try lowering the RAM on the VMs. Lower the Kali RAM to 1024 MB, and the Windows 2008 machine to 512 MB of RAM.
You should see the Kali Linux desktop as shown below:
In the Terminal window, type in this command to find your IP address, and then press the Enter key:
You should see replies, as shown below. Press Ctrl+C to stop the pings.
I recommend just using SSH, with these instructions:
Installing SSH on Kali
If you want to try to get VMware Tools working, proceed with the steps below.
On your host Windows system, in your Web browser, use the mouse to highlight and copy this command:
On your Kali Linux system, in a Terminal window, right-click and click Paste. If VMware tools is working, the command appears, as shown below.
echo "Copy and paste works!"
If the command did not appear, perform these steps to fix VMware Tools.
apt purge open-vm-tools-desktop -y apt purge open-vm-tools -y rm -rf /etc/vmware-tools
A CD icon appears on your Kali desktop, as shown below.
Double-click the CD icon. Right-click VMwareTools...tar.gz and click "Copy to...", as shown below.
In the "Select Copy Destination" box, on the left side, click Downloads.
At the top right, click Select, as shown below.
Close the VMware Tools window.
In a Terminal window, execute these commands:
cd cd Downloads tar xzf VMwareTools* cd vmware-tools-distrib ./vmware-install.pl
The installer asks many questions. Accept the default directories, but make sure the answer to every yes/no question is yes, including this one, which is "no" by default:
Execute this command to start VMware tools:
Now you can copy and paste text and files between the Kali VM and the Mac host!
service vmware-tools start
Execute this command to make a Bash script:
Paste in the code below:
#!/bin/bash if [ $(/usr/sbin/service vmware-tools status | grep Active: | grep inactive | wc -l) -gt 0 ] then /usr/sbin/service vmware-tools start fi
Press Ctrl+X, Y, Enter to save the file.
Execute this command to make the script executable:
Execute this command to create a cron job:
chmod +x /usr/local/bin/startvm
Press Enter to use nano.
Add this line at the end of the file, as shown below.
* * * * * /usr/local/bin/startvm
Press Ctrl+X, Y, Enter to save the file.
Now VMware Tools will start automatically :)
On the right side of the Kali 2.0 desktop, click the lowest circle to show the bottom screen.
Then click Settings, as shown below.
In the "All Settings" window, click Power.
Set "Blank screen" to Never, 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.
Integrated with Canvas 6-27-18
SSH link fixed incorrectly 9-10-18
SSH link restored 9-11-18
Renumbered and put in flag format 9-20-19