Mounting VHD file on Kali Linux through remote share

  1. I was operating in Kali Linux and I didn’t have an operational Windows system to work with at the time. Generally, it is very easy to mount .vhd files in a Windows environment, but the same can’t be said within a Linux environment since the file type isn’t native to Linux.
  2. The .vhd file was in a remote share, and can’t be downloaded in a reasonable time due to the size of the file.
apt-get install libguestfs-tools
apt-get install cifs-utils
guestmount --add /mnt/remote/path/to/vhdfile.vhd --inspector --ro /mnt/vhd -v

--

--

Penetration Tester | OSCP

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store