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:
@@ -137,6 +137,9 @@ _start_lab() {
|
||||
# WinRM answers before the directory does. A doctor run right after up saw
|
||||
# "stable path missing" and "replication rights missing" on a healthy lab
|
||||
# because the DC was still starting AD.
|
||||
if ! vm_index dc01 >/dev/null 2>&1; then
|
||||
return 0
|
||||
fi
|
||||
step "wait for the domain"
|
||||
local deadline=$(( SECONDS + 240 ))
|
||||
while (( SECONDS < deadline )); do
|
||||
|
||||
Reference in New Issue
Block a user