Difference between revisions of "Forensics of Virtualization Products"
From Forensics Wiki
ElizabethS (Talk | contribs) (Created page with "Category:Howtos == Dealing with Virtual Machine Images == It is becoming increasingly common to find evidence drives with Virtual Machines (VM) on them. The VMs may contai...") |
m (moved VirtualMachineForensics to Forensics of Virtualization Products: The title can easily refer to using virtualization in your forensics practice.) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 11: | Line 11: | ||
==== Mount ==== | ==== Mount ==== | ||
| − | + | # Install qemu-kvm using your preferred installation tool (apt-get, etc) | |
| − | + | # Load the network block device module >sudo modprobe nbd | |
| − | + | # Use Qemu to load the VDI file as a loop back device >sudo qemu-nbd -c /dev/nbd0 infile.vdi | |
| − | + | # Mount >sudo mount /dev/nbd0p1 /mnt | |
| − | + | # Inspect the file system as needed | |
To undo: | To undo: | ||
| − | + | # >sudo umount /mnt | |
| − | + | # >qemu-nbd -d /dev/nbd0 | |
| + | |||
| + | [http://bethesignal.org/blog/2011/01/05/how-to-mount-virtualbox-vdi-image/| Source Blog] | ||
| − | |||
| − | |||
==== Convert ==== | ==== Convert ==== | ||
Conversion requires the Virtual Box tool kit, if you don't already have it. | Conversion requires the Virtual Box tool kit, if you don't already have it. | ||
| − | + | # Install virtualbox-ose using your preferred installation tool (apt-get, download from VirtualBox.org, etc) | |
| − | + | # Convert to raw format >VBoxManage internalcommands converttoraw infile.vdi outfile.img | |
| − | + | # Inspect the raw image as per usual, either with TSK, EnCase, or mount | |
=== VMWare === | === VMWare === | ||
Latest revision as of 12:10, 23 March 2012
Contents |
[edit] Dealing with Virtual Machine Images
It is becoming increasingly common to find evidence drives with Virtual Machines (VM) on them. The VMs may contain evidence of their own, but with their unique file structure, care must be taken during examination. Running the virtual machine could destroy artifacts that are important.
[edit] Virtual Box
There are two methods for creating a way to mount or inspect a Virtual Box VM. Virtual Box disks typically have the extension "vdi" for Virtual Desktop Infrastructure. The mount method requires a Linux system and "qemu". The other method converts a vdi to a raw image format which can then be inspected with traditional forensics tools.
[edit] Mount
- Install qemu-kvm using your preferred installation tool (apt-get, etc)
- Load the network block device module >sudo modprobe nbd
- Use Qemu to load the VDI file as a loop back device >sudo qemu-nbd -c /dev/nbd0 infile.vdi
- Mount >sudo mount /dev/nbd0p1 /mnt
- Inspect the file system as needed
To undo:
- >sudo umount /mnt
- >qemu-nbd -d /dev/nbd0
[edit] Convert
Conversion requires the Virtual Box tool kit, if you don't already have it.
- Install virtualbox-ose using your preferred installation tool (apt-get, download from VirtualBox.org, etc)
- Convert to raw format >VBoxManage internalcommands converttoraw infile.vdi outfile.img
- Inspect the raw image as per usual, either with TSK, EnCase, or mount