bhack 2012 - how to protect your web applications

22
How to protect your web applications Magno Logan [email protected] OWASP Paraíba Chapter Leader

Upload: magno-logan

Post on 28-Jun-2015

217 views

Category:

Technology


0 download

DESCRIPTION

BHack 2012 - How to protect your web applications Junho de 2012 em Belo Horizonte, MG http://bhack.com.br/

TRANSCRIPT

Page 1: BHack 2012 - How to protect your web applications

How to protect your web applications

Magno Logan [email protected]

OWASP Paraíba Chapter Leader

Page 2: BHack 2012 - How to protect your web applications

About Me

Who am I? !• Ex-developer • Security Analyst • Chapter Leader • Martial Arts • Investments

Page 3: BHack 2012 - How to protect your web applications

Agenda !• They are everywhere!

• Testing, testing, testing…

• Guides, tools and much more

• The insecure software lifecycle

• How to solve these problems

Page 4: BHack 2012 - How to protect your web applications

e

They are everywhere!

Page 5: BHack 2012 - How to protect your web applications

And they have bugs everywhere! !• The cost of a data breach averages $5.5

million or $194 per customer record* !

• Companies that take security seriously can reduce the cost per customer by up to 62%

!!!!* From a 2011 study by the Ponemon Institute

Page 6: BHack 2012 - How to protect your web applications

So, how to protect them?! !1. Security Testing

!2. Code Review

!3. SDL

Page 7: BHack 2012 - How to protect your web applications

OWASP Top 10 2010

Testing, testing, testing…

Page 8: BHack 2012 - How to protect your web applications

And more testing… 2011 CWE/SANS Top 25

Page 9: BHack 2012 - How to protect your web applications

So what do they do? !• Protect you from common mistakes !

• Avoid you from getting hacked by automated tools/scanners and script kiddies !By the way, if you work with AppSec and you

never heard of these two docs…

Page 10: BHack 2012 - How to protect your web applications

You need to find another job!

Page 11: BHack 2012 - How to protect your web applications

Many more FREE resources!Not just OWASP stuff…

Page 12: BHack 2012 - How to protect your web applications

Ok, now what?! OWASP Code Review Guide

!• Code review takes a deeper look into your

app !

• Things that automated scanners won’t find !

• You’ll see the common mistakes devs make

Page 13: BHack 2012 - How to protect your web applications

We fixed the problems. How to stop them? !• Implement a SDL process !

• Train your developers about app security !

• They don’t need to be experts, at least know how it works and how to protect their apps

Page 14: BHack 2012 - How to protect your web applications

Yay! More free stuff… !• OWASP ASVS – verify your security !

• OWASP OpenSAMM – create a security program !

• OWASP Developer’s Guide – tips to devs

Page 15: BHack 2012 - How to protect your web applications

It’s not that simple… !• If we have all that, why aren’t our apps

secure? !

• Why even the big companies don’t follow the basic rules? Hello Linkedin!

Page 16: BHack 2012 - How to protect your web applications

We know, we know… !• Security costs money. Yeah, but so does

development, support, operations, etc. !

• Security costs money. But it will save you a lot more! !

Why most companies still don’t see the value of security until they get hacked?

Page 17: BHack 2012 - How to protect your web applications

Like Dinis Cruz said at AppSec Latam 2011: !

Unless you’ve been hacked before… !

If it compiles, Ship it!

!That’s the motto in most dev companies

Page 18: BHack 2012 - How to protect your web applications

The real picture (Developer’s view) !• They don’t like the security teams !

• They already work on a tight schedule !

• Security will increase their programming time

Page 19: BHack 2012 - How to protect your web applications

How it should be… !• Dev and infosec should work together !

• Security practices and implementations should be included in the schedule time !

• It will increase the apps protection and decrease the amount of bugs and work

Page 20: BHack 2012 - How to protect your web applications

In a nutshell… !• Security is not a plugin, it’s a process. !

• Test everything, every time they change. !

• Allocate time for security testing within your project !

• Never assume security controls are effective

Page 21: BHack 2012 - How to protect your web applications

!!

Questions? !!

@magnologan @owasppb

Page 22: BHack 2012 - How to protect your web applications

References !Wagner Elias. “Testar não é suficiente, tem que fazer

direito!”. YSTS 2012 !Dinis Cruz. “Making Security Invisible by Becoming the

Developer's Best Friends”. OWASP AppSec Latam 2011 !Building Secure Web Applications Infographic - http://

www.veracode.com/blog/2012/06/building-secure-web-applications-infographic/

!OWASP - www.owasp.org