<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Windows on Aaron Deceuninck Portfolio</title>
        <link>https://adeceun.be/tags/windows/</link>
        <description>Recent content in Windows on Aaron Deceuninck Portfolio</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>Deceuninck Aaron</copyright>
        <lastBuildDate>Sun, 17 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://adeceun.be/tags/windows/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>Active Directory Security Workshop – Mushroom Kingdom Lab Walkthrough</title>
        <link>https://adeceun.be/p/active-directory-security-workshop-mushroom-kingdom-lab-walkthrough/</link>
        <pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate>
        
        <guid>https://adeceun.be/p/active-directory-security-workshop-mushroom-kingdom-lab-walkthrough/</guid>
        <description>&lt;h2 id=&#34;overview&#34;&gt;Overview
&lt;/h2&gt;&lt;p&gt;On &lt;strong&gt;11/06/2026&lt;/strong&gt;, I attended an Active Directory security workshop organized by Acen and HOWEST Hogeschool West-Vlaanderen.&lt;/p&gt;
&lt;p&gt;The session covered both offensive and defensive aspects of Active Directory security, focusing on how real-world attack paths are constructed and how common misconfigurations can be exploited in enterprise environments.&lt;/p&gt;
&lt;p&gt;The morning focused on theory, while the afternoon was dedicated to a hands-on lab environment called &lt;strong&gt;Mushroom Kingdom&lt;/strong&gt;, where we simulated a full attack chain from initial access to domain compromise.&lt;/p&gt;
&lt;h2 id=&#34;topics-covered&#34;&gt;Topics Covered
&lt;/h2&gt;&lt;p&gt;The theoretical part of the workshop included:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Kerberos authentication and abuse scenarios&lt;/li&gt;
&lt;li&gt;Credential-based attacks (NTLM, password reuse, hashes)&lt;/li&gt;
&lt;li&gt;BloodHound attack path mapping&lt;/li&gt;
&lt;li&gt;Privilege escalation techniques in Windows environments&lt;/li&gt;
&lt;li&gt;Ticket-based attacks (Kerberoasting, Pass-the-Hash, Pass-the-Ticket)&lt;/li&gt;
&lt;li&gt;Active Directory Certificate Services (AD CS) misconfigurations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This helped connect AD internals with real attacker behaviour in enterprise environments.&lt;/p&gt;
&lt;h2 id=&#34;mushroom-kingdom-lab&#34;&gt;Mushroom Kingdom Lab
&lt;/h2&gt;&lt;p&gt;The lab simulated a small enterprise Active Directory environment:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Domain Controller&lt;/li&gt;
&lt;li&gt;Member server&lt;/li&gt;
&lt;li&gt;Workstation with low-privileged user access&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The goal was full domain compromise starting from a basic user account.&lt;/p&gt;
&lt;h2 id=&#34;initial-access--privilege-escalation&#34;&gt;Initial Access &amp;amp; Privilege Escalation
&lt;/h2&gt;&lt;p&gt;The first foothold came from a low-privileged workstation user.&lt;/p&gt;
&lt;p&gt;Enumeration revealed an &lt;strong&gt;unquoted service path vulnerability&lt;/strong&gt; in a misconfigured Windows service. Because the service path was not properly quoted and write permissions existed in a parent directory, it was possible to hijack execution and escalate privileges to &lt;strong&gt;SYSTEM&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;After exploitation, a fresh session was required to properly apply the new local administrator group membership.&lt;/p&gt;
&lt;h2 id=&#34;credential-access&#34;&gt;Credential Access
&lt;/h2&gt;&lt;p&gt;With local admin access, LSASS memory was accessed to extract credentials from active sessions.&lt;/p&gt;
&lt;p&gt;This revealed a domain user session, allowing &lt;strong&gt;pass-the-hash authentication&lt;/strong&gt; instead of password cracking.&lt;/p&gt;
&lt;p&gt;At this point, the key concept is separation between:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Local identity&lt;/li&gt;
&lt;li&gt;Domain authentication&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Even if your local privileges increase, domain access depends entirely on valid credentials or tokens.&lt;/p&gt;
&lt;h2 id=&#34;enumeration&#34;&gt;Enumeration
&lt;/h2&gt;&lt;p&gt;Using SharpHound and BloodHound, the domain was mapped.&lt;/p&gt;
&lt;p&gt;The graph revealed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Kerberoastable accounts&lt;/li&gt;
&lt;li&gt;Privileged session paths&lt;/li&gt;
&lt;li&gt;Delegation misconfigurations&lt;/li&gt;
&lt;li&gt;Active Domain Admin sessions on member servers&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This step was essential to identify the shortest attack path instead of guessing.&lt;/p&gt;
&lt;h2 id=&#34;lateral-movement&#34;&gt;Lateral Movement
&lt;/h2&gt;&lt;p&gt;Multiple techniques were used:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Accessing SMB shares containing scripts and credentials&lt;/li&gt;
&lt;li&gt;Kerberoasting service accounts and cracking tickets offline&lt;/li&gt;
&lt;li&gt;Using machine account access for data discovery&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These paths led to service credential recovery and access to a member server.&lt;/p&gt;
&lt;h2 id=&#34;domain-compromise&#34;&gt;Domain Compromise
&lt;/h2&gt;&lt;p&gt;On the member server, LSASS dumping revealed a &lt;strong&gt;Domain Admin NTLM hash&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Using pass-the-hash techniques, full domain administrator access was obtained.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;DCSync attack&lt;/strong&gt; was then used to replicate domain credentials, including &lt;code&gt;krbtgt&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This enabled the creation of a &lt;strong&gt;Golden Ticket&lt;/strong&gt;, providing persistent domain access.&lt;/p&gt;
&lt;h2 id=&#34;key-takeaways&#34;&gt;Key Takeaways
&lt;/h2&gt;&lt;p&gt;This lab showed how small misconfigurations chain into full domain compromise.&lt;/p&gt;
&lt;p&gt;Important defensive lessons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Proper service path configuration&lt;/li&gt;
&lt;li&gt;LSASS protection (Credential Guard)&lt;/li&gt;
&lt;li&gt;Monitoring privileged sessions&lt;/li&gt;
&lt;li&gt;Hardening SMB shares&lt;/li&gt;
&lt;li&gt;Detecting DCSync activity&lt;/li&gt;
&lt;li&gt;Regular krbtgt rotation&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion
&lt;/h2&gt;&lt;p&gt;The Mushroom Kingdom lab clearly demonstrates that Active Directory security is about attack chains, not single vulnerabilities.&lt;/p&gt;
&lt;p&gt;Understanding how each step connects is critical for both offensive and defensive security work.&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
