Skip to content

Read raw disk images and E01 acquisitions with -t raw - #2165

Merged
abrignoni merged 1 commit into
mainfrom
feat/raw-image-input
Sep 12, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/raw-image-input

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds raw disk image and E01 support as a new -t raw input.

  • Reads a disk image (.img, .dd, .bin, or a numbered split segment) or an EnCase/EWF .E01 acquisition in place. No mounting and no admin rights.
  • Walks NTFS, FAT32, exFAT, ext2/3/4, HFS+, APFS, QNX6, QNX4, ETFS, EFS and QNX IFS volumes once and stages only the files an artifact selects.
  • The reader (qnxprobe and ewfprobe) is vendored under scripts/vendor/ and guarded by a manifest check in CI.
  • The GUI recognises the image extensions; the corpus validator honours an entry-level input_type.

Live files only; deleted records are not staged. A bare partition image is not re-rooted, so patterns that spell out private/var/ or data/media/ do not match it. F2FS is not read. Encrypted volumes read as ciphertext.

🤖 Generated with Claude Code

A disk image (.img, .dd, .bin, or any numbered segment of a split set) or an
EnCase/EWF .E01 acquisition is now an input. The image is read in place through
qnxprobe and ewfprobe, vendored verbatim under scripts/vendor/ and guarded by a
manifest check in CI; its NTFS, FAT32, exFAT, ext2/3/4, HFS+, APFS, QNX6, QNX4,
ETFS, EFS and QNX IFS volumes are walked once for their names and only the files
an artifact's pattern selects leave the image.

scripts/raw_image.py holds the seeker and is byte-identical across the LEAPP
cores. The entry point gains the -t choice, the dispatch branch and a finally
that releases the seeker on every exit; the GUI maps the conventional image
extensions onto raw and lists them in its file dialog; the corpus validator
honours an entry-level input_type.

Tests stage the NTFS, FAT32 and exFAT fixtures and check every byte against hash
lists written by other readers, and build an E01 set and a split set from the
same fixture. The frozen CLI is smoke-tested on the NTFS fixture.
admin/scripts/check_vendored.py now reads the manifest for every vendored copy,
checks each copy's hash and fetches the upstream file at its recorded commit; a
copy that opens with a vendoring banner is compared below the banner.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@abrignoni
abrignoni merged commit 1c8d776 into main Sep 12, 2026
9 checks passed
@abrignoni
abrignoni deleted the feat/raw-image-input branch September 12, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant