INetsim Setup
INetsim Setup
INetsim Setup
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
If you are using a Mac, get Ez7z
DO NOT PUT VIRTUAL MACHINES ON THE C: DRIVE IN S214. They fill the
drive and make the machine unusable, and will be deleted.
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
Find your IP address and make a note of it. In the example below, it is
192.168.119.169.
This command shows processes listening on port 80. If you see apache2 processes, as
shown below, execute this command to stop apache:
service apache2 stop
Configuring inetsim
inetsim is included in Kali Linux 2 already. But it needs some configuration.
nano /etc/inetsim/inetsim.conf
to this
service_bind_address 0.0.0.0
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"
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
http://nmap.org/ to get it.
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.
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.