NTDS.Sqlite
This software can be used either directly as a CLI utility or as a library to get an SQLite database from an NTDS.DIT one. Encrypted bits can be decrypted if the associated system hive is provided altogether.
Installation
python -m pip install ntdsdotsqlite
Usage
ntdsdotsqlite NTDS.DIT --system SYSTEM -o NTDS.sqlite
usage: NTDS.sqlite [-h] [--system SYSTEM] -o OUTFILE NTDS
This tool helps dumping NTDS.DIT file to an SQLite database
positional arguments:
NTDS The NTDS.DIT file
optional arguments:
-h, --help show this help message and exit
--system SYSTEM The SYSTEM hive to decrypt hashes. If not provided, hashes will be encrypted inside the sqlite database.
-o OUTFILE, --outfile OUTFILE
The sqlite database. Example : NTDS.sqlite
SQL model
The SQL model is described in the sql_model.md file in this repository. Basicaly, not all objects are extracted (at all), but the following are retrieved as of today : domain object, user accounts, machine accounts, groups, organizational units and containers. I thought these would be the most useful. If you need more object classes to be extracted or additional attributes, feel free to open an issue or a pull request !
Performances
Performances can be a bit low for huge NTDS files. The whole NTDS is not stored in memory to prevent memory exhaustion when working on huge files (NTDS databases can grow to several gigabytes).
Metadata
Release files for ntdsdotsqlite 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ntdsdotsqlite-1.1.7.tar.gz | 16.0 kB | Without provenance | Details for ntdsdotsqlite-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ntdsdotsqlite-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for ntdsdotsqlite-1.1.7-py3-none-any.whl |
Total release size: 36.9 kB
Release files / ntdsdotsqlite-1.1.7.tar.gz
| Download URL | ntdsdotsqlite-1.1.7.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bf37e97013274ba369d7be2ad08930d9414bfa448d86cf5a2e024995649a618
|
|
BLAKE2b-256 checksum How to use checksums |
eb965ac46a6d984c0598b7ace5047cbf276f0436c83773cd65ec609055801d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.6 Windows/10
|
Release files / ntdsdotsqlite-1.1.7-py3-none-any.whl
| Download URL | ntdsdotsqlite-1.1.7-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80243d896acb3daaf95bda60e60b0e32fb2169e52887537224ab7bda5a4936a6
|
|
BLAKE2b-256 checksum How to use checksums |
6bdbf0aa3b21ca99d8bb4937968878d10cf7b3073bc65970cf38da7843d55913
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.11.6 Windows/10
|
Security for ntdsdotsqlite 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.