Live data from Hacker News

Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

news.ycombinator.com

11–20 of 23 posts

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#13
If anyone is interested in a seeing a high-level real world CTF in action, I would recommend this video: https://www.youtube.com/watch?v=ozqOlUVKL1s. As someone who has experience with programming but not as much experience in reverse engineering / security, the entire channel has been quite amazing.

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#14
Christmas CTF https://twitter.com/sudosev/status/1075213434273320960 https://pastebin.com/raw/7VL6usg6 https://pastebin.com/raw/Sm9PCxWv https://twitter.com/sudosev/status/1079069504498556930

HACKvent 2018 https://hackvent.hacking-lab.com

SANS Holiday Hack Challenge 2018 https://www.holidayhackchallenge.com/2018

GreHack 2018 https://2018.challenge.grehack.fr writeup https://www.synacktiv.com/posts/challenges/grehack-2018-qual...

CSAW Red Team Competition 2018 https://red.csaw.io/challenges

Hacktober.org https://hacktober.org

Advent Calendar of Advanced Cyber Fun 2018 https://xmas.rip repository https://github.com/takeshixx/advent-calendar-2018 writeup https://gist.githubusercontent.com/BenGardiner/03e2a7edeb764... writeup https://emanuelduss.ch/2018/12/advent-calendar-of-advanced-c...

OverTheWire Advent Bonanza 2018 https://advent2018.overthewire.org writeup https://ctftime.org/event/721/tasks

35C3 https://archive.aachen.ccc.de/35c3ctf.ccc.ac/challenges/inde... writeup https://ctftime.org/event/718/tasks

HITB-XCTF Dubai CTF 2018 https://ctftime.org/event/720

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#17

I ran the DEF CON CTF from DEF CON 20 to DEF CON 25. Prior to that, I won a few. I know order of the overflow is running a good game now. It’s different than what we did, but it’s a good direction, and I am hopeful it will continue to grow. They (like we did) have a few selected prequalification events tbgat are generally pretty high quality. See https://www.oooverflow.io/dc-ctf-2019-quals/ PlaidCTF was an old favori…

>seems to understand what makes a good challenge, what makes a challenge hard, and more importantly, what DOESNT make a good/interesting challenge

Any tips in this area?

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#18
post #17

I ran the DEF CON CTF from DEF CON 20 to DEF CON 25. Prior to that, I won a few. I know order of the overflow is running a good game now. It’s different than what we did, but it’s a good direction, and I am hopeful it will continue to grow. They (like we did) have a few selected prequalification events tbgat are generally pretty high quality. See https://www.oooverflow.io/dc-ctf-2019-quals/ PlaidCTF was an old favori…

>seems to understand what makes a good challenge, what makes a challenge hard, and more importantly, what DOESNT make a good/interesting challenge Any tips in this area?

Like with any puzzle design. You can make any puzzle easily very difficult (by adding multiple steps, red herrings, ...). It's much more difficult to make it difficult _and_ rewarding. Make the puzzle solver only have to use knowledge acquired while examining the challenge and don't make them guess, and don't overflow them with information. Finally, test your challenges on your teammates.

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#19
post #17

I ran the DEF CON CTF from DEF CON 20 to DEF CON 25. Prior to that, I won a few. I know order of the overflow is running a good game now. It’s different than what we did, but it’s a good direction, and I am hopeful it will continue to grow. They (like we did) have a few selected prequalification events tbgat are generally pretty high quality. See https://www.oooverflow.io/dc-ctf-2019-quals/ PlaidCTF was an old favori…

>seems to understand what makes a good challenge, what makes a challenge hard, and more importantly, what DOESNT make a good/interesting challenge Any tips in this area?

Like many things, this can be a matter of preference, but here's the rules of thumb I try to follow when writing challenges, and the things I appreciate when playing challenges.

* Avoid intentional red herrings, full stop. Your players have a limited amount of time in their lives, and a limited amount of time in your game. If you've got a plausible-looking path of investigation which actually serves to intentionally waste their time, it's super frustrating.

* Keep your challenge as focused as is reasonable. This avoids wasting your participants' time, as above. This also gets across the flavor or educational content of your challenge more effectively. Also, this does a lot to help prevent unintentional shortcuts around the intended solution.

* Make it unambiguous and obvious when a challenge has been solved. While not appropriate for all types of CTF, in CTFs I've run, we try to use ascii-based keys that have content related to the theme/solution. For example, a session-hijacking challenge might reward you with the flag "c00kies_r_d3licous". That said, some CTFs use randomly generated hexadecimal strings of a specific length, for rotating flags. Whatever you do, it's important to remain _consistent_ across all your CTF's challenges.

* Avoid "guess what the author was thinking" in your challenges. For example, if you use a freely available but obscure steganography program to hide a message in an image, using a 1-word dictionary password, you might think it's a relatively simple challenge, but your participants won't even know where to start. If they guess that what you were thinking was "stenography with a simple password", they'll likely have no more direct course to solving it than "download a bunch of stego programs, and brute-force combinations". And, they have no real _reason_ to believe that's the correct course, as opposed to all kinds of other avenues of investigation.

* As specific examples of the above, I'd recommend basically never doing a cryptography challenge, without giving the participants an implementation of the cryptosystem, whether in source code or binary format. Similarly, most exploitation challenges should give out either source, binary, or both.

* Similarly, if you do a multi-stage challenge, it's helpful to make it clear when one stage is solved. In some cases, I've given a separate flag to each stage of the multi-stage challenge, so lesser-skilled teams can still score partial credit.

* Have a clear idea of which skill or piece of knowledge the challenge is testing for or educating about. In my opinion, some of the most fun and memorable challenges are ones in which I independently rediscover a well-known class of vulnerability, or CS concept.

* Playtest! Get at least one team member to try out your challenge, give you commentary on what they're thinking and investigating, and see if they solve it, how long it takes, and what they run into. Try not to give hints, except where it's reasonable to unstick and expedite the playtest process.

* Play in CTFs! Pay attention to what creates joy or frustration in you while you play.

For context, the CTFs I've run have been more focused on creating an enjoyable experience for a wide range of skill levels, from newbie to pro, rather than high-level, cutting edge competition. Both are entirely valid realms, and there's likely other interesting focuses for CTFs as well - just understand what you want the emphasis of your CTF to be. Depending on your focus, you might want to do the _opposite_ of some of this advice. But, I'd recommend being aware of these points, and intentionally choosing which direction you want to go.

Hope that helps.

Re: Ask HN: Anyone Interested in Capture the Flag (CTF) Events?

#20
post #19
post #17

Earlier quoted context omitted.

>seems to understand what makes a good challenge, what makes a challenge hard, and more importantly, what DOESNT make a good/interesting challenge Any tips in this area?

Like many things, this can be a matter of preference, but here's the rules of thumb I try to follow when writing challenges, and the things I appreciate when playing challenges. * Avoid intentional red herrings, full stop. Your players have a limited amount of time in their lives, and a limited amount of time in your game. If you've got a plausible-looking path of investigation which actually serves to intentionally…

I don't think I can add much more than what was included in this very well thought out answer. I will double down on "Make it unambiguous and obvious when a challenge has been solved." ALL of our flags started with "The Flag Is: ", and that string was NEVER allowed to show up outside of the answer. It made some classes of file carving challenges not possible to do well (because they could be solved with grep...), but I'd argue that those aren't great challenges to begin with. When we did come up with challenges like that, it forced us to be more thoughtful about what made the challenge difficult through being clever, instead of just by brute force red herrings.

Hack.lu in 2018 had a pretty bad challenge that left a bad taste in a lot of players mouths. https://twitter.com/fluxfingers/status/1053279841578086406 describes some of the thinking in making that challenge. I disagree with things like that, though.

Also, meta, but on challenge design: if you're gating your challenges, keep in mind that your final challenges may need to be opened sooner than the last hours of your competition. There's an expectation that challenges get harder as the game goes on, but also, the teams are getting tired, and the time left in the game is going down. We viewed challenges that remained completely unsolved at game close as minor failures. I think one year we didn't let the final challenges open as there was too little time left at the end of the game, so we rolled them over to the following year.

Post reply on HN