© weiss sms-based one-time passwords: attacks and defense · pdf file2 – dimva2013:...

12
© Weiss Technische Universität Berlin Technische Universität Berlin Security in Telecommunications SMS-Based One-Time Passwords: Attacks and Defense Collin Mulliner*, Ravishankar Borgaonkar , Patrick Stewin, and Jean-Pierre Seifert (*Northeastern University) DIMVA 2013 - 19 July, 2013 - Berlin Germany.

Upload: halien

Post on 20-Mar-2018

220 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

© Weiss

Technische Universität BerlinTechnische Universität BerlinSecurity in Telecommunications

SMS-Based One-Time Passwords: Attacks and Defense

Collin Mulliner*, Ravishankar Borgaonkar, Patrick Stewin, and Jean-Pierre Seifert (*Northeastern University)

DIMVA 2013 - 19 July, 2013 - Berlin Germany.

Page 2: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

One Time Passwords – SMS

Something you know Something you have

Page 3: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

3 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Attacks against SMS OTP

Sim Swap

Wireless Interception

Mobile Trojans     GSM

Page 4: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

4 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Mobile Phone Trojans

Page 5: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

5 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Wireless Interception Attacks

No Mutual Authentication

Weak Encryption Algorithm

GSM

Page 6: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

6 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Wireless Interception Attacks

• Architecture Vulnerability

• SMS Traffic Interception

3G Femtocell

Page 7: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

7 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

SMS OTP Attack Analysis

• Mobile phone design issues

• Relies on security of cellular networks- No End-to-End encryption

Page 8: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

8 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Defending SMS OTP

Goal: Minimal Support of OTP providers, MNO, Mobile OS

1. SMS End-to-End Encryption Application private storage

No eavesdropping Malicious App can not access

Page 9: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

9 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

SMS OTP – Our Solution

Incoming SMS message is broadcasted through the system– any app w/ SMS read permission has access, that’s why SMS Trojans

work in the first place!

Main idea: change SMS routing inside the smartphone– a “virtual channel” inside the phone to protect SMS OTP messages– “Special” SMS messages are directly delivered to special app

• No broadcast no interception possibilities!

Implementation: Proof-of-Concept for Android– Keyword filter that matches SMS message body

• Keywords: OTP, Token, mTAN, Password, …– Matching SMS message is delivered to our own SMS inbox app

Page 10: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

10 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

SMS OTP: Implementation

SMS app gets message(any “normal” SMS)

PoC Trojan gets SMS

Device is running our Virtual SMS Channel

SMS app does NOT see OTP message!

OTP Message app is the only app that sees this message (keyword: mobileTAN)

SMS message received by both

Page 11: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

11 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Summary

Studied various SMS OTP attacks

Identified root-causes

– Mobile phone design issue

– MNO network insecurities

Defending attacks

– End-to-End encryption

– Virtual dedicated SMS channel

● Implemented message filter-based channel

Page 12: © Weiss SMS-Based One-Time Passwords: Attacks and Defense · PDF file2 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense One Time Passwords – SMS Something you know

12 – DIMVA2013: SMS Based One-Time Passwords: Attacks and Defense

Thank you!