proxmox: one turnkey Kali VM per participant
Deploy N attacker VMs alongside the domain lab and hand each colleague a console URL, with nothing to install or configure on their side. - import the Kali image once, keep it as a template, clone per seat - deterministic MAC + DHCP reservation on DC01, so addresses are stable - configure through the QEMU guest agent: hostname, wordlist from the tool ISO, sshd, then verify network and DNS - add the `users` command: a PVEVMUser account scoped to one VM plus the noVNC URL and generated password - check: 7z/pveum presence, address range, RAM budget for the clones - destroy cleans up the clones and the template The documented path no longer depends on bloodyAD: the password reset uses impacket-changepasswd (already installed) and ACL inspection uses nxc's daclread module, both verified against the live lab.
This commit is contained in:
@@ -35,6 +35,10 @@ PVE_ISO_DIR="/var/lib/vz/template/iso"
|
||||
# no ports, IPv4 10.10.10.1/24, no gateway.
|
||||
PVE_BRIDGE="vmbr10"
|
||||
|
||||
# Address your colleagues type in their browser. Leave empty to use this
|
||||
# host's FQDN; set it if the Proxmox UI is reachable at another name/address.
|
||||
PVE_WEB_HOST=""
|
||||
|
||||
# VM ids. dc01=base+0, fs01=base+1, ws01=base+2; templates use base+100.
|
||||
PVE_VMID_BASE=1100
|
||||
PVE_OSTYPE="win11" # PVE has no win2k22; win11 covers Server 2022
|
||||
@@ -72,6 +76,17 @@ DISK_FILL_RATIO=30
|
||||
ISO_BUDGET_GB=8
|
||||
BUILD_TIMEOUT=2700
|
||||
|
||||
# ---------------------------------------------------------------- kali
|
||||
# One attacker VM per participant, configured through the guest agent and
|
||||
# reached through the Proxmox web console. No client-side setup.
|
||||
KALI_COUNT=5
|
||||
KALI_RAM=2048
|
||||
KALI_VCPU=2
|
||||
KALI_IP_BASE=41 # 10.10.10.41 .. .4N, outside the DHCP pool
|
||||
KALI_VMID_BASE=1300 # template at +90 (windows templates use 1200+)
|
||||
KALI_LINKED_CLONE=1 # 0 = full copies (needs more disk)
|
||||
KALI_ARCHIVE_URL="https://cdimage.kali.org/kali-2026.3/kali-linux-2026.3-qemu-amd64.7z"
|
||||
|
||||
# ---------------------------------------------------------------- participants
|
||||
# WireGuard endpoint for the router VM option; peers/ writes configs here.
|
||||
WG_PORT=51820
|
||||
|
||||
Reference in New Issue
Block a user