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

How to secure your coded infrastructure... - Au...

Avatar for Apollo Catlin Apollo Catlin
September 16, 2015

How to secure your coded infrastructure... - Automacon 2015

Automacon 2015 talk on basic steps to pay attention to while starting the security story of your IaC process.

Avatar for Apollo Catlin

Apollo Catlin

September 16, 2015

Other Decks in Technology

Transcript

  1. @apollocatlin How to secure your coded infrastructure Or Common Sense

    Still Applies… Apollo Catlin, Sr Infrastructure Engineer, Threat Stack Inc
  2. @apollocatlin Mindset Situational awareness, it is more state of mind

    not a skill “Situational Awareness is the ability to identify, process, and comprehend the critical elements of information about what is happening to the team with regards to the mission. More simply, it's knowing what is going on around you.” - Coast Guard
  3. @apollocatlin – Melvin Conway “organizations which design systems ... are constrained

    to produce designs which are copies of the communication structures of these organizations”
  4. @apollocatlin Systems Security in systems is about making your systems

    either cost or time- prohibitive to attack or compromise
  5. @apollocatlin Systems Design in Security Package securely SSL on as

    much traffic as you can handle Key rotation Use an audit tool to keep track of actions inside your system
  6. @apollocatlin The slide where I say application packaging sucks… see

    Joe Damato’s talk… yesterday… he posted the slides on packagecloud.io already
  7. @apollocatlin Benefits Build a base box that can be reviewed

    Boxes can be signed (x509 on AWS), definitely have an audit trail Boxes are built in your account, and saved there. Easy output of multiple formats 2 line config to output a local Vagrant version of the box for testing/dev
  8. @apollocatlin • AWS (EC2 AMI) • DigitalOcean • Docker •

    Google Compute Engine • OpenStack • Parallels • QEMU • VirtualBox • VMware
  9. @apollocatlin Secure Packer Provision/converge/etc. Run your CM system for a

    base set of system configuration Setup monitoring, but do not enable Once that is finished, REMOVE ALL SECRETS before Packer finishes
  10. @apollocatlin SSL Let’s Encrypt Free Comodo SSL Cert Mozilla SSL

    Configuration Generator [https://mozilla.github.io/server- side-tls/ssl-config-generator/] Qualsys SSL Labs [https://www.ssllabs.com/ssltest/]
  11. @apollocatlin Check out these audit frameworks NISPOM - National Industrial

    Security Program CAPP - Controlled Access Protection Profile LSPP - Labeled Security Protection Profile STIG - Security Technical Implementation Guidelines
  12. @apollocatlin Try to to have monitoring be configured and first

    as you converge/ emerge a new system, better to have monitoring/metrics gathering on while you are installing all that cool software you want to track
  13. @apollocatlin Secrets Storage Use your CM, not a bad place

    for this at all. Ansible Vault Chef Encrypted Data Bags Puppet Hiera-eyaml Salt Pillars
  14. @apollocatlin Security Topics to Check Out OODA Loops (Observe-Orient-Decide-Act) Cyber

    Kill Chain (Eric M. Hutchins, Michael J. Cloppert, and Rohan M. Amin, Ph.D.) [http://www.lockheedmartin.com/content/dam/lockheed/ data/corporate/documents/LM-White-Paper-Intel-Driven-Defense.pdf] Leveraging behavioral science to mitigate cyber security risk (Shari Lawrence Pfleeger) [http://www.sciencedirect.com/science/article/pii/ S0167404811001659]