Phase 8: baseline snapshot and reset; validated attack path

snapshot freezes each golden disk into images/base/ and boots a thin
overlay; reset recreates the overlay in about a second. Shutdown now asks
the guest over WinRM because ACPI powerdown is ignored by Server 2022.

dc01-post: grant GenericAll with dsacls (the .NET ACL API reported success
but never persisted the ACE) and set MinPasswordAge to zero, without which
the ACL reset fails.

Attack path validated end to end against the live lab: web -> SMB creds ->
AS-REP -> Kerberoast -> WinRM -> GenericAll reset -> DCSync.
This commit is contained in:
2026-10-21 20:10:06 -04:00
parent 645adea875
commit 71e05d6aa6
6 changed files with 96 additions and 26 deletions
+6 -4
View File
@@ -22,6 +22,8 @@ source "$LAB_DIR/lib/cmd_seeds.sh"
source "$LAB_DIR/lib/cmd_build.sh"
# shellcheck source=lib/cmd_provision.sh
source "$LAB_DIR/lib/cmd_provision.sh"
# shellcheck source=lib/cmd_snapshot.sh
source "$LAB_DIR/lib/cmd_snapshot.sh"
usage() {
cat <<EOF
@@ -42,9 +44,9 @@ Commands:
seeds render unattend files and pack the seed ISOs
build create VMs, run unattended installs (phase 3)
provision run role scripts over WinRM (--role NAME for one)
snapshot freeze a clean baseline (phase 8)
snapshot freeze a clean baseline (stops the VMs)
up, down start / stop the VMs (phase 3)
reset revert to baseline (phase 8)
reset revert to the baseline and start
status VM table: state, pid, VNC display
vnc open a console on a VM
web sync the archived site to FS01 (phase 7)
@@ -145,8 +147,8 @@ case $cmd in
status) cmd_status "$@" ;;
vnc) cmd_vnc "$@" ;;
provision) cmd_provision "$@" ;;
snapshot) planned snapshot "phase 8" ;;
reset) planned reset "phase 8" ;;
snapshot) cmd_snapshot "$@" ;;
reset) cmd_reset "$@" ;;
doctor) planned doctor "phase 8" ;;
peers) planned peers "phase 11" ;;
export-kali) planned export-kali "phase 9" ;;