◉ Pulse
aniqfakhrul avatar
#3 today ▲ 3

aniqfakhrul/CVE-2026-54121

Python Other

Certighost POC

Created Jul 23, 2026
Stars
41
Today
+25
Forks
8
Quality
75/100
Momentum
19

README

Fetched from GitHub on Nov 16, 2026, 4:07 PM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to aniqfakhrul/CVE-2026-54121 and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

CVE-2026-54121 (Certighost)

This is a proof-of-concept tool to demonstrace CVE-2026-54121 a.k.a Certighost. Read here https://gist.github.com/H0j3n/a5ef2609b5f2944ac2390a191a534c26 for the detailed analysis.

Install dependencies

The proof of concept is a self-contained Python script. It requires impacket, cryptography, pyasn1, asn1crypto, and dnspython.

sudo pip install --break-system-packages git+https://github.com/fortra/impacket.git cryptography pyasn1 asn1crypto pycryptodome dnspython

Usage

Run as root because the rogue LDAP and SMB services listen on high privileged ports 389 and 445.

sudo python3 certighost.py -d playground.local -u lowpriv -p 'Password1234' --dc-ip 192.168.1.10

Successful execution writes the target certificate (.pfx) and Kerberos cache (.ccache) to the current directory.

What this script does

  1. Create a new computer account (e.g. GHOSTABCDEFGH$) or reuse one passed via --computer-name.
  2. Start two rogue listeners: an SMB/LSA server on port 445 and an LDAP server on port 389.
  3. Send a certificate request as that computer account, embedding a custom cdc attribute pointing to a controlled IP (via --listener; optional, auto-detected if omitted) plus an rmd attribute carrying the target DC's DNS name.
  4. The CA connects back to the rogue LSA/LDAP listeners. They authenticate as the created account (validated through the real DC over Netlogon) and answer the CA's lookups with the target DC's identity (sAMAccountName, SID, dNSHostName) instead.
  5. The CA issues a valid certificate belonging to the DC.
  6. The scripts also performs PKINIT with the DC's pfx to request .ccache and NT hash

Timeline

  • 28 July 2026 — Credits to @GregDurys for the PR fixing the STATUS_NOLOGON_SERVER_TRUST_ACCOUNT issue. certighost now ships a proper in-script hotpatch of the rogue SMB NetLogon path (setting the E bit 0x20 alongside the K bit 0x800 in ParameterControl, per MS-NRPC 2.2.1.4.15), so the exploit works against a CA hosted on a Domain Controller without worrying about installing a different / forked Impacket version.
  • 28 July 2026 — Credits to @Hack0ura for mentioning the request-SAN fix. On a CA that honors request-supplied SANs (EDITF_ATTRIBUTESUBJECTALTNAME2 / ESC6), the certificate request now sets the SAN:dns identity to the target DC's DNS name (rmd_value) instead of the rogue computer's, avoiding KDC_ERR_CLIENT_NAME_MISMATCH at the PKINIT step. On build-from-AD templates the request SAN is ignored, so the change is a safe no-op.

References

Rendered by GitHub from the repository’s README. Scroll to read the full file.

First trending

Jul 24, 2026

first spotted on the list

Best rank

#3

top 3 on trending

Appearances

2

times on the trending list

Star velocity

0.36

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot
1020304050aniqfakhrul/CVE-2026-54121 · Jul 24, 8 AM UTC: 16 starsaniqfakhrul/CVE-2026-54121 · Jul 24, 1 PM UTC: 41 stars8:32 AM11:12 AM1:51 PM

Rank history

position on trending · lower is better
#1#3#4#5#6#7#8Jul 24, 8 AM UTC: rank #8Jul 24, 1 PM UTC: rank #38:32 AM11:12 AM1:51 PM

3D card for your website

Live HTML card with a pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/aniqfakhrul/CVE-2026-54121" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="aniqfakhrul/CVE-2026-54121 — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

aniqfakhrul/CVE-2026-54121 stars badge
Markdown
[![aniqfakhrul/CVE-2026-54121](https://www.notionpulse.cc/api/badge/aniqfakhrul/CVE-2026-54121.svg)](https://www.notionpulse.cc/repo/aniqfakhrul/CVE-2026-54121)
HTML
<a href="https://www.notionpulse.cc/repo/aniqfakhrul/CVE-2026-54121"><img src="https://www.notionpulse.cc/api/badge/aniqfakhrul/CVE-2026-54121.svg" alt="aniqfakhrul/CVE-2026-54121 stars badge" /></a>

Repository of the Day

#3 Repository of the Day

Repository of the Week

#3 Repository of the Week

Repository of the Month

#3 Repository of the Month