A hands-on home lab that builds a small Active Directory domain for a fictional medical clinic, then studies it from a defender's (SOC) point of view: simulating common AD attack techniques in order to learn how to harden the domain and detect malicious activity in the logs.
Built on Hyper-V as part of my IFTS course in networking/cybersecurity. This is the second project in my portfolio, focused on the skills required for an entry SOC analyst role.
Scope & ethics: everything runs inside an isolated virtual network with no connection to any production or home network. All hosts, users and data are fictional. The goal is defensive learning (blue/purple team).
Clinica San Giorgio — a small outpatient medical clinic (~20 employees: reception, doctors, administration). A single Active Directory domain manages accounts and access. Patient data is highly sensitive and healthcare providers are a frequent ransomware target, which is what justifies taking detection and hardening seriously.
Isolated network 10.10.10.0/24 (Hyper-V Private switch, no gateway).
graph TD
subgraph LAB["Lab-Clinica-Private - 10.10.10.0/24 (isolated)"]
DC["DC01<br/>Windows Server 2022<br/>10.10.10.10<br/>Domain Controller + DNS"]
CL["CLIENT01<br/>Windows 11 Enterprise<br/>10.10.10.20<br/>Reception workstation"]
KA["KALI01<br/>Kali Linux<br/>10.10.10.100<br/>Attacker machine"]
end
CL -->|"Kerberos authentication"| DC
KA -.->|"internal threat"| DC
KA -.->|"internal threat"| CL
| Host | OS | Role |
|---|---|---|
| DC01 | Windows Server 2022 (Eval) | Domain Controller + DNS — sangiorgio.internal |
| CLIENT01 | Windows 11 Enterprise (Eval) | Domain-joined reception workstation |
| KALI01 | Kali Linux | Attacker on the internal network |
Host: Intel i7-12700K, 32 GB RAM, Windows 11 Pro + Hyper-V.
- Domain Controller build: static addressing, DNS, promotion to DC
- Domain structure: OUs, security groups, user accounts (least privilege)
- Domain-joined client and verified domain logon
- Security logging baseline: advanced audit policy via GPO
- Attack techniques simulation (reconnaissance, credential attacks, lateral movement, escalation)
- Hardening
- Detection & monitoring
Each attack topic is paired with what the defender sees in the logs and how to reduce the risk.
The full step-by-step write-up lives in docs/:
- Overview & scenario
- Lab architecture
- Domain Controller build
- Domain structure & accounts
- Attack techniques simulation
- Hardening
- Detection & logging
- Lessons learned
- Active Directory design and administration (PowerShell-first)
- Windows networking and DNS troubleshooting
- Security logging and Windows Event Log analysis (Event IDs, log correlation)
- Group Policy (GPO) configuration
- Blue/purple-team methodology: attack → detect → harden
Author: Andrei Nicolae Telea — github.com/andreitelea