When students ask me where to begin with cybersecurity, my answer is almost always the same: OverTheWire Bandit. It's free, it runs in a real Linux terminal, and every level teaches exactly one new skill. By the end, the command line stops feeling scary — and that is the foundation for everything else.
What is Bandit?
Bandit is a "wargame": a chain of levels on a remote Linux server. In each level you log in as a user (bandit0, bandit1…), and your job is to find the password for the next level, hidden somewhere on the system. To find it, you need to learn a new command or idea.
How to connect
You need an SSH client. On Linux and macOS it's already installed; on Windows 10/11 open PowerShell — ssh is built in. Then type:
ssh bandit0@bandit.labs.overthewire.org -p 2220
The password for level 0 is bandit0. Read the instructions for each level on the official Bandit page before you start it.
What each stage teaches
| Stage | Skills |
|---|---|
| Early levels | Moving around with ls, cd, cat; files with strange names (spaces, dashes, hidden files) |
| Searching | find by size, owner and type; grep; sort and uniq |
| Data formats | strings, base64, tr, hex dumps and compressed files |
| Networking | SSH keys, connecting to ports with nc and openssl, scanning ports |
| Later levels | Permissions and setuid, scheduled jobs (cron), shell tricks, and Git |
How to get the most out of it
- Read the manual first. Type
man findbefore searching the internet for answers. Learning to read documentation is half the skill. - Keep notes. For every level, write the command that worked and why it worked. Your notes become your personal Linux handbook.
- Don't rush. One or two levels a day is fine. Understanding beats speed.
- Don't look up solutions unless you've been stuck for a long time — and even then, read a hint, not the answer.
- Don't share passwords. OverTheWire asks players not to publish level passwords or full solutions.
You don't learn Linux by reading about Linux. You learn it by being stuck at a prompt, and getting yourself unstuck.
What comes after Bandit?
Once you finish, you'll be comfortable enough to move to TryHackMe's Pre Security and Cyber Security 101 paths, and later to Hack The Box Starting Point. I explain that whole path on the Computer Science page.
If you want someone to guide you level by level, I mentor students through exactly this journey — get in touch.
← Back to Computer Science