quoije 59e2594c1e 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.
2026-10-25 14:05:55 -04:00

Laboratoire Norbourg — ateliers

Deux séances, un dépôt. Chaque dossier de séance est autonome ; session2 ne duplique rien, il modifie ce que session1 fournit.

Dossier État Contenu
session1/ fonctionnel, validé laboratoire AD complet : deux plateformes, documentation, solution
session2/ conception seulement vol de matériel d'authentification (LSASS, mimikatz) — rien n'est implémenté

Session 1 — le laboratoire

Le contenu de référence : domaine norbourg.lab, site archivé de 2002, chemin d'élévation par délégation ACL, deux plateformes (qemu et proxmox).

cd session1/platforms/qemu
./lab.sh check
./lab.sh doctor

Documentation, prérequis et solution : session1/docs/, solution complète dans session1/answers/ (non versionnée).

Session 2 — la suite

Deuxième séance, même laboratoire, autre compétence : voler le matériel d'authentification d'un administrateur dans LSASS, puis le réutiliser contre le contrôleur de domaine.

Rien n'est codé. Le dossier contient la conception : le plant nécessaire, la chaîne, les détections à ajouter, les risques et l'ordre de travail.

Archives de déploiement

Pour un hôte sans accès au serveur git, chaque plateforme de la session 1 se met en archive :

./build-bundle.sh proxmox      # ou qemu, ou sans argument pour les deux
# produit dist/norbourg-<plateforme>.tar.gz

L'archive se décompresse à plat : norbourg-qemu/platforms/qemu/lab.sh.

S
Description
Laboratoire AD isole pour un atelier d introduction au pentest de domaine
Readme
2.2 MiB
Languages
HTML 79.7%
Shell 10%
Python 6.5%
PowerShell 3.1%
Go Template 0.6%