FeaturesLearnPersonalOSINTThreat MapConsoleDailyShopAccount
[ VM ]// virtualization & lab building

Virtual machines.

A virtual machine is a whole computer running as software inside your real one — its own OS, disk, RAM and network, fully sandboxed. It is the single most important tool in a hacker's kit: a place to break things, detonate malware, and rebuild in seconds. This is the deep dive.

What & whyThe stackHypervisorsBest softwareResourcesSnapshotsNetworkingFor hackersBuild a labLab managerRisks
[ 01 ]// what is a virtual machine

Your physical computer — the host — has real hardware: a CPU, RAM, a disk, a network card. Virtualization is a thin layer of software called a hypervisor that slices those real resources into isolated virtual ones, and hands each slice to a guest operating system that believes it is running on its own dedicated machine.

The guest can't tell the difference. It boots a real OS (Linux, Windows, BSD), installs software, gets an IP address, and crashes or gets infected — all without ever touching your host. When you close the VM, that entire computer collapses back into a single file on your disk. Spin it up again and it's exactly where you left it.

Host

The real, physical machine and the software running directly on it. The host owns the hardware and runs the hypervisor.

Guest

The virtual computer running inside the host. Each guest has its own virtual CPU, RAM, disk and NIC, and its own independent OS.

Hypervisor

The referee. It allocates real hardware to guests, keeps them isolated from each other, and intercepts privileged instructions.

Virtual disk

A single file (.vdi, .vmdk, .vhdx, .qcow2) that is the guest's entire hard drive. Copy it = clone the machine.

Why bother? Isolation. A VM is a blast radius of exactly zero for your real data. Test a sketchy tool, open a suspicious file, run ransomware on purpose — then throw the VM away. It's also reproducible: the same VM file behaves identically on any machine.
[ 02 ]// the virtualization stack

Everything sits in layers. The big question is where the hypervisor lives — directly on the metal, or as an app on top of a normal OS. Toggle to see both:

Guest VM
Kali
Guest VM
Windows
Guest VM
pfSense
Hypervisor allocates & isolates
Host OS Windows / macOS / Linux
Physical hardware CPU · RAM · disk · NIC

[ 03 ]// type 1 vs type 2
Type 1 — bare-metalType 2 — hosted
Runs onDirectly on hardware, no OS beneath itAs an application inside a normal OS
SpeedNear-native, minimal overheadSlightly slower (goes through the host OS)
Use caseServers, data centers, always-on labsYour laptop, learning, quick desktop VMs
ExamplesVMware ESXi, Microsoft Hyper-V, Proxmox, Xen, KVMVirtualBox, VMware Workstation/Player, Parallels, UTM

For learning, you'll almost always start with a Type 2 hypervisor like VirtualBox — it installs like any app and you're running Kali in ten minutes. When you graduate to an always-on home lab on a spare box, a Type 1 like Proxmox gives you a web dashboard, better performance and clean snapshots.

[ 03b ]// which VM software should you actually use

There's no single "best" — it depends on your host OS and goal. These are the ones worth your time:

SoftwareTypeBest forCost
VirtualBox2Beginners on any host OS — the default starting pointFree, open-source
VMware Workstation Pro2Polished, fast Windows/Linux desktop VMsFree for personal use
Hyper-V1Already built into Windows 10/11 Pro — nothing to installFree with Win Pro
Proxmox VE1An always-on home-lab server with a web dashboardFree
KVM / QEMU1Native, scriptable virtualization on LinuxFree
UTM2Apple-Silicon (M-series) Macs — a QEMU front-endFree
Our pick: start with VirtualBox — free, runs everywhere, massive community and tutorials. On Windows Pro, Hyper-V is already there. For a dedicated always-on lab box, move to Proxmox. On an M-series Mac, use UTM. For the guest OSes: Kali Linux as your attacker, Metasploitable 2 / DVWA as targets.
[ 04 ]// how resources get virtualized

CPU

Modern CPUs have hardware virtualization (Intel VT-x, AMD-V) that lets guest code run almost natively. You assign a guest vCPUs (virtual cores); the hypervisor schedules them onto real cores. If your VMs won't boot 64-bit OSes, virtualization is usually disabled in the BIOS.

RAM

Each guest gets a fixed slice of RAM that's carved out of the host while it runs. Over-allocating (giving VMs more RAM than you physically have) leads to swapping and crawling performance. Techniques like ballooning let the hypervisor reclaim idle guest memory.

Disk

The guest's drive is a file on the host. Dynamically-allocated disks grow as data is written (a 50 GB disk might only use 8 GB on disk); fixed disks reserve all space upfront for speed. Formats: VDI (VirtualBox), VMDK (VMware), VHDX (Hyper-V), QCOW2 (QEMU/KVM).

Network & devices

A virtual NIC connects the guest to a virtual switch. USB, GPU, sound and clipboard can be passed through too. Guest additions / tools are drivers you install in the guest for smooth resizing, shared folders and copy-paste.

[ 05 ]// snapshots, clones & the magic undo button

A snapshot freezes the exact state of a VM — disk, RAM, settings — at a moment in time. Keep working; if anything breaks, revert and you're instantly back as if it never happened. This is the superpower that makes VMs the perfect place to experiment.

Don't hoard snapshots. Long chains of snapshots slow a VM down and can corrupt if mismanaged. Snapshot, do your thing, then either commit or revert — don't keep 30 of them forever.
[ 06 ]// networking modes

How a VM talks to the world is a setting you choose per machine — and getting it right is critical for safe labs. Pick a mode:

Internet Host PC vSwitch VM · Kali VM · Target

[ 07 ]// why hackers live in VMs

Malware detonation

Run real malware on purpose in an isolated VM, watch what it does (files, registry, network), then revert. The host never gets touched. Use an Internal or Host-only network so it can't phone home or spread.

Sandboxing the unknown

Opening a suspicious attachment, testing a cracked tool, visiting a sketchy site — do it in a throwaway VM. Worst case, you delete the VM.

Isolated practice labs

Attacking machines you don't own is illegal. A VM lab gives you your own vulnerable targets to legally practice exploitation, pivoting and privilege escalation.

Clean, reproducible state

Every engagement starts from an identical snapshot. No leftover tools, no contaminated evidence, no "it worked on my machine."

Pair this with the ClickFix demo and hash cracker — the kind of things you'd only ever run inside a VM.
[ 08 ]// build your first hacking lab

A classic starter lab is one attacker and one or more victims on a private network with no route to the internet or your real LAN. Here's the blueprint:

Golden rule: never point real attacks at machines or networks you don't own and have written permission to test. Keep the lab isolated — that's what the network mode is for.
[ 09 ]// interactive lab manager — try it

A simulated VM console. Boot the machines, watch CPU/RAM come alive, take a snapshot, then revert. This mirrors exactly what a real hypervisor dashboard does (it's a layout simulation — nothing actually runs).

nullbyte-lab · host-only net 10.10.10.0/24 running 0/4RAM 0 GB

Tip: boot a VM, then Snapshot → change nothing → Revert to feel the safety net.

[ 10 ]// limits, risks & gotchas

Key terms

  • Hypervisor — the virtualization layer.
  • Guest additions / VMware Tools — in-guest drivers.
  • vCPU — a virtual core assigned to a guest.
  • Passthrough — giving a guest direct access to real hardware (e.g. a GPU).

Go deeper

  • Containers (Docker) vs VMs — lighter, share the host kernel.
  • Proxmox / ESXi for an always-on home lab.
  • QEMU/KVM for scriptable Linux virtualization.
  • Cloud VMs — the same idea, rented by the hour.