A Dissect module implementing parsers for various database formats, including Berkeley DB, Microsofts Extensible Storage Engine (ESE) and SQLite3
Project description
dissect.database
A Dissect module implementing parsers for various database formats, including:
- Berkeley DB, used for example in older RPM databases
- Microsofts Extensible Storage Engine (ESE), used for example in Active Directory, Exchange and Windows Update
- SQLite3, commonly used by applications to store configuration data
For more information, please see the documentation.
Installation
dissect.database is available on PyPI.
pip install dissect.database
This module is also automatically installed if you install the dissect package.
Tools
Some CLI tools related to specific databases exists. These tools allow you to dump or inspect database content.
| Commands | Description |
|---|---|
dissect-ntds |
Windows NTDS (Active Directory database). |
dissect-ual |
Windows User Access Logging database. |
dissect-sru |
Windows System Resources And Usage Monitor database. |
dissect-certlog |
Windows AD CS database database. |
dissect-rpm |
Red Hat Package Manager database. |
dissect-impacket |
Impacket compatibility shim for secretsdump.py. |
Impacket compatibility shim for secretsdump.py
Impacket does not (yet) have native support for dissect.database,
so in the meantime a compatibility shim is provided. To use this shim, simply install dissect.database using the
instructions above, and execute secretsdump.py like so:
dissect-impacket /path/to/impacket/examples/secretsdump.py -h
Impacket secretsdump.py will now use dissect.database for parsing the NTDS.dit file, resulting in a significant performance improvement!
Build and test instructions
This project uses tox to build source and wheel distributions. Run the following command from the root folder to build
these:
tox -e build
The build artifacts can be found in the dist/ directory.
tox is also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:
tox
For a more elaborate explanation on how to build and test the project, please see the documentation.
Contributing
The Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please refer to the development guide.
Copyright and license
Dissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc (https://www.nccgroup.com).
Developed by the Dissect Team (dissect@fox-it.com) and made available at https://github.com/fox-it/dissect.
License terms: Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0). For more information, see the LICENSE file.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dissect_database-1.2.dev9.tar.gz.
File metadata
- Download URL: dissect_database-1.2.dev9.tar.gz
- Upload date:
- Size: 289.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84ecfee7f68a6ca9824e9e7bc67a1b4ef28f85331a090097d9d7d2fc2a5beec
|
|
| MD5 |
9869aec311401d5d68eb13643d162dca
|
|
| BLAKE2b-256 |
889de1331c36bb3280797e6299816e675dc0cea6239ce59418613d3228f8cb4d
|
Provenance
The following attestation bundles were made for dissect_database-1.2.dev9.tar.gz:
Publisher:
dissect-ci.yml on fox-it/dissect.database
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dissect_database-1.2.dev9.tar.gz -
Subject digest:
b84ecfee7f68a6ca9824e9e7bc67a1b4ef28f85331a090097d9d7d2fc2a5beec - Sigstore transparency entry: 1439655686
- Sigstore integration time:
-
Permalink:
fox-it/dissect.database@b66c61d2f16d66936146f4a618a90ccd783aacfa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fox-it
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
dissect-ci.yml@b66c61d2f16d66936146f4a618a90ccd783aacfa -
Trigger Event:
push
-
Statement type:
File details
Details for the file dissect_database-1.2.dev9-py3-none-any.whl.
File metadata
- Download URL: dissect_database-1.2.dev9-py3-none-any.whl
- Upload date:
- Size: 319.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4dc492fdad0629daf1444fe3be2bf5a2876a1637793fb0b0a3f79b930a1cc48
|
|
| MD5 |
286cebfadd5baacfeb0b1f6897b90d50
|
|
| BLAKE2b-256 |
132d2d7d629c3a3dbc44519d6fe4539eaa278661eeb29ed3aa6ce9be7aebff43
|
Provenance
The following attestation bundles were made for dissect_database-1.2.dev9-py3-none-any.whl:
Publisher:
dissect-ci.yml on fox-it/dissect.database
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dissect_database-1.2.dev9-py3-none-any.whl -
Subject digest:
c4dc492fdad0629daf1444fe3be2bf5a2876a1637793fb0b0a3f79b930a1cc48 - Sigstore transparency entry: 1439655697
- Sigstore integration time:
-
Permalink:
fox-it/dissect.database@b66c61d2f16d66936146f4a618a90ccd783aacfa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fox-it
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
dissect-ci.yml@b66c61d2f16d66936146f4a618a90ccd783aacfa -
Trigger Event:
push
-
Statement type: