TExcelTAD
Home › Security Projects, Study Plan, Certifications & Careers › Building the Home Lab: Architecture, Software and Checklist

Building the Home Lab: Architecture, Software and Checklist

Every project in this course, and most of the practical goals of the study plan, need a place where you can break things without breaking the law or your own computer. Security Foundations built the theory of that place in three lessons: hypervisors, network modes and snapshots, lab machines and vulnerable apps, and lab safety rules. This lesson does not repeat them. It turns them into a build: the architecture of the roadmap's lab as one picture, the software list, a resource budget for each phase of the year, and a checklist you can tick off.

The architecture

main computer hypervisor isolated lab network 10.10.0.0/24 Kali Linux10.10.0.5 tools Ubuntu Server10.10.0.10 target Windows Server10.10.0.20 AD vulnerable lab apps (snapshots!) OWASP Juice Shop DVWA Metasploitable home LAN,Internet:no route every target lives only on the isolated network; the host reaches it through the hypervisor

The roadmap's lab is a single computer running a hypervisor, with one isolated virtual network that holds three kinds of machine: a tools workstation (Kali Linux), realistic servers to attack and defend (Ubuntu Server, Windows Server), and deliberately vulnerable applications (OWASP Juice Shop, DVWA, Metasploitable). The important part of the picture is the line on the right: the lab network has no route to your home network or the Internet. The network-modes lesson explains which hypervisor settings give you that (host-only or internal networks) and which don't (bridged, and NAT for anything vulnerable).

The software

Software Role in the lab Where the track uses it
Kali Linux tools workstation: scanners, proxies, analysis tools Penetration Testing, every assessment project
Ubuntu Server a Linux target and a server you harden and monitor Network Security, SOC lab
Windows Server Active Directory domain controller and Windows logs Windows & AD
VirtualBox the hypervisor (free, on every desktop OS) lab virtualisation
KVM / VMware alternative hypervisors (KVM on Linux hosts; VMware Workstation) same
Docker runs the vulnerable web apps as disposable containers vulnerable apps in Docker
Wireshark packet analysis on the lab network Networking for Security
Burp Suite intercepting proxy for web testing (Community Edition is free) proxies
Ghidra disassembler and decompiler from the NSA, free decompilers
Metasploit Framework exploitation framework, only against lab targets Metasploit architecture

Download every image from its official source and check its published hash (sha256sum against the project's checksum page) before importing it.

A resource budget for the year

You don't run every VM at once. Each phase of the year needs a few of them, and the question is whether your computer can hold that phase's set. The script assumes a host with 8 cores, 32 GB of RAM and 500 GB of disk, keeps 2 cores and 6 GB for the host itself, and checks each phase:

python · try it yourself
HOST = {"cpus": 8, "ram_gb": 32, "disk_gb": 500}
RESERVE = {"cpus": 2, "ram_gb": 6}          # keep for the host OS and the hypervisor

VMS = {  # name: (vCPUs, RAM GB, disk GB)
    "kali":   (2, 4, 80),
    "srv01":  (1, 2, 25),   # Ubuntu Server
    "apps":   (2, 4, 40),   # Docker host: Juice Shop, DVWA, WebGoat
    "msf2":   (1, 1, 10),   # Metasploitable 2
    "dc01":   (2, 4, 60),   # Windows Server, domain controller
    "ws01":   (2, 4, 64),   # Windows client
    "siem":   (4, 8, 100),  # Wazuh all-in-one
}
PHASES = {  # which VMs run at the same time in each part of the study plan
    "months 1-4 Linux, networking": ["kali", "srv01"],
    "months 6-8 web and pentest":   ["kali", "srv01", "apps", "msf2"],
    "month 9 Windows and AD":       ["kali", "dc01", "ws01"],
    "month 11 SOC (blue team)":     ["kali", "srv01", "dc01", "ws01", "siem"],
}

disk = sum(v[2] for v in VMS.values())
print(f"disk for all VMs: {disk} GB of {HOST['disk_gb']} (+ snapshots grow it)")
cpus = HOST["cpus"] - RESERVE["cpus"]
ram = HOST["ram_gb"] - RESERVE["ram_gb"]
for phase, names in PHASES.items():
    c = sum(VMS[n][0] for n in names)
    r = sum(VMS[n][1] for n in names)
    verdict = "fits" if r <= ram else f"over by {r - ram} GB RAM"
    cpu_note = "" if c <= cpus else f" ({c} vCPUs on {cpus} cores: overcommitted, slower)"
    print(f"{phase:31} {len(names)} VMs  {c:2} vCPU  {r:2} GB  {verdict}{cpu_note}")
disk for all VMs: 379 GB of 500 (+ snapshots grow it)
months 1-4 Linux, networking    2 VMs   3 vCPU   6 GB  fits
months 6-8 web and pentest      4 VMs   6 vCPU  11 GB  fits
month 9 Windows and AD          3 VMs   6 vCPU  12 GB  fits
month 11 SOC (blue team)        5 VMs  11 vCPU  22 GB  fits (11 vCPUs on 6 cores: overcommitted, slower)

All four phases fit in memory on this host; the SOC month, with five VMs, overcommits the CPU (11 virtual CPUs on 6 cores), which works but is slower, and is the month to shut down anything you are not using. Disk is the quiet problem: 379 GB before any snapshot, and snapshots of a Windows VM can add tens of gigabytes each. Delete snapshots you no longer need, and keep Metasploitable and the Docker apps small. Change HOST to your machine to see your own budget.

The build checklist

Tick these off in order; each step names the lesson that explains it.

  1. Plan on paper: machines, roles, addresses in 10.10.0.0/24, names under lab.test (planning addresses).
  2. Install the hypervisor and create one host-only or internal network with no DHCP from your home router (network modes).
  3. Kali and Ubuntu Server first, attached only to the lab network. Update them while temporarily on NAT, then switch the adapter back and take a "clean" snapshot.
  4. Verify isolation from Kali: the lab addresses answer; your home router, a public DNS name and a public address do not. Write the result in labs/home-lab.md of your journal.
  5. Add the vulnerable apps in Docker on a lab VM, published only on the lab interface, never 0.0.0.0 on a machine with another network. Snapshot.
  6. Add Windows Server when you reach month 9: evaluation media from Microsoft, a domain lab.test, test users with lab-only passwords (test accounts).
  7. Add monitoring in month 11: a Wazuh VM collecting from the Ubuntu and Windows machines (the SOC lab).
  8. Write the lab's own README: what runs where, how to reset each machine, which snapshots exist.

How lab problems are detected

  • An address outside the lab range appears in a scan, or a lab VM reaches a public site: the network mode is wrong (step 4 catches this).
  • A vulnerable app answers on the host's own address from another device in your home: it is published on the wrong interface.
  • The host slows to a crawl in the SOC month: too many VMs for the RAM; check the budget again.

How they are fixed or prevented

Re-run the isolation check of step 4 after every change to a VM's network settings, not just once. Keep vulnerable machines on networks that have no other adapter, revert them to their clean snapshot after each exercise, and shut down the lab when you stop for the day.

Pitfalls

  • Bridged "just to download something". Download on the host or on a NAT-only VM that is not vulnerable, then move the file.
  • Real accounts in the lab. Never sign in to a real email, cloud or bank account from a lab VM.
  • Building everything in week 1. The phases above exist so that the lab grows with the plan.

Practice

1. Your laptop has 16 GB of RAM. Which phases still fit?

With 6 GB reserved, 10 GB is left for VMs. Months 1–4 (6 GB) fit; months 6–8 (11 GB) are over by 1 GB, month 9 (12 GB) by 2 GB and the SOC month (22 GB) by 12 GB. Options: give the Windows VMs 3 GB each, run Juice Shop and DVWA in the srv01 VM instead of a separate apps VM, and for the SOC month run Wazuh with only one agent at a time, or use a second machine. Set "ram_gb": 16 to see the numbers.

2. From Kali, ping 10.10.0.10 works and ping 192.168.1.1 (your home router) also works. What is wrong and what do you do?

Kali has an adapter that reaches the home network, probably bridged or NAT with routing to the LAN. Shut down the vulnerable machines, remove or change that adapter to host-only/internal, and repeat the isolation check before continuing.

Test yourself

In the roadmap's architecture, what can the isolated lab network reach?

  1. The Internet, through NAT
  2. The home network, through a bridge
  3. Only the lab machines and apps on it; there is no route out
  4. Everything except email

Which phase of the year is the heaviest in the resource budget?

  1. Months 1-4
  2. Months 6-8
  3. Month 9
  4. Month 11, the SOC lab

When should you repeat the isolation check?

  1. Once, after the first install
  2. After every change to a VM's network settings
  3. Once a year
  4. Only when something breaks