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

AppSec is Eating Security

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Avatar for AppSecCalifornia AppSecCalifornia
February 24, 2015
130

AppSec is Eating Security

Avatar for AppSecCalifornia

AppSecCalifornia

February 24, 2015

Transcript

  1. AppSec is Eating Security P R E S E N

    T E D B Y A l e x S t a m o s ⾇ A p p S e c C a l i | J a n u a r y 2 7 , 2 0 1 5
  2. 2

  3. Most enterprises are not safe 3 • Big Banks +

    other FIs • Defense Industrial Base • Oil and Gas • Critical Infrastructure • Big Tech • Some Retail “SECURE 100”
  4. Most enterprises are not safe 3 • Big Banks +

    other FIs • Defense Industrial Base • Oil and Gas • Critical Infrastructure • Big Tech • Some Retail Everybody Else “SECURE 100” “TOASTED 400”
  5. Most enterprises are not safe 3 • Big Banks +

    other FIs • Defense Industrial Base • Oil and Gas • Critical Infrastructure • Big Tech • Some Retail Everybody Else “SECURE 100” What are they missing? • Secure software engineering • Engineering focused IR • Ability to create, not buy, solutions “TOASTED 400”
  6. 5 Arista 7508E 1152 x 10GbE 30Tbps backplane 5kW Palo

    Alto 7050 120Gbps throughput 2.4kW Security hardware is becoming un-buyable
  7. 6

  8. 6

  9. Containerization collapses the security perimeter 7 No: • Virtual soundcard

    • Guest OS patching • VT-x enforcement • Network controls • Stable naming • 1:1 service relationships Diagrams from docker.com
  10. Containerization collapses the security perimeter 7 In the long run,

    this is a good thing! In the short term, it’s a mess to deal with! No: • Virtual soundcard • Guest OS patching • VT-x enforcement • Network controls • Stable naming • 1:1 service relationships Diagrams from docker.com
  11. Apps have to be secure by default 10 How many

    developers understand the security risk they imported? https://code.google.com/p/mustache-security/ by cure53.de
  12. App Sec doesn’t have to be realtime or inline 11

    ▪ 10Gb Ethernet = 67ns between frames
  13. App Sec doesn’t have to be realtime or inline 11

    ▪ 10Gb Ethernet = 67ns between frames ▪ 100Gb Ethernet = 6.7ns between frames
  14. App Sec doesn’t have to be realtime or inline 11

    ▪ 10Gb Ethernet = 67ns between frames ▪ 100Gb Ethernet = 6.7ns between frames
  15. App Sec doesn’t have to be realtime or inline 11

    ▪ 10Gb Ethernet = 67ns between frames ▪ 100Gb Ethernet = 6.7ns between frames Is this actually necessary? No. Is it a good idea? Probably not.
  16. Accept that the browser is the new OS 14 I

    hate it when good points get twisted to prevent progress
  17. Network security must be transparent to applications 15 ▪ DNSSEC

    is dead. Several reasons why…. › Complexity: dnsviz.net via @jpmens
  18. Network security must be transparent to applications 15 ▪ DNSSEC

    is dead. Several reasons why…. › Complexity: › Not end-to-end. How much do you trust your DNS provider? dnsviz.net via @jpmens
  19. Network security must be transparent to applications 15 ▪ DNSSEC

    is dead. Several reasons why…. › Complexity: › Not end-to-end. How much do you trust your DNS provider? › Invisible to user applications! dnsviz.net via @jpmens
  20. Build apps that are safe, not just secure 16 ▪

    Way too little focus on user experience ▪ Classic difficult example is cert info (see APF tonight)
  21. What is a safe app? 17 ▪ Safest mode is

    the default ▪ Automatically fixes itself
  22. What is a safe app? 17 ▪ Safest mode is

    the default ▪ Automatically fixes itself ▪ Fails gracefully instead of failing insecurely and immediately ▪ Including client-side failures
  23. What is a safe app? 17 ▪ Safest mode is

    the default ▪ Automatically fixes itself ▪ Fails gracefully instead of failing insecurely and immediately ▪ Including client-side failures ▪ Recognizes the difficulties it’s users face
  24. What is a safe app? 17 ▪ Safest mode is

    the default ▪ Automatically fixes itself ▪ Fails gracefully instead of failing insecurely and immediately ▪ Including client-side failures ▪ Recognizes the difficulties it’s users face ▪ Takes into account the entire lifecycle of the user
  25. What is a safe app? 17 ▪ Safest mode is

    the default ▪ Automatically fixes itself ▪ Fails gracefully instead of failing insecurely and immediately ▪ Including client-side failures ▪ Recognizes the difficulties it’s users face ▪ Takes into account the entire lifecycle of the user Yes, I’m a security paternalist
  26. Passwords are dead 18 Every big password dump has 10-20%

    matches ▪ SMS › Lowest common denominator › Surprisingly expensive › Unreliable › Insecure in many countries
  27. Passwords are dead 18 Every big password dump has 10-20%

    matches ▪ SMS › Lowest common denominator › Surprisingly expensive › Unreliable › Insecure in many countries ▪ TOTP › Bad user experience › Many apps means no control over seeds
  28. Passwords are dead 18 Every big password dump has 10-20%

    matches ▪ SMS › Lowest common denominator › Surprisingly expensive › Unreliable › Insecure in many countries ▪ Push notifications › Much more secure › Require more user interaction ▪ TOTP › Bad user experience › Many apps means no control over seeds
  29. Passwords are dead 18 Every big password dump has 10-20%

    matches ▪ SMS › Lowest common denominator › Surprisingly expensive › Unreliable › Insecure in many countries ▪ Push notifications › Much more secure › Require more user interaction ▪ TOTP › Bad user experience › Many apps means no control over seeds None solve the account lifecycle management problem This is the #1 issue for user safety
  30. So… 19 Looks like we all have a lot of

    work to do to: • Build apps with no L3 protections
  31. So… 19 Looks like we all have a lot of

    work to do to: • Build apps with no L3 protections • Patch in our CI/CD pipelines
  32. So… 19 Looks like we all have a lot of

    work to do to: • Build apps with no L3 protections • Patch in our CI/CD pipelines • Provide end-to-end and transformable encryption
  33. So… 19 Looks like we all have a lot of

    work to do to: • Build apps with no L3 protections • Patch in our CI/CD pipelines • Provide end-to-end and transformable encryption • Make browsers more trustworthy than the OS
  34. So… 19 Looks like we all have a lot of

    work to do to: • Build apps with no L3 protections • Patch in our CI/CD pipelines • Provide end-to-end and transformable encryption • Make browsers more trustworthy than the OS • More work for AppSec, less for the rest of security • Can we solve some of these problems without selling product
  35. Shameless Pitch 20 At Yahoo, our security goal is for

    all users to be safe using any of our products from any country on any platform. I’m currently looking for a Director of Product Security to reinvent how we build safe products and meet this goal for 1.3B users