Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

39
Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc

Transcript of Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Page 1: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Bringing nothing to the party

Vincenzo Iozzo

Director of Security EngineeringTrail of Bits, Inc

Page 2: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

It’s about time we make AppSec understandable to the lay person (read: your executives)

Page 3: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

There’s no real accountability at company-wide level for AppSec, this has to change

Page 4: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Games we play these days..

Page 5: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Fail to separate threats

Page 6: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Compare and contrast

Page 7: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

And this..

Page 8: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

With this

Page 9: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Forget the good ol’weak links

Page 10: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Macro-level example

Page 11: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Eco101

Page 12: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

The market for lemons

Improper threat analysis and quality control leads to a market for lemons scenario

Page 13: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Free riders!

The careless employee/company is free-riding on somebody else’s security investment

Page 14: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Externality

Both internally and externally security is far too often an (good|bad) externality

Page 15: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

What has any of this to do with AppSec?

Page 16: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

A lot of AppSec is “miracle work”

Page 17: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Bounties

They don’t attract “professionals”

They attract weak automation (fuzzers)

They don’t solve the big-picture problem

They are taxing for developers and security people alike

Page 18: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Do somebody else’s work

Page 19: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

“Reactive security”

iOS jailbreaking saga has a primary example

Page 20: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Lack of devs accountability

Page 21: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Stuff that works today

Page 22: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Bug hunting

HAVOC/HAVOC-LITE (Julien Vanegue et al)

Bochspwn (Jurczyk et al)

Page 23: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

BlueHat prize/Pwnium/Pwn2Own

Bugs Techniques

Page 24: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Some tools

EMET… ? ? ?

Page 25: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Let’s talk about tomorrow

Page 26: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Meditation interlude

Please pause for a second and contemplate what it means from a technical and sophistication POV for someone to backdoor NIST standards

Page 27: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

A line in the sand

If you want to fight this…

This has to go…

Page 28: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Warning

Page 29: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Proposal 1

Make AppSec risk understandable by non-infosec people/investors

Page 30: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

You can start from this

Elderwood NYU-Poly Davis

Plugins Required

Flash, Office, Java

.NET None

Version Support

IE8 / Win XP IE8 / Win7 IE9 / Win7

Reliability ~50% ~95% ~99%

Features Hardcoded ROP Hardcoded ROP

Dynamic ROP

Time to Develop

? (probably 8 hrs)

~5 days ~10 days

Experience Professional Amateur Amateur

Page 31: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

And this

Page 32: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Proposal 2

Make bug-hunting a commodity by creating appropriate tools. Focus on the errors your developers make

Page 33: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Proposal 3

Engage researchers/firms in DARPA CFT-like ways

Page 34: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Proposal 4

Talk to your CFO and make security an integral factor in M&A activities

Page 35: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Proposal 5

Do your own internal offensive research, it builds intuition and it makes for great ‘pro-active’ mitigations

Page 36: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Conclusions

Page 37: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

AppSec can and should become a profit-center

If we don’t do anything policy-makers will and we’re not going to like it

Insane amount of money is being poured in InfoSec, let’s not ruin this by fostering lemons

Freeriding is why we can’t have nice things

Page 38: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Final quote

"Mass markets demand security, along with safety and reliability, only after the product becomes commoditized."

- Alex Gantman

Page 39: Bringing nothing to the party Vincenzo Iozzo Director of Security Engineering Trail of Bits, Inc.

Thanks! Questions? [email protected]