<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>ADCS on mermehr's blog</title><link>https://mermehr.github.io/tags/adcs/</link><description>Recent content in ADCS on mermehr's blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 13 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mermehr.github.io/tags/adcs/index.xml" rel="self" type="application/rss+xml"/><item><title>Nara - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-nara/</link><pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-nara/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Nara focuses on exploiting permissive share permissions to trigger NTLM credential theft and escalating privileges via Active Directory Certificate Services (ADCS). We first identify an SMB service with null authentication enabling read and write access to the &lt;code&gt;nara&lt;/code&gt; share. Reviewing &lt;code&gt;Important.txt&lt;/code&gt; indicates active file monitoring by internal users, allowing us to perform an NTLM theft attack using a malicious &lt;code&gt;.lnk&lt;/code&gt; shortcut file to capture and crack the NetNTLMv2 hash for &lt;code&gt;Tracy.White&lt;/code&gt;. Domain enumeration with BloodHound reveals that &lt;code&gt;Tracy.White&lt;/code&gt; possesses &lt;code&gt;GenericAll&lt;/code&gt; rights over the &lt;code&gt;Remote Access&lt;/code&gt; group, allowing us to add our account to the group and establish a WinRM session. Once on the host, we locate an encrypted &lt;code&gt;automation.txt&lt;/code&gt; file and decrypt its DPAPI-protected PowerShell &lt;code&gt;SecureString&lt;/code&gt; to reveal a cleartext password. Password spraying across domain accounts yields a hit for &lt;code&gt;Jodie.Summers&lt;/code&gt;, who belongs to the &lt;code&gt;CA Enrollment&lt;/code&gt; group. Further ADCS enumeration with Certipy reveals an ESC1 vulnerability in the &lt;code&gt;NaraUser&lt;/code&gt; certificate template. By requesting a certificate with an administrative Subject Alternative Name (SAN), we authenticate via PKINIT to retrieve the Domain Administrator&amp;rsquo;s NTLM hash and obtain full compromise.&lt;/p&gt;</description></item></channel></rss>