Laboratory Environment Due Date: Jan 24 Points: 25 Points

Objective

The purpose of this laboratory experience is to establish a platform from which you will perform your computer system administration security experiences.

Equipment Needed

You will need a PC, MAC, or computer as your . You will need to download the called VirtualBox along with the VirtualBox Extension Pack, and you will also need to download the Solaris 10. The links on the CPSC 424/624 Experiences homepage can be used to access these downloads. Please note that your system should have a minimum of 2 GB of RAM and 4 GB of free disk space at a minimum.

Background

A virtual machine (VM) is a software implementation of a machine (computer) that executes programs like a real computer. Virtual machines are separated into two major categories, based on their use and degree of correspondence to any real machine. A system virtual machine provides a complete system platform which supports the execution of a complete operating system (OS). In contrast, a process virtual machine is designed to run a single program, which means that it supports a single process. An essential characteristic of a virtual machine is that the software running inside is limited to the resources and abstractions provided by the virtual machine -- it cannot break out of its virtual world. The main advantage of system VMs is that multiple OS environments can co-exist on the same physical computer in strong isolation from each other.

Procedure

1. Download and Install VirtualBox Go to the CPSC 424/624 Experiences page and click on the VirtualBox link. Select the VirtualBox that corresponds to your host operating system. Save that file in a directory that you will remember. Alternatively, you may execute the program directly. If you have saved the file, go to the directory that you saved the file in and double click or whatever you do to that file to install VirtualBox. Select all of the defaults to install. Execute the VirtualBox program and answer the registration request. Next go to the same web page and install the VirtualBox 4.2.2 Oracle VM VirtualBox Extension Pack.

** Do a print screen that you will email later **

2. Download Solaris Using the link on the CPSC 424/624 Experiences page, click on the Solaris 10 link. After loading the Solaris page, select the “Download Now” link. Scroll down the page until you see the “Oracle Solaris 10 Virtual Machine Downloads” section and then click on “Oracle Solaris 10 VM Downloads”. First in the “Accept License Terms To Downloads VMs” section click on the radio button that “Accepts License Agreement”. If you are forced to have an OTN account, go ahead and register for an OTN account. Again scroll down the page until you get to “X86 Architecture VMs” and the “Oracle Solaris 10 8/11 Virtual Machine for Oracle VM VirtualBox” section. Click on the “Oracle Solaris 10 8/11 VM for Oracle VM VirtualBox” and sit back. I would save the file and then execute it. You may directly execute it. Please note that this is a zip file of approximately 2+ GBs. Depending on your network connection, this may take a while.

3. Create Solaris Virtual Machine

You will now want to create a virtual machine for your Solaris OS. Check on the “New” icon in VirtualBox and click the “Next” button. Enter the name of your machine (I suggest Solaris 424 or 624) and then select Solaris in the Operating System pull down menu. From the Version pull down menu select Solaris. Next accept the default settings on all of the remaining screens. Finally click on the “Finished” button. Note that you will potentially need 6 gigabytes of storage on your host machine.

4. Install Solaris We will now install the Solaris OS from the uncompressed iso image that you downloaded and uncompressed from the Solaris web site. If you have not uncompressed that file, please do so now. We need to tell your Solaris virtual machine where to find the iso image that you downloaded in step 2. From your VirtualBox window select the newly created Solaris machine. Next click on “Storage” in the Details tab of your Solaris machine. Select the “Empty” icon under the SATA Controller. Select the Open Virtual Media Manager icon. This icon is to the right of the “Empty” pull down menu which is to the right of the “CD/DVD Device:”. Click on this icon. Click the Add button. Next specify where the downloaded, uncompressed iso file is located. Select this file and then click on “Open” button. In the Virtual Media Manager window make sure that the selected iso file is highlighted and click on select. You should see the selected Solaris dvd iso file next to CD/DVD Device:. You are now ready to load the OS onto your Solaris virtual machine. Click on the “Start” icon in VirtualBox and begin the installation process. You will see several options to load your Solaris virtual machine. The installation process will take a long time. Normally you should select the default or use common sense in your selection. Some items that you might not know: Select the first option, Solaris Next select Solaris Interactive Select Networked, DHCP, and DNS The search domain is cs.clemson.edu, clemson.edu DNS servers: 130.127.255.250, 130.127.255.251 Select the Default Install Do not reboot the machine Sit back and get a good book to read!

5. Start your Solaris Operating System We now need to de-select the Solaris DVD iso file so that you will boot your Solaris system from the disk and not the DVD. From your VirtualBox window select the Solaris machine. Next click on “Storage” in the Details tab of your Solaris machine. Select “sol-10-u9-ga-x86-dvd.iso” under the IDE Controller. From the pulldown menus next to CD/DVD Devise:, select empty. Click OK and you are now ready to start your Solaris operating system. From the VirtualBox window start your Solaris operating system. You may be told that additional packages are available for installation. If you want to upgrade to a newer version or if you want to install some additional packages, the decision to do this is up to you. Saying “no” to those questions will not affect any security related experience that we will do. You now have an operating Solaris OS.

6. Exercising your new Solaris Operating System After you have your running Solaris system, click on Devices in the Solaris VirtualBox window and select Install Guest Additions. Execute the autorun.sh shell script. You will then need to shut down your Solaris OS and restart it. The Guest Additions provide a more natural mouse environment in using VirtualBox and Solaris.

Explore your Solaris operating system, i.e. play with the operating system a number of times until you are comfortable with the way that it works. Your next experience assignment will be done on this operating system. Add a non-administrator account so that you accidently do not do something dumb. Use that account for non-administrative computing.

Reporting

E-mail in one message the following to [email protected] with a subject line of “Laboratory Environment”: Failure to use the correct subject line will result in a 10 point deduction for this experience.

1. Attach an uncompressed screen print that captures the Oracle VM VirtualBox window showing that the Solaris machine is running.

2. E-mail in the body any problems that you encountered in performing this experience

3. E-mail in the body any suggested improvements to the experience