Lab Icon

Capture the Flag 101: Find and Submit Your First Flag

What is a CTF? Find and submit your first flag step by step

Very Easy Updated 23 Jun 2026 Free Access Solution (Pro)
Capture The Flag CTF CTF Basics Flag Submission UUID Getting Started Cyber Security Fundamentals

New to hacking? This beginner capture the flag cyber security lab walks you through your first flag: find it, copy it, and submit it to score points. No tools or prior experience needed, just follow the steps and learn how HackerDNA works.

1
Flags
50
XP
75%
Success Rate

What is CTF in cyber security?

Capture the flag cyber security is a hands-on way to learn hacking by solving small puzzles called challenges. In a capture the flag exercise, every challenge hides a short secret value known as a flag, and submitting the correct flag is how you score points. On HackerDNA, a flag is almost always a UUID: a long code shaped like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, so it is easy to recognize once you have seen one. This beginner lab answers the question new players ask first, what is CTF, by showing you exactly what a flag looks like and how to submit it.

How this capture the flag lab works

This is the first lab most people run on HackerDNA, and it is easy on purpose. The goal is not to break anything. It is to learn the loop that every other challenge reuses: you open the challenge page, find the flag.txt file, copy the flag it holds, and paste it into the answer box to finish the lab. The guided tasks walk you through each idea one step at a time, so capture the flag for beginners feels clear instead of overwhelming, and you finish with a real picture of how a hands-on challenge is built.

You do not need any tools, accounts, or prior security knowledge. A web browser and the ability to copy and paste are enough. That is deliberate: the first skill to build is the workflow itself, finding your first flag and learning to submit a flag correctly, not a specific exploit.

Why start your capture the flag journey here?

Jumping straight into web exploitation or password cracking is a fast way to feel lost. Starting with a no-pressure capture the flag cyber security lab lets you learn the mechanics, reading a challenge, finding a flag, submitting it, and watching your score change, before any real difficulty is added. Once this lab clicks, the same pattern carries you through SQL injection, hash cracking, and the rest of the HackerDNA catalogue. Thousands of beginners start their cyber security journey with exactly this kind of guided, hands-on practice, and if you ever get stuck, the DNA Coach can explain the next step in plain language.

What You Will Learn

  • Define what capture the flag means in cyber security
  • Identify the UUID flag format that HackerDNA challenges use
  • Locate and open the flag.txt file on a challenge page
  • Submit your first flag correctly to earn your first points
  • Navigate the HackerDNA platform and get unstuck with the DNA Coach

Prerequisites

A web browser Basic copy and paste No coding required Curiosity to learn

Ready to hack this lab?

Create a free account and start practicing cybersecurity hands-on.

Start Hacking - It's Free
Start Your Challenge

Launch your dedicated machine to begin hacking

~1-2 min setup
Dedicated server
Private instance
Standard power
New here? Here's what to do
1
Click "Start Lab" above You'll get your own private machine with an IP address
2
Explore the target Open the IP in your browser and look for vulnerabilities
3
Find and submit flags Flags are secret text strings hidden in the system - paste them below to score

Ready to hack this lab?

Create a free account to start your own dedicated server, submit flags, and earn XP on the leaderboard.

Start Hacking Free
13,000+ Hackers 100+ Labs & Courses Free
Start Hacking Free