← BackROYAL ANKIT AHIRAN
Skill 06 · Kali Linux

Isolated Virtual Lab Setup

Running Kali Linux safely inside a sandboxed virtual machine on my own computer to study Linux fundamentals, system hardening, and defensive analysis.

DEMO

What Was Built

A repeatable local virtual machine environment with allocated RAM/CPU limits, host-only virtual networking, non-root user permissions, and clean rollback snapshots for defensive Linux learning.

How It Looked

A clean virtualized desktop shell showing isolated `192.168.56.0/24` virtual interface status, updated Linux kernel info, and verified snapshot restore points inside the hypervisor.

What Was Learned

  • Isolating guest VM adapters from external traffic using host-only / internal virtual networking.
  • Creating clean pre-experiment snapshots so mistakes can be undone immediately without affecting the host OS.
  • Managing Linux packages, firewall rules (`ufw`), and standard non-root user permissions cleanly.

Step-by-Step How to Run

  1. Install a trusted hypervisor (such as VirtualBox) and import the official Kali VM image on your own machine.
  2. Set the VM network adapter to Host-Only / Internal Network and create an initial clean snapshot.
  3. Boot as a standard non-root user, update local packages, and check interface isolation.
Lab Environment Verification
uname -a && ip -br addr show && sudo ufw status

Proof

Sample Outputkali@lab
Linux kali-lab 6.x-amd64 SMP PREEMPT_DYNAMIC
lo               UNKNOWN        127.0.0.1/8
eth0             UP             192.168.56.10/24
Status: active (Firewall enabled on local VM)
Interface Capture Slot
✓ VM ISOLATION VERIFIED
Host-only subnet 192.168.56.10/24 active with firewall rules and clean snapshot saved.
Snapshot & isolated network check inside local Kali VM.