Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/sho-luv/zerologon
Privilege EscalationPassword AttacksVulnerability AnalysisExploitationPost-ExploitationPenetration Testing
GitHubsho-luv/zerologon

zerologon

Zerologon Check and Exploit - Discovered by Tom Tervoort of Secura and expanded on @Dirkjanm's cve-2020-1472 coded example. This tool will check, exploit and restore password to original state

View Repository
183264 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    732
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    405
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    261
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2020-1472 aka Zerologon Exploit POC

cve-2020-1742

What is it?

NetLogon (MS-NRPC), can establish inter-domain control vulnerable security channel. It's possible to zero out the password for the machine account on domain controllers.

Notes:

  • DC will be semi broken while password is zero'ed out, however this program changes the password back when its finished
  • Could cause DNS issues with DC (fixed with reboot)
  • Kerberos Tickets have a 10 hour lifetime before they expire
  • Requires the latest impacket from GitHub with added netlogon structures.
  • Do note that by default this changes the password of the domain controller system account then changes it back. Yes this allows you to DCSync, but it also breaks communication with other domain controllers in the short timeframe, so be careful with this!

Research it:

  • https://www.secura.com/pathtoimg.php?id=2055
  • https://twitter.com/_dirkjan/status/1306280553281449985
  • For more info and original research view blog or review the whitepaper

Required Dependencies

  • Requires the latest impacket from GitHub with added netlogon structures.

Check if vulnerable:

  • Default behavior of script is to check if vulnerable and not change anything!

Usage zerologon.py

  • Read the blog/whitepaper above so you know what you're doing
  • This script will check domain controllers for CVE-2020-1472.
  • If -exploit option provided it will:
    • Zero out the domain controllers system password
    • Will call secretsdump's DRSUAPI with the zeropassword to get ntds hashes
    • Will parse dumped data to get domain admin account with rid :500: and call secretsdump again to get lsa secrets
    • Will parse second dump for plain_password_hex value
    • will call restore script with hex value to restore the DC's system password to its original value
python zerologon.py 

usage: zerologon.py [-h] [-exploit] dc_name dc_ip

Tests whether a domain controller is vulnerable to the Zerologon attack. Resets the DC account password to an empty string
when vulnerable.

positional arguments:
 dc_name     The (NetBIOS) computer name of the domain controller.
 dc_ip       IP Address of the domain controller.

optional arguments:
 -h, --help  show this help message and exit
 -exploit    Zero out the computer's hash

Detect it:

  • Event 4661 with privilege request for SetPassword (without knowledge of old password) (screenshot attached)
  • Event 4723 for an attempt made to change an account's password
  • Event 4738 for a user account being changed for the Password Last Set value

Patch it:

  • CVE-2020-1472 | Netlogon Elevation of Privilege Vulnerability
  • How to manage the changes in Netlogon secure channel connections associated with CVE-2020-1472
  • MITRE CVE-2020-1472

Affected systems:

  • Windows Server 2008 R2 for x64-based Systems Service Pack 1
  • Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)
  • Windows Server 2012
  • Windows Server 2012 (Server Core installation)
  • Windows Server 2012 R2
  • Windows Server 2012 R2 (Server Core installation)
  • Windows Server 2016
  • Windows Server 2016 (Server Core installation)
  • Windows Server 2019
  • Windows Server 2019 (Server Core installation)
  • Windows Server, version 1903 (Server Core installation)
  • Windows Server, version 1909 (Server Core installation)
  • Windows Server, version 2004 (Server Core installation)
Download Tool