Home / Computer Science

OverTheWire Bandit: how to start and what you really learn

By Abdiaziz Hassan Duale · 20 November 2026 · 6 min read

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

StageSkills
Early levelsMoving around with ls, cd, cat; files with strange names (spaces, dashes, hidden files)
Searchingfind by size, owner and type; grep; sort and uniq
Data formatsstrings, base64, tr, hex dumps and compressed files
NetworkingSSH keys, connecting to ports with nc and openssl, scanning ports
Later levelsPermissions and setuid, scheduled jobs (cron), shell tricks, and Git

How to get the most out of it

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