open apis: security for mobile and the cloud

13
Open APIs: Security for Mobile and the Cloud Caleb Sima EIR, Andreessen Horowitz February 27, 2012

Upload: ca-api-management

Post on 09-Jul-2015

1.467 views

Category:

Economy & Finance


3 download

DESCRIPTION

A look at what’s driving new Internet-facing organizations to open up information through APIs and the implications for application security.

TRANSCRIPT

Page 1: Open APIs: Security for Mobile and the Cloud

Open APIs: Security for Mobile and the Cloud

Caleb Sima

EIR, Andreessen Horowitz

February 27, 2012

Page 2: Open APIs: Security for Mobile and the Cloud

My Perspective

Entrepreneur in Residence, Andreessen Horowitz

CEO Armorize Technologies

CTO Application Security HP

CTO & Co-Founder of SPI Dynamics

Internet Security Systems

Page 3: Open APIs: Security for Mobile and the Cloud

API Growth: The VC Perspective

Page 4: Open APIs: Security for Mobile and the Cloud

What’s Driving API Growth?

APIs are often driven

by business interests

instead of by IT

Page 5: Open APIs: Security for Mobile and the Cloud

The Emergence of Legacy Systems on the Internet

Introduces new

risk profiles

Page 6: Open APIs: Security for Mobile and the Cloud

Four Major Issues

Credentials and Authentication

Access Control and Authorization

Validation of Inputs

Misconfiguration

Page 7: Open APIs: Security for Mobile and the Cloud

Overly Granular Application API

Insecure

More secure

Page 8: Open APIs: Security for Mobile and the Cloud

Normal WebApp: One Request - One API

Post to Register.aspx with the the

following data:

Email=csima%40a16z.com&User

Name=csima&Password=reallyha

rdpassword&ConfirmPassword=re

allyhardpassword&Captcha=hatm

als

Page 9: Open APIs: Security for Mobile and the Cloud

With Ajax multiple requests = Multiple Inputs = Bigger

Attack Surface

ValidateEmail([email protected])

CheckUsername(csima)

Final Submission of all data to server

*Demo Search

CheckCaptcha(hatmals)

Page 10: Open APIs: Security for Mobile and the Cloud

Exposed Administrative API

Malicious use

Intended use

Page 11: Open APIs: Security for Mobile and the Cloud

What is wrong with this code?

Real world application using Microsoft’s framework

Page 12: Open APIs: Security for Mobile and the Cloud

A Best Practice—Decouple Security from App

Separation of concerns

between developer and

security admin

Page 13: Open APIs: Security for Mobile and the Cloud

February 2012

For further information: