Phase 8: baseline snapshot and reset; validated attack path
snapshot freezes each golden disk into images/base/ and boots a thin overlay; reset recreates the overlay in about a second. Shutdown now asks the guest over WinRM because ACPI powerdown is ignored by Server 2022. dc01-post: grant GenericAll with dsacls (the .NET ACL API reported success but never persisted the ACE) and set MinPasswordAge to zero, without which the ACL reset fails. Attack path validated end to end against the live lab: web -> SMB creds -> AS-REP -> Kerberoast -> WinRM -> GenericAll reset -> DCSync.
This commit is contained in:
+10
-4
@@ -105,10 +105,16 @@ sur `docs/blue-team.md` : chaque étape de l'attaque correspond à un événemen
|
||||
|
||||
## Remise à zéro
|
||||
|
||||
`./lab.sh reset` n'est pas encore implémenté. En attendant, pour repartir propre :
|
||||
Une fois le laboratoire validé, figez l'état propre :
|
||||
|
||||
```bash
|
||||
./lab.sh down
|
||||
rm -f "$LAB_ROOT"/images/*.qcow2
|
||||
./lab.sh build && ./lab.sh provision
|
||||
./lab.sh snapshot # arrête les VM et fige une base (~2 min)
|
||||
./lab.sh up # ou ./lab.sh reset pour repartir de la base
|
||||
```
|
||||
|
||||
Ensuite, `./lab.sh reset` arrête les VM, jette les disques de travail et les recrée depuis la
|
||||
base : environ deux minutes, sans réinstallation. C'est la commande à utiliser entre deux
|
||||
groupes ou après une manipulation destructive.
|
||||
|
||||
Les disques sont organisés en deux couches : `images/base/<vm>-base.qcow2` (jamais modifié) et
|
||||
`images/overlays/<vm>.qcow2` (jetable).
|
||||
|
||||
Reference in New Issue
Block a user