security through obscuritysecurity through obscurity... powered by transport layer encryption! peter...

27
Security Through Obscurity ... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research Sebastian Schrittwieser, FH St. Pölten

Upload: others

Post on 11-Jun-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Security Through Obscurity... powered by Transport Layer Encryption!

Peter Frühwirt, SBA ResearchSebastian Schrittwieser, FH St. Pölten

Page 2: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

SSL != protection against protocol analysis

Page 3: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

SSL interception enables man-in-the-middle attacks

for protocol analysis purposes

Page 4: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

transport layer encryption cannot replace good protocol design!

Page 5: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Certificates?

Page 6: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

http://opensource.apple.com/source/Security/Security-55471/libsecurity_ssl/lib/sslKeyExchange.c

Page 7: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Quizduell

Page 8: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

highly popular in Austria

Page 9: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

highly popular in Austria

Page 10: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals
Page 11: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals
Page 12: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Let’s play a round of Quizduell ;)

Page 13: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Photoswap

Page 14: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

for=i=in={1..112711};=do=wget=.k=http://www.fototausch.app.de/images/$i.jpg;=done

Page 15: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

(iP)_ACF814E4E7914DECAA91DE3336F2C9D9-20140318062452.jpg

(WP)_WByn38Nd8wLfPoHQd3PzHbf2P9E_3d-20140318102034.jpg

357506057844677-20140318102050.jpg

hardware ID time stampphone type

IMEI

Page 16: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

(iP)_ACF814E4E7914DECAA91DE3336F2C9D9-20140318062452.jpg

(WP)_WByn38Nd8wLfPoHQd3PzHbf2P9E_3d-20140318102034.jpg

357506057844677-20140318102050.jpg

hardware ID time stampphone type

IMEI

Page 17: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals
Page 18: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

download pictures

delete picture

Page 19: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Countermeasures?

Page 20: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Certificate Pinning

Verification if particular certificate is used

Page 21: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals
Page 22: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Reduced costs

Increased security

Less flexibility

Page 23: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

75 %

25 %

certificate pinningno certificate pinning

Facebook

Facebook Messenger

Shazam

eBay

ÖBB Scotty

AntiVirus Security

Tango

Google Earth

LOVOO

Geizhals

Geizhals

Stocard

AutoScount24wetter.com

Twitter

LogoQuizWhatsapp

Snapchat

Tinder

NavigonRuntastic

iMessage

Quizduell

AppStore

Viber

Hike

Rublys

Quizduell

Page 24: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

never ever trust the client (even if it’s your own client)!

server-side validation of every client request

(the 80’s called and want their advice back)

Page 25: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

secure side channel

establish a trusted second channel

Page 26: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

Conclusions

Page 27: Security Through ObscuritySecurity Through Obscurity... powered by Transport Layer Encryption! Peter Frühwirt, SBA Research ... AntiVirus Security Tango Google Earth LOVOO Geizhals

‣ Many smartphone applications implement insecure protocols

‣ These protocols are hidden behind transport encryption, which does not prevent protocol analysis

‣ Don’t rely on Security through Obscurity