Skip to content

About

Hands-on Active Directory attack & defense home lab on Hyper-V: building a domain, simulating the full attack chain from Kali, and detecting & hardening it from a SOC (blue/purple-team) perspective.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Active Directory Attack & Defense Home Lab

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).


Scenario

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.


Lab architecture

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
Loading
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.


What this lab covers

  • 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.


Documentation

The full step-by-step write-up lives in docs/:

  1. Overview & scenario
  2. Lab architecture
  3. Domain Controller build
  4. Domain structure & accounts
  5. Attack techniques simulation
  6. Hardening
  7. Detection & logging
  8. Lessons learned

Key skills demonstrated

  • 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

About

Hands-on Active Directory attack & defense home lab on Hyper-V: building a domain, simulating the full attack chain from Kali, and detecting & hardening it from a SOC (blue/purple-team) perspective.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors