Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dissect_database-1.1.tar.gz (282.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dissect_database-1.1-py3-none-any.whl (313.1 kB view details)

Uploaded Python 3

File details

Details for the file dissect_database-1.1.tar.gz.

File metadata

  • Download URL: dissect_database-1.1.tar.gz
  • Upload date:
  • Size: 282.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dissect_database-1.1.tar.gz
Algorithm Hash digest
SHA256 67307a232c978fd9ea854e92b1c6f645f3be235270d6962342c632374a77af33
MD5 949ed4ec8e580841a99a1f47bee6dd88
BLAKE2b-256 e273efe5e54cd30510cfe918e9482b78c3bb6fb69154026e39efaa88cdfe6a52

See more details on using hashes here.

Provenance

The following attestation bundles were made for dissect_database-1.1.tar.gz:

Publisher: dissect-ci.yml on fox-it/dissect.database

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dissect_database-1.1-py3-none-any.whl.

File metadata

  • Download URL: dissect_database-1.1-py3-none-any.whl
  • Upload date:
  • Size: 313.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dissect_database-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7325c52229c4e3413ccbcb2c602c9a53344c742a07e290bbf170240ac6d7c6c9
MD5 5b88c6fe940e0a0120f4e241d68ef506
BLAKE2b-256 849e5293990c396b645ce20944dbe80918c2766f8c4edacd7d14497638f305fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for dissect_database-1.1-py3-none-any.whl:

Publisher: dissect-ci.yml on fox-it/dissect.database

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page