dissect.target
This module ties all other Dissect modules together, it provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets)
What it is and what it does
dissect.target is a forensic analysis framework that unifies access to various data sources in disk images, virtual machine snapshots, and file collections. It sits atop a collection of specialized Dissect modules (for NTFS, registry, event logs, hypervisors, and more) and exposes them through a consistent programming API and a suite of command-line tools. The package is designed for digital forensics and incident response workflows where analysts need to extract, query, and export evidence from diverse target formats.
The framework provides both programmatic access for custom analysis scripts and ready-made tools like target-query (for running plugin functions), target-shell (for interactive filesystem exploration), target-reg (for Windows registry inspection), and target-mount (for mounting filesystems). It handles the complexity of parsing different image formats and filesystem types, allowing users to focus on the forensic questions rather than format-specific parsing details.
Use it for:
- Query Windows event logs, PowerShell history, and command artifacts across multiple disk images using target-query plugins
- Interactively explore a suspect disk image filesystem and registry using target-shell commands like ls, cat, and registry
- Export forensic records (timelines, artifacts, logs) from targets to compressed archives for reporting with target-dump
- Mount a forensic image to your analysis machine for direct filesystem access without modifying the original evidence
- Develop custom Python scripts that parse and correlate data across multiple evidence sources using the dissect.target API
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dissect.target provides a unified API and command-line tools to parse and query data from disk images, file collections, and forensic evidence formats, abstracting away the complexity of multiple underlying Dissect modules.
Yes, if you work in digital forensics or incident response. The package is actively maintained, has no known vulnerabilities, and provides a well-designed abstraction over complex forensic formats. The AGPL license is appropriate for internal tools and open-source projects but incompatible with proprietary distribution. Install with caution in closed-source environments or verify licensing constraints with your organization.
Install
dissect-target on PyPI
pip
pip install dissect-targetuv
uv add dissect-targetpoetry
poetry add dissect-targetInstalling dissect.target
Before you install
Low friction installation as a pure Python wheel. Active maintenance with recent commits and stable production status. Requires Python 3.10 or later.
License in practice
AGPL-3.0-or-later: copyleft license requiring derivative works to be released under the same terms and source code to be made available to users. Suitable for internal tools and open-source projects; not compatible with proprietary closed-source distribution.
Quickstart
pip install dissect.target
from dissect.target import Target
target = Target.open('/path/to/target.vmdk')
for fs in target.filesystems:
print(fs)
Requires Python 3.10 or later. Some plugins (e.g., YARA support) require optional dependencies installed separately.
Verify before relying
- Whether all 12 runtime dependencies are required for basic functionality or if some are optional/plugin-specific
- Performance characteristics when working with large disk images or many targets
- Compatibility with specific forensic image formats beyond the examples in the description
Package facts
| License | AGPL-3.0-or-later (agpl) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 12 — defusedxml, dissect.cstruct, dissect.database, dissect.eventlog, dissect.evidence, dissect.hypervisor, dissect.ntfs, dissect.regf, dissect.util, dissect.volume, flow.record, structlog |
| Maintenance | actively maintained — 170 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 528,755/month — #6,162 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dissect_target-3.25.1-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
dissect.hypervisorParses hypervisor disk, backup, and…
agpl · top 15,000 on PyPI
acquireAcquire gathers forensic artifacts from disk…
agpl · top 15,000 on PyPI
dissect.volumeParses disk volume and partition systems…
agpl · top 15,000 on PyPI
dissect.utilProvides utility functions and decompression…
permissive · top 15,000 on PyPI
dissect.ntfsParses and reads NTFS file systems, the primary…
agpl · top 15,000 on PyPI
dissect.cstructParse binary data using C-like structure…
permissive · top 15,000 on PyPI
yara-xPython bindings for YARA-X, a pattern-matching…
permissive · top 15,000 on PyPI
parsedmarcParses DMARC, TLS-RPT, and related email…
permissive · top 15,000 on PyPI
extractcodeExtracts a wide range of archive formats (tar,…
permissive · top 15,000 on PyPI
developer-disk-imageFetches Apple's DeveloperDiskImage files…
copyleft · top 15,000 on PyPI