Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

The Academy 

Build a Safe Home Pentest Lab


Build a Safe Home Pentest Lab (VirtualBox / VMs)



Intro:
Want to learn security testing without breaking the law? This guide shows how to build an isolated, repeatable homelab with VirtualBox/VMware, vulnerable targets for practice, and network segmentation. Everything here is for legal, self-hosted learning only.

Prerequisites:
  • Desktop or laptop with at least 16GB RAM (8GB minimum)
  • VirtualBox or VMware Workstation Player
  • ISO images for Kali Linux, Ubuntu/Windows test VMs
  • A vulnerable lab VM (OWASP Juice Shop, Metasploitable, DVWA)

Steps:
  1. Install Virtualization Software
    • Download VirtualBox/VMware and install. Create a dedicated folder for VM disks.
  2. Create Network Topology
    • Use Host-Only for attacker ↔ target; NAT for internet access on a separate VM (if needed). Use snapshots for quick resets.
    Example VirtualBox networking:
    Code
    - Host-only Adapter -> 192.168.56.0/24 (attacker & targets)
      - NAT Adapter -> (optional) internet access via host
  3. Deploy Base VMs
    • Kali Linux (attacker): allocate 2–4 vCPU, 4–8GB RAM
    • Target VMs: Metasploitable / Juice Shop (small resources)
  4. Harden Host & Isolate Lab
    • Disable shared folders/clipboard between host and VMs
    • Use snapshots: take one when VM is fresh
  5. Install Tools (safe list)
    • nmap, Wireshark, Burp (Community), Gobuster, sqlmap (in lab only)
    Code
    sudo apt update && sudo apt install nmap wireshark burpsuite
  6. Create Playbook
    • Document test goals, allowed actions, restore procedures
  7. Practice Exercises (lab only)
    • Web app mapping: use Burp + browser to explore Juice Shop

Safety & Legal:
Always test only in your own isolated environment. Do not scan or attack systems you do not own or have explicit permission to test.


Post Questions below — share screenshots of your lab setup!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Oh_WellOct 13, 2026 06:00 AM 3 277 Oct 13, 2026 06:00 AM
Last Post: Sturdy7747
by ICTKUNSep 23, 2026 02:36 PM 1 45 Sep 23, 2026 02:36 PM
Last Post: CyberXero
[The Academy] by VecturaOct 5, 2025 10:06 AM 0 75 Oct 5, 2025 10:06 AM
Last Post: Vectura