Don’t Teach Developers Security Caleb Sima Armorize Technologies
Who am I? : Ex-ISSer from X-Force : Founder and CTO of SPI Dynamics : CTO of Application Security at HP Current…: CEO of Armorize Technologies Old Man in Security Now…
Yes I Know..
Can you fix this Spike?... Can you? Can we do it quick? Can we Spike?
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
2010 OWASP Top 10 1.Injection 2.Cross Site Scripting (XSS) 3.Broken Authentication and Session Management 4.Insecure Direct Object References 5.Cross Site Request Forgery (CSRF) 6.Security Misconfiguration 7.Insecure Cryptographic Storage 8.Failure to Restrict URL Access 9.Insufficient Transport Layer Protection 10. Un-validated Redirects and Forwards
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
What is wrong with this code?
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
Step 1 Start with a security assessment
Step 2 Assign and train QA on your 2 issues
Step 3 Assign 1 developer on each app team to be the security controller
Step 4 Automate this process
Future Code Analyses + Remediation Libraries = Code Verification
Security, Accuracy and Privacy in Computer Systems - James Martin
Reasonableness Test: For example. a charge of $500 might be reasonable on a corporations electricity bill but not on an individuals bill. Consistency Test: In an airline booking to Chicago the trans action 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 derived arithmetically from the other digits.
Written in 1973!
“To me, security is important. But it's no less important than everything *else* that is also important!” - Linus
Caleb Sima Download Trial of CodeSecure at Google: “OWASP ESAPI”, “BSIMM”, “Armorize”,”James Martin” REFERENCES