help: helper-enabled in-band device pairing resistant ...llazos/... · thrusday, august 16, 2017...

28
HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation Nirnimesh Ghose, Loukas Lazos, and Ming Li Department of Electrical and Computer Engineering, University of Arizona, Tucson Presented at the : 26th USENIX Security Symposium, Vancouver

Upload: others

Post on 28-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation

Nirnimesh Ghose, Loukas Lazos, and Ming LiDepartment of Electrical and Computer Engineering,

University of Arizona, Tucson

Presented at the :26th USENIX Security Symposium, Vancouver

Page 2: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

A Pervasive Network-Enabled Ecosystem

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 2

child and elder monitoring

health monitoring

fitness tracking

nutrition tracking

smart lightingsafety and

temperature control

home surveillancesmart appliances

smart cars

110010

Page 3: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

How to we secure the information flow to protect the plethora of collected sensitive data?

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 3

We need some

Page 4: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Classic Trust Establishment Problem – Alice, Meet Bob

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 4

AliceBob

Mallory

Achieve mutual authentication and key agreement in the presence of MalloryAuthenticate the identity of Bob and AliceVerify the integrity of the communicationsAgree on a common secret

Page 5: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Problem Setup for Secure Device Pairing

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 5

Mallory (M)

In the context of this work, securely pair new devices with a hub

By the end of the device pairing A has verified the authenticity of DD and A share a common key KD,A

Challenge: Most new devices lack advanced interfaces such as keyboards, monitors, etc.

hub (A)legitimate device (D)

KD,A KD,A

Page 6: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Threat Model

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 6

KM,AKM,A

D AM

KD,M KD,M

Goals: (a) pair a rogue device with the hub, (b) force D to join a rogue hub

Means: Perform a MitM attack over wirelessAware of the channel between D and A, which is predictable and relatively stableAware of the D-M and M-A channelsCan synchronize with D (by listening to preambles)Can perform overshadowing and/or signal cancellation attacks (worst-case adversary)

Page 7: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Existing Solutions for Trust Establishment

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 7

D A

Manually enter a password to the device – requires an advanced interface

Preload password to device – manufacturers often opt for preloading the same password to multiple devices, which leads to massive vulnerabilities (Mirai botnet)

Perform out-of-band verification using light, sound, LEDs, etc. – requires advanced interfaces

Non-cryptographic verification techniques – often require specialized hardware

In-band verification techniques – only require a common RF interface

passwordpassword

Execute a Diffie-Hellman (DH) key exchange – Vulnerable to MitM

KD,A KD,A

exchange key primitives

Page 8: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

In-Band Integrity Verification

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 8

Manchester coded ON-OFF keyed message

+ Čapkun, Srdjan, et al. "Integrity codes: Message integrity protection and authentication over insecure channels." IEEE Transactions on Dependable and Secure Computing 5.4 (2008): 208-223.+ Gollakota, Shyamnath, et al. "Secure In-Band Wireless Pairing." In Proc. of the USENIX security symposium. 2011.* Hou, Yantian, Ming Li, and Joshua D. Guttman. "Chorus: scalable in-band trust establishment for multiple constrained devices over the insecure wireless channel." In Proc. of the sixth ACM WiSecConference, 2013.* Hou, Yantian, et al. "Message Integrity Protection over Wireless Channel by Countering Signal Cancellation: Theory and Practice." In Proc. of the 10th ACM AsiaCCS, 2015.

Prior works assume signal cancellation is not possible due to the rich scattering environment+

or it occurs with limited probability*

0 –

1 –

mD = 11000 1 1 0 0 0

D A

M

mM = 00011

1100 0

Page 9: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

rM

rD

rD+rM

Signal Manipulation Attack

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 9

Cancellation

CancellationandInjection

Im

Re

Im

RerM

rD

* Pöpper, Christina, et al. "Investigation of Signal and Message Manipulations on the Wireless Channel." In Proc. of the ESORICS. Vol. 11. 2011.

The infeasibility of signal cancellation assumption does not always hold

Pöpper et al.* demonstrated an effective relay signal cancellation attack using a pair of directional antennas

BPSK modulated symbolsQPSK modulated symbols

Page 10: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Our Contributions

Constructed an in-band message integrity verification primitive, for devices that do not share any secrets

Proposed HELP, a DH-based authenticated key agreement protocol, which is the first protocol resistant to MitM attacks based on signal cancellation

Analyzed security and showed negligible success probability even if perfect signal cancellationcan be achieved

Implemented HELP on the USRP testbed and validated theeffectiveness of the primitive in detecting message injections/modifications the adversary’s diminishing success in pairing rogue devices

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 10

Page 11: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

HELP – Integrity Verification Primitive

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 11

A

D

H

[𝑚𝑚𝐷𝐷]

𝑠𝑠

M

mM = 00011

1100 0

1 1 0 0 0

Cancelled helper’s slots

Page 12: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Pick 𝑋𝑋𝐷𝐷 ∈𝑈𝑈 ℤ𝑞𝑞 Pick 𝑋𝑋𝐴𝐴 ∈𝑈𝑈 ℤ𝑞𝑞𝑧𝑧𝐷𝐷 ← 𝑔𝑔𝑋𝑋𝐷𝐷𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝑧𝑧𝐴𝐴 ← 𝑔𝑔𝑋𝑋𝐵𝐵𝐵𝐵𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞𝑚𝑚𝐷𝐷 ← 𝐼𝐼𝐼𝐼𝐷𝐷 , 𝑧𝑧𝐷𝐷 𝑚𝑚𝐴𝐴 ← 𝐼𝐼𝐼𝐼𝐵𝐵𝐵𝐵, 𝑧𝑧𝐵𝐵𝐵𝐵

(H active)

(H active) Verify and Extract 𝑚𝑚𝐷𝐷

𝐾𝐾𝐷𝐷,𝐴𝐴 = 𝑔𝑔𝑋𝑋𝐷𝐷𝑋𝑋𝑨𝑨𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝐾𝐾𝐷𝐷,𝐴𝐴 = 𝑔𝑔𝑋𝑋𝐷𝐷𝑋𝑋𝑨𝑨𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞

Device Pairing with HELP

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 12

𝐼𝐼𝐼𝐼D, (𝐺𝐺, 𝑞𝑞,𝑔𝑔) 𝐼𝐼𝐼𝐼A, (𝐺𝐺, 𝑞𝑞,𝑔𝑔)

[ℎ(𝑚𝑚𝐷𝐷), mD] + mH

AE(s,K)

mA

Page 13: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Security Analysis of the Help Primitive

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 13

Number of helper’s ON slots

probability that the hub accepts a message forgery

probability of inferring the helper's activity during one slot

Page 14: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Given 𝐼𝐼𝐼𝐼𝐷𝐷 Given 𝐼𝐼𝐼𝐼𝑀𝑀 Given 𝐼𝐼𝐼𝐼𝐴𝐴(𝐺𝐺, 𝑞𝑞,𝑔𝑔) (𝐺𝐺, 𝑞𝑞,𝑔𝑔) (𝐺𝐺, 𝑞𝑞,𝑔𝑔)

Pick 𝑋𝑋𝐷𝐷 ∈𝑈𝑈 ℤ𝑞𝑞 Pick 𝑋𝑋𝑀𝑀 ∈𝑈𝑈 ℤ𝑞𝑞 Pick 𝑋𝑋𝐴𝐴 ∈𝑈𝑈 ℤ𝑞𝑞𝑧𝑧𝐷𝐷 ← 𝑔𝑔𝑋𝑋𝐷𝐷𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝑧𝑧𝐴𝐴 ← 𝑔𝑔𝑋𝑋𝑀𝑀𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝑧𝑧𝐴𝐴 ← 𝑔𝑔𝑋𝑋𝐴𝐴𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞𝑚𝑚𝐷𝐷 ← 𝐼𝐼𝐼𝐼𝐷𝐷 , 𝑧𝑧𝐷𝐷 𝑚𝑚𝐴𝐴 ← 𝐼𝐼𝐼𝐼𝑀𝑀, 𝑧𝑧𝑀𝑀 𝑚𝑚𝐴𝐴 ← 𝐼𝐼𝐼𝐼𝐴𝐴, 𝑧𝑧𝐴𝐴

[ℎ(𝑚𝑚𝐷𝐷), mD] [ℎ(𝑚𝑚𝑀𝑀), mM]

(H active) mH[ℎ(𝑚𝑚𝐷𝐷), mD] + mH [ℎ(𝑚𝑚𝑀𝑀), mM]

(H active) Extract 𝑚𝑚𝑀𝑀Fails 𝑠𝑠 verification

Cancel and InjectFails to extract 𝑚𝑚𝐷𝐷

𝐾𝐾𝐷𝐷,𝑀𝑀 = 𝑔𝑔𝑋𝑋𝐷𝐷𝑋𝑋𝑀𝑀𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝐾𝐾𝐷𝐷,𝑀𝑀 = 𝑔𝑔𝑋𝑋𝐷𝐷𝑋𝑋𝑀𝑀𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞 𝐾𝐾𝑀𝑀,𝐴𝐴 = 𝑔𝑔𝑋𝑋𝑀𝑀𝑋𝑋𝑨𝑨𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞𝐾𝐾𝑀𝑀,𝐴𝐴 = 𝑔𝑔𝑋𝑋𝑀𝑀𝑋𝑋𝐴𝐴𝑚𝑚𝑚𝑚𝑚𝑚 𝑞𝑞

Security Analysis of the Device Pairing Protocol

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 1414

AE(s,K)

mA

AE(s,K)

mM

Page 15: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Security Analysis of the Downlink Direction

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 15

Number of helper’s ON slots

probability that the device accepts a message forgery

probability of inferring the helper's activity during one slot

Page 16: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Probability of Helper Activity Inference (𝑝𝑝𝐼𝐼)

Adversary’s capability in timely identifying the helper’s ON slot, the adversary could employ several PHY-layer characteristics:

Frequency offset Channel impulse responseI/Q origin offsetTransient radio stateAngle of arrival for incoming signalReceived signal strengthTime offset

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 16

Page 17: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Fast Helper Detection based on RSS

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 17

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Page 18: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Probability of Inference with H and D transmit at Fixed Power

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 18

D

M

H

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Page 19: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Probability of Inference with H and D transmit at Varying Power

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 19

D

M

H

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Page 20: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Probability of Inference when H and D remain Equidistant

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 20

H

M

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Ddistance

Page 21: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 21

Probability of Inference when H is Moved Towards MH,D powers are fixed

D

M

H

distance

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Page 22: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Probability of Inference when H is Moved Towards MH,D powers are Randomized

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 22

D

M

H

distance

𝑃𝑃𝐷𝐷𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝐷𝐷 𝑃𝑃𝑁𝑁𝐷𝐷𝐷𝐷

Page 23: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Fast Helper Detection Based on Time

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 23

Helper Transmission

Device Transmission

Adversary Reception

εε ε ε ε

helper is always faster (or slower)

Page 24: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Randomize Slot Starting Times

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 24

Helper Transmission

Device Transmission

Adversary Reception

εε ε ε ε

helper is sometimes faster, sometimes slower

Page 25: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Normalized Number of Slots that Each Device is Faster

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 25

Page 26: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Protocol Evaluation Setup

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 26

Page 27: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Protocol Evaluation Results

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 27

Page 28: HELP: Helper-Enabled In-Band Device Pairing Resistant ...llazos/... · Thrusday, August 16, 2017 HELP: Helper -Enabled In- Band Device Pairing Resistant Against Signal Cancellation

Conclusions and Future Work

We proposed a new PHY-layer integrity protection scheme called HELP that is resistant to signal cancellation attacks

Our protocol is aimed at alleviating the device pairing problem for IoT devices that may not have the appropriate interfaces for entering or pre-loading cryptographic primitives.

We showed that the DH key agreement protocol using HELP can resist MitM attacks without requiring an authenticated channel between device and the hub.

Future Work: Investigate a MitM-resistant in-band pairing technique that does not rely on ON-OFF keying so that it is compatible with COTS devices

Thrusday, August 16, 2017 HELP: Helper-Enabled In-Band Device Pairing Resistant Against Signal Cancellation 28