Transcript
Page 1: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Surviving 0-daysreducing the window of exposure

Andreas Lindh, 44Con 2013

Page 2: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

About me

• Security analyst/architect

• Defender by day

• @addelindh on Twitter

Page 3: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

The TL;DR

Page 4: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

0-days

Page 5: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Disclosure Patch available Patch deployed

Out of our control In our control

Unknown

Discovery

The window of exposure

Page 6: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Common protection

• Patching

• Virtual patching

• Uninstall

Page 7: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

How hard can it be?

Page 8: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Pretty hard!

Page 9: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

What if you can’t patch?

• Legacy systems

• 3rd party systems

• Insufficient tools

Page 10: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Disclosure Patch available Patch deployed

Out of our control In our control

Unknown

Discovery

HD Moore’s law

Page 11: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Defense in depth

Page 12: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Concept

Page 13: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Implementation

Page 14: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Meanwhile...

Page 15: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Which leaves us with...

Page 16: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Are we on it?

Page 17: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

"Put another way, n people want to fix

security holes, 10n people want to

exploit security holes, and 100000n

want Tetris.” (Dan Kaminsky)

Page 18: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh
Page 19: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

What to do?

Page 20: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Root cause

• Over-reliance on patching

• Network-centric defense

architecture

• All about prevention

Page 21: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Firewall all the things?

Page 22: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Things to consider

• Exposure

• Attack likelihood

• History

• Patch status

Page 23: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Approach

• Prevention• Mitigation• ( Detection)

Page 24: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

1. Build

Page 25: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Focus

• Proactive

• Inside -> out

• Onion style

• Reusable (ideally)

Page 26: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

An example

Software

Sandbox

OS security features

Software restriction

policy

Intermediary channels

Endpoint protection

User permission

s

IPS

Page 27: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Pros and cons

• Pros– Improved security baseline

– Reduced impact

– Pro-active

• Cons– Generic

– Added complexity

Page 28: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

2. React

Page 29: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

INCIDENT!

React!

(disclos

ure)

Incident timeline

Page 30: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Focus

• Specific vulnerability

• Fast implementation

• Input to #1

Page 31: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Pros and cons

• Pros– Timely mitigation

– Focused approach

– Compliments #1

• Cons– Limited time

– Reactive

Page 32: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Wrapping it up

• Patching takes time

• Can’t patch the unknown

• Traditional controls are

often insufficient

Page 33: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Let’s build!

Page 34: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Thank you for listening!

Page 35: 44CON 2013 - Surviving the 0-day - Reducing the Window of Exposure - Andreas Lindh

Questions?