Rogue Security Wiki

LAB-DC01 is the Active Directory domain controller for the Rogue Labs cyber range. This guide covers its manual deployment with Windows Server 2025 or 2022 on Proxmox VE.


πŸ–₯️ 1️⃣ Proxmox VM Creation

VM Settings:

Setting Value
Name LAB-DC01
OS Windows Server 2025 (or 2022)
System BIOS OVMF (UEFI)
Machine Type Q35
EFI Disk βœ… Add EFI Disk
TPM βœ… Add TPM (version 2.0)
ISO Mount official Server 2025 ISO
CD/DVD (optional) Mount VirtIO ISO (for drivers)
SCSI Controller VirtIO SCSI (or SATA if skipping VirtIO)
Hard Disk 60GB+ (VirtIO SCSI or SATA)
CPU 2+ cores
Memory 4096MB (4GB)
Network Device VirtIO (or E1000 if no VirtIO)
VLAN Tag Set to your internal lab VLAN (e.g., 10)
Boot Order CD-ROM first, Disk second

➑️ Tip: Set the boot order to prioritize the hard disk after the OS install is complete.


πŸ’½ 2️⃣ Install Windows Server

  1. Boot the VM from the ISO.
  2. Proceed with a standard install:
    • Select: Windows Server 2025 Standard (Desktop Experience)
  3. If you're using VirtIO disks:
    • Load the VirtIO storage driver during disk selection (from the VirtIO ISO).
  4. Complete installation.

βš™οΈ 3️⃣ Initial Configuration

βœ… Set Hostname

In PowerShell (as Administrator):

Rename-Computer -NewName "LAB-DC01" -Restart

βœ… Set Static IP Address

Example configuration:

Field Value
IP Address 10.0.0.10
Subnet Mask 255.255.255.0
Default Gateway 10.0.0.1
DNS Server 10.0.0.10 (itself)
Alternate DNS e.g., 1.1.1.1

Steps:


  1. Mount the VirtIO ISO.
  2. Run: qemu-ga-x86_64.msi
  3. Verify the QEMU Guest Agent service is running.

πŸ“¦ 4️⃣ Add Roles & Features

Open Server Manager βž” Add Roles and Features:

Do NOT promote to Domain Controller yetβ€”just install the roles for now.


🌐 5️⃣ Promote to Domain Controller

Once AD DS role is installed:

  1. In Server Manager, click the notification flag βž” Promote this server to a domain controller.
  2. Select:
    • βœ… Add a new forest
    • Root domain name: rougelabs.local
  3. Set the Directory Services Restore Mode (DSRM) password.
  4. Accept defaults for:
    • DNS options
    • NetBIOS name: rougelabs
    • Paths
  5. Review & Install.

πŸ’₯ The server will reboot automatically after promotion.


πŸ–§ 6️⃣ Configure DNS Forwarders


πŸ‘₯ 7️⃣ Create Organizational Units (OUs) and Users

βœ… Open: Active Directory Users and Computers

Example structure:

rougelabs.local
β”œβ”€β”€ OU: Users
β”‚   β”œβ”€β”€ user1
β”‚   β”œβ”€β”€ user2
β”œβ”€β”€ OU: Admins
β”‚   β”œβ”€β”€ labadmin
β”œβ”€β”€ OU: Workstations
β”‚   β”œβ”€β”€ WIN10-CLIENT
β”‚   β”œβ”€β”€ WIN11-CLIENT

βœ… PowerShell Commands (Example)

The password below is a disposable lab example. Replace it before use and never reuse it outside an isolated lab.

# Create OUs
New-ADOrganizationalUnit -Name "Users"
New-ADOrganizationalUnit -Name "Admins"
New-ADOrganizationalUnit -Name "Workstations"

# Create Users
New-ADUser -Name "labadmin" -SamAccountName "labadmin" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true
Add-ADGroupMember "Domain Admins" "labadmin"

New-ADUser -Name "user1" -SamAccountName "user1" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true
New-ADUser -Name "user2" -SamAccountName "user2" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true

🌐 8️⃣ Disable IE Enhanced Security (Optional)


βœ… Final Checklist


πŸ”’ Security Notes