Here's a curated list of 20+ free online defensive/offensive security labs and platforms you can use to practice ethical hacking, penetration testing, VAPT, CTFs and real-world exploitation safely and legally learning paths 👇
🎯 General Pentest & CTF Practice Platforms (Free)
- TryHackMe — Guided beginner-to-advanced cybersecurity labs (some free content). https://tryhackme.com
- Hack The Box — Real lab machines and challenges (free "Starting Point" + periodic free labs). https://hackthebox.com
- OverTheWire — Classic wargames for Linux, networking, exploitation fundamentals. http://overthewire.org
- Root-Me — Huge multilingual CTF platform with web, crypto, reversing, forensics. https://www.root-me.org
- PicoCTF — Beginner-friendly CTF with Linux shell access & varied challenges. https://picoctf.com
- CTFlearn — Community CTF challenges across many difficulty levels. https://ctflearn.com (community resource)
- Attack-Defense — Free CTF/CTF-like practice and team competitions. https://attackdefense.com
- Academy Hackaflag BR — Free gamified security CTF platform. https://hackaflag.com.br
- CMD Challenge — Command-line puzzle challenges for skill mastery. https://cmdchallenge.com
- Google CTF — Google's own curated CTF challenges and puzzle platform. https://lnkd.in/eTSiwDN8 (redirect from post)
- CTF Komodo Security — Free CTF challenges covering many security categories. https://ctf.komodosec.com
🕵️ Web Security & Vulnerability Labs
- PortSwigger Web Security Academy — Hands-on web vulnerability labs (SQL Injection, XSS, SSRF etc.). https://portswigger.net/web-security
- Vulnmachines — Browser-based real-scenario penetration labs (Cloud, web, OSINT). https://www.vulnmachines.com
- Hacking-Lab — Free hands-on hacking labs for web/network exploitation. https://hacking-lab.com
- Hacker101 CTF — Free web security CTF by HackerOne with video guides. https://ctf.hacker101.com
- Hacksplaining — Interactive vulnerability teaching & labs (XSS, SQLi, CSRF). https://hacksplaining.com
🧪 Vulnerable Apps & Boot2Root VM Labs
- Vulnhub — Downloadable vulnerable VMs to hack offline. https://www.vulnhub.com
- PentestIt Lab — Free boot2root machines to practice. https://lab.pentestit.ru
- PentesterLab (Free Exercises) — Web app labs with real vulnerabilities. https://pentesterlab.com/exercises
- Exploitation Education — Browser-based exploitation labs. https://exploit.education (from lists)
- Root in Jail — Simple boot2root practice VMs. http://rootinjail.com
- SmashTheStack — Classic stack/format exploitation challenges. https://lnkd.in/ek9UAe8m
🧠 Specialized & Fun CTF Challenges
- Cryptopals Crypto Challenges — Crypto puzzle hacking drills. https://cryptopals.com
- NewbieContest — Easy CTF challenges for beginners. https://www.newbiecontest.org
- W3Challs — Variety of hacking challenges including reverse, web, shell. https://w3challs.com
- WeChall — Aggregator of many CTF challenge sites. http://wechall.net
- Zenk-Security Labs — Free labs focusing on multiple techniques. https://zenk-security.com
🧠 Bonus Free Tools & Resources
- LabEx Kali Free Labs — Interactive Kali Linux & hacking playground. https://labex.io/free-labs/kali
💡 Tip: Combine these platforms with tools like Kali Linux, Burp Suite, and Nmap to simulate real pentest workflows.
📌 How to Use These
✔ Start with guided platforms (TryHackMe, PortSwigger, Hacker101) to learn fundamentals. ✔ Move to boot2root & VM labs (Vulnhub, PentestIt) to practice real exploitation. ✔ Join CTF platforms (PicoCTF, Attack-Defense, Root-Me) for varied challenge types. ✔ Use web labs to master OWASP Top 10 and web vulnerabilities.