# ESXi VMFS Exploration

For this, I setup ESXi 7.0 as a guest in VMWare Workstation 15.

Downloaded Windows 1909 Upgrade ISO.

Ran through ESXi setup, provisioned a 40GB datastore as 'ISO'.

Uploaded Windows 1909 ISO file to ISO datastore.

Created Windows 10 guest virtual machine within ESXi.

Booted Windows 10 guest from ISO datastore and installed Windows 10.

Created 'mydocument.txt' on Windows 10 desktop (under 'Andrew' profile).

1. Mount E01 with your preferred tool (can be with Arsenal Image Mounter or similar).
2. Datastore will present as separate partition
3. Acquire/export partition as E01/RAW
4. Mount new image (from partition) as a physical disk.
5. Create VMDK from PhysicalDisk

   ```
   VBoxManage.exe internalcommands createrawvmdk -filename "C:\vmfs\part8.vmdk" -rawdisk \\.\PhysicalDriveX
   ```
6. Attach new VMDK to Linux host
7. Install VMFS6-tools and libguestfs-tools

   ```
   sudo apt-get install vmfs6-tools
   fdisk -l
   sudo mkdir /mnt/sdb && sudo mkdir /mnt/vmdk
   ```
8. Mount partition

   ```
   sudo vmfs6-fuse /dev/sdb /mnt/sdb
   ```

<div align="left"><img src="/files/Y57aGETLO37ayiJ7SCHe" alt=""></div>

9\.   Mount target VMDK (for guest Windows 10 VM) and explore

```
guestmount -a Windows 10-flat.vmdk -m /dev/sdb --ro /mnt/vmdk
(or specify partition)
guestmount -a Windows 10-flat.vmdk -m /dev/sdb --rw /mnt/vmdk
```

![](/files/hgzTaVsGDt3lMoaLySJ6)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.iblue.team/esxi-forensics/esxi-vmfs-exploration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
