how to install VMware

64
Restoring Suspect Physical and Restoring Suspect Physical and Compressed Images with Compressed Images with VMWare VMWare Brett Shavers Computer Technology Investigators Network

description

it displays step-by-step procedure on how to install VMware.

Transcript of how to install VMware

Page 1: how to install VMware

Restoring Suspect Physical and Restoring Suspect Physical and Compressed Images with Compressed Images with VMWareVMWare

Brett Shavers

Computer Technology Investigators Network

Page 2: how to install VMware

Topics:Topics:

•• VMWare BriefVMWare Brief•• Capabilities of Capabilities of VMWareVMWare•• VMWare InstallationVMWare Installation•• Guest Operating SystemsGuest Operating Systems•• VMWare NetworkingVMWare Networking•• Restoration of forensic images into VMWareRestoration of forensic images into VMWare

Page 3: how to install VMware

What is VMware?What is VMware?

•• VMWare is application software that VMWare is application software that provides a virtual computer on which you provides a virtual computer on which you can install another operating systemcan install another operating system

•• The virtual computer or virtual machine The virtual computer or virtual machine (VM) runs as if it were a real operating (VM) runs as if it were a real operating system on a real computer with real devicessystem on a real computer with real devices

•• The VM has its own CPU, memory, hard The VM has its own CPU, memory, hard disks, and other I/O devicesdisks, and other I/O devices

Page 4: how to install VMware

Virtual HardwareVirtual Hardware

•• CPU = Host CPUCPU = Host CPU•• Chipset = Intel 440BXChipset = Intel 440BX--based motherboard with based motherboard with

NS338 SIO chip and 82093AA IOAPIC NS338 SIO chip and 82093AA IOAPIC •• BIOS = BIOS = PhoenixBIOSPhoenixBIOS 4.0 Release 6 with VESA 4.0 Release 6 with VESA

BIOS BIOS •• RAM = HostRAM = Host’’s RAMs RAM•• IDE Devices = Up to 4; Virtual HD up to 950 GB; IDE Devices = Up to 4; Virtual HD up to 950 GB;

can also use real disks (2TB limit)can also use real disks (2TB limit)•• SCSI Devices = Up to 7SCSI Devices = Up to 7•• NIC = AMD NIC = AMD PCnetPCnet--PCI II compatible PCI II compatible

Page 5: how to install VMware

VMware Workstation VMware Workstation TerminologyTerminology

•• Host operating system is the one that runs Host operating system is the one that runs VMware WorkstationVMware Workstation

•• Guest operating system is the virtual OSGuest operating system is the virtual OS•• The host OS can be either NTThe host OS can be either NT--based based

Windows or Linux (RedHat, Mandrake, Windows or Linux (RedHat, Mandrake, SuSE)SuSE)

•• The guest OS can be DOS, every flavor of The guest OS can be DOS, every flavor of Windows, Linux, BSD or other OS that runs Windows, Linux, BSD or other OS that runs on an X86 platformon an X86 platform

Page 6: how to install VMware

Forensic Uses of VMwareForensic Uses of VMware

•• VM Workstation allows you to restore a suspectVM Workstation allows you to restore a suspect’’s hard s hard drive into a VMdrive into a VM

•• You can work with the suspectYou can work with the suspect’’s OS and its installed s OS and its installed applications, some of which may be involved in the alleged applications, some of which may be involved in the alleged crimecrime

•• You can network two VMs, one a suspect client and the You can network two VMs, one a suspect client and the other a suspect serverother a suspect server

•• You can also mount a suspectYou can also mount a suspect’’s restored hard drive as a s restored hard drive as a physical or physical or ““rawraw”” diskdisk

•• You can easily drag and drop files from the VM to your You can easily drag and drop files from the VM to your host computerhost computer

Page 7: how to install VMware

Some VM TipsSome VM Tips

•• VMWare can boot VMWare can boot isoiso imagesimages•• Snapshots can be taken (up to 100 per VM Snapshots can be taken (up to 100 per VM

World)World)•• Videos can be taken using VMWare toolsVideos can be taken using VMWare tools•• You can drag and drop between the host of You can drag and drop between the host of

virtual OS easily.virtual OS easily.

Page 8: how to install VMware

Installing VMware WorkstationInstalling VMware Workstation

•• Meet the minimum requirements for the host:Meet the minimum requirements for the host:

Windows 2003, Windows XP Home and Pro Windows 2003, Windows XP Home and Pro (SP1), Windows 2000 (SP3), Windows NT (SP1), Windows 2000 (SP3), Windows NT (SP6A)(SP6A)

Host OSHost OS

Whatever guest Whatever guest recommends + appsrecommends + apps

Whatever guest Whatever guest requires + appsrequires + apps

Hard Disk (for Hard Disk (for guests)guests)

100 MB100 MB100 MB free100 MB freeHard Disk (install)Hard Disk (install)SVGA +SVGA +VGAVGADisplayDisplay256 MB +256 MB +128 MB128 MBMemoryMemory500 MHz +500 MHz +400 MHz400 MHzCPUCPU

RecommendedRecommendedMimimumMimimumComponentComponent

Continued …

Page 9: how to install VMware

Installing VMware WorkstationInstalling VMware Workstation

•• Optional components include:Optional components include:•• Floppy DiskFloppy Disk•• Ethernet adapter for the hostEthernet adapter for the host•• CDCD--ROMROM•• USB portUSB port•• Other hard disksOther hard disks

Page 10: how to install VMware

Installing a Guest OSInstalling a Guest OS

•• Have the installation media available, Have the installation media available, typically a CDtypically a CD

•• Start VM Workstation and select File, New Start VM Workstation and select File, New Virtual MachineVirtual Machine

•• A wizard begins A wizard begins ……..

Page 11: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 12: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 13: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 14: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 15: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 16: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 17: how to install VMware

Installing a Guest OSInstalling a Guest OS

Page 18: how to install VMware

•• Once the Guest has been configured, you need to Once the Guest has been configured, you need to start the OS, but before you do start the OS, but before you do ……

•• Make sure the installation media for the guest is in Make sure the installation media for the guest is in the CDthe CD--ROM drive or floppy drive of the hostROM drive or floppy drive of the host

•• As soon as the machine starts, you need to click in As soon as the machine starts, you need to click in the window and press F2 to get into the guest the window and press F2 to get into the guest CMOS setup programCMOS setup program

•• Once there, youOnce there, you’’ll need to configure the system to ll need to configure the system to boot from the CDboot from the CD--ROM or floppyROM or floppy

Installing a Guest OSInstalling a Guest OS

Page 19: how to install VMware

Guest CMOS setupGuest CMOS setup

Page 20: how to install VMware

Guest CMOS SetupGuest CMOS Setup

Page 21: how to install VMware

Set Boot OrderSet Boot Order

Page 22: how to install VMware

Save CMOS settingsSave CMOS settings

Page 23: how to install VMware

Boot Guest from OS CDBoot Guest from OS CD

Page 24: how to install VMware

Install Guest OSInstall Guest OS

Page 25: how to install VMware

SummarySummary

•• VMware Workstation allows you to install a guest VMware Workstation allows you to install a guest OS in a virtual machineOS in a virtual machine

•• The guest OS can interact with the host and utilize The guest OS can interact with the host and utilize the hostthe host’’s s cpucpu, ram, , ram, cdcd--romrom, keyboard, mouse, , keyboard, mouse, floppy disk, and network cardfloppy disk, and network card

•• The host can be practically any NTThe host can be practically any NT--based host or based host or Linux host and the guest can be any Windows OS, Linux host and the guest can be any Windows OS, Linux, Novell, FreeBSD and moreLinux, Novell, FreeBSD and more

•• VMware Workstation provides significant VMware Workstation provides significant forensicforensic--related capabilitiesrelated capabilities

Page 26: how to install VMware

Restore of network and client systemsRestore of network and client systems

ILook will be demonstrated, but Encase, FTK, Winhex, etc… can be used as long as it can restore whatever image format you have. You can also use physical hard drives directly.

Encase has directions on restoration into VMWare on their website. Using a boot disk of any sort is half the work of using FTK or Encase for restores.

Page 27: how to install VMware

Restore Using IRestore Using I--LookLook

•• Scenario with a WIN2003 Scenario with a WIN2003 domain controller and an XP domain controller and an XP Pro clientPro client

•• Before restoring, establish a Before restoring, establish a VM Ware occurrence with VM Ware occurrence with VM Ware DHCP service VM Ware DHCP service disableddisabled

•• Restore the Domain Controller Restore the Domain Controller firstfirst

Page 28: how to install VMware

Create New Virtual MachineCreate New Virtual Machine

Page 29: how to install VMware

Create the Domain ControllerCreate the Domain Controller

You have to know the OS of the image to be restored. Use the same version because VMware emulates hardware for each OS. BUT, XP may be able to handle all the other Windows OS’s. It’ll still boot to the actual OS, but there may be subtle differences in emulations. Stay with the actual OS.

Page 30: how to install VMware

Name and Allocate ResourcesName and Allocate Resources

Name it what you like. If you will be doing multiple restorations of the same image, then you can use dates, LFN, OS, etc… Make the location to a new folder where you can manage. For network restorations, keep the LAN all in one folder otherwise you will lose track. You may have to adjust memory later. The more machines, the more memory needed. Make sure your folder can hold everything you need (if all images total 100GB, you need at least that much to restore as the images expand to original size)

Page 31: how to install VMware

Define Network TypeDefine Network Type

Only use host only to containerize the threat that the potential network system could have with interacting with the ‘real’networking environment that you are connecting to

For forensic restorations, make sure you don’t choose a connection that goes outside! (Bridged and NAT will go outside). The other two are safe. For network restorations, choose HOST ONLY NETWORKING). This allows clients in the virtual world to talk to each other. If you select either of the first two, and the images have a virus, you just exposed your network to that virus.

Page 32: how to install VMware

Defining the BusDefining the Bus

You will go through this process twice for each drive you are restoring to ID the source and destination

Page 33: how to install VMware

Select the Source DiskSelect the Source Disk

Choose the disk that contains the image files. It is possible to have all images on one disk to be used for restorations.

Page 34: how to install VMware

VM Ware Establishes New MachineVM Ware Establishes New Machine

VM Ware treats this as though it is a SCSI system even though it is really an IDE drive, don’t worry about this. It is a SCSI disk because VMware likes SCSI disks for Domain controller OS’s. SCSI and IDE are just interfaces, the data will be the same, so no difference.

0:O is first SCSI disk on the first SCSI controller.

Page 35: how to install VMware

Add the DestinationAdd the Destination

Page 36: how to install VMware

Define Drive Type and Allocate Define Drive Type and Allocate SpaceSpace

Normally choose IDE. Make it the same size as the original hard drive, not size of image. Give a gb for wiggle room. Then name the target drive.

Page 37: how to install VMware

Confirm Both Disks CreatedConfirm Both Disks Created

Page 38: how to install VMware

Restore the Image Using ISO Restore the Image Using ISO II--Look FileLook File

Put an ISO on your desktop of ILook, and point to that. (side note, you can make an iso of a boot floppy and have it point to that as well, always booting to your clean boot as an example.

Page 39: how to install VMware

Point to the CD and Start the Virtual Point to the CD and Start the Virtual II--Look MachineLook Machine

Page 40: how to install VMware

Verify Available DisksVerify Available Disks

Page 41: how to install VMware

Selecting the device to Selecting the device to restore fromrestore from

Page 42: how to install VMware

Continuing to select image fileContinuing to select image file

Page 43: how to install VMware

Restore Target ProcessRestore Target Process

Page 44: how to install VMware

Restore in Process Restore in Process and Completeand Complete

Page 45: how to install VMware

Finish and QuitFinish and Quit

Page 46: how to install VMware

Stop this machineStop this machine

Page 47: how to install VMware

Now remove the drive and reset the CD Now remove the drive and reset the CD back to the actual physical machine deviceback to the actual physical machine device

Page 48: how to install VMware

Reset the CDReset the CD

Page 49: how to install VMware

Start the restored machineStart the restored machine

Machine starting, you will get some services errors

Page 50: how to install VMware

Start Up and LoginStart Up and Login

Page 51: how to install VMware

Go through loginGo through login

Page 52: how to install VMware

Check the Virtual IP settings for the Check the Virtual IP settings for the virtual network connectionsvirtual network connections

You need to know what the original settings were to reconfigure this. Because of the restore, the restored image will revert back to Windows default because a different NIC is being used (albiet virtual). Good to check before imaging if possible.

Page 53: how to install VMware

This appears to be LAN2 (as if there was a 1 at sometime). LAN This appears to be LAN2 (as if there was a 1 at sometime). LAN 1 was the original machine, 1 was the original machine, when restored, LAN2 was created. Look at the Ethernet Adaptor awhen restored, LAN2 was created. Look at the Ethernet Adaptor and that will be different as nd that will be different as

well. Donwell. Don’’t worry about, has to be that wayt worry about, has to be that way

Page 54: how to install VMware

You can get settings here in the registry on IP settingsYou can get settings here in the registry on IP settings

Page 55: how to install VMware

Input this infoInput this info

Select ‘NO’

Page 56: how to install VMware

Check the original DHCP settingsCheck the original DHCP settings

Verify scope makes sense and is active before you restore any client systems

Page 57: how to install VMware

Suspend the Controller MachineSuspend the Controller Machine

Because the domain must be working to install a client, just suspend this VM OS. Suspending a machine doesn’t free up RAM, it uses it just the same. 3 machines at 2gb is about the max for RAM.

Page 58: how to install VMware

Create a new clientCreate a new clientvirtual machinevirtual machine

•• Duplicating the previous process used Duplicating the previous process used during the controller restoreduring the controller restore

•• When you get to the drive type select IDE When you get to the drive type select IDE rather than SCSI (this IDE is the default rather than SCSI (this IDE is the default setting since this is a client machine)setting since this is a client machine)

Page 59: how to install VMware

Resume the Domain Controller and Resume the Domain Controller and start the XP Pro Clientstart the XP Pro Client

Page 60: how to install VMware

Login and Add to DomainLogin and Add to Domain

Page 61: how to install VMware

Encase/FTK/etcEncase/FTK/etc…… ImagesImages

•• You can use Encase, FTK, Linux, Winhex You can use Encase, FTK, Linux, Winhex or any other program that can restore or any other program that can restore images to a physical drive in images to a physical drive in VMWareVMWare..

Page 62: how to install VMware

Forensic IssuesForensic Issues

•• Yes, the data is changed (but only the virtual Yes, the data is changed (but only the virtual world, not the original images)world, not the original images)

•• No, you canNo, you can’’t see unallocated space when fishing t see unallocated space when fishing through the virtual world (itthrough the virtual world (it’’s not a forensic exam s not a forensic exam anyway)anyway)

•• Yes, hashes will match on specific files on both Yes, hashes will match on specific files on both the images and virtual world.the images and virtual world.

•• This process can be used to test viruses, Trojans, This process can be used to test viruses, Trojans, worms, and other actions on a suspect system worms, and other actions on a suspect system (maybe disprove suspect(maybe disprove suspect’’s allegations of virus, s allegations of virus, etcetc……))

Page 63: how to install VMware
Page 64: how to install VMware

5% off purchase5% off purchase

•• If you want 5% off an online purchase, you If you want 5% off an online purchase, you can use my referral code:can use my referral code:

•• VMRCVMRC--BRESHA248 BRESHA248