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
| 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) |
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.
Figure 1: Windows Server 2022 Server Manager on DC01 displaying active AD DS, DNS, DHCP, and File/Storage services.
Figure 2: Active Directory Users and Computers (dsa.msc) showcasing domain tree mahialjaber.me and custom Security Groups.
- Active Directory-Integrated DNS: Forward zone
mahialjaber.mewith Secure Dynamic Updates and reverse lookup zone10.168.192.in-addr.arpa. - DHCP Scope: Dynamic pool
192.168.10.50–254authorized 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.
Figure 3: DNS Manager console verifying Active Directory-Integrated Forward and Reverse (10.168.192.in-addr.arpa) Lookup Zones.
Figure 4: Server Manager on ADC1 confirming secondary Domain Controller promotion and operational health.
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"
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"
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. |
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
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 Phase: Ingesting Active Directory event logs into Splunk & Wazuh SIEM for detection engineering.
- Mahi Al Jaber — SOC Analyst & Detection Engineer (@mahialjaber)
- Domain:
mahialjaber.me
Distributed under the MIT License. See LICENSE for details.
