dc01: make the delegated ACL the only way out, and stabilise the state
Three shortcuts and one race made the lab either easier than documented or non-deterministic: - Serveurs-Admins was nested in BUILTIN\Administrators on the DC, so m.legault was a de-facto domain-controller admin (C$, NTDS.dit) and the whole ACL lesson could be skipped. It also made SDProp treat her as protected: an hour after provisioning, the intended GenericAll ACE was wiped. Removed the nesting; adminCount is explicitly reset. - the t.smith decoy ACE gave a working path to Domain Admin until SDProp ran (up to an hour after a fresh build). The role now grants it and revokes it immediately, so the state is deterministic. - the replication-rights grant stacked duplicate ACEs on every re-run; it now removes its own ACEs first. - up/reset/save returned as soon as WinRM answered, while the directory was still starting; doctor right after could report a missing ACE and missing replication rights on a healthy lab. They now wait for Get-ADDomain on dc01. doctor: a decoy ACE that is still present is now a failure, not a success. The deck's wording matches the new behaviour.
This commit is contained in:
@@ -496,8 +496,8 @@ def build():
|
||||
box.line.color.rgb = LINE
|
||||
box.shadow.inherit = False
|
||||
textbox(s, 1.15, 4.8, 11.1, 0.9,
|
||||
"t.smith (Domain Admins) a reçu le même droit : objet protégé, SDProp l'efface "
|
||||
"chaque heure. C'est le leurre — et la leçon sur les objets protégés.",
|
||||
"t.smith (Domain Admins) a reçu le même droit, retiré aussitôt : objet protégé, "
|
||||
"SDProp l'aurait effacé dans l'heure. C'est le leurre — et la leçon sur les objets protégés.",
|
||||
size=14, color=INK, line_spacing=1.15)
|
||||
footer(s, len(prs.slides))
|
||||
notes(s, "Ce n'est pas un exploit : c'est un droit accordé, et le compte qui le porte "
|
||||
@@ -510,7 +510,7 @@ def build():
|
||||
"m.legault est membre de Sauvegarde-AD.",
|
||||
"Sauvegarde-AD détient Replicating Directory Changes (All).",
|
||||
"secretsdump -just-dc-user krbtgt : le hash du compte krbtgt.",
|
||||
"m.legault n'est pas Domain Admin au sens strict.",
|
||||
"m.legault n'est ni Domain Admin ni administratrice du DC.",
|
||||
"Et pourtant : le domaine est compromis.",
|
||||
])
|
||||
footer(s, len(prs.slides))
|
||||
|
||||
Reference in New Issue
Block a user