don’t teach developers security

19
Don’t Teach Developers Security Caleb Sima [email protected] Armorize Technologies

Upload: kaemon

Post on 24-Feb-2016

35 views

Category:

Documents


0 download

DESCRIPTION

Don’t Teach Developers Security. Caleb Sima [email protected] Armorize Technologies. Who am I?. 1997-2000: Ex- ISSer from X-Force 2000-2007: Founder and CTO of SPI Dynamics 2007-2010: CTO of Application Security at HP Current…: CEO of Armorize Technologies. Old Man in Security Now…. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Don’t Teach Developers Security

Don’t Teach Developers SecurityCaleb Sima

[email protected] Technologies

Page 2: Don’t Teach Developers Security

Who am I?1997-2000: Ex-ISSer from X-Force2000-2007: Founder and CTO of SPI Dynamics2007-2010: CTO of Application Security at HPCurrent…: CEO of Armorize Technologies

Old Man in Security Now…

Page 3: Don’t Teach Developers Security

Yes I Know..

Page 4: Don’t Teach Developers Security

Can you fix this Spike?... Can you? Can we do it quick? Can we Spike?

SecurityDevelopment

Page 5: Don’t Teach Developers Security

Training is Important But..

We focus on the wrong method (Top 10)We focus on the wrong people (developers)Security is a PIA.Turnover sucksDon’t rely on it

Page 6: Don’t Teach Developers Security

2010 OWASP Top 101. Injection2. Cross Site Scripting (XSS)3. Broken Authentication and Session Management4. Insecure Direct Object References5. Cross Site Request Forgery (CSRF)6. Security Misconfiguration7. Insecure Cryptographic Storage8. Failure to Restrict URL Access9. Insufficient Transport Layer Protection10. Un-validated Redirects and Forwards

Page 7: Don’t Teach Developers Security

Training is Important But..

We focus on the wrong method (Top 10)We focus on the wrong people (developers)

Security is a PIA.

Turnover sucksDon’t rely on it

Page 8: Don’t Teach Developers Security

What is wrong with this code?

Page 9: Don’t Teach Developers Security

Training is Important But..

We focus on the wrong method (Top 10)We focus on the wrong people (developers)Security is a PIA.Turnover sucks

Don’t rely on it

Note on PCI

Page 10: Don’t Teach Developers Security

Step 1Start with a security assessment

Page 11: Don’t Teach Developers Security

Step 2Assign and train QA on your 2 issues

Page 12: Don’t Teach Developers Security

Step 3Assign 1 developer on each app team to

be the security controller

Page 13: Don’t Teach Developers Security

Step 4Automate this process

Page 14: Don’t Teach Developers Security

FutureCode Analyses + Remediation Libraries = Code

Verification

Page 15: Don’t Teach Developers Security

Security, Accuracy and Privacy in Computer Systems - James Martin

Page 16: Don’t Teach Developers Security

Reasonableness Test:For example. a charge of $500 might be reasonableon a corporations electricity bill but not on an individuals bill.

Consistency Test:In an airline booking to Chicago the transaction may be checked to ensure that the flight number in it does in fact go to Chicago.

Special Tests:Dates may be checked to ensure that the month is between I and l2.that the day is between l and 28, 29, 30, or 31. depending upon the month.Self Checking Numbers:

The extra digit is derivedarithmetically from the other digits.

Page 17: Don’t Teach Developers Security

Written in 1973!

Page 18: Don’t Teach Developers Security

“To me, security is important. But it's no less important than

everything *else* that is also important!”

- Linus

Page 19: Don’t Teach Developers Security

Caleb [email protected]

Download Trial of CodeSecure at http://www.armorize.com/codesecure4-beta/

Google: “OWASP ESAPI”, “BSIMM”, “Armorize”,”James Martin”REFERENCES