a practical secure neighbor verification protocol for wireless sensor networks

28
1 A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks Reza Shokri, Marcin Poturalski, Gael Ravot, Panos Papadimitratos, and Jean-Pierre Hubaux Laboratory for Computer Communications and Applications, EPFL, Switzerland

Upload: callum

Post on 31-Jan-2016

47 views

Category:

Documents


0 download

DESCRIPTION

A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks. Reza Shokri, Marcin Poturalski, Gael Ravot, Panos Papadimitratos, and Jean-Pierre Hubaux Laboratory for Computer Communications and Applications, EPFL, Switzerland - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

1

A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

Reza Shokri, Marcin Poturalski, Gael Ravot, Panos Papadimitratos, and Jean-Pierre Hubaux

Laboratory for Computer Communications and Applications, EPFL, Switzerland

Second ACM Conference on Wireless Network Security (WiSec'09) March 2009 Zurich, Switzerland

Page 2: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

2

Wormhole AttackWormhole Attack

Page 3: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

3

Wormhole AttackWormhole Attack

WormholeWormhole

Page 4: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

4

Wormhole AttackWormhole Attack

False Links over the WormholeFalse Links over the Wormhole

Page 5: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

5

Neighbor Verification ProtocolNeighbor Verification Protocol

Protocol StagesProtocol Stages

i. Ranging ii. Exchanging the Neighbor Tables (include distance)iii. Neighbor Verification (security tests)

Our Main IdeaOur Main Idea

Local geometric consistency tests

MotivationMotivation

- The other proposed methods are not implementable on sensor networks (e.g., directional antennas) or are not secure enough considering the sensor networks’ limitations (e.g., tight time synchronization in nanosecond precision is required). - Our goal is to propose a secure and practical protocol for WSN.

Page 6: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

6

The Ranging ProtocolThe Ranging Protocol

Page 7: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

7

The Ranging ProtocolThe Ranging Protocol

?

?

?

A

B

C D

Page 8: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

8

The Ranging ProtocolThe Ranging Protocol

A B

tREQ/A tREQ/B

C

REQ

Fresh Random Nonce

Page 9: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

9

The Ranging ProtocolThe Ranging Protocol

A B

REP

tREQ/A tREQ/B

C

tREP/BtREP/A

REQ

Page 10: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

10

The Ranging ProtocolThe Ranging Protocol

A B

REP

tREQ/A tREQ/B

C

tREP/BtREP/A

REQ

tRNG/B

tRNG/A

RNG

(Ultra)Sound

Page 11: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

11

The Ranging ProtocolThe Ranging Protocol

A B

REP

tREQ/A tREQ/B

C

tREP/BtREP/A

REQ

tRNG/B

tRNG/A

RNG

ACK

(Ultra)Sound

Page 12: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

12

The Ranging ProtocolThe Ranging ProtocolA B

REP

tREQ/A tREQ/B

C

tREP/BtREP/A

REQ

tRNG/B

tRNG/A

RNG(Ultra)Sound

ACK

Node B:

“Synchronization Test”

Speed of sound

Empirical Synchronization Error

Page 13: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

13

C

B

The Ranging Protocol (Over Attack)The Ranging Protocol (Over Attack)

A dwadwb

dwc dbc

A

C

B

dbc

>= dwb + dwb

>= dwb + d

wb

The adversary can change adjust the distance between nodes only by introducing different delay values while relaying RNG messages

Page 14: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

14

Neighbor Table ExchangeNeighbor Table Exchange

AB

C D

F

E

G

Each node broadcasts its neighbor table to its direct neighbors.Neighbor tables include distance between nodes.

We assume nodes are deployed on a plane. (it can be extended to 3D)

Page 15: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

15

Neighbor Verification (Security Tests)Neighbor Verification (Security Tests)

Page 16: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

16

Neighbor Verification (Security Tests)Neighbor Verification (Security Tests)

Link Symmetry Test d(B->A) = d(A->B)

(1)

Page 17: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

17

Neighbor Verification (Security Tests)Neighbor Verification (Security Tests)

Maximum Range Test d(B->A) < RR

(1) (2)

Link Symmetry Test d(B->A) = d(A->B)

Page 18: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

18

Neighbor Verification (Security Tests)Neighbor Verification (Security Tests)

Quadrilateral Test Each 4 neighbors that form a clique must belong to a quadrilateral. (embedding graph on a plane)

Maximum Range Test d(B->A) < RR

(1)

(3)

(2)

Link Symmetry Test d(B->A) = d(A->B)

Page 19: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

19

Neighbor Verification (Security Tests)Neighbor Verification (Security Tests)

Quadrilateral Convexity Test A link will be marked as verified link if it belongs to a convex quadrilateral.

Maximum Range Test d(B->A) < RR

(1)

(3)

(2)

(4)

Quadrilateral Test Each 4 neighbors that form a clique must belong to a quadrilateral. (embedding graph on a plane)

Link Symmetry Test d(B->A) = d(A->B)

Page 20: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

20

Security AnalysisSecurity Analysis

Page 21: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

21

Security AnalysisSecurity Analysis

To successfully create a false link:the attacker has to convince 4 nodes that form a convex quadrilateral

(2-2)

(3-1)

A

B C

D

D

A

BC

Page 22: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

22

Security AnalysisSecurity Analysis

(2-2)A

B C

D

C

DA

B C

DA

B

Nodes’ perception (1) Nodes’ perception (2)

We have proved that neither of these perceptions are possible. Thus, 2-2 attack is impossible.

Page 23: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

23

Security AnalysisSecurity Analysis

(3-1)D

A

BC

A

B

C

DNodes’ perception

DA

BC

We have proved that the attack is possible only if:

Page 24: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

24

Experimental ResultsExperimental Results

SettingsSettings

The ranging protocol has been implemented on Crossbow Cricket motes

Page 25: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

25

Experimental ResultsExperimental Results

SettingsSettings

The ranging protocol has been implemented on Crossbow Cricket motes

ResultsResults

Time Synchronization Error: 99.55% below 5 microsecondDistance Measurement Error: Below 5cm error (Range up to 4m)Link Symmetry Error: 97% below 7cm (74% below 2cm)

Page 26: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

26

Performance Evaluation in Benign SettingPerformance Evaluation in Benign Setting

Links have to satisfy the convex quadrilateral test to be verified by our protocol.

Yet, even in a benign setting, some links might not belong to any convex quadrilateral, and therefore remain unverifiable.

How percentage of true links can be verified?

Page 27: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

27

Performance Evaluation in Benign SettingPerformance Evaluation in Benign Setting

CoverageCoverage

Uniform distribution of nodes in a field measuring 400m*400m“R”: Transmission range = 100m“e”: Maximum distance estimation error as percentage of R.

Page 28: A Practical Secure Neighbor Verification Protocol for Wireless Sensor Networks

28

ConclusionConclusion

- Neighbor Verification Protocol for Wireless Sensor Networks

- Based on estimation of node distance and simple, local tests

- Practical solution, implemented on Cricket motes

- Formal analysis and proof of correctness

- Highly effective against powerful adversaries

- Adding detection of adversary increases security (see tech-report)