attack-defence CTF
termKept in this browser · My desk
A CTF format in which every team runs an identical copy of vulnerable services, steals flags from the other teams' copies and patches its own, scoring for attacks, for defence and for keeping services available.
ENISA calls it the earliest CTF format, grown from military and hacker wargames, and finds it mostly in person: nearly a quarter of in-person events against about 5% of online ones. Points are counted per interval, or tick; at DEF CON every team's patches are public, and a 2025 finalist described teams replaying each other's exploits and planting backdoors in patches meant to be copied. CTFtime weights attack-defence events more heavily than others.
Also known as: attack defense, attack-defense, attack/defense, a/d ctf, attack and defence, ataque e defesa
Sources
- ENISA, CTF Events, May 2021 (read 2026-11-15): the earliest CTF format, grown from wargames; points per interval for each host controlled while services stay available; higher barrier to entry; VPN isolation and strictly in-scope targets; nearly 25% of in-person and about 5% of online events
- iCTF, UC Santa Barbara (read 2026-11-15): identical copies of the vulnerable services for every team; attack points for captured flags, defence points for services kept functional and intact
- SRLabs, Competing at the DEF CON CTF Finals 2025 (read 2026-11-15): ticks, traffic replay of other teams' exploits, public patches and backdoored patches at DEF CON
- CTFtime, FAQ (read 2026-11-15): event weight factor X = 2 for attack-defence events and 1.5 for the rest