Lesson 20: Capstone: A Security Audit and Capture-the-Flag Plan
This is the lesson where everything comes together. Your capstone has two parts: a security audit of a real system you are allowed to examine, such as your own accounts, your family's home network, or a school club's website, and a plan for a Capture-the-Flag exercise, a legal, safe competition in which participants find and fix weaknesses in a purpose-built practice system. Both parts use every skill in this course, from threat modelling to incident response, and both are done with permission, in writing, and without touching any system you do not own or have permission to test. The best capstones are honest and useful: a clear report that a real person can act on, and a plan that a real team could run.
Part one: the security audit
An audit is a systematic check of how secure something is, and yours will follow the structure of this course. Start by writing down the scope: exactly what you are allowed to examine, and who gave you permission, in writing, because an audit without permission is not an audit. Then list the assets, the threats, and the vulnerabilities, using the method from Lesson 1, and check each one against the CIA triad from Lesson 2. Then work through a checklist: are passwords long and unique, is MFA on, is software updated, are backups kept, are privacy settings sensible, and are the people who use the system aware of phishing? For each finding, write what you found, how serious it is, and what should change, in plain language, and finish with a short list of the three most important actions, because a report that asks for everything will achieve nothing, while a report that asks for three things will usually get them done.
Part two: the Capture-the-Flag plan
A Capture the Flag, or CTF, is a competition in which participants solve security challenges, such as finding a hidden message, fixing a vulnerable page, or tracing an attack in a log file, and each solved challenge earns a flag, a short string that proves it was solved. Your plan should describe a small CTF for beginners, run on a purpose-built practice platform such as TryHackMe or Hack The Box, or on a practice system your teacher provides, never on a real system. The plan should name the audience, the challenges, in order from easiest to hardest, the rules, including that all work stays inside the practice environment, the time allowed, and how the results will be judged, with points for solving challenges and for writing a clear report of how each one was solved. Include at least one challenge for each of the course's main topics, such as a weak password, a phishing email, a hash to crack in the lab, and a web page with a flaw to find and fix, and write the solution notes yourself, so you know each challenge is solvable and fair.
Writing the report
A good security report is written for the person who must act on it, not for the person who wrote it, so keep it short, clear and honest. Start with a one-paragraph summary: what you examined, what you found, and the three most important actions. Then list each finding with three parts: what it is, why it matters, and what to do about it, in plain language, without jargon, and without blaming anyone. Then describe the CTF plan, with its challenges, rules and schedule, and finish with what you would do next if you had more time. A report that is honest about what you could not check is more trustworthy than one that pretends to cover everything, and a report that a non-technical person can understand is more useful than one only an expert can read, because the person who must act on it is usually not an expert.
Presenting and next steps
Present your capstone to your teacher, your family, or your class, and be ready to answer questions about your findings and your plan. If the audit found real problems, help fix the three most important ones, and check a week later that the fixes are still in place. If you enjoyed the CTF plan, run a small version of it with friends, using a legal practice platform, and write up what happened. And if you want to go further, the next steps are clear: join a school cyber club or a CTF team, work through the free beginner rooms on a practice platform, and consider a certification such as CompTIA Security+ when you are ready. You started this course by learning to think like a defender; you finish it by doing a defender's real work, with permission, with honesty, and with the aim of making something safer than you found it.
Watch & Learn
One video to watch for this unit, from a trusted educator.
- Learn Parrot OS from Scratch – Ethical Hacking for Beginners — freeCodeCamp.org
A hands-on ethical hacking crash course that works entirely inside a legal Capture-the-Flag lab: scanning, enumeration and reporting, with permission, on purpose-built practice systems.
Key Terms
- Security audit
- A systematic check of how secure a system is, with findings and recommended actions.
- Scope
- The defined limits of an audit or test, saying what may be examined and what may not.
- Finding
- One problem discovered in an audit, with what it is, why it matters, and what to do about it.
- Capture the Flag (CTF)
- A security competition where participants solve challenges in a practice environment and earn flags for each one solved.
- Flag
- A short string that proves a CTF challenge was solved.
- Report
- A written account of an audit or a test, written for the person who must act on it.
Discussion Questions
- Why must an audit have written permission and a defined scope before it begins?
- Why should a report ask for three actions rather than thirty?
- What makes a CTF challenge fair, and how would you check that yours are?
Practice Questions
- What should you write down before starting an audit?
- What three parts should each finding in a report have?
- What is a Capture the Flag?
- Why should a CTF use a purpose-built practice platform, never a real system?
- Why is a report that is honest about what it could not check more trustworthy?
Show answers
- The scope, and who gave you permission, in writing. An audit without permission and a defined scope is not an audit.
- What it is, why it matters, and what to do about it. Written in plain language, without jargon and without blame.
- A competition where participants solve security challenges in a practice environment and earn a flag for each one solved. All work stays inside the practice system, with permission.
- Because practice systems are designed to be attacked, with permission, for learning. Testing a real system without permission is a crime.
- Because it shows the writer knows the limits of their work. Pretending to cover everything hides gaps that could matter.