WiSec19-LTE Security Disabled

29
LTE Security Disabled Misconfiguration in Commercial Networks Merlin Chlosta, David Rupprecht, Thorsten Holz RUHR UNIVERSITY BOCHUM May 16, 2019 Christina Pöpper NEW YORK UNIVERSITY ABU DHABI

Transcript of WiSec19-LTE Security Disabled

Page 1: WiSec19-LTE Security Disabled

LTE Security Disabled Misconfiguration in Commercial Networks

Merlin Chlosta, David Rupprecht, Thorsten Holz RUHR UNIVERSITY BOCHUM

May 16, 2019

Christina Pöpper NEW YORK UNIVERSITY ABU DHABI

Page 2: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !2

Motivation – Complex Infrastructure

Base Stations Core NetworkUser

Page 3: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !2

Motivation – Complex Infrastructure

Base Stations Core NetworkUser

Page 4: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !2

Motivation – Complex Infrastructure

Base Stations Core NetworkUser

Page 5: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !3

Research Question

Specification Implementation Configuration

Device Vendors3GPP Network Operators

• Recent work focuses on specification, implementation • Configuration has potential to disable security measures

Page 6: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !4

Security Capabilities

Page 7: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !4

Security Capabilities

Integrity Encryption

NULLSnow3G

AESZUC

Mandatory

Optional

Page 8: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !4

Security Capabilities

Integrity Encryption

NULLSnow3G

AESZUC

Mandatory

Optional

Emergency call without SIM

Legislative requirement

Page 9: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !5

Algorithm Negotiation

Authentication and Key Agreement

Security Mode Command (AES)

Security Mode Command (AES)

Attach Request (Security Capabilities)

Page 10: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !6

Tools for Network Testing

?

Our paper: provide standard test — security algorithm support

Page 11: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !7

Equipment – Software-Defined Radio

Contribution: SIM cards and encryption for srsLTECommercial network support, tested at operator’s lab

acts as

USRP B210srsLTE

SIM

Commercial Network

Page 12: WiSec19-LTE Security Disabled

SECURITY MODESWHAT DO REAL NETWORKS SAY?

Page 13: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !9

Test Procedure

Attach (Security Capabilities)

Attach Accept (Cipher)

Attach Rejector

Security Capabilities — Example Test Case

Page 14: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !9

Test Procedure

Integrity Encryption

NULLSnow3G

AESZUC

Plaintext

Attach (Security Capabilities)

Attach Accept (Cipher)

Attach Rejector

Security Capabilities — Example Test Case

Page 15: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !10

Drive Tests

• 12 operators in 5 countries

• Reception in hotels, mobility • Car-mounted setup

Page 16: WiSec19-LTE Security Disabled

RESULTSWHAT COULD GO WRONG?

Page 17: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !12

Full Results

AT-1 AT-2 CZ-1 CZ-2 CZ-3 DE-1 DE-2 DE-3 ES-1 ES-2 ES-3 FR-1Null-Encryption

Null-Integrity

Null-Encryption & Null-Integrity

Page 18: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !13

Key Findings – Null-Integrity & Null-Encryption

NULL ok? — Sure

• Completely undermines LTE security goals – Unauthenticated users, network and traffic

• Enables impersonation attack in 3 out of 12 networks – Free data, anonymous Internet access.

Page 19: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !14

Impersonation Attack

Attach Request

Man in the Middle

Attach Request (NULL)

Security Mode Command (NULL)

Authentication and Key Agreement

Page 20: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !14

Impersonation Attack

Attach Request

Man in the Middle

Attach Request (NULL)

Security Mode Command (NULL)

Authentication and Key Agreement

Attach RejectAttach Accept (IP)

Page 21: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !14

Impersonation Attack

Attach Request

Man in the Middle

Attach Request (NULL)

Security Mode Command (NULL)

Authentication and Key Agreement

Attach RejectAttach Accept (IP)

Page 22: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !15

Worldwide Impact

Forward authentication via Internet

Page 23: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !16

Full Results

AT-1 AT-2 CZ-1 CZ-2 CZ-3 DE-1 DE-2 DE-3 ES-1 ES-2 ES-3 FR-1Null-Encryption

Null-Integrity

Null-Encryption & Null-Integrity

Insecure Fallback

Page 24: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !17

Key Findings – Insecure Fallback

NULL ok? — No. Go away.

ZUC ok? — No, but let’s talk NULL.

Page 25: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !17

Key Findings – Insecure Fallback

NULL ok? — No. Go away.

ZUC ok? — No, but let’s talk NULL.

Occurs in two cases • Empty security capabilities (not even NULL signalled) • Base station and core network disagree

Page 26: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !18

Full Results

AT-1 AT-2 CZ-1 CZ-2 CZ-3 DE-1 DE-2 DE-3 ES-1 ES-2 ES-3 FR-1Null-Encryption

Null-Integrity

Null-Encryption & Null-Integrity

Insecure Fallback

Illegal Encoding

Page 27: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !19

Key Findings – Illegal Encoding

• Base station signals undefined “EIA7” integrity • In practice: EIA7 == EIA0 == Null-Integrity

Page 28: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019 !20

Disclosure

• GSMA Coordinated Disclosure CVD-2018-13 – Contact with vendors, operators, standardisation

• Changes integrated to 4G, 5G standards

• Immediate mitigation by affected operators

Page 29: WiSec19-LTE Security Disabled

LTE SECURITY DISABLED: MISCONFIGURATION IN COMMERCIAL NETWORKS | MERLIN CHLOSTA | MAY 16, 2019

Download at https://github.com/mrlnc/eia0

• Null-integrity & null-encryption is reality • Insecure Fallback • Encoding Issues

• Impersonation Attack in Commercial Networks