<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Collins Aladekugbe on Medium]]></title>
        <description><![CDATA[Stories by Collins Aladekugbe on Medium]]></description>
        <link>https://medium.com/@collinsaladekugbe?source=rss-765eb1809126------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k21g_m04gXAbImhhcxmfOw@2x.jpeg</url>
            <title>Stories by Collins Aladekugbe on Medium</title>
            <link>https://medium.com/@collinsaladekugbe?source=rss-765eb1809126------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:35:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@collinsaladekugbe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beginner-Level Active Directory Lab with BadBlood & Forest Druid]]></title>
            <link>https://medium.com/@collinsaladekugbe/beginner-level-active-directory-lab-with-badblood-forest-druid-4b7b9c9f6ae8?source=rss-765eb1809126------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b7b9c9f6ae8</guid>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Collins Aladekugbe]]></dc:creator>
            <pubDate>Fri, 30 May 2025 18:42:08 GMT</pubDate>
            <atom:updated>2025-05-30T18:42:08.953Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*09MTUJh7vhCnv748H2791g.avif" /></figure><h4>Introduction</h4><p>In this lab, you’ll create a fully functional Microsoft Active Directory domain designed to mimic a real-world enterprise environment, complete with a structured hierarchy, thousands of objects, and Group Policy Objects (GPOs). This simulated domain provides a powerful hands-on opportunity to explore and understand how Active Directory works in the field. Once built, you’ll be able to test third-party software, strengthen your practical skills, and apply key concepts to securing and managing AD in real-world scenarios.</p><h4>Lab Setup</h4><p>First, set up your virtual machine with your preferred version of Windows Server. I recommend using <strong>Windows Server 2022</strong> or later for best results. I used <a href="https://knowledge.broadcom.com/external/article?articleNumber=368667"><strong>VMware Workstation Pro</strong></a> to create the VM and downloaded the Windows Server ISO from <a href="https://www.microsoft.com/en-us/evalcenter/download-windows-server-2022"><strong>this link</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCun2uLAhvpQYoAPbzBZ9g.png" /><figcaption>Create a New VM Here</figcaption></figure><p><strong>Configuring VMware and ISO</strong></p><ul><li>Once the VM is downloaded, ensure you select the ISO file we downloaded earlier in the hardware settings. Go to Library and right-click the <strong>Lab</strong> &gt;<strong> Settings</strong> &gt; <strong>Hardware</strong> &gt; <strong>CD/DVD (SATA)</strong> &gt; <strong>Use ISO Image file</strong>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*xT9zzTqrAUFpLUC3ct-nrA.png" /><figcaption>Upload the ISO Image here</figcaption></figure><ul><li>Select the ISO file and Power on the virtual machine</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OGsPsroXG5UzKOoZb4pepA.png" /><figcaption>key prompt for the boot</figcaption></figure><ul><li>Select “Windows Server 2022 Standard Evaluation (Desktop Experience)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TaFBBEnH6ICRENHheRajiQ.png" /></figure><ul><li><strong>Click on</strong> “<strong>Custom: Install Microsoft Server Operating System only (advanced)</strong>.”</li><li>Afterward, you’ll be prompted to set the <strong>Administrator credentials</strong>.</li><li>Your virtual machine is now successfully configured with the Windows Server ISO.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S8P2O7mglfD9ERAs_QEUeA.png" /></figure><h4>Deploying Active Directory</h4><p>Active Directory (AD) is a Microsoft service that is used to manage and organize network resources like users, computers, and applications within a domain. Think of it as the central brain of your IT environment; it keeps track of all networked resources, controls who can access what, enforces company-wide policies, and plays a critical role in keeping the entire system secure and running smoothly.</p><h4><strong>Installing Active Directory and Configuring a Domain Controller</strong></h4><p><strong>Open Server Manager on your host machine</strong></p><ul><li>Select Manage in <strong>Server Manager &gt; Add Roles and Features</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQNvzdXu49ZDRzXPzSjIjw.png" /><figcaption>Server Manager should already pop up</figcaption></figure><ul><li><strong>Installation Type</strong>: Click on Role-based or feature-based installation</li><li><strong>Server Roles and Features</strong>: In the Server Roles section, choose “Active Directory Domain Services” and “Remote Access” to enable core networking features. Then, under Features, select ‘Group Policy Management’</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WrhoNCdRCdFvsThUF5rFlA.png" /><figcaption>You can include different services to test out different features</figcaption></figure><ul><li>Navigate to the Results tab and click Install</li><li>Click on “<strong>Promote this server to a domain controller</strong>” once the installation is complete.</li><li>Ensure that “<strong>Add a new forest</strong>” is selected, and then enter a name for the root domain name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*78Q0_JYGhW4o45TvyHht3Q.png" /></figure><ul><li>Select the <strong>most recent Windows Server</strong> for the functional level of the <strong>Forest</strong> and <strong>Domain</strong>, and create a password for the DC (Domain Controller)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*rtB13cMVLquTbJUtAyNyNQ.png" /></figure><ul><li>Navigate to the Installation tab and <strong>install Active Directory Domain Services</strong>. You must restart your server/VM for the process to be complete.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V7FEIFGkyAXvSslSGElcTg.png" /></figure><ul><li>You have successfully launched your domain controller!</li></ul><h4>Using Badblood To Set Up Active Directory</h4><p>Creating a domain can be time-consuming, so I utilized a PowerShell script (BadBlood.ps1)to build out a domain with 2500 users, 500 groups, and 100 computers. I did have a smaller domain setup to practice on prior, but Badblood allowed me to scale up and analyze my domain in a much more realistic, enterprise-like environment.</p><p><strong>Setting Up Badblood</strong></p><ul><li>You’ll need to visit the <a href="https://github.com/davidprowe/BadBlood#"><strong>Badblood Git repository</strong></a> to clone the repo onto your Virtual Machine from your Host Machine.</li><li>Go to <strong>Code</strong> &gt; <strong>GitHub CLI</strong> &gt; <strong>Download ZIP.</strong></li><li>Click and Drag the Zip File <strong>BadBlood-master.zip</strong> onto your Virtual Machine’s Desktop</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93BsvR61lMBh_jrCHy0F-w.png" /><figcaption>Contents within the BadBlood Zip File</figcaption></figure><ul><li>The cool thing about Badblood is that it comes with built-in attack vectors like <strong>weak passwords</strong>, <strong>SID retrieval</strong>, <strong>user/group spoofing</strong>, and even <strong>NTDS service disruption</strong>. So let’s dive in!</li><li>To deploy the script, run <strong>Windows PowerShell</strong> as an <strong>administrator</strong> and enter this command:</li></ul><pre>./Invoke-badblood.ps1</pre><ul><li>Once it’s running, it gives you a warning that if you have an existing structure, it will disrupt it (Make sure you are running this in a domain you don’t mind disrupting)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uArZrAQZ201q4IlNc7oDCg.png" /></figure><ul><li>Once it’s running, you can see the tasks being created</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w0Rv6wGzEK28JCZtzpJKMg.png" /></figure><ul><li>After it’s finished, you can check to see what it has created</li><li>My domain went from this:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0wBZsTnuzvdIvLSJV2YOQ.png" /><figcaption>1 user and a couple of OUs</figcaption></figure><p>to this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*89eavXV5Qjzs2U0-rwIxMA.png" /><figcaption>thousands of users have been added as well as hundreds of groups</figcaption></figure><h4><strong>Analyzing Active Directory Health with Semperis ForestDruid</strong></h4><p>Now that we have our Domain in place, we will use the <strong>Semperis ForestDruid</strong> tool to analyze the state of your Active Directory forest. Forest Druid can scan Active Directory (AD) for high-risk violations, prioritize high-risk misconfigurations, and identify users and groups with access to Tier 0 assets (the most critical and sensitive assets within an organization’s IT infrastructure).</p><p><strong>Setting up ForestDruid:</strong></p><ul><li>You’ll need to visit the official Semperis website to download the<strong> </strong><a href="https://www.semperis.com/forest-druid/"><strong>ForestDruid</strong></a> software, ideally on your host machine.</li><li>Run the installer with <strong>Admin privileges</strong> to ensure a smooth experience with setting up the tool.</li><li>Copy the ZIP file into the Virtual Machine and run ForestDruid</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*414kfUs7m0sx47zMtxi-uw.png" /></figure><ul><li>Since you’re only focusing on prem for this lab, we will select <strong>AD</strong> when prompted.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GasQluDDWB-Vsy0J0A0Fow.png" /></figure><p><strong>Data Collection</strong>:</p><ul><li>Once you select Active Directory, click <strong>Continue</strong>, and ForestDruid will centralize all of the data in AD into a dashboard.</li></ul><h4><strong>ForestDruid Dashboard &amp; Visualizing the Data</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*4XK8ml_lbsv05-ere64nPA.png" /><figcaption>Completed Scan of AD Environment</figcaption></figure><ul><li>Off the bat! We are met with an abundance of information on the dashboard, so let’s break it down.</li></ul><p><strong>Activity Log Data</strong></p><ul><li>In the <strong>Activity Log</strong> data, we see that as of 2 minutes ago, all of the up-to-date information from Active Directory has been synced. Objects like groups, computers, and users are all accurately synced to the log.</li></ul><p><strong>How is this helpful?</strong></p><ul><li>This will allow you to monitor the Activity inside of AD and serve as a baseline, if anything changes, you’ll see everything right here.</li></ul><p><strong>Zone Summary</strong></p><ul><li>In the <strong>Zone Summary</strong> Section, you’ll see all of the <strong>Groups</strong> and <strong>Group Policy Objects (GPOs) in your domain.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*znHvwwlSvTvvw0AkxG0ISA.png" /></figure><ul><li>These groups are very important and require continuous maintenance to uphold security across your domain.</li></ul><p><strong>How is this helpful?</strong></p><ul><li><strong>Least Privilege</strong> can be maintained by ensuring users have the minimum or maximum level of access necessary to perform their functions.</li><li>Reviewing <strong>Groups </strong>and <strong>Group Policy Objects </strong>can help discover misconfigurations.</li></ul><p><strong>Security Zones</strong></p><ul><li>In the <strong>Security Zones</strong> sections, you will see Tier 0 objects, which are assets that hold the highest level of privilege in an IT environment, like a D<strong>omain Controller</strong> or a <strong>Key Admin</strong></li></ul><p><strong>How is this helpful?</strong></p><ul><li>You can diversify your Security Zones to better categorize entities. Suppose you wanted to group <strong>RDP Users </strong>and <strong>Performance Log Users</strong> into their own dedicated Security Zone, you can do so!</li><li>Ensure sensitive objects are correctly categorized</li></ul><h4>Attack Paths &amp; Defense Perimeter</h4><p><strong>Centralized Exploitable Paths</strong></p><ul><li>One of the craziest features I’ve seen while completing this lab is the Audit of all of the <strong>Easily Exploitable Paths</strong> within your domain. Down below, you can see there are 62 different paths, which is crazy, but it makes sense given the script we ran earlier.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*M27PR_1R5XwB-tNhnk3r4g.png" /></figure><ul><li>ForestDruid provides various remediation recommendations for accounts or machines that are <strong>vulnerable</strong> due to <strong>misconfigurations </strong>or<strong> access control</strong>. Protecting these highly privileged accounts is crucial for maintaining an organization’s security posture.</li></ul><p><strong>Attack Paths</strong></p><ul><li>The Attack Path feature can visualize all points of entry an attacker can make towards your domain. All of the connections help give you a bigger picture of the <strong>attack vectors</strong> in your domain. An attacker can start at a user with very minimal privileges and laterally move until they have control of a DC.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*c-ecwWyilMmAlHV-R3zcNA.png" /><figcaption>One of the many Attack Paths in my domain</figcaption></figure><p><strong>Defense Perimeter:</strong></p><ul><li>Similar to the Attack Paths, the <strong>Defense Perimeter feature</strong> allows you to view a visual representation of the perimeter of your environment.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*ThzdBn7QlMd3RUUTbAwhng.png" /></figure><ul><li>Using the <strong>Defense Permiter </strong>tool will show you concerns around your weaker <strong>links/relationships</strong></li></ul><h4><strong>Mitigating a Vulnerable Account Example</strong></h4><ul><li>For the sake of this lab, many objects in the domain are vulnerable. This will serve as a learning opportunity for mitigation/remediation efforts.</li><li>Using the <strong>Attack Paths</strong> tool, I have analyzed a weak link in my domain</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*XwZXTcu72ztoJK0t9pV7Mg.png" /></figure><ul><li><strong>ALICA_SWEET</strong> is a user account within our domain, the 250+ means that her account is part of <strong>250+ attack paths,</strong> which is a huge red flag.</li><li><strong>Remote Desktop Users</strong> is a group that ALICIA_SWEET is a part of, this group is at risk of compromise.</li><li>In the <strong>path details</strong> panel, we see that the <strong>length</strong> field is <strong>1</strong>, which means that only one step is required to go from the user to the group (1 hop). The <strong>cost</strong> field is <strong>0</strong>, which means there won’t be much difficulty in exploiting this path</li><li>We must analyze her account and try and <strong>remediate</strong> the attack vectors</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*TXBvVWcSIwiK5VBjG0NZfQ.png" /></figure><ul><li>Hypothetically, if our organization supports <strong>MFA</strong>, that would drastically increase security.</li><li>Continue to add Group Policy Objects to adhere to organizational security standards (let me know if you’d enjoy a lab where I do this!)</li><li>We can also check here to ensure she doesn’t have access to anything she doesn’t need. By entering the PowerShell <strong>command below</strong>, we can check her privileges.</li></ul><pre>Get-ADUser &quot;ALICIA_SWEET&quot; -Properties MemberOf | Select-Object -ExpandProperty MemberOf</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9guLDu-c1IgaNvG96BC4g.png" /><figcaption>RDP User, Tier 2 Admin, etc</figcaption></figure><ul><li>Assume this account hasn’t been logged into for over 3 months, and Alicia has been fired. You can disable this account to get rid of any vectors.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*mzgjmIaonZvO7sd4-KpgaA.png" /><figcaption>Forest Druid has the ability to remove objects (retired accounts, uncnecesary groups, etc)</figcaption></figure><ul><li>Continue to utilize Forest Druid to<strong> resync </strong>your environment; in doing so, the security posture of your domain will improve!</li></ul><h4><strong>Conclusion</strong></h4><p>Feel Free to put your twist on this lab, and thank you for going through this lab and following along with me! <strong>Active Directory</strong> is very deep, and as I continue to enhance my knowledge, I will keep on sharing with the community. Now that you&#39;ve reached the end, you should be able to<strong> build a beginner-level Active Directory Lab with thousands of users</strong>, integrate Semperis’ <strong>Forest Druid </strong>into your Active Directory environment to <strong>identify weak points and potential risks in your domain</strong>, and mitigate easily exploitable paths!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b7b9c9f6ae8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>