dissect.ntfs
A Dissect module implementing a parser for the NTFS file system, used by the Windows operating system
What it is and what it does
dissect.ntfs is a parser module for the NTFS file system, part of the larger Dissect framework for digital forensics and incident response. It provides programmatic access to NTFS structures, allowing developers to read and analyze Windows file systems at the binary level. The module is built on top of dissect.cstruct for binary data parsing and dissect.util for utility functions, keeping dependencies minimal and focused.
Typical use cases include forensic analysis of Windows systems, automated extraction of file metadata and content from NTFS volumes, and integration into larger investigation workflows. The module is designed for developers and information security professionals who need to parse NTFS data programmatically rather than through standard OS file access.
Use it for:
- Forensic analysis of Windows disk images or NTFS volumes in incident response investigations
- Automated extraction of file metadata, timestamps, and content from NTFS file systems
- Integration into security tools and frameworks that need to analyze Windows storage structures
- Recovery or analysis of deleted files and unallocated space in NTFS volumes
- Parsing NTFS structures in cross-platform or headless environments without Windows OS
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses and reads NTFS file systems, the primary file system used by Windows operating systems, enabling programmatic access to NTFS structures and data.
Yes, if you need to parse NTFS file systems programmatically for forensics, security analysis, or incident response. The package is actively maintained, has low install friction, and is part of a mature framework. The AGPL-3.0-or-later license is a consideration for proprietary projects but is standard for open-source security tools. No known vulnerabilities.
Install
dissect-ntfs on PyPI
pip
pip install dissect-ntfsuv
uv add dissect-ntfspoetry
poetry add dissect-ntfsInstalling dissect.ntfs
Before you install
Low friction installation as a pure-Python wheel with only two lightweight Dissect framework dependencies (dissect.cstruct and dissect.util). Actively maintained with recent commits and stable production status.
License in practice
Licensed under AGPL-3.0-or-later, which requires that any modifications or derivative works using this package must also be released under AGPL-3.0 or a compatible later version. This is a strong copyleft license suitable for open-source projects but may restrict commercial or proprietary use.
Quickstart
pip install dissect.ntfs
from dissect.ntfs import NTFS
with open('/path/to/ntfs/image', 'rb') as f:
ntfs = NTFS(f)
# Access NTFS structures and data
Requires Python 3.10 or later; intended for use with NTFS file system images or volumes.
Verify before relying
- Specific NTFS features or versions supported (e.g., NTFS 3.1, compression, encryption handling)
- Performance characteristics when parsing large or fragmented NTFS volumes
- Compatibility with NTFS variants (exFAT, ReFS) or edge cases
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 | 2 — dissect.cstruct, dissect.util |
| Maintenance | actively maintained — 171 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,058/month — #13,888 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dissect_ntfs-3.16-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.cstructParse binary data using C-like structure…
permissive · top 15,000 on PyPI
dissect.hypervisorParses hypervisor disk, backup, and…
agpl · top 15,000 on PyPI
dissect.volumeParses disk volume and partition systems…
agpl · top 15,000 on PyPI
acquireAcquire gathers forensic artifacts from disk…
agpl · top 15,000 on PyPI
dissect.utilProvides utility functions and decompression…
permissive · top 15,000 on PyPI
dissect.targetdissect.target provides a unified API and…
agpl · top 15,000 on PyPI
olefileolefile parses, reads, and writes Microsoft…
permissive · top 1,000 on PyPI
mail-parserParses raw email messages into structured…
permissive · top 5,000 on PyPI
minidumpParses Microsoft minidump files and reads…
permissive · top 15,000 on PyPI
ipsw-parserParses and extracts data from iOS IPSW firmware…
copyleft · top 15,000 on PyPI