Meet the OWASP

48
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP Foundation http://www.owasp.org Open Web Application Security Project Antonio Fontes [email protected] SWISS CYBER STORM Conference – May 2011 Rapperswil

description

Web security track - opening talk:OWASP & OWASP SwitzerlandSwiss Cyber Storm 3 (Rapperswil, May 2011)Original powerpoint slides can be downloaded and re-used under following conditions:- you're free to copy, distribute and transmit the work- you're free to adapt the work- if you alter, transform, or build upon this work, you may distribute the resulting work under the same or similar rights to this one

Transcript of Meet the OWASP

Page 1: Meet the OWASP

Copyright © The OWASP FoundationPermission is granted to copy, distribute and/or modify this document under the terms of the OWASP License.

The OWASP Foundationhttp://www.owasp.org

Open Web Application Security ProjectAntonio Fontes

[email protected] CYBER STORM Conference – May 2011

Rapperswil

Page 2: Meet the OWASP

2

A few words about me

• Antonio Fontes– 6 years background working on software security & privacy– Founder and principal consultant at L7 Securité Sàrl– Lecturer at HST Yverdon (HEIG-VD)

• Focus: – Web application threats and countermeasures– Secure development lifecycle– Penetration testing and vulnerability assessment– Software threat modelling and risk analysis

• OWASP:– OWASP Switzerland : member of the board, western Switzerland delegate– OWASP Geneva: Chapter leader

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 3: Meet the OWASP

3

cat /wwwroot/agenda.html

• Why do organizations need OWASP?• OWASP worldwide• OWASP in Switzerland• Q/A

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 4: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil4

Thermometer:

12/05/2011

“Is your organization already using OWASP material?”

- For internal software development?

- For outsourced custom software?

- For COTS acquisition?

photo by Dave Oshry

Page 5: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil5

Why do organisations need OWASP?

12/05/2011

Page 6: Meet the OWASP

6

Why do organisations need OWASP?

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 7: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil7

Why do organisations need OWASP?

12/05/2011

77 million users!101 million users!

Page 8: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil8

Why do organisations need OWASP?

12/05/2011

Handout from Sony Entertainment Online conference on the recent computer intrusion that led to more than 110 million user accounts being stolen.(May. 1st. 2011)

photo by Dave Oshry

Page 9: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil9

Why do organisations need OWASP?

12/05/2011

Page 10: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil10

Just a little check:

12/05/2011

“Who knows PBKDF2?”

Page 11: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil11

Why do organisations need OWASP?

12/05/2011

Who understands this in your organisation?

Page 12: Meet the OWASP

12

Why do organisations need OWASP?

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Use hashes!!

No! Don't use hashes!!

Page 13: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil13

Why do organisations need OWASP?

• Outside the organisation:– Increasing adoption of “Anything over HTTP”– Increasing “hostile” interest in online services:– Increasing “threat population”– Web hacking/security is easy to understand/teach– Low risk of being “caught”– Increasing offer in security consulting, services and

products

12/05/2011

Page 14: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil14

Why do organisations need OWASP?

• Inside organisations:– Developers dealing with dozens web technologies– Heterogonous development teams and lifecycles– Constant pressure for delivery– Turnover and loss of internal know-how– Who in the company is actually both up-to-date on

the concept of “(web) applications security” and has the power to take decisions?

– Who in the company is actually able to qualify security products and services that are paid for?

12/05/2011

Page 15: Meet the OWASP

15

Why do organisations need OWASP?

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

2001

2003

2005

2007

20102011

Page 16: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil16

OWASP foundation

12/05/2011

Mission

“Make application security visible, so that people and organisations can make informed decisions about application security risks.”

U.S. 501c3 not-for-profit charitable international organization

Structure

Core values

Open, Global, Innovation, Worldwide

Code of ethics

Independence from vendors, technology-agnostic

Page 17: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil17

"strategy"

12/05/2011

Web Application

Tools

Methods

People

Threat

Company assets

Web ApplicationSummit

Committees

Board

Chapters

Projects

Conferences

Members

Website

?

Page 18: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil18

OWASP people

12/05/2011

Page 19: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil19

Project Leaders

• Driving volunteers effort on OWASP material projects:– Workshops– Brainstorming sessions– Analysis/reporting– Guides editing– Tools coding– 19 quality-release and

26 beta-status projects12/05/2011

P

MT

Page 20: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil20

Chapter Leaders

• Leading Local Chapters meetings:– 188 Chapters worldwide– More than 300 yearly

meetings worldwide– Connection with local

organisations

12/05/2011

Next local chapter meeting:Zurich – June 14th

P

MT

Page 21: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil21

Global Committees

• Driving volunteers effort on global/focused OWASP outreach.

• Active Global Committees: – Industries– Membership– Government– Education– Projects– Events– Connections

12/05/2011

P

MT

Page 22: Meet the OWASP

22

Full-time• Kate Hartmann– Logistics and day-to-day support

for leaders of the 188 local chapters• Alison Shrader– Accounting & Administration

• Paulo Coimbra– PMO

• Sarah Basso– Operations before/during/after

OWASP events12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 23: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil23

• Conference dedicated to research work on application security

Conferences: research

12/05/2011

P

MT

Page 24: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil24

• Yearly global application security focused conferences: – Europe– North America– South America– Asia

Conferences: Appsec

12/05/2011

P

MT

Next OWASP Conference in Europe:Dublin – June 7th-10th 2011

Page 25: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil25

• Intensive 1-week workshop event with leaders, contributors, sponsors and software vendors:– Ability to connect

with leading software vendors and corporate members

– More than 150 reunited chapter & project leaders

– 80 workshops

The Summit

12/05/2011

P

MT

Page 26: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil26

OWASP members

12/05/2011

Page 27: Meet the OWASP

27

OWASP Membership

• Individual members:– Annual fee: 50$/year– Free access to OWASP Training day events– Reduced fees at OWASP Events– Current count:

1383 individual contributing members

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 28: Meet the OWASP

28

OWASP Membership

• Corporate members:52 public corporate membersAnnual fee: 5’000$/yearDelegates for the

Summit eventLogo on website, use as

marketing argumentMajority is from the US,but Switzerland is also there

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 29: Meet the OWASP

29

OWASP Membership

• Academic members:– Annual fee: 0$/year– Donate: support– 40 members– Switzerland:• 1 officialised

partnership (HEIG-VD)• 2 pending

partnerships12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 30: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil30

OWASP: the web portal

12/05/2011

Page 31: Meet the OWASP

31

https://www.owasp.org

– 250’000 unique visitors monthly– 650’000 pages viewed monthly– 60% driven by search engines– 19% referred by other websites – Highest traffic motives:• OWASP Top 10• Webscarab project• XSS prevention cheat sheet• “sql injection”

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 32: Meet the OWASP

32

http://lists.owasp.org

• More than 400 mailing lists currently running

• 25’900 memberships• About: tools, documents,

methods, committees, events, outreach, leaders, etc.

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 33: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil33

OWASP projects

12/05/2011

Page 34: Meet the OWASP

34

OWASP projects: Tools

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Analyze Design Implement Verify Deploy Respond

ModSecurity CRS

Academy portal, Broken Web applications, ESAPI Swingset, Webgoat

JBroFuzz

LiveCD

WebScarab

Code Crawler

O2

DirBuster

WebScarab

Orizon

Zed Attack Proxy

AntiSAMMY

ESAPI

CSRFGuard

Encoding

Stinger

Page 35: Meet the OWASP

35

OWASP projects: Documents

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Analyze Design Implement Verify Deploy Respond

Code Review

Testing

ASVS

Academy, Appsec FAQ, Appsec metrics, Common Vuln. List, Education, Exams, Legal, OWASP Top 10

Code Review

Testing

Backend Security

Threat risk modeling

Secure contract

Application security

requirements

Development

RoR Security

.NET Security

Secure coding practices

AJAX Security

J2EE Security

PHP Security

Page 36: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil36

• COTS web application for webapp security (CBT) training– Click and run– /index.php/Webgoat

Tools: webgoat

12/05/2011

P

MT

Page 37: Meet the OWASP

37

Tools: ModSecurity core ruleset

• Critical protections centralized in a core ruleset (CRS) to be installed on ModSecurity enabled Apache servers

• Provides:– HTTP Protocol compliance– Attack detection– Error detection– Search engine monitoring

• https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 38: Meet the OWASP

38

Tools: Entreprise Security API

• Control library encapsulating most security functions required in web applications:– Authentication– Access control– Sessions– Encoding– Input validation– Encryption– Logging– Intrusion detection– …

• https://www.owasp.org/index.php/ESAPI12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 39: Meet the OWASP

39

A1: Injection A2: Cross-Site Scripting (XSS)

A3: Broken Authentication

and Session Management

A4: Insecure Direct Object References

A5: Cross Site Request Forgery

(CSRF)

A6: Security Misconfiguration

A7: Failure to Restrict URL

Access

A8: Insecure Cryptographic

Storage

A9: Insufficient Transport Layer

Protection

A10: Unvalidated Redirects and

Forwards

Documents: OWASP Top 10

• https://www.owasp.org/index.php/Top10

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 40: Meet the OWASP

40

Documents: code review guide

• Instructions and methodology manual for conducting code security reviews

• Guidance on detecting the major security flaws created during implementation

• https://www.owasp.org/index.php/Category:OWASP_Code_Review_Project

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 41: Meet the OWASP

41

Documents: ASVS

• ASVS: Application SecurityVerification Standard

• 4 verification (assurance) levels across more than 120 security controls

• Tailored to your own risk aversion

• https://www.owasp.org/index.php/ASVS

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 42: Meet the OWASP

42

Documents: OpenSAMM

• Open Software Assurance Maturity Model

https://www.owasp.org/index.php/Category:Software_Assurance_Maturity_Model

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

P

MT

Page 43: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil43

OWASP Switzerland

12/05/2011

Page 44: Meet the OWASP

44

OWASP Switzerland's structure• No legal form (yet, just a few days left)

• Leader: Sven Vetsch• Board members: Tobias Christen, Antonio Fontes– Based in Zurich– 130 mailing list members– Next meeting: June 14th

• Other local city/region chapters: – OWASP Geneva

• 90 list members• Next meeting: September 6th

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 45: Meet the OWASP

45

Activities: meetings and conferences

• Local chapter meetings:– 1,2,3 speakers per event– Geneva, Yverdon, Zurich– ~8 meetings/year– Attendance: 15-100 people– People love these meetings!

• (Historical) conference partnerships:

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 46: Meet the OWASP

46

Activities: awareness sessions

• Awareness session for Swiss organizations:– 1 hour, head-to-head session with an OWASP

representative at your company– Syllabus: OWASP organization, OWASP projects

and membership opportunities– 4 Swiss private companies requested this in 2010– It’s free!• BUT: it’s not free training or consulting!! No product names No "reviews" No training.

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 47: Meet the OWASP

47

Swiss speakers and contributors(non exhaustive list, sorry for those I forgot )– Ivan Butler: Web application firewall & Hacking lab

– Tobias Christen: Security & Usability

– Alexis Fitzgerald : Gathering application security requirements

– Christian Folini : ModSecurity CRS & DDoS defense

– Antonio Fontes : Threat modelling & Lifecycle security

– Axel Neumann: Zed Attack Proxy

– Sylvain Maret : Strong authentication

– Pierre Parrend : Java mobile applications

– Sven Vetsch : Advanced XSS attacks and defense

– ... come to me after the talk if you want your name here

12/05/2011Swiss Cyber Storm III - May 2011 - Rapperswil

Page 48: Meet the OWASP

Swiss Cyber Storm III - May 2011 - Rapperswil48

Visit the OWSAP Website: https://www.owasp.org Join the OWASP Switzerland mailing list: http://www.owasp.ch Follow us on Twitter: @OWASP_ch / @OWASP

Get in touch with your local OWASP representatives:

Sven Vetsch Antonio Fontes (Switzerland) (Western/French Switzerland)

[email protected] [email protected] 12/05/2011

Thank you!