Lab Setup Guide

A single comprehensive lab build supporting every AYSEC track.

AYSEC Lab Setup Guide

A single comprehensive lab build supporting every AYSEC track. Follow this once and you'll have what each module needs.


Hardware Recommendations

Component Minimum Recommended Comfortable
CPU 4 cores 8 cores 12+ cores
RAM 16 GB 32 GB 64 GB
Disk 200 GB SSD 500 GB NVMe 1 TB NVMe
OS any modern host Linux preferred Linux + spare disk for VMs

Cloud alternative: if local resources are limited, use a single AWS / Hetzner / Linode VPS with nested virtualization, or rely on TryHackMe / HackTheBox cloud lab subscriptions.


Hypervisor

Pick one:

For this guide we'll use VirtualBox (most portable).


Network Topology

Create three host-only networks:

aysec-attacker     192.168.50.0/24    (Kali, REMnux, FlareVM)
aysec-victims      192.168.60.0/24    (vulnerable VMs)
aysec-internal     192.168.70.0/24    (AD lab — DC, member servers, workstations)

Optionally connect them through a pfSense VM acting as router/firewall.


VMs to Build

1. Kali Linux 2026.x

sudo apt update && sudo apt full-upgrade -y
sudo apt install -y kali-linux-large
pipx install netexec impacket arjun bloodhound-py trufflehog

2. Metasploitable 2

3. Windows Server 2022 Evaluation (Domain Controller)

4. Windows 10 / 11 Enterprise Evaluation (workstation)

5. Ubuntu Server 22.04 (Wazuh + Splunk Free)

6. REMnux

7. Vulnserver Host (Windows 10)

8. GOAD (Game of Active Directory)

9. DVWA, Juice Shop, crAPI


Snapshots

Take a clean snapshot of every VM immediately after first boot. Revert constantly. You will break things weekly.

Naming convention:

<vm-name>__clean
<vm-name>__post-tools
<vm-name>__module-XX-checkpoint

Cloud Sandboxes

For AYSEC-105:

Always:


Note-Taking Stack

~/aysec/
├── 00-course-notes/       (per module)
├── 01-engagements/        (per project / lab / engagement)
├── 02-cheatsheets/
├── 03-research/
└── 99-archive/

Tools:

Backup: weekly to a separate disk + a private GitHub repo.


Browser Setup

For testing:


Maintenance Cadence


Common Pitfalls