Best lists

12 Best Cybersecurity Games for Students in 2026 (Free & Paid)

The fastest way to learn security is to play it. These games teach real skills — terminal commands, web hacking, phishing defense and incident response.

Cysoro Security TeamPublished · 8 min read
$ hack-the-box> flag captured!+100 CTF? BEST LISTS Cyber games for students Play, learn, defend
Quick answer

For most students, TryHackMe is the best place to start: guided, beginner-friendly rooms with real labs. OverTheWire Bandit is the best free way to learn the Linux terminal, and Hacknet at $9.99 is the best story-driven game for terminal fluency. Younger students should start with Google Interland or the PBS Cybersecurity Lab, both free.

Key takeaways

  • TryHackMe is the best guided starting point for students, with beginner rooms and real hands-on labs.
  • OverTheWire Bandit and Bitburner are free and teach real terminal and scripting skills that transfer to real work.
  • Younger students should start with Interland or the PBS Cybersecurity Lab, not with offensive hacking platforms.

Reading about security is slow. Playing it is fast. The games below teach real skills — typing terminal commands, spotting phishing, breaking into a legal test machine, or defending one — and most of them are free.

How did we choose these cybersecurity games?

We chose games where the skill transfers to real security work: typing real commands, writing real code, or making real defensive decisions. We excluded games that only look like hacking but teach nothing you can use.

We also checked age suitability, price and whether a student can start for free. Prices for Steam games were checked on the Steam store in September 2026 and may change with sales. Free platforms usually have a paid tier, but you can learn a lot on the free tier first.

GameBest forFree planFromKey skill
TryHackMeGuided beginnersYesFreeGuided labs, all topics
Hack The BoxRealistic machinesYesFreePenetration testing
OverTheWire BanditTerminal basicsYesFreeLinux commands
HacknetStory and terminalNo$9.99Unix-style commands
BitburnerScriptingYesFreeJavaScript automation
hackmudMultiplayer scriptingNo$18.99JavaScript, untrusted code
CyberStart AmericaHigh school studentsYesFreeIntro to security
PBS Cybersecurity LabYounger studentsYesFreeDefense decisions
Google InterlandChildren 8+YesFreeOnline safety
PortSwigger AcademyWeb securityYesFreeWeb vulnerabilities
Backdoors and BreachesIncident responseYesFreeDetection, response
UTSA CyBear GamesChildren grades 3+YesFreeBasic cyber hygiene

Which cybersecurity game should a student start with?

Start with TryHackMe if you are 16 or older and want a guided path into real security. Start with OverTheWire Bandit if you want free terminal practice, or with Interland or the PBS Lab if you are younger. Pick one game and finish its first few levels before you try another.

A sensible learning path for students 1Stay safe onlineInterland, PBS Lab,CyBear games 2Learn the terminalBandit, Hacknet,Bitburner 3Guided labsTryHackMe, CyberStart,PortSwigger Academy 4Real machinesHack The Box,CTF competitions Only attack systems you own or that give you permission — that rule never changes.
A four-stage learning path, from online safety to real machines. Illustration by Cysoro.

1. TryHackMe — best for guided beginners

TryHackMe offers guided learning paths with interactive labs and step-by-step tutorials. Each room teaches one topic, gives you hints, and lets you practice on a real virtual machine in your browser.

  • Features: beginner to advanced paths, guided rooms, virtual machines, points and streaks.
  • Pros: best onboarding for beginners, wide topic range, free tier is generous.
  • Cons: some rooms and paths need a paid subscription, and guided rooms can feel slow once you are confident.

Pricing: free tier available; paid subscription for full access. Start free and upgrade only when you hit a locked room you need.

2. Hack The Box — best for realistic machines

Hack The Box is a gamified penetration testing platform with virtual machines to exploit. It mimics real infrastructure and is widely used in bootcamps and by professionals preparing for certifications such as OSCP.

  • Features: vulnerable machines, challenges, Academy courses, rankings and teams.
  • Pros: realistic, respected by employers, good for intermediate and advanced students.
  • Cons: harder for true beginners, and you need some Linux and networking knowledge first.

Pricing: free tier available; paid plans for Academy and VIP access.

3. OverTheWire Bandit — best free terminal game

OverTheWire is a suite of free wargames focused on Linux and command-line skills. Bandit, the first game, teaches you to move around a Linux system, read files and find passwords level by level.

  • Features: SSH-based levels, no installation, progressive difficulty, other wargames such as Narnia.
  • Pros: completely free, teaches real commands, perfect first step before TryHackMe.
  • Cons: text-only, no graphics or story, and it assumes you are comfortable with a terminal.

Pricing: free.

4. Hacknet — best story-driven terminal game

Hacknet is a PC game that puts you in a Unix-style terminal and asks you to probe systems, read files and follow a story. It is the closest a commercial game gets to the feel of real hacking, while staying fictional.

  • Features: terminal interface, story missions, probe and hack commands, mod support.
  • Pros: engaging story, teaches terminal fluency, cheap and often on sale.
  • Cons: commands are simplified, so treat it as practice, not a real system.

Pricing: from $9.99 as of September 2026 on Steam.

5. Bitburner — best for learning to script

Bitburner is a free, open-source incremental game where you progress by writing scripts in JavaScript against the game's own API. You automate hacking, grow your income and unlock new systems.

  • Features: real JavaScript, automation, open source, browser and PC versions.
  • Pros: free, teaches real scripting and automation, good for students who like coding.
  • Cons: slow at first, and the game layer can distract from the code.

Pricing: free.

6. hackmud — best multiplayer scripting game

hackmud is a persistent multiplayer text game set in a retro-cyberpunk world. You run and write scripts, read untrusted code from other players, and compete in a shared world.

  • Features: multiplayer MUD, JavaScript scripting, player-written tools, persistent world.
  • Pros: teaches you to read untrusted code, strong community, unique experience.
  • Cons: steep learning curve and an older interface that puts some students off.

Pricing: from $18.99 as of September 2026 on Steam.

7. CyberStart America — best for high school students

CyberStart America is a free online program designed to introduce high school students to cybersecurity. It combines games, challenges and a curriculum that teachers can use in class.

  • Features: game-based challenges, curriculum for schools, scholarships and competitions in some years.
  • Pros: free, age-appropriate, designed for schools, good first step into security careers.
  • Cons: aimed at US high school students, so availability and content vary by year.

Pricing: free.

8. PBS Cybersecurity Lab — best for younger students

The PBS Cybersecurity Lab is a free browser game that puts you in charge of defending a company. You make decisions about passwords, phishing, updates and incidents, and see the consequences. Harvard's games for learning list includes it among free browser games for students.

  • Features: scenario-based decisions, defensive focus, no installation, classroom-friendly.
  • Pros: free, teaches defense rather than attack, works well in a lesson.
  • Cons: short and simple once you have played it once, and it does not teach technical skills.

Pricing: free.

9. Google Interland — best for children aged 8 and up

Interland is Google's free online safety game, part of its Be Internet Awesome program. Children play through four worlds that teach them to spot phishing, protect passwords, share carefully and be kind online.

  • Features: four game worlds, classroom resources for teachers, browser-based.
  • Pros: free, age-appropriate, trusted by schools, no account needed to play.
  • Cons: too basic for teenagers, and it teaches safety, not technical security.

Pricing: free.

10. PortSwigger Web Security Academy — best for web security

PortSwigger Web Security Academy applies the lab model to web vulnerabilities. You learn about SQL injection, cross-site scripting and other web flaws, then exploit them in a legal lab.

  • Features: free labs, detailed explanations, topics from beginner to advanced.
  • Pros: free, excellent explanations, directly relevant to web development and security jobs.
  • Cons: focused on web security only, and it helps to know basic HTML first.

Pricing: free.

11. Backdoors and Breaches — best for incident response

Backdoors and Breaches is a free card game that teaches defensive thinking. One player attacks, the other defends, and you learn how detection, incident response and MITRE ATT&CK mapping work together.

  • Features: printable card deck, attack and defense cards, incident response scenarios.
  • Pros: free or low cost, teaches defense, works well in a classroom or club.
  • Cons: a tabletop game, not a computer game, so it does not teach hands-on technical skills.

Pricing: free to print; a physical deck is low cost.

12. UTSA CyBear Games — best for young children

The University of Texas at San Antonio Cybersecurity Games feature a character called CyBear in a series of free games for students in grade 3 and higher. They cover passwords, phishing and safe online habits in a friendly format.

  • Features: free browser games, kid-friendly character, short levels.
  • Pros: free, age-appropriate, good for primary school classes.
  • Cons: too simple for older students, and the range of topics is narrow.

Pricing: free.

How to choose a cybersecurity game?

Match the game to the student's age and goal, not to what looks most exciting. A 10-year-old and a 19-year-old need different games, even if both want to learn security.

  • Age 8 to 12: Interland, PBS Cybersecurity Lab and UTSA CyBear Games.
  • Age 13 to 16: CyberStart America, Hacknet and Bitburner, with teacher or parent guidance.
  • Age 16 and up: OverTheWire Bandit, TryHackMe, PortSwigger Academy and Hack The Box.
  • Want to code? Bitburner and hackmud teach real JavaScript.
  • Want defense? PBS Lab and Backdoors and Breaches teach you to protect, not just attack.

Check the time each game takes before you assign it. A Bandit level takes minutes, a TryHackMe room takes an hour, and a Hack The Box machine can take a weekend. Set a clear goal for each session, such as finishing three Bandit levels or one TryHackMe room.

Free vs paid: what you actually get Free games and tiersTryHackMe, Bandit, BitburnerInterland, PBS Lab, CyberStartReal skills, no costSome rooms and machines locked Paid games and tiersHacknet $9.99, hackmud $18.99Full TryHackMe and HTB accessMore rooms, faster progressStill one-time or monthly cost
Most learning is free — pay only when you need the extra rooms. Illustration by Cysoro.

Free vs paid: do students need to pay?

No, not to start. The free tier of TryHackMe, the free OverTheWire wargames, Bitburner, CyberStart, Interland and the PBS Lab will keep a student busy for months. Pay only when you hit a locked room you need, or when you want a story game such as Hacknet.

If you do pay, a one-time Steam purchase is cheaper than a monthly subscription. Hacknet at $9.99 is a good first purchase. A subscription makes sense only if you play several hours a week and have finished the free rooms.

What should students avoid?

Avoid using game skills on real systems. Only attack machines that belong to you or that a platform such as TryHackMe or Hack The Box gives you permission to attack. Testing a school network, a friend's account or a public website without written permission is illegal, even if you mean well.

Avoid games that only pretend to hack. If a game never asks you to type a real command, read a real log or make a real decision, it is entertainment, not learning. It can still be fun, but do not count it as study.

Avoid jumping to the hardest platform first. Students who start on Hack The Box without terminal basics often quit. Finish Bandit and a few TryHackMe rooms first, then move up. You can test your phishing-spotting skills between games with our free phishing quiz.

It also helps to learn how real attacks work, so the games make more sense. Our guide to spear phishing explains the most common targeted attack students and staff will meet.

The bottom line

Start free, start guided, and start legal. TryHackMe for guided labs, OverTheWire Bandit for the terminal, and Interland or the PBS Lab for younger students will teach you more in a month than reading alone will in a year.

Pick one game from this list, finish its first few levels this week, and keep a note of what you learned. That habit — playing, practicing and recording — is what turns a game into a skill. Try the free phishing quiz to see what you already know.

Frequently asked questions

What is the best cybersecurity game for beginners?

TryHackMe is the best beginner platform because it guides you step by step through real labs. OverTheWire Bandit is the best free terminal game, and Hacknet is the best story game for learning Unix-style commands. Start with one, not all three at once.

Are cybersecurity games free for students?

Many are. TryHackMe, Hack The Box, OverTheWire, Bitburner, CyberStart America, the PBS Cybersecurity Lab and Google Interland all have free tiers or are fully free. Paid games on Steam, such as Hacknet at $9.99, are usually one-time purchases.

What age are cybersecurity games suitable for?

Interland, the PBS Cybersecurity Lab and UTSA CyBear games suit children from about age 8. CyberStart America is designed for high school students. TryHackMe, Hack The Box and OverTheWire suit older students, usually 16 and up, with teacher or parent guidance.

Can playing cybersecurity games get you a job?

Games alone do not get you a job, but the skills do. Terminal fluency, Linux, networking, web security and scripting are the same skills employers test for. Use games to learn, then build a portfolio, take a certification and practice on legal labs.

Is it legal to play hacking games?

Yes, when you play on sanctioned platforms such as TryHackMe, Hack The Box and OverTheWire, where the targets are yours to attack. Never use game skills on real systems, school networks or other people's accounts without written permission.

What is the difference between TryHackMe and Hack The Box?

TryHackMe is guided and beginner-friendly, with lessons and hints in each room. Hack The Box is less guided and more realistic, with virtual machines to exploit on your own. Most students should start on TryHackMe and move to Hack The Box when they are comfortable.

Do teachers need an account to use these games in class?

Most platforms offer free individual accounts, and several offer classroom or education plans. Check each platform's education page before you plan a lesson, and test the game yourself first so you know the age level and time it takes.

Sources

  1. TechLearning — Best Cybersecurity Lessons and Activities for K-12 Education
  2. HackerDNA — Hacking Games: 15 That Actually Teach Real Skills (2026)
  3. Fortra — 7 Online Cybersecurity Games that Test Your Cyber Skills
  4. Harvard University — Games for Learning
  5. TryHackMe — Learning Paths
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against TechLearning, Harvard's games list, Fortra and HackerDNA's 2026 game guides, plus official platform pages.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free