CNIT 121 Project 1: Using Virtual Machines (15 Points)

What You Need for This Project

Downloading the Virtual Machines

In a Web browser, go here:

https://games.samsclass.info/secret/download-vms.htm

You need a username and password. Your instructor gave them out in class, and they are written on the chalkboard in S214.

Download these two files:

They are both 7-Zip archives.

Using DVDs

If you are using the old DVDs instead of downloading the files, use these instructions.

Installing 7-Zip

You need 7-Zip on your host machine. You can download it from

7-zip.org

If you are using a Mac, I recommend The Unarchiver.

Making Your VM (Virtual Machines) Folder

If you are working in S214, click Start, Computer. 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.

DO NOT PUT VIRTUAL MACHINES ON THE C: DRIVE IN S214. They fill the drive and make the machine unusable, and will be deleted.

Extracting the Virtual Machines from the Archives

Right-click the .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.

Repeat this process for the other .7z file.

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.

Starting your Win2008-Target Virtual Machine

In the VMware Player window, click "Open a Virtual Machine". Browse to the VMs-S214 drive amd open the folder with your name on it. Open the "Win2008-Target" folder and double-click the "Windows Server 2008 2.vmx" file.

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.

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.

Log in as Administrator with a password of P@ssw0rd

When the server starts, it opens some windows by default. Close all windows.

You should see the Windows Server 2008 desktop as shown below:

Setting the Win2008-Target VM to Bridged Networking

In the VMware Player window showing your Windows 2008 Server 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", as shown below. Click OK.

Testing Your Win2008-Target Virtual Machine's Internet Connection

On the Win2008-Target virtual machine, open Internet Explorer and go to
http://google.com
If you cannot open Google, which happens very often, try the troubleshooting steps listed below.

Troubleshooting a VMware Network Connection

  • RESTART: Restart the virtual machine
  • USE DHCP: In the virtual machine, click Start. In the Search box, type CONTROL NETCONNECTIONS and press Enter. Right-click "Local Area Connection" and click Properties. Double-click "Internet Protocol Version 4 (TCP/IPv4)" and make sure both the "Obtain an IP address automatically" and "Obtain DNS server address automatically" buttons are selected. Click OK. Click OK.
  • REPAIR THE CONNECTION: In the virtual machine, click Start, Control Panel, Network Connections. Right-click "Local Area Connection" and click Repair.
  • VMWARE BRIDGE PROTOCOL: In the Host machine, click Start and type "NETWORK CONNECTIONS" into the Search box. In the results, click "View network connections". Right-click "Local Area Connection" and click Properties. Make sure the "VMware Bridge Protocol" item is checked. Click OK.
  • MAKE A NEW VIRTUAL MACHINE: When all these actions fail, which is very common, you need to discard the virtual machine and extract a fresh one from the original .7z file.

Finding Your Win2008-Target VM's IP Address

On your Windows Server 2008 desktop, click Start. Click "Command Prompt".

In the Command Prompt screen, type in IPCONFIG and press the Enter key.

Your IP address apears, as shown below.

Saving a Screen Image

Make sure the Windows 2008 Server desktop is visible showing your IP address.

You have now completed the first part of Project 1. To prove it, you need to capture an image of the screen and email it to me.

Note the hand symbol on the image above: that indicates screen images that you must capture and turn in.

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.

In the upper left corner of the "untitled - Paint" window, click the little blue square icon (it looks like a floppy disk, something people used to use long ago--you might never have seen one).

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

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

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 Windows 2008 Server 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 1b", replacing "YOUR NAME" with your real name.

Make sure both machines are in Bridged networking mode!

The most common problem students have is incorrect networking modes. Unless otherwise specified, make sure all virtual machines you use in this class are in Bridged networking mode.

Email the images to me as an attachments to an e-mail message. Send it to: cnit.121@gmail.com with a subject line of "Proj 1 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: 8-16-16