Quick answer: A cyber security home lab is an isolated environment, usually built from virtual machines on your own computer, where you can practise attacks and defenses safely. A good starter lab uses a host with at least 16 GB of RAM, free virtualization software, a Windows machine, a Linux machine, a firewall and a free SIEM or log platform. Document what you build and test, and it becomes a strong part of your portfolio.
Employers value hands-on experience, and a home lab is the most accessible way to get it. This guide covers the hardware, software, a starter architecture and projects that teach skills employers want.
Lab options compared
| Option | Cost | Best for |
|---|---|---|
| Virtual machines on your PC | Free to low | Most beginners |
| Dedicated server or mini PC | Moderate | Larger, always-on labs |
| Cloud lab | Pay as you go | Cloud security practice; watch costs |
| Online lab platforms | Free to subscription | Guided exercises without setup |
Start with virtual machines on the computer you already have. Expand only when your projects need more capacity.
Starter setup
- Virtualization: VirtualBox or VMware Workstation, or Proxmox on spare hardware.
- Firewall and router: pfSense or OPNsense to create separate lab networks.
- Windows machines: evaluation editions of Windows and Windows Server, optionally with Active Directory.
- Linux machines: Ubuntu for servers and Kali Linux for testing tools.
- Monitoring: a free SIEM or log stack such as Wazuh, Security Onion or Elastic.
- Vulnerable targets: deliberately vulnerable machines designed for practice.
Keep the lab isolated from your home network and never run real malware without strict isolation.
Projects that build job-ready skills
- Forward Windows and Linux logs to a SIEM and write detection rules.
- Simulate attacks on your own machines and check whether you detect them, using MITRE ATT&CK techniques.
- Harden a server against the CIS Benchmarks.
- Build an Active Directory domain and practise securing it.
- Capture and analyze traffic; see Wireshark vs Zeek.
- Write up each project for your portfolio.
For tooling choices, compare osquery vs Wazuh and Nmap vs Masscan. Career context is in how long it takes to get into cyber security.
Related reading
Cyber Security Resume and Cover Letter: Templates and Tips
Frequently asked questions
How much RAM do I need for a cyber security home lab?
16 GB is a comfortable minimum for several virtual machines. 32 GB or more allows larger labs with a SIEM and Active Directory.
Is a home lab worth it?
Yes. It builds practical skills and gives you concrete projects to discuss in interviews.
Can I build a home lab for free?
Largely yes, using free virtualization software, open-source tools and evaluation editions of commercial software.
Is it legal to hack in a home lab?
Yes, when you only attack machines you own in an isolated environment. Never test systems you do not own or have permission to test.
Conclusion
A home lab turns theory into skill. Start small with virtual machines, add monitoring, practise both attack and defense on your own systems and document everything. It is one of the best investments for a security career.





