20120715

Kioptrix Level 4 and VMWare Player


It took me a beat or 2 to figure out a workaround for not having the xxx.vmx file for level 4.  It would appear that VMWare Player does not make it easy to create a new VM from the vmdk alone. This may be obvious to most folks but I figured that I would send it along anyway.

The following should work for folks running VMWare Player.

# MY MACHINE:
- Linux <hostname> 2.6.32-41-generic #91-Ubuntu SMP Wed Jun 1311:44:43 UTC 2012 i686 GNU/Linux
- Ubuntu 10.04 LTS
- VMWare Player 4.0.2 build 591240

# PRE-REQUISITES:
- Download and unpack Kioptrix level 3.
- Download and unpack Kioptrix level 4

# STEPS
- cd to the directory containing the unarchived kioptrix level 3 files

- cp the vmx file to a new level 4 directory
> cp KioptrixVM3.vmx /<dir>/Kioptrix4_vmware.vmx <--- be sure to place this in the same directory as the "Kioptrix4_vmware.vmdk" file.

- cp the vmxf file to a new level 4 directory
> cp KioptrixVM3.vmxf /<dir>/Kioptrix4_vmware.vmxf <--- be sure to place this in the same directory as the "Kioptrix4_vmware.vmdk" file.

- edit the "Kioptrix4_vmware.vmx" file.  Edit the following parameters to read as follows.
displayName = "kioptrix-4"
ide0:0.fileName = "Kioptrix4_vmware.vmdk"
extendedConfigFile = "Kioptrix4_vmware.vmxf"

- edit the "Kioptrix4_vmware.vmxf" file.  Edit the following parameter.
<vmxPathName type="string">Kioptrix4_vmware.vmx</vmxPathName>

# WRAP-UP
- the VM should now boot normally and grab an IP.  Mine booted in about 25 seconds and grabbed x.x.x.136
- nmap reported several services up and running and the web page displayed.

No comments:

Post a Comment