aniqfakhrul/cve-2026-54121 — explained in plain English
Analysis updated 2026-07-26
Security teams can use this tool to test whether their Windows domain certificate authority is vulnerable to CVE-2026-54121.
Penetration testers can demonstrate the full attack chain from low-privilege access to domain takeover during engagements.
IT administrators can verify that patching and configuration changes successfully block the Certighost attack path.
| aniqfakhrul/cve-2026-54121 | korroai/onklaud-5 | mocasus/auto-freecf | |
|---|---|---|---|
| Stars | 186 | 186 | 186 |
| Language | Python | Python | Python |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | ops devops | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Windows Active Directory lab environment, domain credentials, and administrator privileges to run fake services on privileged network ports 445 and 389.
This repository contains a proof-of-concept tool demonstrating a security vulnerability tracked as CVE-2026-54121, nicknamed Certighost. The tool shows how an attacker with limited privileges in a Windows domain environment can trick a certificate authority into issuing a valid certificate for a domain controller, which then allows the attacker to impersonate that controller and take over the domain. A detailed analysis of the vulnerability is linked from the README. The script works through a multi-step process. First, it creates a new computer account in the domain or reuses one the attacker specifies. It then starts two fake services on the attacker's machine, one mimicking a Windows file sharing service on port 445 and another mimicking a directory lookup service on port 389. These fake services are designed to intercept and respond to queries from the legitimate certificate authority. Next, the tool sends a certificate request on behalf of the newly created computer account. This request embeds special attributes that trick the certificate authority into contacting the attacker's fake services instead of the real domain controller. When the certificate authority connects to verify the request, the fake services authenticate using the attacker's computer account but respond with the identity information of the real domain controller, including its name and security identifier. Because the certificate authority believes it is issuing a certificate to the domain controller, it produces a valid certificate for that powerful account. The script then takes the final step of using this certificate to request Kerberos authentication tickets and an NT hash, giving the attacker the credentials needed to fully impersonate the domain controller. The tool must be run with administrator privileges because the fake services require access to privileged network ports. The README provides a sample command showing the required inputs, including the domain name, username, password, and the IP address of the target domain controller. Successful execution saves the stolen certificate and authentication cache files to the current directory.
A proof-of-concept tool demonstrating CVE-2026-54121 (Certighost), showing how an attacker can trick a Windows certificate authority into issuing a valid certificate for a domain controller to take over the domain.
Mainly Python. The stack also includes Python, Windows Active Directory, Kerberos.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Verify against the repo before relying on details.