audit for the own-Kali deployment

- dc01-post: drop the vestigial Serveurs-Admins group. It only existed to be
  nested into the DC's administrators, which was removed; leaving it would
  suggest a privilege that no longer exists.
- prerequis: participants who bring their own Kali are told where to get
  norbourg.txt, and the address table no longer promises a provided VM.
- qemu check: assert the firewalld isolation zone and policy. They persist
  across reboots but nothing verified them, so a missing policy would go
  unnoticed until a VM reached the office LAN.
- up/reset: skip the directory wait when dc01 is not in the table.
- deck: no implication that a Kali VM is always provided.

Redeployed from scratch without Kali: build and provision completed in one
pass, doctor reports 0 warnings, and the documented path reproduces through
DCSync with no shortcut (C$ denied, decoy ACE absent).
This commit is contained in:
2026-10-25 15:35:43 -04:00
parent 59e2594c1e
commit 30d806c06c
6 changed files with 31 additions and 5 deletions
+12
View File
@@ -37,6 +37,18 @@ backend_check() {
else
_c_warn "qemu-bridge-helper not found: unprivileged bridge attach will fail"
fi
# Isolation lives in firewalld's permanent configuration, so it survives a
# reboot. Check it here: without the policy the lab can reach the office LAN.
if have_cmd firewall-cmd && firewall-cmd --zone=norbourg-lab --list-all >/dev/null 2>&1; then
if firewall-cmd --policy=lab-in --list-all >/dev/null 2>&1; then
_c_ok "firewalld isolation: zone norbourg-lab + policy lab-in"
else
_c_warn "isolation policy lab-in missing: run sudo ./setup-network.sh"
fi
else
_c_warn "isolation zone norbourg-lab missing: run sudo ./setup-network.sh"
fi
}
# ------------------------------------------------------------------ layout