Logo
CEH v13

Ethical Hacking Labs for Beginners: Where to Practice Legally

Ethical Hacking Labs for Beginners: Where to Practice Legally

Short answer: The best beginner ethical hacking labs are TryHackMe for guided learning, PortSwigger Web Security Academy for free web-security practice, OWASP Juice Shop for a realistic vulnerable app, Hack The Box for a step up in difficulty, and VulnHub for offline practice on downloadable machines. All are legal to attack because their owners built them for exactly that purpose.

TL;DR: Start with TryHackMe or PortSwigger Web Security Academy for guided, legal practice — both are free to begin and cover the core web and network attack skills that underpin every ethical hacking certification.

Key Takeaways - Never test systems you do not own or have explicit permission to test. Use purpose-built labs instead. - TryHackMe and PortSwigger's Web Security Academy are the gentlest on-ramps for absolute beginners. - Hack The Box adds difficulty once you have the basics; VulnHub lets you practice offline. - Pair hands-on labs with a structured curriculum so you learn methodology, not just individual tricks.

The one rule that matters most

The one rule that matters most

Before any platform, learn the rule that keeps ethical hacking ethical: only ever attack systems you own or are explicitly authorized to test. Scanning or exploiting systems without permission is illegal in most countries, regardless of intent. The platforms below exist precisely so you can practice real techniques legally, because their owners published them as deliberately vulnerable targets.

The best beginner lab platforms

The best beginner lab platforms

TryHackMe — best guided start

TryHackMe uses gamified, step-by-step "rooms" that hold your hand through concepts. For an absolute beginner, this is usually the easiest place to build momentum, because each room explains what to do and why. Its structured learning paths take you from fundamentals through practical attacks.

PortSwigger Web Security Academy — best free web practice

Built by the makers of Burp Suite, PortSwigger Web Security Academy is free and excellent. Its labs walk you from basic SQL injection and cross-site scripting up to advanced topics like request smuggling, each with a clear objective. If you want to focus on web application security, this is the gold standard.

OWASP Juice Shop — best realistic app

OWASP WebGoat is worth knowing about too, but for a realistic full-app experience, OWASP Juice Shop is the go-to: a modern, deliberately insecure web application with a large set of hacking challenges spanning the OWASP Top 10. It feels like a real app, you can self-host it for free, and it is maintained by the respected Open Worldwide Application Security Project.

Hack The Box — best step up

HackTheBox offers active and retired vulnerable machines plus challenges. The learning curve is steeper than TryHackMe, so it works best once you have fundamentals. Its guided Academy modules soften the climb if you want structure.

VulnHub — best offline option

VulnHub provides downloadable vulnerable virtual machines you run locally. It is ideal when you want to practice exploitation and note-taking offline, on your own schedule, with no subscription.

Worth knowing

DVWA, OWASP WebGoat, OverTheWire wargames, and picoCTF are all additional free, legal options as you progress.

Match the platform to your level

Match the platform to your level
Lab platforms by difficulty and amount of guidance A quadrant chart. TryHackMe and PortSwigger Web Security Academy are high guidance and lower difficulty. Hack The Box and VulnHub are lower guidance and higher difficulty. OWASP Juice Shop sits in the middle. Where each platform fits Difficulty → Guidance → TryHackMe PortSwigger Web Security Academy OWASP Juice Shop Hack The Box VulnHub Qualitative positioning to guide platform choice by experience level.
Figure 1. Start top-left and work toward the bottom-right as your skills grow.
Platform Best for Difficulty Cost
TryHackMe Guided, gamified start for absolute beginners Low Free tier + subscription
PortSwigger Web Security Academy Free web-security practice (SQLi, XSS, more) Low to high Free
OWASP Juice Shop Realistic vulnerable app, 100+ challenges Medium Free (self-hosted)
Hack The Box A step up once you have fundamentals Medium to high Free tier + subscription
VulnHub Offline practice on downloadable machines Medium to high Free

How to practice effectively

  • Follow a path, not random boxes. Beginners learn faster with a sequence that builds on itself.
  • Take notes. Record commands and findings. This habit mirrors real engagement reporting and speeds up later challenges.
  • Understand, don't copy. When a walkthrough shows a step, make sure you know why it works before moving on.
  • Set a routine. Thirty focused minutes a day beats occasional long sessions.

Where labs fit in your learning

Labs build skill, but on their own they can leave gaps in methodology. Pair them with fundamentals and a structured curriculum. If you are just beginning, read how to start ethical hacking with no experience, and when you are ready to validate your skills under exam conditions, review the CEH v13 syllabus to understand which lab topics map to which modules, then follow the CEH practical exam prep guide when you are ready to sit the exam.

Frequently asked questions

What are the best ethical hacking labs for beginners?

TryHackMe is the gentlest guided start, PortSwigger Web Security Academy is the best free web practice, OWASP Juice Shop is a realistic vulnerable app, Hack The Box is a step up, and VulnHub lets you practice offline.

Yes. Each platform was built by its owners as a deliberately vulnerable target for practice. The one rule that always applies: only ever attack systems you own or are explicitly authorized to test.

Which lab is best for an absolute beginner?

TryHackMe and PortSwigger's Web Security Academy are the gentlest on-ramps. TryHackMe uses step-by-step rooms that explain each concept, and the Web Security Academy is free with clear objectives for every lab.

How should I practice to improve fastest?

Follow a structured path rather than random boxes, take notes on every command and finding, make sure you understand why each step works, and practice in short, consistent sessions.


ThreatBlock's CEH v13 course combines 220+ guided labs with a structured curriculum so your practice builds real, job-ready methodology.

About the author: Samaksh is Lead Instructor at ThreatBlock and holds the OSCP, CRTP, CRTO, and CEH certifications, with hands-on experience in penetration testing and red teaming. Read more on the author page · Editorial policy.

← Back to all articles
{{ toast }}