Thursday, August 12, 2010

Testing Platform

Full testing Platforms to be tested as as follows:
All these tests will take place on a Quad Core 2.4Ghz Intel Processor with the Intel-Vt chip installed, Host contains 3Gb of RAM and a single 7.2krpm SATA HDD. (SATA HDD swapped out for additional hypervisors)
By choosing a single platform, all hypervisor tests are now comparable as they are all running on a single platform.


3 O.S's installed on the system to allow for multiboot functionality
1. Windows 7 - 64bit - used for testing Virtualbox/Workstation/Parallels Hosted Hypervisors
2. Windows 2008 Server 64bit - Installed with Hyper-V hypervisor
3. Unbutu 10.4 64bit - installed with the Linux KVM Hypervisor



I had use of a Dell Poweredge 2950 server with Dual-Core 2.4Ghz Processor, 4Gb of RAM, Perc 5i Raid Controller and 6 136Gb 10krpm SAS drives.
3 Logical Raid 1 Disks were presented at hardware level RAID, however it was not possible to install a multiboot environment consisting of the following:
  1. Disk1: Windows2008 server (BCD bootloader)
  2. Disk2: Citrix XenServer (extlinux bootloader)
  3. Disk3: VMWare ESXi (syslinux bootloader)
All 3 systems use a completely different bootloaders, i tried installing OS's in different orders on different disks, i even parititioned the Win2008 disk with Ubuntu to introduce the Grub bootloader, however it was not possible to allow multiboot to take place over these 3 Hypervisors.

Also Win2008 does not allow Workstation installed alongside Hyper-V, therefore this single testplatform could not be used without performing a full rebuild of the Hypervisor on each occasion for testing.


Up to this point i was testing Virtualbox/Workstation and to a degree Parallels on Windows XP - DualCore 2.4Ghz laptop with 3Gb RAM, and on Windows 7 on the final test platform.


Tests to be ran on each experiment

VM Isolation Testing:
Test1: geekbench... checks a number of CPU/Memory/ system performance parameters and presents an over all performance score


Test2: Ramspeed test - This simple algorithm allows to show how fast are both cache and memory subsystems. There are also *mem benchmarks such as INTmem, FLOATmem. These are supposed to illustrate how fast is actual read\write memory performance. Each of them includes four subtests called Copy(A=B), Scale(A=B*m), Add(A=B+C) and Triad(A=B+C*m).

Test3: CPU test - calculate Square Root of 32million numbers

Test4 - I/O testing of disk subsystem- using fio - runs 2 tests... random reads / writes of 10 x 32mb files to disk and corralates the results

Test5 - I/O testing of network - 3 ping tests to host, a vm within the same host and gateway on physical network.

Experiments





Friday, July 30, 2010

The Experimentation:

I've looked at a number of experiments & ways to implement these experiments within VM's running on Hosted / BareMetal - Hypervisors.
It's then possible to analyze how effective isolation is on the platform by the factors below at the bottom

These include the following:
  • Crashme:- By running this application within a VM it causes a high CPU load within the VM and in some cases causing the VM to crash altogether.
  • Fuzz :- By sending programs nonsensical messages it can cause a program to act inappropriately, causing the program itself to crash or launch many other programs.
  • DoS :- Using special tools its possible to launch a DoS attack against a VM within a Host either within the same Vswitch as other VM's or a seperate Vswitch.
  • Forkbombs:- Forkbombs are a great way to put stress onto the underyling physical ram within a host

It's been a long summer, alot of reading and research carried out.

I've read numerous papers on Virtualization & security:

The highlights included a paper on "Secure Virtualization & MultiCore Platforms state-of-the-Art Rreport by Heradon Douglas & Christian Gehrmann of SICS


I've looked at a number of different Hosted & Baremetal Hypervisors including:

Virtualbox, Parallels & VMWare Workstation running on Unbutu/WinXP32bit/Win764bit

Baremetal hypervisors such as Microsofts Hyper-V, Citrix XENServer, VMWare ESXi and RedHat's KVM

Thursday, May 20, 2010

New blog setup

I've just setup my blog which will be used to document my Practicum titled:

Study of secure isolation of virtual machines and their exposure to hosts in a virtual environment.