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
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-2023.6.12.tar.gz (72.0 kB view details)

Uploaded Source

Built Distribution

imagemounter_mitre-2023.6.12-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagemounter-mitre-2023.6.12.tar.gz
Algorithm Hash digest
SHA256 b263fd0eebf57d22bc42222a4304e8ff3f8fe78b57e0aa647b0da23e24dd499a
MD5 a34dd9990240df36cffbe4ac7a36de6c
BLAKE2b-256 6b0e423f66d66ede515b95f8beb61a55464a70dee581c2c56cf63bb675187f57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagemounter_mitre-2023.6.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad587f7d1f84863498c04885f5b5fdb3f1d62317d74f77ea62141968d6231d7
MD5 45da017bb225e2b6c30ebd8ba8428488
BLAKE2b-256 d9f0d3eeb4eb8ed5ae916ed830665c87aaa91104029c3337cc611393892fefaa

See more details on using hashes here.

Supported by

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