Commit Graph
18 Commits
Author SHA1 Message Date
quoije 9ba0ca98ac Add the in-world archive trail that explains the lab
Six dated notes under _archives/ on the public share, one per artifact:
the 2003 backup deployment and its permanent password, INC-0142 (the
object-level delegation), the 2011 'the agent needs local admin' shortcut,
the 2016 'this is equivalent but looks better in an audit' note, and the
2019 copy of the procedure for t.smith.

Students find the reasons for the permissions instead of being told them;
the instructor gets a per-step debrief trail. Referenced from the student
guide, the runbook and the answer key.
2026-10-24 01:57:52 -04:00
quoije 599cf23204 Student memo: complete the command set
Adds the four commands the lab needs that were missing from the cheat
sheet: the web entry (curl), reading a file from an admin share, the
bloodyad action that exercises a delegated right, and the final DCSync
secretsdump. Placeholders only, no target names.
2026-10-24 00:03:27 -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 6fb5c3b4ca Kali keeps the DC as resolver and still reaches the internet
The DC returns SERVFAIL for names outside its zones, so glibc falls through
to the next nameserver. Listing the slirp resolver second (10.0.2.3) gives
lab names from the DC, public names from the tunnel, and keeps apt working.
No dnsmasq or per-domain config needed.

Docs: instructor checklist and the participant note both describe the
two-resolver setup, and warn that the connection name is case-sensitive.
2026-10-23 00:59:17 -04:00
quoije 4ee3bba0c5 prerequis: hosts-file fallback is legitimate, with the right apex
The doc claimed a hosts file would break nxc and Kerberos lookups. It does
not: name-to-IP is all the tools need, and the lab works with IPs plus
-dc-ip. What actually matters is that the domain name points at the DC —
a hosts entry pointing norbourg.lab at FS01 silently sends tooling to the
wrong machine, which is exactly what happened during testing.

Documents both routes and the one rule that matters.
2026-10-23 00:50:24 -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 6818a57500 Student guide: rewrite the cheat sheet against the real toolset
- nxc/netexec with the domain flag, from Kali
- AS-REP and Kerberoast commands with the actual flags (-request, -format
  hashcat, -dc-ip, -outputfile)
- hashcat modes called out explicitly (18200 AS-REP, 13100 TGS)
- bloodyAD get writable as the no-BloodHound way to answer permission
  questions, since the GUI is not installed
- note that bloodhound-python -c all is required for ACL data
2026-10-23 00:46:20 -04:00
quoije 801cf7e851 Docs: qualify the remaining lab.sh paths
Troubleshooting table and the post-deployment checklist now say where each
command must run, and the stale 'step to come' note for the site is gone.
2026-10-23 00:32:08 -04:00
quoije 069e90cf8e Docs: post-deployment checklist and service notes
Instructor runbook now covers what we learned the hard way: snapshot before
use, the wordlist lives on the Kali tool CD, DNS needs the DC prioritised on
Kali's bridge NIC, and the lab deliberately answers ICMP and offers RDP (for
instructors only — Remote Desktop Users stays empty).
2026-10-23 00:31:49 -04:00
quoije 0206eb6110 Docs: platform-qualified commands; destroy stops Kali 2026-10-22 21:26:55 -04:00
quoije 608b559e51 Proxmox hardening from a dry run and stub tests
- PVE has no win2k22 ostype; Server 2022 maps to win11
- drop --startup 0, which is not a valid order value
- after install, repoint the boot order at sata0 and detach the installer
  ISO, so a stray keypress cannot re-enter Setup
- ISO storage detection falls back to storage.cfg when pvesm has no
  --content flag
- router wg0 is now 10.10.10.250/32 with the lab NIC at .251/24: two /24s on
  one host made routing ambiguous
- nft rules use the router's own interface name (WG_LAB_IFACE), not vmbr10
2026-10-22 21:26:37 -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 71e05d6aa6 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.
2026-10-21 20:10:06 -04:00
quoije bb8a6a6eb0 Run role scripts as a scheduled task; add workshop docs
A Start-Process child dies with the WinRM shell, so the promotion never
completed. Role scripts now run under the Task Scheduler as SYSTEM, which
survives the disconnect and the reboot. Uploads retry on transient auth
errors while a guest is busy installing features.

Docs: participant guide, instructor runbook, blue-team debrief, and an
instructor wordlist sized for a two-minute crack.
2026-10-21 19:45:38 -04:00
quoije 279f4cc547 Phase 5: AD role scripts, WinRM provisioning and lab wordlist
dc01 promotes the forest then runs a startup-scheduled post stage for OUs,
users, groups, the SPN on svc_backup, pre-auth disabled on j.contractor,
GenericAll over t.smith, the www A record, flags and advanced audit policy.
fs01 installs IIS, shares the web root's public/ as \\FS01\Public and joins.
ws01 joins, then adds WS Admins to local Administrators.

provision uploads over WinRM, starts scripts detached, waits on a .done
marker and survives the promotion reboot.
2026-10-21 19:29:51 -04:00