You can start practising cybersecurity today without building a home lab. Free cybersecurity labs like TryHackMe, PortSwigger Web Security Academy, OverTheWire and picoCTF give you ready-made, legal targets. Most need only a browser. A couple need an SSH client or one Docker command.
That matters because a lot of beginners lose their first month to VirtualBox errors and broken Kali installs. Building a lab is a useful skill. It just isn’t the first one you need.
Below are seven platforms: what each is good for, where to start and the catch with each one.
What do you need before you start?
•A modern browser. Enough for most of this list.
•A terminal with SSH. Built into macOS, Linux and Windows 10/11. Needed for OverTheWire.
•Docker. Only if you want to run OWASP Juice Shop.
•A notes file. Seriously. You’ll need it more than any tool.
1. TryHackMe: guided rooms for complete beginners
TryHackMe teaches through short guided lessons called “rooms”. Each room explains a concept and then gives you a machine to practise on. Its AttackBox is a Linux machine that runs inside your browser, so you don’t need a local VM.
Start with: the free introductory rooms on Linux, networking and web basics.
The catch: free accounts get the AttackBox for one hour a day, and many full learning paths are paid. You can also connect your own machine over OpenVPN for free, but that brings back some setup.
2. PortSwigger Web Security Academy: the deep end of web security
PortSwigger Web Security Academy comes from the team behind Burp Suite and is free. Every topic starts with a written explanation and then gives you labs at three levels: Apprentice, Practitioner and Expert.
It covers SQL injection, cross-site scripting (XSS), CSRF, SSRF, broken access control and authentication flaws in more depth than most paid courses.
Start with: the SQL injection Apprentice labs.
The catch: you can solve the early labs in a browser. Most Practitioner labs expect you to use Burp Suite Community Edition (free, but it needs installing).
3. OverTheWire Bandit: Linux skills, one level at a time
OverTheWire runs “wargames” you play over SSH. In Bandit, the beginner game, the password for each level is hidden somewhere on the server. You find it with commands like ls, find, grep and cat, and along the way you learn file permissions and SSH keys.
Your first command:
ssh bandit0@bandit.labs.overthewire.org -p 2220
The catch: it isn’t browser-based. You need a terminal, but no VM.
If you only pick one platform from this list, pick Bandit. Almost every other platform assumes you can move around a Linux shell without thinking about it.
4. picoCTF: Capture The Flag, built for learners
picoCTF was created by security experts at Carnegie Mellon University. Its practice area, picoGym, keeps past challenges open all year in categories like General Skills, Web Exploitation, Cryptography, Forensics, Reverse Engineering and Binary Exploitation. It also includes a browser-based webshell, so you can run Linux commands without installing anything.
Start with: General Skills, then Web Exploitation.
The catch: the difficulty climbs fast in binary exploitation and reverse engineering. Don’t judge yourself by those categories in week one.
5. CyberDefenders: the defender’s side
CyberDefenders flips the usual CTF. You don’t break into a machine. You get evidence from an incident, such as network captures, logs or memory and disk images, and answer investigation questions like a SOC analyst would. It’s the most realistic free introduction to digital forensics and incident response on this list.
The catch: only part of the lab library is free (the rest needs a Pro plan). Some labs run in the browser, while others mean downloading the evidence and opening it in tools like Wireshark. Save it for after you’re comfortable with Linux and networking basics.
6. OWASP Juice Shop: a whole vulnerable online shop
OWASP Juice Shop is an intentionally insecure web shop. It contains flaws from across the OWASP Top Ten and has a hidden scoreboard that tracks the challenges you solve. It feels closer to testing a real application than one-bug-per-page labs do.
Run it locally (no VM, just Docker):
docker run --rm -p 127.0.0.1:3000:3000 bkimminich/juice-shop
Then open http://localhost:3000 in your browser.
The catch: you need Docker or Node.js on your machine. The public demo instance is only a preview, and the project asks people not to attack it. Always hack your own copy.
7. Google Gruyere: a quick web security warm-up
Google Gruyere is a small, deliberately buggy web app from Google, built as a codelab. When you start, it gives you your own sandboxed instance. It walks you through XSS, CSRF, information disclosure and similar bugs, with hints and an explanation of how to fix each one.
The catch: it’s older and much smaller than modern apps. Treat it as a warm-up before PortSwigger or Juice Shop, not as a replacement for them.
Which free cybersecurity lab should you choose?
| Platform | Best for | Runs in | Free-plan catch |
|---|---|---|---|
| TryHackMe | Complete beginners, guided learning | Browser (AttackBox) or VPN | AttackBox 1 hr/day; many paths paid |
| PortSwigger Academy | Web application security | Browser + Burp Suite CE | Later labs need Burp installed |
| OverTheWire Bandit | Linux command line | Terminal over SSH | Not browser-based |
| picoCTF | CTF-style problem solving | Browser + webshell | Steep jump in harder categories |
| CyberDefenders | Blue team, forensics, incident response | Browser or downloaded evidence | Pro labs are paid |
| OWASP Juice Shop | Testing a full web app | Docker/Node.js on your machine | Local install needed |
| Google Gruyere | Quick web-bug warm-up | Browser | Small, older app |
Not sure where to begin? Try this four-week order
•Week 1: OverTheWire Bandit, levels 0 to 10. Get comfortable in the terminal.
•Week 2: TryHackMe free rooms on networking and web basics.
•Week 3: PortSwigger SQL injection and XSS Apprentice labs.
•Week 4: picoCTF General Skills and Web Exploitation, plus one free CyberDefenders lab if the defensive side interests you.
Juice Shop and Gruyere fit in whenever you want a break from structured lessons.
How do you turn lab practice into real skill?
Finishing challenges isn’t the same as learning from them. These are the habits that make the difference, and the mistakes beginners make most often:
1.Don’t open the walkthrough after five minutes. Give yourself a fixed block (30–45 minutes) before you check hints. Being stuck is where most of the learning happens.
2.Write down the root cause, not just the payload. After each lab, finish this sentence: “This worked because the app…”
3.Learn the fix. For every vulnerability, note how a developer would prevent it: parameterised queries, output encoding, proper access checks. Interviewers ask about this side more often than beginners expect.
4.Keep notes you can reuse. One Markdown file per platform, with commands, tools and the mistakes you made. Over time it becomes your personal cheat sheet.
5.Build a small portfolio, honestly. Publish write-ups only where the platform allows it (many ask you not to share solutions to active challenges). Label them as training labs, not professional security work.
Are free labs enough to learn cybersecurity?
They’re enough to start and to find out which side of security you enjoy: offensive, web or defensive. They won’t teach you everything on their own. Most learners still need structured study of networking, Linux administration and security concepts, plus someone to review their work and point out gaps. Use the labs to practise what you study, not instead of studying.
Over to you
Which of these free cybersecurity labs did you try first, and where did you get stuck? If you know another free platform where beginners can practise without building a lab, share it in the comments.
Security reminder: only test systems you own or are explicitly allowed to test, such as these labs and intentionally vulnerable apps. Never try these techniques on real websites, networks or applications without written permission.
Top comments (0)