-
Notifications
You must be signed in to change notification settings - Fork 0
/
Forensic Collection of VMs
46 lines (30 loc) · 1.1 KB
/
Forensic Collection of VMs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Pause the machine if possible and then create a snapshot.
Virtual Box:
Memory:
Identify the VM's UUID:
vboxmanage list vms
Create a snapshot of the VM's memory: egistry root keys:
vboxmanage debugvm <VM_UUID> dumpvm-core --filename win10-mem.raw
Disk
Identify the VMs UUID:
vboxmanage list vms
Identify the VM's disk UUID:(Note the UUID ofthe disk in row IDE Controller)
vboxmanage showvminfo <VM_UUID>
Export the disk using the disk UUID:
vboxmanage clonemedium disk <disk_UUID>
VMWare:
Memory:
Collect the .vmem and associated .vmss and vmsn if available.
Disk:
Collect all vmdk files associated with the HKLM\SYSTEM SYSTEM, SYSTEM.LOG, syst SYSTEM em.sav
current snapshot ID
Alternatively, create a single VMDK from split files:
C:\Program Files (x86\VMware\VMware Player\vm- HKU\SID NTUSER.DAT
ware-vdiskmanager.exe» -r «d:\VMLinux\vmdk-name.vmdk» -t 0 MyNewimage.vimdk
Hash:
Windows:
Get-FileHash -Algorithm SHA1 <file>
Linux:
shasum <file>
Microsoft HypV:
Copy-VMFile “VMName” -SourcePath “C:\temp\file01.txt” -DestinationPath “C:\Temp1\file01.txt” -CreateFullPath -FileSource Host