Home / Computer Science / Practice labs
๐ฎ Learn cyber security by playing
Tutorials only take you so far โ real skill comes from doing. These are the 32 platforms I recommend for practising real hacking and defence, legally and mostly for free: from your first Linux command to breaking AI chatbots.
New to security?
Start here โ in this order
- OverTheWire BanditGet comfortable in the Linux terminal.
- picoCTFSolve your first beginner challenges.
- TryHackMeFollow guided paths to build real skills.
- PortSwigger AcademyLearn how websites get hacked โ and fixed.
- Pick your sideHack The Box to attack, or LetsDefend to defend.
Play fair: only attack systems on these platforms, or ones you own or have written permission to test. Hacking anything else is illegal โ and these sites exist so you never need to.
Foundations
Start here if you're new. Get comfortable with Linux and learn how attacks like phishing work.
OverTheWire โ Bandit
โ My pickLearn the Linux terminal level by level over SSH. My #1 first step.
OverTheWire โ Leviathan
The next wargame after Bandit: common tools, file permissions and simple programs.
NOVA Cybersecurity Lab
A friendly game from PBS about passwords, phishing and defending a company. Great for teens.
Google Phishing Quiz
Can you spot the fake email? A quick quiz that trains your eye.
Hacknet
A story-driven hacking game played in a terminal. Fun way to learn the feel of the command line.
CTF platforms
Capture-the-flag sites: solve challenges, find the hidden flag, climb the leaderboard.
picoCTF
Carnegie Mellon's beginner-friendly CTF with a large practice gym, open all year.
TryHackMe
โ My pickGuided rooms and learning paths in your browser โ for both attack and defence.
Hack The Box
โ My pickRealistic machines to break into, plus HTB Academy to learn the theory behind them.
Root Me
Hundreds of challenges across web, networks, cryptography, forensics and more.
pwn.college
Arizona State University's free dojo for Linux, systems and exploitation skills.
CTFtime
The calendar of live CTF competitions worldwide. Join a team and compete.
Web app security
Most real attacks hit websites. Learn to find โ and fix โ the most common web vulnerabilities.
PortSwigger Web Security Academy
โ My pickFree, high-quality labs for every major web vulnerability, from the makers of Burp Suite.
OWASP Juice Shop
A deliberately insecure online shop you run yourself and hack safely.
OverTheWire โ Natas
A web wargame in the browser: learn server-side security step by step.
Hacker101 CTF
HackerOne's training CTF โ practice the skills used in real bug bounty hunting.
Google Gruyere
A small, buggy web app with lessons: find and fix XSS, CSRF and more.
Cryptography
Understand how encryption works โ and how it breaks when it's used the wrong way.
Reverse engineering & binaries
Take programs apart to see how they work โ the skill behind malware analysis and exploit research.
Blue team & forensics
Defence is where most security jobs are: monitor alerts, investigate incidents and hunt threats.
LetsDefend
โ My pickA SOC analyst simulator โ triage realistic alerts like on the job.
CyberDefenders
Blue team labs in forensics, threat hunting and incident response.
Blue Team Labs Online
Gamified defence challenges and investigations.
Malware-Traffic-Analysis.net
Real network captures of infections to investigate with Wireshark.
AI security
The newest field in security: trick chatbots and AI agents, and learn how to protect them.
Lakera โ Gandalf & Agent Breaker
Trick an AI into revealing its secret password, then move on to attacking AI agents.
Prompt Airlines
A CTF by Wiz: talk an airline's AI chatbot into giving you a free ticket.
Dreadnode Crucible
AI red-team CTF challenges (free account needed).
Gray Swan Arena
Live challenges to red-team leading AI models โ some with prizes.
Web3 & smart contracts
Blockchain code moves real money, so its bugs are expensive. Learn to find them.
Want someone to guide you?
I mentor students through TryHackMe, Hack The Box and OverTheWire step by step โ and I teach CCNA and Linux in Af-Soomaali on my YouTube channel.