# lab.conf — Norbourg lab configuration # Sourced as bash by lab.sh. Keep it simple: KEY=value, no functions. # Overrides: copy to lab.conf.local (gitignored) or set LAB_CONF=/path/to/file. # ---------------------------------------------------------------- identity LAB_NAME="norbourg" DOMAIN="norbourg.lab" NETBIOS="NORBOURG" FLAG_PREFIX="NORBOURG" # ---------------------------------------------------------------- backend # qemu = local QEMU/KVM on the dev workstation (phase 1+) # proxmox = qm on the Proxmox VE host (phase 11) BACKEND="${BACKEND:-qemu}" # ---------------------------------------------------------------- network # Lab segment. Nothing in here must ever be bridged to the office LAN. LAB_SUBNET="10.10.10.0/24" LAB_NETMASK="24" LAB_PREFIX="10.10.10" LAB_HOST_IP="10.10.10.230" # this host, on br-lab (qemu backend) LAB_DC_IP="10.10.10.10" # DC01, also the lab DNS server LAB_GATEWAY="10.10.10.230" # default gateway handed to the VMs BRIDGE="br-lab" # qemu backend PROXMOX_BRIDGE="vmbr10" # proxmox backend # Upper bound of the office network the lab must never reach. OFFICE_SUBNET="192.168.10.0/24" # ---------------------------------------------------------------- storage # qcow2 lives on a real POSIX filesystem; btrfs gets chattr +C (no CoW). LAB_ROOT="/home/quoije/lab-vms/pentest-lab" # ISOs are large read-only blobs: NTFS/FUSE is acceptable there, nowhere else. LAB_ISO_CACHE="/media/amy/pentest-lab-iso" MIN_FREE_GB=20 # Resolved by `lab.sh isos`. WINDOWS_ISO="$LAB_ISO_CACHE/SERVER_EVAL_x64FRE_en-us.iso" VIRTIO_ISO="$LAB_ISO_CACHE/virtio-win.iso" # ---------------------------------------------------------------- vms # name ip ram_mb disk_gb vcpu role (= VM name, selects windows/roles/.ps1) VMS=$(cat <<'EOF' dc01 10.10.10.10 4096 36 2 dc01 fs01 10.10.10.20 4096 36 2 fs01 ws01 10.10.10.31 4096 36 2 ws01 EOF ) # ---------------------------------------------------------------- windows # Local administrator password used by the unattend file. Override it in # lab.conf.local for anything that is not a throwaway lab. LAB_ADMIN_PASSWORD="${LAB_ADMIN_PASSWORD:-Norbourg!2026}" # Index of the image inside the eval ISO (2 = Standard, Desktop Experience). WINDOWS_IMAGE_INDEX=2 # DSRM password for the forest. Distinct from the admin password on purpose. LAB_SAFE_MODE_PASSWORD="${LAB_SAFE_MODE_PASSWORD:-NorbourgDsrm!2026}" # Local milestone uses Server 2022 for every role (no TPM/Secure Boot friction). # Proxmox enables Windows 11 workstations and the WS02 decoy. WORKSTATION_OS="srv2022" # srv2022 | win11 ENABLE_DECOYS="0" # 1 = add ws02 on proxmox # ---------------------------------------------------------------- tuning # Rough share of the nominal disk a fresh Windows install actually consumes. DISK_FILL_RATIO=60 # percent ISO_BUDGET_GB=8 # Server 2022 + virtio-win, rounded up