About CTFd
CTFd is an open-source framework for running Capture The Flag competitions. Organizers create challenges, hints and flags in an admin panel; players or teams solve them for points on a live scoreboard. It is a Python app, licensed Apache-2.0 and extended through plugins and themes.
A CTF needs a server that stays up for the whole event and can go away afterwards. Hourly billing fits: deploy the day before, snapshot the final state for write-ups, delete it when scoring closes.
After deploy CTFd serves on port 8000 and opens its setup wizard on the first visit.
What you get with CTFd
- Challenges with categories, hints and multiple flags
- Dynamic scoring that drops as solves rise
- Paid hints and prerequisite-gated challenges
- Individual or team competitions
- Scoreboard with tie resolution, hiding and freezing
- Plugins, themes and full event export
CTFd use cases
- A university security club's yearly CTF
- Internal security training with practice challenges
- A conference CTF with team registration
After you deploy CTFd
- Open http://<server IP>:8000 once the server shows Running; a fresh CTFd starts its setup wizard.
- Enter the event name and description, pick user or team mode, and create the admin account.
- Set start and end times, email settings and registration rules in the admin panel before you announce the URL.
- Serve the site on a domain with HTTPS so player logins and flag submissions travel encrypted.
CTFd ports
Open these in your firewall if you use one: 8000/tcp CTFd web app.
CTFd FAQ
How big a server does a CTF need?
CTFd's docs ask for a dual-core CPU with 1 GB of RAM and recommend four cores with 2 GB. For a busy event, 8 GB of RAM and 4 vCPUs ($21.18) leave memory to spare for the database and Redis.
Can I reuse challenges next year?
Yes. CTFd exports an event (challenges, users and scores) as an archive that you can import into a fresh instance.
Disclaimer. The CTFd project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.