Top Banner
Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry Kurbatov Security specialist Positive Research
99

Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Apr 07, 2018

Download

Documents

buitu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Attacks on Telecom Operators and Mobile Subscribers via SS7

Dmitry KurbatovSecurity specialist

Positive Research

Page 2: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Yesterday: Closed Ecosystems

Page 3: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Today: Unified Technologies

Page 4: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Today: Common Interfaces

Page 5: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Today: IP Connectivity

Page 6: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Tomorrow: virtualization

Page 7: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SIGTRAN

Time Machine

Through SIGTRAN back to 1970’s

Page 8: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

2014 was a good year for SS7 security

Hackito Ergo Sum 2014

• Locating mobile phones

Positive Hack Days IV

• How to Intercept a Conversation Held on the Other Side of the Planet

Washington Post

• Secretly track cellphones

31C3

• SS7: Locate. Track. Manipulate

• Mobile self-defense

Page 9: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Topics

USSD Money Transfer

Short Message Interception

DoS on Mobile Switching Center

Fraud in SS7 networkHot for mobile network operators

Hot for everyone

Page 10: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SS7 Network

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

Page 11: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLRMSCVLR

Gateway MSC

Billing

SMS-C

Radio Part

A

B

Cell Phone

Base Transceiver Station

Base Station Controller

Page 12: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

MSC/VLR

HLR

A

B

Gateway MSC

Billing

SMS-C

MSCVLR

Mobile Switching Center

Visitor Location Register

Page 13: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Gateway MSC

HLR

A

B

MSCVLR

Billing

SMS-CGateway

MSC

Gateway Mobile Switching Center

Page 14: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS-C

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

Short Message Service Center

Page 15: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

Homeу Location Register

HLR

Page 16: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Billing

A

B

MSCVLR

Gateway MSC SMS-C

HLR

Billing

Page 17: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

IDs

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

GT – Global Title 0 123 4567890

Page 18: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

IDs

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

GT – Global Title 0 123 4567890

MSISDN – A or B mobile numbers 0 123 4567890

Page 19: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

IDs

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

GT – Global Title 0 123 4567890

MSISDN – A or B mobile numbers 0 123 4567890

MSRN – Mobile Subscriber Roaming Number 0 123 4567890

Page 20: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

IDs

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

GT – Global Title 0 123 4567890

MSISDN – A or B mobile numbers 0 123 4567890

MSRN – Mobile Subscriber Roaming Number 0 123 4567890

IMSI – International Mobile Subscriber Identity 15 digits

Page 21: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

How to get in?

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

Page 22: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS Core

PS Core

IMS

Core Networks

Page 23: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

Access Networks

Page 24: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPX

Exchange Points

Page 25: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

Support

Page 26: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

IT IT network

Page 27: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

Internet

Internet IT network

Page 28: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

Internet

IT networkTraffic

Page 29: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

Internet

IT networkThreats

Attacker

Attacker

Attacker

Attacker

AttackerAttacker

Page 30: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

A

B

MSCVLR

Gateway MSC

Billing

SMS-C

CS CoreUTRAN

PS Core

IMS

LTEWi-FiWiMAXPONDSLFemto

GRX/IPXOAM

Remote support

Internet

IT networkThreat

Attacker

Attacker

Attacker

Attacker

AttackerAttacker

Page 31: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SMS Interception

Page 32: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attacker

B

MSCVLR

Gateway MSC

We know

B-Number 0 123 4567802

A

SMS-C

Page 33: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

SRI4SM

We know

B-Number 0 123 4567802Attackeras SMSC

A

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

SMS-C

Page 34: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

2

SRI4SM

We know

B-Number 0 123 4567802Attackeras SMSC

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 0 123 4567803Subscriber-B IMSI 15 digitsA

Page 35: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

2

2

SRI4SM

We know

B-Number 0 123 4567802

HLR 0 123 4567800

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

Attackeras SMSC

A

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 0 123 4567803Subscriber-B IMSI 15 digits

SMS-C

Page 36: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Spoof MSC

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

3

updateLocationI am MSC/VLR.My GT 1 321 4567801.I serve Subscriber-B IMSI 15 digits.

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

SMS-C

Page 37: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Spoof MSC

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

3

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

HLR stores

Subscriber-B IMSI 15 digits

MSC/VLR 1 321 4567801

4

Attacker serves Subscriber-B

SMS-C

Page 38: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS interception

HLR

B

MSCVLR

Gateway MSC

5

Attackeras MSC

A

SMS-C

5

“Hi, meet at 8pm at Baker Street”

Page 39: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS interception

HLR

B

MSCVLR

Gateway MSC

5 6

Attackeras MSC

A

sendRoutingInfoForSMI am SMSC.My GT 0 123 4567804.Where isSubscriber-B MSISDN 0 123 4567802?

SMS-C

5

“Hi, meet at 8pm at Baker Street”

Page 40: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS interception

HLR

B

MSCVLR

Gateway MSC

7

5 6

Attackeras MSC

A

sendRoutingInfoForSMI am SMSC.My GT 0 123 4567804.Where isSubscriber-B MSISDN 0 123 4567802?

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 1 321 4567801Subscriber-B IMSI 15 digits

SMS-C

5

“Hi, meet at 8pm at Baker Street”

HLR sends Attacker address instead of real MSC!

Page 41: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS interception

HLR

B

MSCVLR

Gateway MSC

7

5 6

8

Attackeras MSC

A

sendRoutingInfoForSMI am SMSC.My GT 0 123 4567804.Where isSubscriber-B MSISDN 0 123 4567802?

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 1 321 4567801Subscriber-B IMSI 15 digits

SMS-C

5

“Hi, meet at 8pm at Baker Street”

SMS-C routes this SMS to the received address.

Page 42: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SMS interception

HLR

B

MSCVLR

Gateway MSC

7

5 6

8

Attackeras MSC

A

sendRoutingInfoForSMI am SMSC.My GT 0 123 4567804.Where isSubscriber-B MSISDN 0 123 4567802?

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 1 321 4567801Subscriber-B IMSI 15 digits

SMS-C

5

“Hi, meet at 8pm at Baker Street”

SMS-C routes this SMS to the received address.

Page 43: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SMS interception

1. SMS chats

2. One time passwords

3. Notifications

4. Password recovery

Page 44: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Money Transfer Using USSD

Page 45: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attacker

B

MSCVLR

Gateway MSC

We know

B-Number 0 123 4567802

A

Page 46: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

SRI4SM

We know

B-Number 0 123 4567802Attackeras SMSC

A

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

Page 47: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

2

2

SRI4SM

We know

B-Number 0 123 4567802

HLR 0 123 4567800

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

Attackeras SMSC

A

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 0 123 4567803Subscriber-B IMSI 15 digits

Page 48: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 1

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

*100#3

processUnstructuredSS-RequestI am MSC/VLR.Request how much money has subscriber with IMSI 15 digits?

Page 49: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 1

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

processUnstructuredSS-RequestI am MSC/VLR.Request how much money has subscriber with IMSI 15 digits?

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Account info.3

4

processUnstructuredSS-RequestSubscriber’s account is $$$$$.

Page 50: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 1

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Account info.

4

processUnstructuredSS-RequestSubscriber’s account is $$$$$.

processUnstructuredSS-RequestI am MSC/VLR.Request how much money has subscriber with IMSI 15 digits?

3

Page 51: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 2

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Account info.

*123*01238765400*100#

processUnstructuredSS-RequestI am MSC/VLR.Transfer money from IMSI 15 digits to my mobile account.

5

Page 52: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 2

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Account info.

6

processUnstructuredSS-RequestOK.

processUnstructuredSS-RequestI am MSC/VLR.Transfer money from IMSI 15 digits to my mobile account.

5

Page 53: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 2

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Real account info.

Subscriber B does not get SMS notification if Attacker combines this attack and the previous one.

6

processUnstructuredSS-RequestOK.

processUnstructuredSS-RequestI am MSC/VLR.Transfer money from IMSI 15 digits to my mobile account.

5

Page 54: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Send USSD 2

HLR

Attackeras MSC/VLR

B

MSCVLR

Gateway MSCA

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Real account info.

Subscriber B does not get SMS notification if Attacker combines this attack and the previous one.

6

processUnstructuredSS-RequestOK.

processUnstructuredSS-RequestI am MSC/VLR.Transfer money from IMSI 15 digits to my mobile account.

5

Page 55: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Mobile Switching Center DoS

Page 56: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attacker

B

Gateway MSC

We know

B-Number 0 123 4567802

MSCVLR

Page 57: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attackeras SMSC

B

MSCVLR

Gateway MSC

1

We know

B-Number 0 123 4567802

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

1

Page 58: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

2

2

SRI4SM

We know

B-Number 0 123 4567802

HLR 0 123 4567800

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

Attackeras SMSC

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 0 123 4567803Subscriber-B IMSI 15 digits

Page 59: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Make it starve

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

3PRNprovideRoamingNumberI am HLR.My GT 1 321 4567801.Provide MSRN forSubscriber-B IMSI 15 digits.

Page 60: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Make it starve

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 45600013PRN

4 provideRoamingNumberMSRN 0 123 4560001

Page 61: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Make it starve

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 45600013PRN

4

Default timeouts for MSRN:

• Ericsson – 30 sec

• Huawei – 45 secprovideRoamingNumberMSRN 0 123 4560001

Page 62: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Make it starve

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 4560001

MSRN 0 123 4569999

3PRN

4

provideRoamingNumberI am HLR.My GT 1 321 4567801.Provide MSRN forSubscriber-B IMSI 15 digits.

provideRoamingNumberI am HLR.My GT 1 321 4567801.Provide MSRN forSubscriber-B IMSI 15 digits.

provideRoamingNumberI am HLR.My GT 1 321 4567801.Provide MSRN forSubscriber-B IMSI 15 digits.…

provideRoamingNumberMSRN 0 123 4560001provideRoamingNumber

MSRN 0 123 4560001provideRoamingNumberMSRN 0 123 4569999…

Page 63: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Make it starve

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 4560001

MSRN 0 123 4569999

3PRN

4

provideRoamingNumberI am HLR.My GT 1 321 4567801.Provide MSRN forSubscriber-B IMSI 15 digits.

Page 64: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 4560001

MSRN 0 123 4569999

3PRN

4

noRoamingNumberAvailable

Make it starve

Page 65: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

HLR

Attackeras HLR

B

MSCVLR

Gateway MSC

We know

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

MSRN 0 123 4560001

MSRN 0 123 4569999

3PRN

4

noRoamingNumberAvailable

Make it starve

Page 66: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

DoS

HLR

Attackeras HLR

B

Gateway MSC

RealHLR

10k – 500k

MSCVLR

Page 67: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

DoS

HLR

Attackeras HLR

Gateway MSC

PRNRealHLR

B

10k – 500k

MSCVLR

3

provideRoamingNumberI am HLR.My GT 1 321 4568701.Provide MSRN forSubscriber-ANY IMSI 15 digits.

Page 68: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

DoS

HLR

Attackeras HLR

Gateway MSC

PRNRealHLR

B

10k – 500k

MSCVLR

3

4

noRoamingNumberAvailable

Page 69: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

DoS

HLR

Attackeras HLR

Gateway MSC

PRNRealHLR

B

10k – 500k

MSCVLR

3

4

No incoming calls

Sad calling party

Page 70: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Fraud in SS7

Page 71: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

SS7 interconnection

HLRMSCVLR

Gateway MSC

Billing

SMS-C

HLRMSCVLR

Gateway MSC

Billing

SMS-C

HLRMSCVLR

Gateway MSC

Billing

SMS-C

Trusted environment

Page 72: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Leadership team

HLRMSCVLR

Gateway MSC

Billing

SMS-C

CEO

CSO CMO CCOCLO

Page 73: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Leadership team

HLRMSCVLR

Gateway MSC

Billing

SMS-C

CEO

CSO CMO CCOCLO

Really?!

Trust them?

Page 74: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Uncharged calls

Page 75: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attacker

B

MSCVLR

Gateway MSC

We know

B-Number 0 123 4567802

A

Page 76: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

Attackeras SMSC

B

MSCVLR

Gateway MSC

1

We know

B-Number 0 123 4567802

SRI4SMsendRoutingInfoForSMI am SMSC.My GT 1 321 4567801.Where isSubscriber-B MSISDN 0 123 4567802?

A

1

Page 77: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Collect info

HLR

B

MSCVLR

Gateway MSC

1

1

2

2

SRI4SM

We know

B-Number 0 123 4567802

HLR 0 123 4567800

MSC/VLR 0 123 4567803

Subscriber-B IMSI 15 digits

Attackeras SMSC

A

sendRoutingInfoForSMI am HLR 0 123 4567800MSC/VLR 0 123 4567803Subscriber-B IMSI 15 digits

Page 78: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Spoof MSC

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

3

updateLocationI am MSC/VLR.My GT 1 321 4567801.I serve Subscriber-B IMSI 15 digits.

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Page 79: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Spoof MSC

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

3

updateLocationI am MSC/VLR.My GT 1 321 4567801.I serve Subscriber-B IMSI 15 digits.

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

Page 80: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Spoof MSC

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

3

We know

HLR 0 123 4567800

Subscriber-B IMSI 15 digits

HLR stores

Subscriber-B IMSI 15 digits

MSC/VLR 1 321 4567801

4

Attacker serves Subscriber-B

Page 81: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

GatewayMSC knows

nothing

Page 82: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

5

6

sendRoutingInfoWhere isSubscriber-B MSISDN 0 123 4567802=Where is Subscriber-B located?

Page 83: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

6

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

7 provideSubscriberInfoI am HLR.My GT 0 123 4567800.Provide location for theSubscriber-B.

Page 84: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

6

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

7

8

provideSubscriberInfoSubscriber-B is in the Home network.

Page 85: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

6

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

GatewayMSC knows that

Subscriber-B is at home.

This information will be sent to a billing platform.

7

8

8

Page 86: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

5

9

sendRoutingInfoWhere isSubscriber-B MSISDN 0 123 4567802located =What is MSRN for Subscriber-B?

Page 87: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

9

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

provideRoamingNumberI am HLR.My GT 0 123 4567800.Provide MSRN forSubscriber-B IMSI 15 digits.

10

Page 88: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

9

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

provideRoamingNumberMSRN 39 0 654832169

10

11

Page 89: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

9

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

GatewayMSC knows

Subscriber-B

MSRN 39 0 654832169

10

11

11

Page 90: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call to…Italy

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

9

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

GatewayMSC knows

Subscriber-B

MSRN 39 0 654832169

10

11

11

12

Page 91: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

SS7

Forward a call to…

HLR

Attackeras MSC

B

MSCVLR

Gateway MSCA 5

9

provideRoamingNumber

MSRN 39 0 65483..

HLR stores

Subscriber-B

MSISDN 0 123 4567802

IMSI 15 digits

MSC/VLR 1 321 4567801

GatewayMSC knows

Subscriber-B

MSRN 39 0 654832169

10

11

Page 92: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Demo

Page 93: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Who pays?

ACall from to while at “home” = ₽ 1,60B

ACall from to = ₽ 30,00Italy

Page 94: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Who pays?

₽ 30,00 - ₽ 1,60 = ₽ 28,40 – Attacker profit

ACall from to while at “home” = ₽ 1,60B

ACall from to = ₽ 30,00Italy

Page 95: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Who pays?

How much does a mobile operator lose?

₽ 30,00 - ₽ 1,60 = ₽ 28,40 – Attacker’s profit

ACall from to while at “home” = ₽ 1,60B

ACall from to = ₽ 30,00Italy

International calls on 5,3% of original price

Page 96: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

To Do:SS7 Firewall or IDS with evolution to IPS?

Page 97: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

IDS Scheme

SS7 IDS & Event correlation

SS7 National

SS7 International

SS7 Other PLMNs

STP

STPSS7 taps

SS7 taps

SS7 taps

Duplicate traffic

Duplicate traffic

Duplicate traffic

Page 98: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Research Updates

• SS7 security threats

• Mobile Internet vulnerabilities (GPRS)

• SIM vulnerabilities

www.ptsecurity.com

http://blog.ptsecurity.com/

Page 99: Attacks on Telecom Operators and Mobile Subscribers via … 2015 Singapore/SyScan 2015... · Attacks on Telecom Operators and Mobile Subscribers via SS7 Dmitry ... • Huawei –45

Dmitry [email protected]

Questions?