Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t...

24
Security, a part of QA

Transcript of Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t...

Page 1: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Security, a part of QA

Page 2: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

In custom software, if you haven’t properly tested it, it probably doesn’t work.This goes for both functional and nonfunctional requirements.

Worse yet if you don’t even know what ‘it’ is supposed to be.

My claim

Page 3: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Who is this then?

Boy Baukema Security Specialist @ Ibuildings.nl

Page 4: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Security what?

Senior Engineer+ interest in WebAppSec+ 4 hours a week R&D+ internal training & consultancy+ internal & external auditing

Page 5: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Okay, and you do this where?

Ibuildings.nlweb & mobile, 20+ devs, mostly PHP

Page 6: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

You

developer, manager, executive

pentester, security consultant, ?

Page 7: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

The plan

1. The journey2. The holy grail3. Riding off into the sunset

Page 8: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

What is security anyway?

Page 9: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and
Page 10: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

A assignment

Make security something I can sell,give managers a knob to turn

Page 11: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

OWASP ASVS

Open Web Application Security Project

Application Security Verification Standard

Page 12: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Level 1 Level 2 Level 3

Chapter 1 Requirement 1.1 Requirement 1.2 Requirement 1.3

X XXX

XXX

Chapter 2 Requirement 2.1...

X

Page 13: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

ASVS Levels (2013)

Level 0 - Bullshit compliance level (0)Level 1 - Opportunistic (47)Level 2 - Standard (136)Level 3 - Advanced (164)

Page 14: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

V1. AuthenticationV2. Session ManagementV3. Access ControlV4. Input ValidationV5. Cryptography (at Rest)V6. Error Handling and LoggingV7. Data Protection

V8. Communication SecurityV9. HTTP SecurityV10. Malicious ControlsV11. Business LogicV12. Files and ResourcesV13. Mobile

ASVS Chapters

Page 15: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

An example

V1.4. Verify that credentials and all other identity information handled by the application does not traverse unencrypted or weakly encrypted links.(level 1, 2 & 3)

Page 16: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

So how does this tie into QA?

Page 17: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

First attempt

V2.7 Verify that the strength of any authentication credentials are sufficient to withstand attacks that are typical of the threats in the deployed environment.(OWASP ASVS 2009 Level 2)

Page 18: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

AASVS, Scanners & A Report Generator

Page 19: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

Enter ASVS 2013 (Beta)

Release any day now!

Page 20: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

+ is for effort

… scope of the verification may go beyond the application’s custom-built code and include external components. Achieving a verification level under such scrutiny can be represented by annotating a “+” symbol to the verification level.

Page 21: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

OWASP AASVS 2013

Page 22: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

A plan for the future

Page 23: Security, a part of QA - OWASP€¦ · Security, a part of QA. In custom software, if you haven’t properly tested it, it probably doesn’t work. This goes for both functional and

OWASP SAMM