r/computerforensics • u/GameEnder • Aug 31 '24
VMDK Snapshot Merging
I have a large vmdk and an esxi snapshot. I am attempting to merge them back together and export the image. I have access to a copy of X-Ways that I am borrowing but am a bit lost.
I have tried the official vmware tools but I believe there is bit of corruption so the official tools give up.
Can anyone point me to some instructions on mounting a vmdk with a snapshot delta file and exporting the image?
1
Upvotes
1
u/[deleted] Aug 31 '24
This is a bit convoluted, but should work: open the VM in the appropriate tool (VMWare, Virtualbox, etc...), restore the desired snapshot, boot the VM from a live Paladin ISO, then image it as you would image a regular machine. This process might take a bit longer than the native merging/exporting tools from each VM software, but should work independent of which VM software you are using.
1
u/Quality_Qontrol Sep 01 '24
It may be similar to an issue I had that was caused by just copying the vmdk files from the VM folder rather than exporting the VM, which would merge all the vmdk’s into one flat file. Other than going back and exporting it, try mounting the image with AIM. You have to have all the VM files in the same location. But when mounting, don’t choose the large vmdk file to mount, choose the “pointer” file which is a smaller vmdk file that’s a couple of kb. Once mounted, use FTK Imager to image the mounted drive.
2
u/MLoganImmoto Sep 01 '24
"C:\Program Files (x86)\username\VMware Workstation\vmware-vdiskmanager.exe" -r "D:\Virtual Machines\Windows 7\Windows 7.vmdk" -t 0 "C:\Users\username\Desktop\NewDisk.vmdk"
Where "Windows 7.vmdk" is the snapshot VMDK
1
u/bobzombieslayer Sep 01 '24
I could be wrong and apologies in advanced, but have you tried using the QEMU utilities that come bundled with QEMU?
The installer comes with a lot of utilities for any kind of Image manipulation and conversion for compatibility on windows, linux VirtualBox, VMWare, HyperV and can convert from one to the other (VMX, VMDX, VHD, OVA, QCOW, QCOW2 and other things for plain ISO, RAW and IMG files).
But its 100% terminal/command line oriented, but has more documentation and videos on YT.
1
u/[deleted] Sep 01 '24
[removed] — view removed comment