GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mahialjaber/active-directory-soc-lab: Enterprise Active Directory (Windows Server 2022) Infrastructure, High Availability (ADC), DNS/DHCP, GPO/WMI, and and SIEM Detection Blueprint.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
docs
docs
 
 
gpo
gpo
 
 
scripts
scripts
 
 
troubleshooting
troubleshooting
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Enterprise Active Directory Infrastructure & SOC Threat Detection Lab Hero Banner

🛡️ Active Directory Infrastructure Lab & SIEM Detection Blueprint

Windows Server 2022 Lab Forest, High Availability, DNS/DHCP, GPO Hardening & Audit-Policy Baseline

OS - Windows Server 2022 Directory - Active Directory DS Hypervisor - VMware Workstation Automation - PowerShell Domain - mahialjaber.me Author


Executive Overview

Project status (honest scope): the Active Directory infrastructure (forest, second DC, DNS/DHCP, GPO, FSMO, audit baseline) is built and documented. The SIEM detection side is a design blueprint: domain-controller logs have not yet been forwarded to Splunk/Wazuh and no AD attacks (Kerberoasting, DCSync, pass-the-hash...) have been executed or captured here yet. That is the next phase.

A lab-scale Active Directory Domain Services (AD DS) environment built on Windows Server 2022 and VMware Workstation Pro. Designed from a SOC Analyst & Detection Engineer perspective, this lab implements high availability via an Additional Domain Controller (ADC), AD-Integrated DNS/DHCP, hardened GPOs with WMI filtering, and comprehensive Advanced Audit Policies mapped to MITRE ATT&CK threat detection requirements.

graph TD
    subgraph Hypervisor ["Bare-Metal Hypervisor: AMD Ryzen 7 5700G (8C/16T) | 32 GB RAM | VMware Workstation 17"]
        subgraph Subnet ["Isolated Enterprise Network (VMnet8 NAT: 192.168.10.0/24 | Gateway: 192.168.10.2)"]
            DC01["<b>DC01 (Primary Domain Controller)</b><br/>Windows Server 2022 | 192.168.10.10<br/>• Forest Root: mahialjaber.me (FSMO Holder)<br/>• AD-Integrated DNS & DHCP Server"]
            ADC1["<b>ADC1 (Additional Domain Controller)</b><br/>Windows Server 2022 | 192.168.10.40<br/>• Multi-Master Replica DC<br/>• Secondary DNS & High Availability"]
            W11["<b>CLIENT-W11</b><br/>Windows 11 Enterprise | 192.168.10.50<br/>• Domain Member (DHCP)<br/>• GPO & WMI Target"]
            W10["<b>CLIENT-W10</b><br/>Windows 10 Pro | 192.168.10.51<br/>• Domain Member (DHCP)<br/>• GPO Target"]
        end
    end

    DC01 <== "Multi-Master Replication (repadmin /syncall)" ==> ADC1
    DC01 --> |Kerberos / LDAP / DNS / GPO| W11
    DC01 --> |Kerberos / LDAP / DNS / GPO| W10
Loading

Lab Architecture & Node Specifications

Hostname Role in Architecture OS Version Hardware Specs IP Address Network Assignment
DC01 Primary Domain Controller (FSMO, DNS, DHCP) Windows Server 2022 4 vCPU / 8 GB RAM 192.168.10.10 Static
ADC1 Additional Domain Controller (Replica, DNS) Windows Server 2022 2 vCPU / 2 GB RAM 192.168.10.40 Static
CLIENT-W11 Domain Workstation (Windows 11) Windows 11 Enterprise 3 vCPU / 4 GB RAM 192.168.10.50 DHCP (Option 003/006/015)
CLIENT-W10 Domain Workstation (Windows 10) Windows 10 Pro 2 vCPU / 4 GB RAM 192.168.10.51 DHCP (Option 003/006/015)

Visual Proofs & Core Implementations

1. Forest Root & Identity Management

Promoted forest root mahialjaber.me, provisioned departmental OUs (first ou), created user accounts (harry, banner, khan), and established RBAC security groups (HR-Group) following the AGDLP methodology.

Server Manager DC01 Figure 1: Windows Server 2022 Server Manager on DC01 displaying active AD DS, DNS, DHCP, and File/Storage services.

ADUC Domain Hierarchy Figure 2: Active Directory Users and Computers (dsa.msc) showcasing domain tree mahialjaber.me and custom Security Groups.


2. Network Services & High Availability

  • Active Directory-Integrated DNS: Forward zone mahialjaber.me with Secure Dynamic Updates and reverse lookup zone 10.168.192.in-addr.arpa.
  • DHCP Scope: Dynamic pool 192.168.10.50–254 authorized in AD with Option 003 (Gateway), 006 (DNS), and 015 (Domain Name).
  • Fault Tolerance (ADC1): Promoted a secondary Domain Controller to eliminate single points of failure with multi-master directory synchronization.

DNS Forward and Reverse Zones Figure 3: DNS Manager console verifying Active Directory-Integrated Forward and Reverse (10.168.192.in-addr.arpa) Lookup Zones.

Additional Domain Controller Node Figure 4: Server Manager on ADC1 confirming secondary Domain Controller promotion and operational health.


Engineering Highlights & Field Troubleshooting

Automated DNS Snap-in Recovery

When the graphical DNS MMC console (dnsmgmt.msc) failed to initialize due to missing management sub-features, the issue was remediated via PowerShell:

# Installs missing RSAT DNS tools, upstream forwarders, and reverse lookup zone
Install-WindowsFeature -Name DNS -IncludeManagementTools
Set-DnsServerForwarder -IPAddress 8.8.8.8, 1.1.1.1
Add-DnsServerPrimaryZone -NetworkID "192.168.10.0/24" -ReplicationScope "Domain" -DynamicUpdate "Secure"

Precision WMI Query Filtering

Scoped Group Policies dynamically to prevent desktop baseline policies from applying to Domain Controllers:

-- Target 64-bit Workstations (skipping Domain Controllers & Member Servers)
SELECT * FROM Win32_OperatingSystem WHERE Version LIKE "10.0%" AND ProductType = "1" AND OSArchitecture = "64-bit"

SOC Threat Detection Blueprint

Configured Advanced Audit Policies on DC01 to capture critical telemetry for detection engineering:

Attack Vector MITRE ATT&CK Monitored Event ID Detection Logic
Kerberoasting T1558.003 4769 Bulk RC4-encrypted (0x17) service tickets requested for accounts with SPNs.
AS-REP Roasting T1558.004 4768 Kerberos TGT requested without pre-authentication (PreAuthType=0).
DCSync Attack T1003.006 4662 Replication access (DS-Replication-Get-Changes-All) requested by a non-DC account.
Privilege Escalation T1098 / T1078 4728, 4732 Member added to privileged groups (Domain Admins, Enterprise Admins).
Lateral Movement T1021.002 4624 NTLM/Kerberos network authentication (Logon Type 3) across internal hosts.
Brute Force / Spray T1110.001 4625, 4771 Multiple authentication failures originating from a single source workstation.

Health Diagnostic Tool

A dedicated diagnostic script is available at scripts/AD-Health-Check.ps1 to validate replication health, DCDIAG test suites, and SYSVOL availability in one execution:

# Run from an elevated PowerShell session on DC01 or ADC1
.\scripts\AD-Health-Check.ps1

Documentation Deep Dives

Detailed architectural guides and playbooks are maintained in dedicated modules:

  • 📐 Architecture & Network Topology
  • 🚀 Installation & Domain Controller Promotion Guide
  • 🌐 DNS & DHCP Architecture Design
  • ⚙️ Group Policy Infrastructure & WMI Filtering
  • 🔄 FSMO Roles Architecture & Replication Health
  • 🛡️ SOC Threat Monitoring & Event ID Blueprint
  • 🛠️ Field Troubleshooting Playbook & Incident Logs
  • 📋 Enterprise Security Auditing Baseline

Next Step

  • Next Phase: Ingesting Active Directory event logs into Splunk & Wazuh SIEM for detection engineering.

Author

  • Mahi Al Jaber — SOC Analyst & Detection Engineer (@mahialjaber)
  • Domain: mahialjaber.me

Distributed under the MIT License. See LICENSE for details.

About

Enterprise Active Directory (Windows Server 2022) Infrastructure, High Availability (ADC), DNS/DHCP, GPO/WMI, and and SIEM Detection Blueprint.

Topics

active-directorydhcp-serverdnsdomainwmi-query

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.