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
Built Distribution
File details
Details for the file imagemounter-mitre-2024.7.31.tar.gz
.
File metadata
- Download URL: imagemounter-mitre-2024.7.31.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127f84e3d0322b70655404f53247c49e286ac42b8aea7fb2cc08f5218763e6d8 |
|
MD5 | e4798de162539e1efba753c0ce1bf9a8 |
|
BLAKE2b-256 | 001aa21d8b3184a61c816aa9df2c6e49cd33641c5af2e55e821aab3fe94dcb72 |
File details
Details for the file imagemounter_mitre-2024.7.31-py3-none-any.whl
.
File metadata
- Download URL: imagemounter_mitre-2024.7.31-py3-none-any.whl
- Upload date:
- Size: 54.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf6fe747aa544def050fea4002699011c307357e7ef524c57338e1fa2227fae |
|
MD5 | 5df102daa7c3f8087e5e1e1590cd7e9a |
|
BLAKE2b-256 | 21c71cb49f325a1eadf9b1ab4bd366f656eb35819b67898f12102390a10638e8 |