35
SecOps live cooking with OWASP appsec tools Maciej Lasyk OWASP EEE – Kraków 2015-10-06

[Poland] SecOps live cooking with OWASP appsec tools

Embed Size (px)

Citation preview

Page 1: [Poland] SecOps live cooking with OWASP appsec tools

SecOps live cooking with OWASP appsec tools

Maciej Lasyk

OWASP EEE – Kraków

2015-10-06

Page 2: [Poland] SecOps live cooking with OWASP appsec tools

Join Fedora Infrastructure!

→ learn Ansible

→ join the security team!

→ use Fedora Security Lab (spin)

http://fedoraproject.org/en/join-fedora

Page 3: [Poland] SecOps live cooking with OWASP appsec tools

Agenda?

→about delivery pipeline

→demos

→manual testing

→automation

→delivery pipeline

Page 4: [Poland] SecOps live cooking with OWASP appsec tools

Agenda?

→about delivery pipeline

→demos

→manual testing

→automation

→delivery pipeline

Page 5: [Poland] SecOps live cooking with OWASP appsec tools

Agenda?

→about delivery pipeline

→demos

→manual testing

→automation

→delivery pipeline

Page 6: [Poland] SecOps live cooking with OWASP appsec tools

Agenda?

→about delivery pipeline

→demos

→manual testing

→automation

→delivery pipeline

Page 7: [Poland] SecOps live cooking with OWASP appsec tools

Agenda?

→about delivery pipeline

→demos

→manual testing

→automation

→delivery pipeline

Page 8: [Poland] SecOps live cooking with OWASP appsec tools

DEV INTEGRATION TEST PROD

Delivery Pipeline & security testing

Page 9: [Poland] SecOps live cooking with OWASP appsec tools

DEV INTEGRATION TEST PROD

Feedback loop!

Delivery Pipeline!

Page 10: [Poland] SecOps live cooking with OWASP appsec tools

DEV INTEGRATION TEST PROD

Feedback loop!

Delivery Pipeline!

→ UAT→ Performance→ Security

Page 11: [Poland] SecOps live cooking with OWASP appsec tools

DEV INTEGRATIONTEST

containersPROD

Feedback loop!

Delivery Pipeline!

→ UAT→ Performance→ Security

Experimentation gives you improvements!

Continuous security scanning

Page 12: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 13: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 14: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 15: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 16: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 17: [Poland] SecOps live cooking with OWASP appsec tools

→ shortening the cycle time

→ viability of scanning windows

→ burndown charts - security testing slice is usually tiny

→ security testing has to be faster

→ providing instant feedback

→ CD is a goal

Delivery Pipeline!

Page 18: [Poland] SecOps live cooking with OWASP appsec tools
Page 19: [Poland] SecOps live cooking with OWASP appsec tools

Manual testing demo #1

OWASP webgoat, OWASP hackademic story

test-app

vs

OWASP ZAP

Page 20: [Poland] SecOps live cooking with OWASP appsec tools

Manual testing demo #1

OWASP webgoat, OWASP hackademic story

test-app

vs

OWASP ZAP

Page 21: [Poland] SecOps live cooking with OWASP appsec tools

Manual testing demo #2

Fedora Pagure

vs

OWASP Dependency Check

Page 22: [Poland] SecOps live cooking with OWASP appsec tools

Automation tools

→ Ansible (www.ansible.com)

→ Jenkins (jenkins-ci.org)

→ GoCD (www.go.cd)

Page 23: [Poland] SecOps live cooking with OWASP appsec tools

Automation tools

→ Ansible (www.ansible.com)

→ Jenkins (jenkins-ci.org)

→ GoCD (www.go.cd)

Page 24: [Poland] SecOps live cooking with OWASP appsec tools

Automation tools

→ Ansible (www.ansible.com)

→ Jenkins (jenkins-ci.org)

→ GoCD (www.go.cd)

Page 25: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #1

Installing Jenkins w/Ansible

Page 26: [Poland] SecOps live cooking with OWASP appsec tools

Linux Containers - Docker

→ Docker?

→ Docker Registry

Page 27: [Poland] SecOps live cooking with OWASP appsec tools

Linux Containers - Docker

→ Docker?

→ Docker Registry

Page 28: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #2

OWASP ZAP && Dependency Check + Docker

Page 29: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #3

OWASP ZAP && Dependency Check + Docker

+

Jenkins

Page 30: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #4

Containerization of security tools

Page 31: [Poland] SecOps live cooking with OWASP appsec tools

Docker inside Docker?

Pros and cons

Page 32: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #5

What about false positives / negatives?

Page 33: [Poland] SecOps live cooking with OWASP appsec tools

Automation demo #6

Full delivery pipeline

Page 34: [Poland] SecOps live cooking with OWASP appsec tools

Summary

Should we replace classical pentests with automation?

Page 35: [Poland] SecOps live cooking with OWASP appsec tools

SecOps live cooking with OWASP appsec tools

Maciej Lasyk

OWASP EEE – Kraków

2015-10-06