35
The Defense RESTs: Automation and APIs for Better Security September 26, 2012 David Mortman

The Defense RESTs: Automation and APIs for Better Security

  • Upload
    ena

  • View
    54

  • Download
    0

Embed Size (px)

DESCRIPTION

The Defense RESTs: Automation and APIs for Better Security. September 26, 2012. David Mortman. Introduction. Want to get better at security? . Improve your operations. Improve your developement. The Problem. Huge % of incidents revolve around operational or coding issues. Why?. - PowerPoint PPT Presentation

Citation preview

Page 1: The Defense RESTs: Automation and APIs for Better Security

The Defense RESTs: Automation and APIs for Better Security

September 26, 2012

David Mortman

Page 2: The Defense RESTs: Automation and APIs for Better Security

Introduction

Page 3: The Defense RESTs: Automation and APIs for Better Security

Want to get better at security?

Page 4: The Defense RESTs: Automation and APIs for Better Security

Improve your operations

Page 5: The Defense RESTs: Automation and APIs for Better Security

Improve your developement

Page 6: The Defense RESTs: Automation and APIs for Better Security

The Problem

Page 7: The Defense RESTs: Automation and APIs for Better Security

Huge % of incidents revolve around

operational or coding issues

Page 8: The Defense RESTs: Automation and APIs for Better Security

Why?

Page 9: The Defense RESTs: Automation and APIs for Better Security

People Are Bad At Repeatable Tasks!

Page 10: The Defense RESTs: Automation and APIs for Better Security

Centralization, automation & testing can address this

Page 11: The Defense RESTs: Automation and APIs for Better Security

Use APIs and existing ops/dev tools!

Page 12: The Defense RESTs: Automation and APIs for Better Security

Chef, Puppet, etc

Page 13: The Defense RESTs: Automation and APIs for Better Security

Compliance

&

Change Control

Page 14: The Defense RESTs: Automation and APIs for Better Security

Configuration Drift

AKA

Variation is Evil

Page 15: The Defense RESTs: Automation and APIs for Better Security

Key Management

Page 16: The Defense RESTs: Automation and APIs for Better Security

Auto-Scaling

Page 17: The Defense RESTs: Automation and APIs for Better Security

Auto-scanning on VM launch

Page 18: The Defense RESTs: Automation and APIs for Better Security

INSTANCE=`ec2-run-instances $AMI -t $TYPE -k $KEY | grep i- | cut -f 2`; until [ $IP ]; do sleep 15; IP=`ec2-describe-instances $INSTANCE | grep i- | cut -f 17`; done ; curl -H "X-Requested-With: DM Automation" -u $USER:$PASS "https://qualysapi.qualys.com/msp/asset_ip.php?action=add&host_ips=$IP"; curl -H "X-Requested-With: DM Automation" -u $USER:$PASS "https://qualysapi.qualys.com/msp/scan.php?ip=$IP&save_report=yes"

Page 19: The Defense RESTs: Automation and APIs for Better Security

Jenkins

Page 20: The Defense RESTs: Automation and APIs for Better Security

Findbugs et al.

http://findbugs.sourceforge.net/

Page 21: The Defense RESTs: Automation and APIs for Better Security

Functional and Unit Testing

Page 22: The Defense RESTs: Automation and APIs for Better Security

Positive and Negative Testing

Page 23: The Defense RESTs: Automation and APIs for Better Security

Gauntlthttps://github.com/thegauntlet/gauntlt

Page 24: The Defense RESTs: Automation and APIs for Better Security

Auto-code/site scanning on commit

Page 25: The Defense RESTs: Automation and APIs for Better Security

PUT https://sentinel.whitehatsec.com/api/vuln/retest/<id>

Page 26: The Defense RESTs: Automation and APIs for Better Security

A Little DevOps

Page 27: The Defense RESTs: Automation and APIs for Better Security

Woodward:

Code Changes & Complexity

Page 28: The Defense RESTs: Automation and APIs for Better Security

APIs: REST vs SOAP

Page 29: The Defense RESTs: Automation and APIs for Better Security

Future Directions

& Resources

Page 30: The Defense RESTs: Automation and APIs for Better Security

iControl

&

Space

Page 31: The Defense RESTs: Automation and APIs for Better Security

IF-MAP

Page 32: The Defense RESTs: Automation and APIs for Better Security

Security Automation List

SecurityAutomata.Com

Page 33: The Defense RESTs: Automation and APIs for Better Security

IAM

SCIM/XACML

Page 34: The Defense RESTs: Automation and APIs for Better Security

Conclusion

Page 35: The Defense RESTs: Automation and APIs for Better Security

Any questions?

David MortmanChief Security Architect

[email protected]@mortman