This project involves setting up a virtualized home lab to practice and improve cybersecurity skills by simulating real-world attack and defense scenarios.
- Basic knowledge of computer networking
- A PC with at least 8 GB RAM and sufficient disk space
- Virtualization software such as VirtualBox or VMware Workstation
- Download VirtualBox:
https://www.virtualbox.org/wiki/Downloads - Install according to your OS:
- Windows: Run the
.exe
installer - macOS: Open the
.dmg
file and drag VirtualBox to Applications
- Windows: Run the
- Install the VirtualBox Extension Pack:
- Go to
File
→Preferences
→Extensions
→ Add the Extension Pack
- Go to
- Ubuntu: https://ubuntu.com/download/desktop
- Kali Linux: https://www.kali.org/get-kali/#kali-platforms
- Windows: https://www.microsoft.com/en-us/evalcenter
- Open VirtualBox → Click New
- Name the VM (e.g., Ubuntu, Kali)
- Choose:
- Type: Linux
- Version: Ubuntu (64-bit) or Debian for Kali
- Allocate:
- Memory: 2 GB or more
- Disk space: 20 GB or more
- Boot using the ISO file and install the OS
- In VirtualBox VM settings → Network:
- Choose Bridged Adapter for external access
- To configure NAT:
- File → Preferences → Network → NAT Networks → Add
- Set subnet (e.g.,
10.0.2.0/24
)
- Connect both VMs to the same network type
- Update system:
sudo apt update && sudo apt upgrade -y
- Install essential tools:
sudo apt install -y build-essential git curl wget
- Install Wireshark
📝 Final Notes
- Document all VM names, IP addresses, and network settings used
- Keep logs of tool installation and configurations for repeatability
- Take snapshots at each phase for rollback or testing
🖼️ Sample Screenshots
Ubuntu VM IP Configuration:
ICMP Ping from Kali to Ubuntu: