What a CTF is, what to install, and a step-by-step plan to your first live competition.
A CTF (Capture The Flag) is a security competition where every challenge hides a secret string — the flag, usually in a format like picoCTF{...} — that you can only reach by finding and exploiting a weakness. You submit the flag, you get the points. Everything in a CTF is built to be broken, which makes it the legal, safe way to learn offensive security.
There are two main formats:
Practice platforms such as OverTheWire and picoGym work like a Jeopardy CTF that never ends: no clock, no ranking pressure, which is exactly what you want at the start. More on how points work in how CTF scoring works, and on flags in CTF flag formats explained.
Jeopardy challenges are grouped by category. You don't need all of them — start with Misc, then follow whatever you enjoy.
Websites and APIs with a flaw to find: injections, broken access control, tampered cookies or forgotten files. Your browser's DevTools and an intercepting proxy like Burp Suite are the main tools.
Weak or misused cryptography: classic ciphers, XOR with a short key, RSA with bad parameters. Recognizing the scheme is often most of the work.
Files, disk images and network captures that hide something: metadata, an appended archive, a deleted file, a flag in a packet stream.
A program whose logic you have to understand without its documentation — often a password check to reverse, from Python or Java source up to compiled binaries.
Make a running program do something it shouldn't, typically through memory corruption such as a buffer overflow. It builds on reverse engineering, so it's usually tackled a bit later.
Find information from public sources: usernames across platforms, photo locations, metadata. No exploitation, just methodical searching.
Everything else, often Linux and command-line skills: finding a file, decoding data, talking to a service with netcat. The best place to start.
You don't need a dedicated machine or expensive tools. This covers the first months:
file, strings and grep solve a surprising share of beginner challenges: see the strings command and binwalk. For an isolated lab, see a CTF practice environment with Docker.Install the rest only when a challenge needs it: Wireshark for network captures, GDB with pwndbg for binaries, nmap and ffuf for recon.
All the paths are listed on learning paths.
Writeups teach the most when you've struggled with the challenge first. A routine that works:
Most online CTF competitions are free to enter, and so are the practice platforms this guide uses: OverTheWire wargames and picoCTF's picoGym. Some competitions hold an in-person final that you qualify for through a free online round.
Not to start. The first Bandit levels only need a terminal and a handful of commands. Scripting becomes useful as challenges get harder — for example to automate a request or decode data — and you can learn it as you go.
Python. It's the language most CTF tools and writeups use for scripts, and it's quick to pick up. Shell basics (bash) come next; being able to read C helps later for reverse engineering and pwn.
Less than you might think: a first flag takes minutes, and the early Bandit levels are short. What matters is regularity — a few sessions a week, trying each challenge yourself before reading the writeup, builds skills faster than occasional long sessions.
Both work. Practice platforms are naturally solo; most competitions accept teams, which lets beginners learn from teammates. If you don't have a team, ask on the CTFdojo Discord — many people look for teammates before weekend CTFs.
Yes, on systems built for it: CTF challenges and wargames are designed to be attacked. The same techniques used anywhere else without permission are illegal — keep your practice on CTF platforms and your own lab.
Re-read the challenge description, list what you've tried, then open the hints at the top of the matching CTFdojo writeup before reading the solution. Asking on Discord with what you've tried usually gets you a nudge rather than a spoiler.
Ask on the CTFdojo Discord — say what you've tried, and you'll get hints rather than spoilers.