Commit Graph
14 Commits
Author SHA1 Message Date
quoije dcb64ac65e Restructure the repository per session
session1/ now holds the whole live lab (content, platforms, docs, answer key,
README); session2/ keeps the design for the second workshop. The root README
indexes both and states that session2 modifies session1 rather than
duplicating it.

build-bundle.sh builds from session1 and still produces a flat archive, so
the documented paths inside a deployment (platforms/<p>/lab.sh) are
unchanged. .gitignore follows the move.
2026-10-24 14:22:39 -04:00
quoije 62d3c4282c Student guide and README: control of the domain, not Domain Admin
The graded path ends with replication rights and DCSync, not membership in
Domain Admins, so the stated objective was inaccurate. Also documents that
C$/ADMIN$ require local admin while hidden shares depend only on their own
ACL — which is how the server flag is reachable.
2026-10-24 14:20:52 -04:00
quoije a29a5ce4b9 Docs: final pass for the replication-rights design
blue-team: the reset target is m.legault; the ACL row explains that the same
ACE on t.smith is stripped hourly by SDProp; the DA-logon row becomes the
replication event (4662).

answer key: DCSync runs as m.legault, t.smith is listed as the protected
decoy, and two new pitfalls document why C$ refuses a plain account and why
WinRM on DC01 is authorization, not a closed port.

README: structure table gains session2/. No stale references remain
(AdminSDHolder, Serveurs-Admins, C:\flag).
2026-10-24 14:19:59 -04:00
quoije 23f4e1f060 Fix the missing DHCP reservation; scaffold session 2
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.
2026-10-24 13:46:44 -04:00
quoije b9bc0eb079 Add 'save': the closing step for any change
save = snapshot --update + start, and falls back to a first-time snapshot
when no baseline exists yet. On the qemu platform it folds the working
overlays into the base images and brings the lab back up; on proxmox it
re-templates.

Documented as the rule it is: every deliberate change to the lab ends with
save, so reset always returns to the state you meant to freeze.
2026-10-24 02:13:18 -04:00
quoije b13ec8da95 Persist the Kali setup in its base image
New 'kali snapshot' subcommand commits the working overlay into the base
image, the same way the Windows guests are frozen. After it, reset returns
to a Kali that already has: the wordlist under /opt/norbourg, bloodyAD,
sshd enabled at boot, and the dual resolver (DC first, slirp second).

Verified by booting from the committed base with no manual step: sshd
answers, 1716-line wordlist present, bloodyad on PATH, lab and public names
both resolving.

Docs: README and instructor checklist describe the new step.
2026-10-23 07:14:19 -04:00
quoije b93ed45635 Docs: full accuracy pass across all five files
prerequis: tools list corrected (collector, not the BloodHound GUI), the
provided Kali VM path added (DHCP + DNS come free), address table completed
with the Kali reservation and the DHCP range.

blue-team: null sessions are refused in this lab, so the SMB row no longer
claims one; the GenericAll is planted at build time, so the detectable
signal is its use (4724), not an ACE creation (5136); added ready-to-run
Get-WinEvent queries with the field indices.

answers: nxc instead of netexec, domain flag on every call, bloodyad -H,
and the no-GUI shortcut documented.

README/instructeur: what the image actually ships, and how to add bloodyAD.
2026-10-23 00:48:12 -04:00
quoije 7787bd5f84 Close the gaps that a fresh redeploy would have shipped
- install the QEMU guest agent from virtio-win: Proxmox provisions over
  qm guest exec, so without it every provision would hang waiting for the
  agent. virtio-win is now attached as ide3 on the Proxmox platform.
- restore the .url MIME mapping in fs01.ps1: the earlier patch silently
  missed, so a rebuilt FS01 would answer 404.3 for the easter-egg shortcut.
- kali install now builds a small tool ISO carrying the wordlist, so a
  fresh Kali is usable without network access to the host.

Audited by extracting the bundle and re-rendering the seeds: no unrendered
tokens, and every live fix is present in the generated role scripts.
2026-10-23 00:30:40 -04:00
quoije 77d123a9cf Add optional Kali attacker VM and DHCP for the lab bridge
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.
2026-10-22 19:55:15 -04:00
quoije 523a6f4881 Fix setup-network path after the move; rebuild bundles 2026-10-22 19:23:42 -04:00
quoije 890dd58700 Split into qemu and proxmox platforms over a shared content tree
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.
2026-10-22 19:23:16 -04:00
quoije 538fb9a117 Re-baseline support, WS01 SMB, docs refresh
snapshot --update commits the working overlay into the base so deliberate
changes survive reset. The eval image ships with File and Printer Sharing
disabled; the bootstrap enables it, otherwise the workstation is invisible
to an SMB scan.

README and instructor runbook now document the real command set.
2026-10-21 20:21:02 -04:00
quoije c66b5641b6 Phase 3: unattended install, seed ISOs and VM lifecycle
autounattend template (q35/AHCI/e1000, no virtio injection), per-VM seed
ISOs with a bootstrap that configures the static IP, enables WinRM/RDP and
chains into the role script. build --dry-run, up/down/status/vnc verbs.

Static addressing happens in PowerShell rather than in the unattend file:
Microsoft-Windows-TCPIP matches adapters by connection name and fails
silently when the name differs.
2026-10-21 18:46:31 -04:00
quoije fb06ee5a52 Phase 1: scaffold lab.sh, config and preflight checks
Move the archived 2002 site into site-src/ so the lab README can take the
repo root. Add lab.conf, the lab.sh dispatcher, a qemu backend and the
check/init verbs. No VM is created yet.
2026-10-21 18:34:22 -04:00