My Cybersecurity Home Lab Blueprint: Everything I Use for SOC Training

My Cybersecurity Home Lab Blueprint: Everything I Use for SOC Training

My Cybersecurity Home Lab Blueprint: Everything I Use for SOC Training

5 Python Scripts I Actually Use for Security Tasks

I built a complete home lab for SOC training on a MacBook Air and old Dell laptop. Cost: ₹0 (zero). Software: 100% free and open-source. Setup time: 2 weeks part-time.

This lab lets me:

  • Deploy vulnerable VMs and attack them
  • Monitor traffic with Wazuh
  • Analyze logs with ELK stack
  • Practice incident response workflows
  • Test detection rules before deploying to Splunk at work

Most home lab guides cost money or require enterprise hardware. This one doesn't. This is what I actually run on hardware I already owned, using tools that scale from personal labs to enterprise SOCs.

What this covers: Complete home lab architecture. Hardware requirements. Free tools (Wazuh, Docker, Linux). Step-by-step setup. How I use it daily. What I learned. Cost: absolutely nothing.

The Lab Architecture (High-Level)

┌─────────────────────────────────────────────────────────┐ │ Host Machine (MacBook Air or Dell Laptop) │ ├─────────────────────────────────────────────────────────┤ │ Hypervisor (VirtualBox - Free) │ │ ┌──────────────────────────────────────────────────┐ │ │ │ Network Segment 1: Wazuh Server (Ubuntu) │ │ │ │ - Wazuh Agent (SIEM engine) │ │ │ │ - Elasticsearch (log storage) │ │ │ │ - Kibana (visualization) │ │ │ └──────────────────────────────────────────────────┘ │ │ ┌──────────────────────────────────────────────────┐ │ │ │ Network Segment 2: Vulnerable Targets │ │ │ │ - Ubuntu Server (DVWA installed) │ │ │ │ - Metasploitable (intentionally vulnerable) │ │ │ │ - Windows 10 (for Windows event log analysis) │ │ │ └──────────────────────────────────────────────────┘ │ │ ┌──────────────────────────────────────────────────┐ │ │ │ Network Segment 3: Tools │ │ │ │ - Kali Linux (penetration testing) │ │ │ │ - Splunk Enterprise (30-day trial free) │ │ │ └──────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────┘

The Hardware I Used

MacBook Air (2017, 8GB RAM, 256GB SSD)
Primary lab host

Runs VirtualBox with 3-4 VMs simultaneously. Initially struggled with RAM limits, so I focus on one major VM + Wazuh server at a time. Works fine for learning; enterprise labs would need more capacity.

Dell Laptop (2015, 4GB RAM, 500GB HDD)
Secondary host (when needed)

Used for dedicated Kali Linux instance when I need to run penetration testing tools without slowing down main lab. Also serves as a test endpoint for Wazuh monitoring.

Minimum requirements: Laptop with 4GB RAM (tight but works), 50GB free disk space, Intel/AMD processor with virtualization enabled. Mac or Linux preferred for ease of deployment.

🛠 Recommended Hardware Upgrades for Your Cybersecurity Home Lab

Although I built this home lab using free software, a few affordable hardware upgrades can make running virtual machines, SIEM tools, and penetration testing labs much smoother.

💽 External SSD (240GB/256GB)

Perfect for storing Kali Linux, virtual machines, Wazuh logs, Docker images, and backups without filling your main drive.

🛒 Check Price on Amazon

🔌 SATA to USB Adapter

Useful for recovering files from old hard drives, analyzing disks during forensic practice, or cloning drives for lab experiments.

🛒 Check Price on Amazon

🍓 Raspberry Pi Case + Power Supply

Great for building a portable SOC lab, Pi-hole DNS server, network monitoring appliance, or lightweight cybersecurity projects.

🛒 Check Price on Amazon

Disclosure: As an Amazon Associate, I earn from qualifying purchases at no additional cost to you.

The Components (All Free)

VirtualBox (Hypervisor)
VM engine

Cost: Free and open-source. Role: Runs all VMs. Easy to snapshot before testing attacks, revert after. Best alternative to expensive VMware or Hyper-V.

Installation:
  1. Download from virtualbox.org
  2. Install on host machine (Mac/Linux/Windows)
  3. Enable virtualization in BIOS (if needed)
  4. Create VMs with 2GB-4GB RAM each
Wazuh (SIEM + Security Monitoring)
Central security engine

Cost: Free and open-source. Role: Collects logs from all VMs. Detects intrusions. Provides threat intelligence. Equivalent to enterprise Splunk but completely free.

Wazuh runs on 1 Ubuntu VM. All other VMs run Wazuh agents and forward logs to the central server. When I launch attacks on vulnerable VMs, Wazuh detects them in real-time. Exactly like SOC work, but at home.

Setup process:
  1. Create Ubuntu 20.04 LTS VM (4GB RAM)
  2. Follow Wazuh installation docs (docker or native)
  3. Access via web console (https://localhost)
  4. Configure agents on other VMs
  5. Test with intentional traffic/attacks
Vulnerable VMs (DVWA, Metasploitable)
Attack targets for practice

Cost: Free. Role: Intentionally vulnerable applications. Lets me practice exploiting common vulnerabilities and monitoring the attacks with Wazuh.

DVWA is a PHP web application with known vulnerabilities. Perfect for practicing SQL injection, XSS, CSRF. Metasploitable is a Linux box with dozens of exploitable services. This is where I practice penetration testing and incident response simultaneously.

Kali Linux (Penetration Testing Tools)
Attack VM

Cost: Free and open-source. Role: Pre-installed with nmap, Metasploit, Burp Suite, and 200+ security tools. I use this to attack the vulnerable VMs and practice exploitation techniques.

Splunk Enterprise (Trial)
SIEM for advanced learning

Cost: Free 30-day trial (but Wazuh is permanent free). Role: I periodically spin up Splunk to practice with the exact tool used at Inhok Technologies. Query language, dashboards, alert creation — all transferable to work.

My Daily Practice Workflow

How I Actually Use This Lab

Mornings (1 hour): Review Wazuh dashboard from overnight attacks/monitoring. Check for alerts triggered by background traffic. Triage alerts (real vs false positive). Document findings.

Afternoons (1-2 hours): Execute planned attack on vulnerable VM. SSH into Kali Linux, launch Metasploit exploit against Metasploitable. Watch Wazuh detect the attack in real-time. Analyze what Wazuh saw vs what actually happened. Refine detection rules.

Practice scenarios: "Simulate credential theft" → "Detect and contain it". "Simulate data exfiltration" → "Write detection rule". "Simulate privilege escalation" → "Monitor and block it".

What I Learned From Building This

Key Lessons

  • RAM is the limiting factor: With 8GB total, running Wazuh server + 2 VMs is manageable. Tried 4 simultaneously and everything crawled. Learned to be selective.
  • Snapshots are critical: Before every attack, snapshot the target VM. After attack, revert to clean state. Prevents corrupting your lab environment.
  • Network isolation matters: VMs must be on separate virtual networks from host machine. Prevents lab from accidentally attacking your real internet-connected machine.
  • Detection rules are hard: Writing a rule that catches real attacks without triggering false positives is genuinely difficult. Lab forced me to understand this before work.
  • Logs are overwhelming: A single attack generates 100s of log entries across multiple systems. Sorting signal from noise is 80% of SOC work.

🔒 Secure Your Home Lab Accounts

If you're running GitHub, cloud accounts, Raspberry Pi servers, or cybersecurity labs, protecting your accounts with a hardware security key is one of the best security upgrades you can make.

Recommended: YubiKey Security Key

🛒 Check Price on Amazon

Free Alternatives to Every Component

If you want maximum flexibility with zero cost:
  • Instead of VirtualBox: QEMU (Linux), Hyper-V (Windows), VMware Player (limited but free)
  • Instead of Wazuh: ELK Stack (Elasticsearch + Logstash + Kibana), Graylog, Splunk free tier (500MB/day limit)
  • Instead of Kali: Ubuntu + manual tool installation, ParrotOS, BackBox
  • Instead of DVWA: WebGoat, Juice Shop, OWASP Broken Web Applications

Home Lab FAQs

Can I run this on Windows laptop?
Yes. VirtualBox works on Windows. I preferred Mac/Linux because the tools I use (Kali, Ubuntu) run natively. Windows requires WSL (Windows Subsystem for Linux) for full compatibility. Still doable, just slightly more complex setup.
How much internet bandwidth does this use?
Negligible. All traffic stays within VirtualBox network (local). No bandwidth to internet unless you explicitly configure it. This lab works great without internet connection (though some threat intelligence feeds require internet).
Can I use cloud instead of local hardware?
Yes! AWS free tier, Azure free tier, Google Cloud free credits all work. Actually might be better than old laptop. But free tier has time limits and quotas. Local hardware has no limits (once set up).

About the Author

Amardeep Maroli

Built and maintained this home lab throughout my Inhok Technologies internship. Now use it for daily SOC training and detection rule testing. Lab cost: ₹0. Time investment: 2 weeks initial setup + 1-2 hours daily practice.

Tags: home lab SOC training, free SIEM, Wazuh lab, home security lab, free security tools, incident response practice

What hardware are you using for your lab? And what's the first vulnerability you exploited? Drop your setup in the comments.

Post a Comment

0 Comments