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.
This commit is contained in:
2026-10-24 13:46:44 -04:00
parent b9bc0eb079
commit 23f4e1f060
5 changed files with 168 additions and 0 deletions
+9
View File
@@ -185,6 +185,15 @@ try {
}
Set-DhcpServerv4OptionValue -ScopeId '10.10.10.0' `
-DnsServer '@@LAB_DC_IP@@' -DnsDomain '@@DOMAIN@@'
# Fixed address for the attacker VM: the documented .101 must never move.
$reservation = Get-DhcpServerv4Reservation -ScopeId '10.10.10.0' -ErrorAction SilentlyContinue |
Where-Object { $_.IPAddress -eq '10.10.10.101' }
if (-not $reservation) {
Add-DhcpServerv4Reservation -ScopeId '10.10.10.0' -IPAddress '10.10.10.101' `
-ClientId '52-54-00-0a-65-00' -Name 'kali' -Description 'attacker VM'
Write-LabLog 'dc01: DHCP reservation 10.10.10.101 created'
}
Set-Service -Name DHCPServer -StartupType Automatic -ErrorAction SilentlyContinue
Start-Service -Name DHCPServer -ErrorAction SilentlyContinue