Ethical Hacking Syllabus
Ethical Hacking Syllabus
Ethical Hacking Syllabus
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.
Installing VMware
If you are working in S214, the lab machines should already have VMware installed.
If you are using your own PC, you can get the free VMware Player here:
https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0
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.
https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/
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.
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
Try lowering the RAM on the VMs. Lower the Kali RAM to 1024 MB, and the Windows 2008 machine to 512 MB of RAM.
In the Terminal window, type in this command to find your IP address, and then press the Enter key:
ping google.com
You should see replies, as shown below. Press Ctrl+C to stop the pings.
Task 3: Fixing Kali Annoyances
Fixing VMware Tools
VMware Tools is needed to allow copy-and-paste into and out of a virtual machine. Unfortunately it works very poorly on Kali. You can try these
fixes, or just abandon it and install SSH.
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.
If the command did not appear, perform these steps to fix VMware Tools.
Removing open-vm-tools
In a Terminal window, execute these commands:
Click Install.
In the "Select Copy Destination" box, on the left side, click Downloads.
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:
Now you can copy and paste text and files between the Kali VM and the Mac host!
nano /usr/local/bin/startvm
#!/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
chmod +x /usr/local/bin/startvm
* * * * * /usr/local/bin/startvm
Power Saving
By default, Kali 2.0 will keep locking the screen after a few seconds of inactivity, which is irritating. To fix this, on the left side of the Kali 2.0
desktop, click the bottom button to "Show Applications", as shown below.
On the right side of the Kali 2.0 desktop, click the lowest circle to show the bottom screen.
uname -a
You should see information about your Linux version, as shown below. Find the text that is covered by a gray box in the image below.
Name or Email:
Version information (redacted in the image above):
CCSF Student
Non-CCSF Student
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.