Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Last active September 11, 2018 18:53
Show Gist options
  • Save carnal0wnage/6f9debf11abcc9a5bf0a to your computer and use it in GitHub Desktop.
Save carnal0wnage/6f9debf11abcc9a5bf0a to your computer and use it in GitHub Desktop.

##"DevOops & How I Hacked You"##

Ken Johnson @cktricky

Chris Gates @carnal0wnage

Devops Days Washington DC 12 June 2015

Devopsdays DC slides

Longer Version of the talk here:

LASCON 2014 Slide Deck

LASCON Video

###What we want you to take away from this talk###

  • Don’t prioritize speed over security

  • Understand devops tools’ auth model...or lack of it

  • Out of date or insecure implementation can lead to pwnage

  • Developers building infrastructure can be dangerous without thought and training around security

###Searching###

###Stealing###

###Smashing###


  • Elasticsearch
    • No Authentication
    • Can search stored data via HTTP API
    • Update data with PUT request
    • Join an open cluster and receive all data
      • RCE prior to 1.2.0 (CVE-2014-3120)
      • RCE prior to 1.5.0* (CVE-2015-1427)

###What you can do tomorrow###

  • Understand that most devops tools take the approach of: “If you can talk to me I trust you”
  • Its ok to empower dev/ops people to do security too
  • If you have Jenkins, make sure it requires authentication
  • If you have elasticsearch, upgrade
  • Search github/bitbucket/google code for your sensitive information
  • Update to latest versions of your devops tools
  • Understand which tools are deployed in your environment and monitor for security updates
  • Jenkins API key == password (protect them)
  • Monitor/review code for stored passwords/api keys
  • Redis require authentication && upgrade

###Devops Fails Links###

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment