~/talk

Golfing with Dragons: Building Secure Environments for CTFs

Talkat DevSecOps Days Pittsburgh 2023 · on Thursday, 2023-05-11· [security]
links:none on file
links:none on file
slides:none on file

Built a Jeopardy-style CTF called ghidra golf that runs arbitrary competitor Java/Python scripts against binaries, threat-modeling rogue competitor, availability, broken challenges. Controls include static scans with Bandit and Yara, image scanning with Trivy, runtime hardening (drop capabilities, seccomp, non-root, read-only mounts), LinPEAS/OpenSCAP checks, and network isolation via Cloudflare tunnels. Monitoring with Prometheus and Grafana detects spikes — one 30 MB static binary caused a 20–22 minute CPU surge with 10–30 simultaneous players and was fixed by redeploying a dynamic build.

AI-written summary · about

  1. 0:00Intro
  2. 0:57DevSecOps & Capture The Flags Competitions
  3. 2:46Ghidra Golf - A Spin on Jeopardy Style CTF
  4. 4:44Threat Modeling YOUR Competition
  5. 5:18Rogue Competitors - How to safely enable arbitrary code execution
  6. 6:14Infrastructure Availability
  7. 7:29Resolving Broken Challenges
  8. 8:39Infrastructure Monitoring - Identifying Broken Challenge
  9. 10:16Implementing Controls Throughout the Competition
  10. 14:03Example - Bandit Scans
  11. 15:38Example - YARA Rule Implementation
  12. 19:15Example - Hardening Runtime
  13. 22:06Example - Privilege Escalation Opportunities in Images
  14. 24:20Isolated Host-Container Overlay Networks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.