Top Banner
AppSec is Eating Security PRESENTED BY Alex Stamos AppSec Cali | January 27, 2015
51

AppSec is Eating Security

Apr 21, 2017

Download

Internet

Alex Stamos
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AppSec is Eating Security

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

Page 2: AppSec is Eating Security

2

Page 3: AppSec is Eating Security

Most enterprises are not safe

3

Page 4: AppSec is Eating Security

Most enterprises are not safe

3

• Big Banks + other FIs• Defense Industr ial Base• Oil and Gas• Crit ical Infrastructure• Big Tech• Some Retai l

“SECURE 100”

Page 5: AppSec is Eating Security

Most enterprises are not safe

3

• Big Banks + other FIs• Defense Industr ial Base• Oil and Gas• Crit ical Infrastructure• Big Tech• Some Retai l

Everybody Else

“SECURE 100”

“TOASTED 400”

Page 6: AppSec is Eating Security

Most enterprises are not safe

3

• Big Banks + other FIs• Defense Industr ial Base• Oil and Gas• Crit ical Infrastructure• Big Tech• Some Retai l

Everybody Else

“SECURE 100”

What are they missing? • Secure software engineering • Engineering focused IR • Ability to create, not buy, solutions

“TOASTED 400”

Page 7: AppSec is Eating Security

Almost no users are safe

4

Page 8: AppSec is Eating Security

5

Arista 7508E 1152 x 10GbE

30Tbps backplane 5kW

Security hardware is becoming un-buyable

Page 9: AppSec is Eating Security

5

Arista 7508E 1152 x 10GbE

30Tbps backplane 5kW

Palo Alto 7050 120Gbps throughput

2.4kW

Security hardware is becoming un-buyable

Page 10: AppSec is Eating Security

6

Page 11: AppSec is Eating Security

6

Page 12: AppSec is Eating Security

6

5kW

600kW

Page 13: AppSec is Eating Security

Containerization collapses the security perimeter

7

Diagrams from docker.com

Page 14: AppSec is Eating Security

Containerization collapses the security perimeter

7

No: • Virtual soundcard • Guest OS patching • VT-x enforcement • Network controls • Stable naming • 1:1 service relationshipsDiagrams from docker.com

Page 15: AppSec is Eating Security

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 relationshipsDiagrams from docker.com

Page 16: AppSec is Eating Security

The Internet of Unpatchable Crap Things

8

store.idevices.com

Page 17: AppSec is Eating Security

What AppSec Needs to Accomplish

Page 18: AppSec is Eating Security

Apps have to be secure by default

10

https://code.google.com/p/mustache-security/ by cure53.de

Page 19: AppSec is Eating Security

Apps have to be secure by default

10

How many developersunderstand the securityrisk they imported?

https://code.google.com/p/mustache-security/ by cure53.de

Page 20: AppSec is Eating Security

App Sec doesn’t have to be realtime or inline

11

▪ 10Gb Ethernet = 67ns between frames

Page 21: AppSec is Eating Security

App Sec doesn’t have to be realtime or inline

11

▪ 10Gb Ethernet = 67ns between frames

▪ 100Gb Ethernet = 6.7ns between frames

Page 22: AppSec is Eating Security

App Sec doesn’t have to be realtime or inline

11

▪ 10Gb Ethernet = 67ns between frames

▪ 100Gb Ethernet = 6.7ns between frames

Page 23: AppSec is Eating Security

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.

Page 24: AppSec is Eating Security

12

by Flickr user Keith Allison CC-BY-SA

Page 25: AppSec is Eating Security

12

by Flickr user Keith Allison CC-BY-SAby Warren Sharp

www.sharpfootballanalysis.com

Page 26: AppSec is Eating Security

Bug bounty communities need to reform to grow

13

Page 27: AppSec is Eating Security

Accept that the browser is the new OS

14

I hate it when good points get twisted to prevent progress

Page 28: AppSec is Eating Security

Network security must be transparent to applications

15

▪ DNSSEC is dead. Several reasons why….

Page 29: AppSec is Eating Security

Network security must be transparent to applications

15

▪ DNSSEC is dead. Several reasons why….› Complexity:

dnsviz.net via @jpmens

Page 30: AppSec is Eating Security

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

Page 31: AppSec is Eating Security

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

Page 32: AppSec is Eating Security

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)

Page 33: AppSec is Eating Security

What is a safe app?

17

▪ Safest mode is the default

Page 34: AppSec is Eating Security

What is a safe app?

17

▪ Safest mode is the default▪ Automatically fixes itself

Page 35: AppSec is Eating Security

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

Page 36: AppSec is Eating Security

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

Page 37: AppSec is Eating Security

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

Page 38: AppSec is Eating Security

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

Page 39: AppSec is Eating Security

Passwords are dead

18

Every big password dump has 10-20% matches

Page 40: AppSec is Eating Security

Passwords are dead

18

Every big password dump has 10-20% matches

▪ SMS › Lowest common denominator › Surprisingly expensive › Unreliable › Insecure in many countries

Page 41: AppSec is Eating Security

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

Page 42: AppSec is Eating Security

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

Page 43: AppSec is Eating Security

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

Page 44: AppSec is Eating Security

So…

19

Looks like we all have a lot of work to do to:

Page 45: AppSec is Eating Security

So…

19

Looks like we all have a lot of work to do to:• Build apps with no L3 protections

Page 46: AppSec is Eating Security

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

Page 47: AppSec is Eating Security

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

Page 48: AppSec is Eating Security

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

Page 49: AppSec is Eating Security

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

Page 50: AppSec is Eating Security

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

Page 51: AppSec is Eating Security

Thank you

[email protected] @alexstamos