The AdminSDHolder anchor worked but handed svc_backup GenericAll over every
protected object, including Domain Admins — a shortcut that undermined the
intended lesson.
New design, matching how backup products actually get AD access:
svc_backup --GenericAll--> m.legault (plain user, never protected)
m.legault in Sauvegarde-AD, which holds Replicating Directory Changes
and ...All on the domain — the vendor requirement for AD-aware backups
Nothing on that path is a protected object, so SDProp has nothing to rewrite.
t.smith stays as the decoy whose ACE is reverted hourly.
The flag moves to C:\Sauvegarde, shared as Sauvegarde\$ readable by the
backup group: C\$ is admin-only, so a plain account could never fetch it.
web --sync now mirrors instead of merging (it used to leave deleted files
served forever) and clears the staging folder that smbclot only adds to.
Lore 2016/2021 rewritten around the replication requirement.
BUILTIN\Administrators is itself a protected group, so adding
Serveurs-Admins to it made m.legault transitively protected too: SDProp
then wiped both ACEs and reset adminCount. doctor caught it.
The durable fix is the one that works in a real domain: the ACE lives in
AdminSDHolder, which SDProp copies onto protected objects every hour, so it
is re-applied rather than deleted. The adminCount workaround is gone.
Lore gains a 2021 note explaining exactly this, in the voice of the
instructor who hit it: the delegation kept vanishing, the vendor explained
AdminSDHolder, the right was moved there and stopped disappearing.
dc01-post.ps1 now creates the 10.10.10.101 reservation itself (it only
existed in the running lab), and doctor checks it.
session2/ holds the design for the second workshop: LSASS credential theft
with mimikatz, overpass-the-hash and pass-the-ticket, the scheduled-task
plant it needs, the detections to add alongside, and the open question to
prototype first. Nothing is implemented; the live lab is untouched.
GenericAll over a Domain Admin cannot survive in a real domain: SDProp
rewrites protected objects from AdminSDHolder every hour. The previous
design only worked thanks to adminCount=0, which no IT team would ever set.
New design, matching what broad delegation actually looks like:
svc_backup --GenericAll--> m.legault (plain user, ACE stable)
m.legault in Serveurs-Admins, which is in BUILTIN\Administrators on DC01
t.smith stays as a decoy: the same edge exists but is reverted by SDProp,
which is itself a lesson.
Also repairs accounts that an interrupted first run left disabled (m.legault
was one), and doctor now checks the stable path, the account state and the
DC admin membership.
t.smith is a Domain Admin, therefore a protected object: SDProp rewrites his
security descriptor every hour from AdminSDHolder and deletes any ACE not
present there. The GenericAll that the lab builds was silently removed by
that cycle, so 'bloodyad set password' started failing with the misleading
'oldpass not valid' error.
Clearing adminCount on the target takes it out of SDProp's scope while it
stays a Domain Admin. Applied in dc01-post.ps1 (guarded) and baked into the
baseline.
doctor now verifies the invariants that services do not reveal: the ACE,
adminCount, SPN, disabled pre-auth, minimum password age, root.txt, the
easter-egg TXT and the DHCP scope. This is exactly the drift that was
invisible before.
lab.sh kali install|up|down|reset|status extracts the official Kali QEMU
image once, keeps it as a read-only base with a throwaway overlay, and
boots two NICs: the lab bridge (for the exercise) and user networking (so
apt works without opening the isolation policy).
DC01 now serves DHCP on 10.10.10.100-200 with DNS and domain options but no
router: devices on the bridge configure themselves while the lab stays
isolated. A reservation pins 10.10.10.101 to the Kali MAC.
Also fixed backend_stop, which still called the pre-refactor WinRM helper
and fell back to killing the VMs.
A hidden _archives/1985 folder in the Public share with a README and a .url
shortcut that opens the official video, a TXT record on the domain
(nslookup -type=TXT yourlove.norbourg.lab), and a breadcrumb in the home
page source. No copyrighted media is stored: the shortcut is a link.
IIS has no MIME mapping for .url, so fs01.ps1 adds one.
platforms/qemu and platforms/proxmox each have their own lab.sh and
lab.conf; content/ holds everything shared (roles, seed, site, helpers).
The dispatcher, preflight and command implementations are common and take
platform differences from the backend.
Proxmox backend: qm create with q35/SATA/e1000, ISOs and seed ISOs in an
ISO storage, provisioning over qm guest exec (no Python packages needed on
the host), template + clone for reset, and peers/ to emit WireGuard configs.
The role scripts now ride on the seed ISO, so provisioning transfers nothing.
build-bundle.sh produces a self-contained tarball per platform, for hosts
that cannot reach the git server.
Both configs are generic: no absolute path from this machine remains.