Upgrade to Pro — share decks privately, control downloads, hide ads and more …

«CTFZone, или как перестать ресёрчить и полюбит...

OWASP Moscow
December 06, 2019

«CTFZone, или как перестать ресёрчить и полюбить CTF», Никита Вдовушкин, BI.ZONE.

Видео https://www.youtube.com/watch?v=hJ6KYU1A2x8

Встреча Московского отделения OWASP, 6.12.2019 (https://www.meetup.com/OWASP-Moscow/events/266925142/)

OWASP Moscow

December 06, 2019
Tweet

More Decks by OWASP Moscow

Other Decks in Programming

Transcript

  1. CTFZONE 2016 • Individual CTF • Zeronights 2016 • Self-made

    scoreboard (go, reactjs) • 15+ tasks • Jeopardy
  2. WTF Jeopardy • Web • Crypto • Reverse • PWN

    • PPC • MISC (OSINT/Stego/forensics/admin)
  3. CTFZONE 2017 quals • 20 tasks • 36 hours •

    24/7 support • Dynamic scoring
  4. CTFZONE 2017 quals infrastructure • Vscale • Docker • Task

    checker • Primitive Development flow • Grafana • Logstash Problems • High CPU on some tasks • Vscale support
  5. CTFZONE Finals • Onsite • 10 teams • Self-made scoring

    system • Attack/Defense • Zeronights
  6. WTF Attack/Defense • Every team gets same vulnbox • N

    services(n=5) • Checker system • Flag accept Service • 16 hours • DDoS is prohibited • DoS is okay • All packets come from NAT Scoring: • SLA • Attacks • Defense
  7. CTFZONE Finals infrastructure • Checker every 5 minutes • Hypervisor

    with hypervisors • Network UP/DOWN switch • NAT • Moloch
  8. CTFZONE 2019 – development process • Infra team • 6

    tasks teams (WEB, Reverse, crypto, forensics, pwn, ppc) Development (1st September start) • Teams (2 weeks) • Concept and PoC (1 week) • Concept check (50% readiness) (3 weeks) • Task ready (2 weeks) • Test (2 weeks) • Deployment (1 week)
  9. CTFZONE 2019 - concept • Forensics harder than strings •

    Good crypto • Real world web • Modern ppc • 1 ucucuga
  10. CTFZONE 2019 - concept • Forensics harder than strings •

    Good crypto • Real world web • Modern ppc • 1 ucucuga Expectation
  11. CTFZONE 2019 - concept • Forensics harder than strings •

    Good crypto • Real world web • Modern ppc • 1 ucucuga Expectation Reality
  12. CTFZONE 2019 • Gcloud • Kubernetes • Helm • Terraform

    • Prometheus • Grafana • Graylog
  13. CTFZONE 2019 - problems • Google cloud netpolicy • Too

    big RPS on start • Unstable tasks because of logic and RCE • Not enough deployment tests
  14. CTFZONE 2019 – in numbers • 6500 loc code in

    infra • 29 tasks • 634 solutions • 27 tasks top – 1 • 16 tasks top-10