• No results found

Wireless Network Security Spring 2014

N/A
N/A
Protected

Academic year: 2021

Share "Wireless Network Security Spring 2014"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

Wireless Network Security

14-814 – Spring 2014

Patrick Tague

(2)
(3)

Broadcast Communication

Wireless networks can leverage

the “broadcast advantage”

property to send a message to

multiple recipients

simultaneously

– In a “star” (like a WiFi network), O(1) transmissions cover all N recipients

– In general, O(N/d) transmissions cover N recipients with density d, using relaying

(4)

Broadcast Security

To leverage “broadcast advantage”

All recipients need to be able to authenticate the

transmitter / message from the single transmission

All recipients need to be able to decrypt the message

from the single transmission

Also, the authentication, en/decryption, and key

(5)

Broadcast Authentication

Sender wants to broadcast a single message in a

wireless network

To protect against packet injection and other

threats, need to

verify the data origin

Sender

Bob

M

Carol

M

Dave

(6)

M'

, MAC

K

(

M'

)

Sender

w/ key K

Alice w/

key K

Bob w/

key K

M, MAC

K

(M)

M, MAC

K

(M)

Broadcast Auth Mechanisms

1.

Symmetric key crypto and message auth codes

(MACs)

(7)

Broadcast Auth Mechanisms

2.

Public-key signatures

Sender uses a private key to sign the message, all

recipients verify with the corresponding public key

Sender, K

Alice, K

-1

Bob, K

-1

M, Sig

K

(M)

M, Sig

K

(M)

M'

, Sig

K

(

M'

)

Ex: RSA 1024 bit signatures

– High generation cost (~10 milliseconds)

(8)

Broadcast Auth Mechanisms

3.

Packet-block signatures

– Sign a collection of packets, partition signature over

packet block disperse the cost of signing over → larger chunks of data

Sender, K

Alice, K

-1

M

i

, s

i

M = {Mi : i=1,...,k}, SigK(M) s→ 1 || … || sk

(9)

TESLA

TESLA = Timed Efficient Stream Loss-tolerant

Authentication

[Perrig et al., RSA Cryptobytes 2002]

Uses only symmetric cryptography

Asymmetry via time

Only the correct sender could compute MAC at time t – Delayed key disclosure for verification

(10)

Delayed Key Disclosure

F(K)

Authentic

Commitment

P

MACK(P)

K disclosed

1: Verify K

2: Verify MAC

3: P Authentic!

(11)

One-Way Hash Chains

Versatile cryptographic primitive

– Pick random rN and public one-way function F – For i=N-1,...,0 : ri = F(ri+1), then publish r0

Properties

– Use in reverse order of construction: r1, r2, …, rN

– Infeasible to derive ri from rj (j<i)

– Efficiently authenticate ri using rj (j<i): rj = Fi-j(ri)

Robust to missing values

r6 r7

r4

(12)

TESLA Schedules

Keys disclosed 2 time intervals after use

Receiver setup: Authentic K3, key disclosure

schedule

K5 K6 K7

t

Time 4 Time 5 Time 6 Time 7

K4

K3 F F K5 F

Time 3

F

P1,

MACK5(P1), K3

P2,

MACK7(P2), K5

(13)

Robustness to Packet Loss

K5 K6 K7

t

Time 4 Time 5 Time 6 Time 7

K4

K3 F F K5 F

Time 3

F

P3,

MACK5(P3),

K3 P5,

MACK7(P5), K5

P1,

MACK4(P1), K2

P2,

MACK4(P2), K2

P4,

MACK6(P4), K4

(14)

Asymmetric Properties

Disclosed value of key chain is a public key, it

allows authentication of subsequent messages

(assuming time synchronization)

Receivers can only verify, not generate

With trusted time stamping entity, TESLA can

provide signature property

(15)

TESLA Summary

Low overhead

– Communication (~ 20 bytes)

– Computation (~ 1 MAC computation per packet)

Perfect robustness to packet loss

Independent of number of receivers

Delayed authentication

Applications

Authentic media broadcastSensor networks

(16)

What about highly-constrained nodes in

wireless sensor networks?

(17)

µ

TESLA for WSN

Proposed as part of the SPINS architecture

[Perrig et al., WiNet 2002]

Reduced communication compared to TESLA, key

disclosure per epoch instead of per packet

Includes several other optimizations for minimum

(18)

SNEP for WSN

SPINS also includes the Secure Network

Encryption Protocol (SNEP) to provide data

confidentiality, authentication, and freshness

[Perrig et al., WiNet 2002]

SNEP includes efficient key generation

SNEP authenticated + encrypted packet structure:

• Data encrypted with shared key + counter (for semantic security)

(19)

TinySec

The TinySec architecture provides a practical

security suite for wireless sensor networks

[Karlof et al., SenSys 2004]

TinySec-Auth provides authentication only

– TinySec-AE provides authenticated encryption

Extensive discussion of design trade-offs and

(20)

Further Reading

Broadcast authentication in VANETs

Studer et al., ESCAR 2008 / JCN 2009.Raya et al., SASN 2005.

• More papers @ http://lca.epfl.ch/projects/ivc/

… in WSN

Ren et al., WASA 2006.

DoS-resilient broadcast authentication

Gunter et al., NDSS 2004.Karlof et al., NDSS 2004.

(21)

In addition to security and performance

features of the security protocols, what

about the underlying

key management

?

(22)

Key Management

How to add a member to the group without

giving them access to past group activities?

How to remove/revoke a member from the

group without giving them access to future

group activities?

How to provide fresh credentials to group

members?

(23)

Group Key Management

Group formation, joining, and leaving can be

controlled entirely by distribution and

revocation of keys

A session encryption key (SEK) is given to all group

members (used to distribute/collect data)

Key encryption keys (KEK) given to group members

are used to periodically update SEKs

• Revocation = not getting an SEK update

• KEKs may also need to be updated

(24)

Challenges

Simple attack models such as eavesdropping,

message injection / tampering, masquerading,

etc. can affect the entire security architecture

Unicast solutions may be infeasible / impractical

Network and services are dynamic, need to scale

(25)

Scale & Dynamics

Depending on the scenario, the group size could

be 10s, 100s, 1000s, 1000000s, …

Group membership and service subscription can

be dynamic

Can change on the order of seconds, minutes, days,

months, …

Join and leave are random

(26)

Logical Key Hierarchy

LKH arranges group members in an

m

-ary tree

Tree leaves correspond to members with unique KEKsInternal tree nodes represent group KEKs

– Tree root represents the SEK

Each member gets SEK and KEKs along tree path

K2,0

K1,0 K1,1

K0

(27)

LHK Addition

If

M

3

wants to join a group and the tree isn't full

– Give K0, K1,1, K2,3 to M3

K2,0

K1,0 K1,1

K0

M0 M1 M2 M3

K2,1 K2,2 K2,3

If

M

4

wants to join a group and the tree is full

Start another level of the tree

M3 K2,3

K3,0

M M K3,1

(28)

LHK Removal

If

M

3

wants to leave the group, update SEK/KEKs

– {K'0, K'1,1}K2,2

– {K'0}K1,0

K2,0

K1,0 K1,1

K0

M M M

K2,1 K2,2

M K2,3

K'0

(29)

LKH Overhead

Storage:

Authority holds O(N) total keys

– Each member holds 1 SEK + O(logm(N)) KEKs

Communication:

Broadcast flood required for every update message,

O(logm(N)) msg/removal

• Note: every msg may require multiple transmissions...

(30)

Generalized Key Graphs

Key graphs generalize key trees for secure group

communication [Wong et al., TR 1997]

– The authors propose a graph generalization of LKH allowing users to belong to groups arbitrarily instead of using a tree structure

(31)

Further Generalization

Iolus: scalable multicast grouping using more

generalized hierarchy [Mittra, SIGCOMM 1997]

– Distribution tree composed of smaller multicast subgroups in a hierarchy

A group security intermediary (GSI) in each subgroup

manages inter-subgroup details

A group security controller (GSC) manages top-level

subgroup and GSIs

(32)
(33)

How do these update procedures

translate to the wireless domain?

(34)

Metrics

Previous techniques described focus on number

of update messages to broadcast

– What about the physical topology of the network?

Relaying messages over multiple wireless links?

Energy expenditure of long/lossy links?

(35)

Power-Efficient Key Trees

[Lazos & Poovendran, 2005]

Key updates in large wireless networks (WSNs,

MANETs, etc.) should be energy-efficient

(36)

But, in all these approaches,

there's a catch...

(37)

Initial Key Agreement

All of these key management approaches assume

the new user is a valid user that can establish a

pairwise KEK with the server

Valid user authentication keys→ →

– So, initial key agreement requires pre-existing keys or a secure offline initialization

Protocols such as Diffie-Hellman and their many

variants can help here, as long as they're practical for the context

(38)

Key Agreement in WSN

In challenged systems (WSN), key

agreement is often to expensive

Option: authority assigns

symmetric keys (KEK, etc.) prior

to deployment, nodes that share

SEKs/KEKs after deployment can

bootstrap secure links

• See [Eschenauer & Gligor, CCS 2002; Tague & Poovendran, ToSN 2007]

(39)

This “pre-distribution” has its own class

of associated threats/attacks

I can provide hundreds of papers if

you're interested in learning more

(40)

February 11-13:

Project Survey Presentations

February 18:

References

Related documents

The benefits will be to the larger community. This study seeks to understand what motivates members of the Hispanic population to vote and participate in the political life of

business network approach (e.g. Axelsson, 1996; Håkansson, 1989) and relationship marketing (Gummeson, 1995), which is the other important theoretical source for BAT. The BAT

Students not returning to a YRDSB school in the fall will be asked to return any technology – however, this collection will be done at a later date and can be kept for learning

The variable discount factor model brings additional insights: (i) the remanufacturing firm optimally prices the remanufactured product higher than the price suggested under

This inverter topology requires significantly less power switches compared to conventional topology such as cascaded H-bridge multilevel inverter, leading to reduced size/cost

تملاس يور رب یگدنز كبس حلاصا و هیذغت ندب نآ عبت هب و دراد یمهم رایسب ریثأت یلسانت هاگتسد ( 4 .) ن نارـیا یتنـس بـط عباـنم رد هـجوت لباق هتک ـجوت

From simple desiderata, namely the consistency and the sparsity of the classifier, we derive the double hinge loss function that focuses on estimating conditional probabilities only

business entity formed to finance socially minded projects and organizations, and may include funds from non-profit or for-profit entities (Witkin 2009).. Its purpose is to attract