# CVE-2020-1472 POC
Requires the latest impacket from [GitHub](https://github.com/SecureAuthCorp/impacket) with added netlogon structures.
Do note that by default this changes the password of the domain controller account. Yes this allows you to DCSync, but it also breaks communication with other domain controllers, so be careful with this!
Link to the original research [https://www.secura.com/blog/zero-logon)](https://www.secura.com/blog/zero-logon)
## Installing
Only works on **Python 3.6 and newer**! If your OS comes installed with impacket (such as Kali), make sure to remove all existing installations first. If you still get import errors after this, run it from a *virtualenv* or *pipenv*.
## Exploit steps
- Read the blog/whitepaper above so you know what you're doing
- Run `cve-2020-1472-full-exploit.py` with IP and netbios name of DC
- DCSync with secretsdump, using `-just-dc` and `-no-pass` or empty hashes and the `DCHOSTNAME$` account
<!--Don't trust everything you see on Github - from 0wl with <33 -->
<!--This is a test to see if any vulnerability tools out thee picks up this repo as a working exploit to share with their customers. -->
[4.0K] /data/pocs/ed8e8c7d86fac0f07818731618de6e3c3d5bc4e6
├── [4.9K] cve-2020-1472-full-exploit.py
└── [1.1K] README.md
0 directories, 2 files