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:
2026-10-27 00:18:44 -04:00
parent e30a447662
commit 2c46b78712
6 changed files with 83 additions and 47 deletions
+1
View File
@@ -19,6 +19,7 @@ tableau n'existe pas.
| Exécution à distance | WinRM | `5985` côté réseau, `4688` si l'audit des processus est actif | `powershell.exe` lancé par un compte inhabituel |
| Réinitialisation du mot de passe de `m.legault` | impacket / `bloodyAD` | `4724` | réinitialisation par un compte de service qui n'a aucune raison légitime de le faire |
| Droit `GenericAll` sur `m.legault` | posé à la construction, pas par l'attaquant | `5136` seulement si quelqu'un ajoute un ACE | dans ce laboratoire il faut chercher **l'usage** du droit (`4724` sur la cible), pas sa création. Sur `t.smith`, objet protégé, SDProp supprime le même ACE chaque heure |
| Création d'un compte Domain Admin | `net user` + `net group` | `4720`, `4728` | un compte apparaît puis entre dans un groupe privilégié, depuis une session administrateur |
| DCSync | `secretsdump` | `4662` | opération sur l'annuaire avec les droits de réplication (`1131f6aa-…`, `1131f6ad-…`) |
| Usage des droits de réplication | `m.legault` / `secretsdump` | `4662` | réplication demandée par un compte qui n'est pas un contrôleur de domaine |