lab: move the DC flag to C:\flag and make the last step an admin takeover
The replication right is read-only, so root.txt now sits where only DC administrators can read it (like user.txt on WS01). The backup share stays readable by Sauvegarde-AD with a note, but no flag. The final step is DCSync -> Administrator hash -> pass-the-hash -> create a Domain Admin -> read C:\flag\root.txt; the golden ticket becomes the persistence variant. doctor checks the new path and fails if the flag is still exposed on the share. Walkthrough, student sheet, blue-team table and deck updated.
This commit is contained in:
@@ -505,13 +505,13 @@ def build():
|
||||
"inoffensives séparément.")
|
||||
|
||||
# ---------------------------------------------------------------- 17
|
||||
s = content_slide(prs, "La preuve finale", "DCSync")
|
||||
s = content_slide(prs, "La preuve finale", "Du droit de réplication au drapeau")
|
||||
bullets(s, [
|
||||
"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 ni Domain Admin ni administratrice du DC.",
|
||||
"Et pourtant : le domaine est compromis.",
|
||||
"m.legault est membre de Sauvegarde-AD, qui détient la réplication.",
|
||||
"secretsdump : le hash NTLM d'un administrateur du domaine.",
|
||||
"Pass-the-hash, puis un compte Domain Admin créé de toutes pièces.",
|
||||
"C:\\flag\\root.txt : le même drapeau que sur WS01, côté DC.",
|
||||
"m.legault n'est ni Domain Admin ni administratrice du DC — et pourtant.",
|
||||
])
|
||||
footer(s, len(prs.slides))
|
||||
notes(s, "Nuance importante pour le débriefing : on n'a pas « volé » un compte "
|
||||
|
||||
Reference in New Issue
Block a user