Red Team  ·  Hands-On Practice

Attack Lab
Setup Guide

Free and paid lab environments for practising offensive security skills — browser-based CTFs to full enterprise Active Directory environments. Includes a step-by-step home AD lab builder, India latency guide, and monthly cost estimator.

4
Platforms
Free
Start Cost
AD Lab
Builder
India
Optimised
📈 Monthly Cost Estimator
TryHackMe (Free)₹0/mo
HackTheBox (Free)₹0/mo
PortSwigger Academy₹0/mo
VulnHub (Self-hosted)₹0/mo
HTB Pro Labs
Home AD Lab (VPS)
★ Minimum viable start₹0/mo
📋

Platform Comparison

The 4 best platforms for practising offensive security. They serve different purposes — use them in combination, not exclusively.

Free Options AvailableIndia Accessible
TryHackMe
tryhackme.com · Best for Beginners
Browser-based VMs — no Kali setup required. Guided learning paths with hints. Ideal first 3 months. Free tier gives 10 rooms/month.
  • No local setup — browser-based VMs
  • Heavily guided — perfect for beginners
  • Jr Pentration Tester path is excellent
  • Advent of Cyber (free, annual) great starter
  • Machines are too guided for OSCP prep
  • Free tier: 10 rooms/month limit
Free tier available · $14/mo premiumBeginner → Intermediate
HackTheBox
hackthebox.com · Best for OSCP Prep
Realistic retired machines + active challenges. Pro Labs are enterprise AD environments. 20+ free machines always available. Writeups available for retired machines.
  • HTB Starting Point (free, guided) — great start
  • Retired machines + writeups for learning
  • Pro Labs: Offshore/RastaLabs for OSCP prep
  • Strong community and Discord
  • 150–250ms latency from India (use VPS)
  • Pro Labs ($50/mo) needed for serious OSCP prep
Free tier · $14/mo VIP · $50/mo Pro LabsIntermediate → Advanced
PortSwigger Web Academy
portswigger.net · Best Web Security Labs
100% free. 200+ interactive labs covering every OWASP category. The single best web security resource on the internet. Used by professionals at every level.
  • Completely free — no credit card
  • 200+ labs — SQL injection, XSS, SSRF, IDOR
  • Practitioner and Expert difficulty levels
  • Every web pentester must complete this
  • Web only — no network or AD content
  • Expert labs are brutally difficult
100% Free foreverBeginner → Expert
VulnHub
vulnhub.com · Best for Offline Practice
Download vulnerable VMs, run locally with VirtualBox (free). Fully offline — zero latency. Perfect for India where VPN latency to EU/US is 150–250ms.
  • Completely free — download and run locally
  • Zero latency — fully offline
  • Excellent for unreliable internet connections
  • Metasploitable 2/3, DVWA, Mr Robot VM
  • Older machines — less relevant to current OSCP
  • No guided hints or community
Free — self-hostedBeginner → Intermediate
🔎 Recommended Sequence
Month 1–2: TryHackMe Jr Pentration Tester (free) + PortSwigger SQL/XSS labs (free) → Month 3–5: HTB Starting Point (free) + VulnHub offline machines → Month 6+: HTB VIP ($14/mo) + TJ Null OSCP list → OSCP prep: HTB Pro Labs Offshore ($50/mo)
🔥

TryHackMe — Getting the Most Out of It

TryHackMe is the best starting point. Here's exactly what to do in what order, and how to extract maximum learning from the free tier.

Free Paths — Do These in Order
Pre-Security Path
Networking, Linux, web fundamentals. Do this first — no exceptions.
Free · 40h
Jr Penetration Tester Path
Enumeration, exploitation, web attacks, privilege escalation. Best structured beginner path available.
Free · 64h
Advent of Cyber (Annual)
December annual event — 25 days of beginner-friendly challenges. Web, forensics, OSINT, malware. Excellent community event.
Free · Seasonal
🇮🇳 India Tip
TryHackMe's VPN servers are in EU/US — expect 180–220ms latency from India. This is manageable for most rooms. If it feels sluggish, switch to the OpenVPN configuration over UDP instead of TCP. Or use the AttackBox (browser-based) which has zero VPN latency.
🧸

HackTheBox — OSCP Prep Strategy

HackTheBox is where OSCP preparation happens. Here's the exact machine sequence, Pro Lab recommendation, and how to approach machines productively.

TJ Null OSCP Machine List — Priority Order
WINDOWS MACHINES (do these first)
Legacy Blue Devel Optimum Bastard Grandpa Granny Arctic Jeeves Chatterbox
LINUX MACHINES
Lame Beep Nibbles Shocker Bashed Cronos Irked Valentine
🌟 The Golden Rule
Never look at a writeup until you've spent at least 3 hours genuinely stuck. The frustration is the learning. Taking a hint before 3 hours is the single biggest mistake beginners make. You'll root 60% fewer machines — and learn 3x more from each one.
🌐

PortSwigger Web Security Academy

Completely free. 200+ labs. The best web security learning resource on the internet. Here's the optimal lab sequence for building real skills.

Optimal Learning Sequence
PRIORITY 1
SQL Injection
16 labs. Master UNION-based, blind, time-based, and out-of-band SQLi. Foundation of most web exploitation.
16 labs · ~8 hours
PRIORITY 2
XSS (Cross-Site Scripting)
30 labs. Reflected, stored, DOM-based. Filter bypass techniques. Session hijacking via XSS.
30 labs · ~15 hours
PRIORITY 3
SSRF
12 labs. Server-Side Request Forgery — cloud IMDS, internal services, blind SSRF with OOB.
12 labs · ~6 hours
PRIORITY 4
Access Control / IDOR
13 labs. Horizontal and vertical access control failures. IDOR is the #1 bug bounty finding.
13 labs · ~5 hours
PRIORITY 5
Authentication Attacks
14 labs. Password brute force, MFA bypass, session fixation, OAuth flaws.
14 labs · ~7 hours
ADVANCED
HTTP Request Smuggling
24 labs. CL.TE, TE.CL, HTTP/2 desync. Advanced — do this after all Priority 1–5 labs.
24 labs · ~20 hours
🏠

Build Your Home Active Directory Lab

Step-by-step guide to building a realistic enterprise AD environment on your home machine. Check off each step as you complete it — progress is saved in your browser.

VirtualBox FreeWindows Eval ISOs16GB RAM Min
💻 Requirements
Minimum: 16GB RAM, 200GB free disk, Intel/AMD virtualization enabled in BIOS. Recommended: 32GB RAM, SSD storage. Software (all free): VirtualBox + Extension Pack, Windows Server 2022 Eval ISO, Windows 10/11 Enterprise Eval ISO, Kali Linux.
Lab Build Progress
0 of 12 steps completed
🖥

Kali Linux — Essential Configuration

A fresh Kali install needs hardening and customisation before it's useful for red team work. These are the essential first steps.

# Essential post-install commands
sudo apt update && sudo apt full-upgrade -y
sudo apt install -y bloodhound neo4j impacket-scripts crackmapexec
sudo apt install -y seclists wordlists gobuster feroxbuster
sudo apt install -y chisel ligolo-ng proxychains4
sudo apt install -y evil-winrm certipy-ad

# Configure proxychains for tunnelling
echo "socks5 127.0.0.1 1080" | sudo tee -a /etc/proxychains4.conf

# Start BloodHound (AD attack path visualiser)
sudo neo4j start
bloodhound &
# Default creds: neo4j / neo4j (change on first login)
🇮🇳

India Latency Guide

Practising offensive security from India has specific challenges — primarily high latency to EU/US lab servers. Here's how to work around it.

Latency Reality from India
TryHackMe (EU)
180–220ms
Manageable · Use UDP VPN
HackTheBox (EU)
150–200ms
Use Singapore VPS jump
Singapore VPS Jump
35–55ms
Hetzner SG ₹500/mo
VulnHub (Local)
<1ms
Zero latency · Offline
⚡ Best Fix: Singapore VPS as Jump Host
Rent a ₹500/month VPS in Singapore (Hetzner, Vultr, or DigitalOcean Singapore region). SSH tunnel or Tailscale from your India machine to the VPS, then connect to HTB/THM VPN from the VPS. Your effective latency drops from 200ms to 50ms — making RDP, SMB, and exploit payloads much more reliable.
# Option 1: SSH tunnel through Singapore VPS
ssh -D 1080 -N user@singapore-vps & # SOCKS5 proxy on localhost:1080
proxychains4 nmap -sT target-ip # route via Singapore

# Option 2: Tailscale mesh (easier)
# Install Tailscale on both India machine + Singapore VPS
# Route HTB traffic through VPS as exit node
tailscale up --exit-node=singapore-vps-tailscale-ip
📈

Interactive Cost Estimator

Build your monthly lab budget. Toggle which platforms you use and see the estimated monthly cost in INR.

Estimated Monthly Cost
₹0
You're using only free resources — great starting point.