31
Facebook CTF Platform github.com/facebook/fbctf Paul Marinescu

Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Facebook CTF Platform github.com/facebook/fbctf

Paul Marinescu

Page 2: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Capture The Flag

reverse engineering, forensics, web application security, cryptography,

binary exploitation

Page 3: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 4: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Motivation

Demand for Infosec professions is growing 3.5x faster than the overall IT job market (12x faster than total labor market)

Page 5: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Motivation

The U.S. Bureau of Labor Statistics predicts more than two thirds of the 1.4

million security jobs needed by 2020 will go unfilled

Page 6: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Infosec at Facebook

Security Engineers

Whitehat Program

Page 7: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Educational Tools

• Scarce for schools, students and non-profits

• CTFs can teach more technical skills than an average computer science program

Page 8: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

History

Page 9: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 10: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

We Organized CTFs

• From middle schools to Girl Scouts of America to University of Cambridge to Security Conferences

• ...and dozens of places in-between

Page 11: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Open Source@FB Gained Momentum

• HHVM

• Flow

• osquery

• React

• ... and a lot more

Page 12: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 13: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 14: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 15: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 16: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 17: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 18: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 19: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 20: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

$ git clone \ https://github.com/facebook/fbctf

$ cd fbctf

$ vagrant up

Page 21: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Challenge library available on demand

reverse engineering, forensics, web application security, cryptography, binary exploitation

Page 22: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Two Weeks Later

> 4,000 stars

> 650 forks

3rd party contributions

Page 23: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Under the Hood

• Hack/HHVM

• XHP

• Flow

Page 24: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Bug Bounty

Report through the bug bounty system before sending a pull request

Page 25: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Cambridge CTF April 2016

Page 26: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 27: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

• Organized by Cambridge University and Facebook

• 10 participating UK universities

• Two parallel CTFs (on-site and online)

• 5 hours

Page 28: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Challenges• 30 challenges

• Equal number of quizzes and flags

• One base (king of the hill)

• Guest challenges

• 2 left unsolved

Page 29: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

3 Amazon EC2 instances per CTF

Page 30: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation
Page 31: Facebook CTF Platform - Hack In The Box Security Conference · Capture The Flag reverse engineering, forensics, web application security, cryptography, binary exploitation. Motivation

Happy Hacking! github.com/facebook/fbctf