In cybersecurity, CTF stands for Capture the Flag, a specialized competition or training exercise where participants solve computer security puzzles to find hidden text strings known as “flags”. Finding a flag proves that you successfully exploited a vulnerability, broke a code, or analyzed a compromised system. These games provide a safe, legal way to practice real-world hacking and defensive skills.