38
Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote, June 7, 2011 MAAWG 22 nd General Meeting, San Francisco, CA

Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Embed Size (px)

Citation preview

Page 1: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Messaging Anti-Abuse Working Group

MAAWG | maawg.org | San Francisco, CA 2011

WHY WE MUST ASK WHYMarkus Jakobsson, Principal Scientist, PayPalKeynote, June 7, 2011MAAWG 22nd General Meeting, San Francisco, CA

Page 2: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Why Did the Internet Turn out as it Did?

We first designed it to provide features, then

for usability. We never designed it with abuse

in mind. We did not try to predict the future.

And now we are in a pickle.

Page 3: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Predicting An Unsupervised Future

“Predicting the future is much too easy, anyway.

You look at the people around you, the street you

stand on, the visible air you breathe, and predict

more of the same. To hell with more. I want better.”

Ray Bradbury

Page 4: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

To Hell With More. I want better.

Who?

Where? What?

Weak Authentication

Weak Authentication

MalwareMalwareSpoofingSpoofing

Why?

Before we can address any problem, we need to know why it occurs.Talk focus: mobile Internet. Will be huge – and we can ask “why” before it is too late.

Page 5: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Web/App Spoofing: Why Works?Where?

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

Jakobsson/Leddy: www.spoofkiller.com

Page 6: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Web/App Spoofing: Why Works?Where?

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

Traditional countermeasures address this part (locks, colors, warnings – a user communication problem)

Jakobsson/Leddy: www.spoofkiller.com

Page 7: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Web/App Spoofing: Why Works?Where?

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

An attacker is successful if

1.The victim is tricked, and as a result2.The victim acts, benefitting the attacker

Can we address this instead?

Jakobsson/Leddy: www.spoofkiller.com

Page 8: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Imagine a World Where…Where?

GOOD SITE

+

NAÏVE USER

=

SUCCESS

Jakobsson/Leddy: www.spoofkiller.com

SPOOF SITE

+

NAÏVE USER(SAME ACTION)

=

ABORT

Page 9: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Here is How to Do It!Where?

Jakobsson/Leddy: www.spoofkiller.com

Got cert?Got cert?

LOG IN NOW

ABORT

Y

N

Page 10: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

We are all Pavlov’s dogs!Where?

Jakobsson/Leddy: www.spoofkiller.com

Page 11: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Demo time!Where?

Jakobsson/Leddy: www.spoofkiller.com

Demo produced by Hossein Siadaty

Page 12: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Jakobsson/Leddy: www.spoofkiller.com

Page 13: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Jakobsson/Leddy: www.spoofkiller.com

Page 14: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Take-Home MessageWhere?

Jakobsson/Leddy: www.spoofkiller.com

It is more important to understand people than to understand computers.

It is more important to understand people than to understand computers.

Page 15: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Now: Authentication

Jakobsson/Akavipat: www.fastword.me

Who?

People hate passwords – especially on handsets

• Slow to enter … … and then you realize you mistyped something!

• At the same time, recall rates are low for passwords … and reset is difficult / insecure / expensive

• PINs are faster … … but not very secure … and reuse is rampant

Page 16: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Understanding usability issues

Jakobsson/Akavipat: www.fastword.me

Who?

Q. Why are passwords more painful than text? A. Text uses auto-correction/completion! Q. Why are passwords more painful than text? A. Text uses auto-correction/completion!

Page 17: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Understanding recall issues

Jakobsson/Akavipat: www.fastword.me

Who?

Q. Why are (good) passwords hard to recall? A. Good passwords are weird! Q. Why are (good) passwords hard to recall? A. Good passwords are weird!

(Ebbinghausen, 1885)

Page 18: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

A stab at a solution

Jakobsson/Akavipat: www.fastword.me

Who?

Not so secure, you say?Approx. 64k words only.

Auto correct works

frogfroffrofrffrof

Page 19: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

A stab at a solution

Jakobsson/Akavipat: www.fastword.me

Who?

Auto correct works

frog flat work

Page 20: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

A Look at Speed

Jakobsson/Akavipat: www.fastword.me

Who?

Page 21: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

A Look at Security

Jakobsson/Akavipat: www.fastword.me

Who?

Average passwordAverage

password

Average fastwordAverage fastword

Page 22: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Forgot your fastword? Hint: “frog”

Jakobsson/Akavipat: www.fastword.me

Who?

EFFECTIVE RECALL: 0.36+(1-0.36)*0.48=0.67 …. 67%

Page 23: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Forgot your fastword? Hint: “frog”

Jakobsson/Akavipat: www.fastword.me

Who?

Average fastwordAverage fastword

Average passwordAverage password

Page 24: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Big-Picture InsightWho?

We can improve as basic things as passwords – if we ask “why”.

We can improve as basic things as passwords – if we ask “why”.

Jakobsson/Akavipat: www.fastword.me

Page 25: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

Problem: PowerProblem: Power

Page 26: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Three truths:

1.Nasty malware is active2.Active routines are in RAM

3.Algorithms: time-space trade-off

Three truths:

1.Nasty malware is active2.Active routines are in RAM

3.Algorithms: time-space trade-off

Jakobsson/Johansson: www.fatskunk.com

Page 27: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

cache

RAM

1. Swap out all programs (malware may refuse)

monolithkernel

Page 28: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

monolithkernel

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAM pseudo-random content(malware refuses again)cache

RAM

Page 29: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAMpseudo-random content(malware refuses again)

monolithkernel

cache

RAM

Page 30: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAMpseudo-random content(malware refuses again)

3. Compute keyed digest of all RAM (access order unknown a priori)

monolithkernel

cache

RAM

Page 31: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAMpseudo-random content(malware refuses again)

3. Compute keyed digest of all RAM (access order unknown a priori)

monolithkernel

cache

RAM

Page 32: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAMpseudo-random content(malware refuses again)

3. Compute keyed digest of all RAM (access order unknown a priori)

monolithkernel

cache

RAMExternal verifier provides thisExternal verifier provides this

Page 33: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

1. Swap out all programs (malware may refuse)

2. Overwrite all “free” RAMpseudo-random content(malware refuses again)

3. Compute keyed digest of all RAM (access order unknown a priori)

monolithkernel

cache

RAM

External verifier will time this(and check result of computation)

External verifier will time this(and check result of computation)

Page 34: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Dealing with MalwareWhat?

Jakobsson/Johansson: www.fatskunk.com

Malware has options:

1.Swap out and become inactive2.Stay, cause delay, be detected3.Refuse connection, be detected

4.Die and remain unnoticed

Malware has options:

1.Swap out and become inactive2.Stay, cause delay, be detected3.Refuse connection, be detected

4.Die and remain unnoticed

Page 35: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

After test passedWhat?

Jakobsson/Johansson: www.fatskunk.com

Scan flash for inactive malware, make secure backup to cloud, DRM, password manager, virtualized phone

setup, banking app, vote casting, unlock data/apps, …

Scan flash for inactive malware, make secure backup to cloud, DRM, password manager, virtualized phone

setup, banking app, vote casting, unlock data/apps, …

Page 36: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

More detail: unlocking data/appsWhat?

Jakobsson/Johansson: www.fatskunk.com

Application

Encrypted storage of data and routines

Encrypted storage of data and routines

FLASH RAMApplication

Decrypted storage of data and routines

Decrypted storage of data and routines

GET KEY FROM VERIFIER.

LOADLOAD

Page 37: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

THE FUTURE MATTERS TODAYWhy?

Jakobsson/Johansson: www.fatskunk.com

Anticipating problems gives us time to innovate.

Anticipating problems gives us time to innovate.

Page 38: Messaging Anti-Abuse Working Group MAAWG | maawg.org | San Francisco, CA 2011 WHY WE MUST ASK WHY Markus Jakobsson, Principal Scientist, PayPal Keynote,

Why does user education fail?A final why

Contact me to talk spoofing, authentication, malware, mobile, education … and “why”!