Lab 3
Lab 3
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_workst
ation_player/12_0|PLAYER-1252|product_downloads
The instructions below assume you are using Windows 10. You can use VMware on the
Mac and other operating systems, but the steps may be somewhat different.
Purpose
We will use Kali Linux to simulate the Intenet, and the Windows machine will be fooled by 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.
http://games.samsclass.info/secret/download-vms.htm
You need a username and password to view that page. The username and password are written
on the blackboard in the hacking lab, and you can get them from your instructor.
If you don't have broadband Internet access, you can get these files on a DVD labelled "8K2" in
the hacking lab.
Getting 7-Zip
You need 7-Zip on your host machine. If you don't have it, download it from 7-zip.org
DO NOT PUT VIRTUAL MACHINES ON THE C: DRIVE IN S214. They fill the drive and
make the machine unusable, and will be deleted.
Right-click the Kali-Linux-2016.2-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.
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.
In the VMware Player window, click the green "Play virtual machine" button.
Troubleshooting
If you see the message shown below, you need to update VMware Player. An updated version of
VMware Player is on the S13 disk.
VMware Player will pop up several dialog boxes, asking whether this machine was moved or
copied, telling you details about the processor, etc. Just accept the default choice for all those
boxes.
To log in, you need to send a Ctrl+Alt+Delete to the virtual machine. On a Windows host, you
can usually press Ctrl+Alt+Insert to do that. If that doesn't work, hunt through the VMware
menus to send a Ctrl+Alt+Delete.
When the server starts, it opens some windows by default. Close all windows.
You should see the Windows Server 2008 desktop as shown below:
Starting the Kali Linux Machine and Adjusting Networking
Start the Attacker Linux machine in VMware Player.
In the "Virtual Machine Settings" box, on the left side, click "Network Adapter".
At the top left of the Kali Linux desktop, find these items:
"Applications" menu
"Places" menu
A blue icon that opens IceWeasel, a free version of FireFox
A rectangular black icon that opens a Terminal window
The date and time
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
cp /etc/inetsim/inetsim.conf /etc/inetsim/inetsim.conf.orig
nano /etc/inetsim/inetsim.conf
Scroll down about 3 screens. Find the service_bind_address section shown below. All these
lines are comments because they start with the # character.
Change this line:
#service_bind_address 10.10.10.1
to this
service_bind_address 0.0.0.0
as shown below. This sets inetsim listening on all Kali's IP addresses.
Don't forget to delete the # at the start of the line!
Scroll down another several screens to find the dns_default_ip section shown below. Find this
line:
#dns_default_ip 10.10.10.1
Remove the # at the start of the line, and replace the IP address with the IP address of your Kali
Linux machine, as shown below:
dns_default_ip 192.168.1.132
Use your correct IP address instead of "192.168.1.132"
To start inetsim, on your Linux machine, in a Terminal window, execute this command:
inetsim
Installing Nmap
In your Windows Server 2008 virtual machine, click Start and look for Nmap. It should be there.
If not, open a Web browser and go to
On the left side, click "Manage network connections". Right-click "Local Area Connection"
and click Properties.
Set your DNS server to the Kali Linux machine's IP address, as show below. Then click OK
twice.
Click the taskbar at the bottom of your host Windows 10 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.
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 3a", replacing "YOUR NAME" with
your real name.
Scanning YOURNAME.com
Start Nmap. Enter a Target of YOURNAME.com, replacing "YOURNAME" with your own
name.
Click the Scan button.
A long list of open ports is visible in the Nmap window, as shown above.
Note: If you wait too long, the scan will complete and scroll to the bottom. Drag the
scroll bar back to the top to capture the image shown above.
Click the taskbar at the bottom of your host Windows 10 desktop, to make the host machine
listen to the keyboard, instead of the virtual machine.
Press the PrintScrn key to copy the whole desktop to the clipboard.
Save the document with the filename "YOUR NAME Proj 3b", replacing "YOUR NAME" with
your real name.
Sources
http://www.inetsim.org/packages.html
http://securitygoth.blogspot.com/
http://danielabrantes.blogspot.com/2013/05/sendemail-invalid-sslversion-specified.html