Skip to main content

Command line utility and Python package to ease the (un)mounting of forensic disk images.

Project description

imagemounter is a command-line utility and Python package to ease the mounting and unmounting of EnCase, Affuse, vmdk and dd disk images (and other formats supported by supported tools). It supports mounting disk images using xmount (with optional RW cache), affuse, ewfmount and vmware-mount; detecting DOS, BSD, Sun, Mac and GPT volume systems; mounting FAT, Ext, XFS UFS, HFS+, LUKS and NTFS volumes, in addition to some less known filesystems; detecting (nested) LVM volume systems and mounting its subvolumes; and reconstructing Linux Software RAID arrays.

In its default mode, imagemounter will try to start mounting the base image on a temporary mount point, detect the volume system and then mount each volume seperately. If it fails finding a volume system, it will try to mount the entire image as a whole if it succeeds in detecting what it actually is.

This package supports Python 3.6+.

Example

A very basic example of a valid mount is as follows. The command-line utility has much more features, but results vary wildly depending on the exact type of disk you are trying to mount:

# imount lvm_containing_dos_volumesystem_containing_ext4
[+] Mounting image lvm_containing_dos_volumesystem_containing_ext4 using auto...
[+] Mounted raw image [1/1]
[+] Mounted volume 2.0 GiB 4.0.2:Ext4 / [Linux] on /tmp/im_4.0.2_8l86mZ.
>>> Press [enter] to unmount the volume, or ^C to keep mounted...
[+] Parsed all volumes!
[+] Analysis complete, unmounting...
[+] All cleaned up

If you want to see for yourself, you could try executing imount /dev/sda first.

Documentation

Full documentation of this project is available from http://imagemounter.readthedocs.org/ or in the docs/ directory.

Installation

This package does not require other packages, though termcolor is recommended and pytsk3 is needed if you wish to use this package for volume detection.

Just perform the following commands for a basic installation:

apt-get install xmount ewf-tools afflib-tools sleuthkit
pip3 install imagemounter-mitre
imount --check

Use imount --check to verify which packages are (not) installed. Install additional packages as needed.

Contributing

Since imagemounter is an open source project, contributions of many forms are welcomed. Examples of possible contributions include:

  • Bug patches

  • New features

  • Documentation improvements

  • Bug reports and reviews of pull requests

RELEASE STATEMENT

Approved for Public Release; Distribution Unlimited. Public Release Case Number 22-3208.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imagemounter-mitre-2025.2.27.tar.gz (72.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imagemounter_mitre-2025.2.27-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file imagemounter-mitre-2025.2.27.tar.gz.

File metadata

  • Download URL: imagemounter-mitre-2025.2.27.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for imagemounter-mitre-2025.2.27.tar.gz
Algorithm Hash digest
SHA256 4236a85cfffa55d536fd8b12b82b6234b80852ec4ce6f64d0349200528659a86
MD5 c98a24c5655105aabc6dbc0474a40495
BLAKE2b-256 be7e0afa3b0210d5d6f7006c9daad785e4ec042a0b6f12055423e663b94cd10d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imagemounter-mitre-2025.2.27.tar.gz:

Publisher: release.yml on mitre/imagemounter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imagemounter_mitre-2025.2.27-py3-none-any.whl.

File metadata

File hashes

Hashes for imagemounter_mitre-2025.2.27-py3-none-any.whl
Algorithm Hash digest
SHA256 2566795308400cae37c6b0fc727f9f2d1de82ff6f9085c7510fea63ed835691f
MD5 199064eded27f02b077a36b9b15e1afe
BLAKE2b-256 c6f537801e5f6246118ada1ad7a195c7a65c5b022c3cacfa6d823496048f18a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for imagemounter_mitre-2025.2.27-py3-none-any.whl:

Publisher: release.yml on mitre/imagemounter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page