Top Banner
Distributed Collaborative Key Distributed Collaborative Key Agreement Protocols for Dynamic Agreement Protocols for Dynamic Peer Groups Peer Groups Patrick P. C. Lee, John C. S. Lui and David K. Y. Yau IEEE ICNP 2002
27

Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Feb 06, 2016

Download

Documents

ChEng_

Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups. Patrick P. C. Lee, John C. S. Lui and David K. Y. Yau IEEE ICNP 2002. Outline. Identify the motivations of group key agreement and its requirements. - PowerPoint PPT Presentation
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: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Distributed Collaborative Key Distributed Collaborative Key Agreement Protocols for Dynamic Agreement Protocols for Dynamic

Peer GroupsPeer Groups

Patrick P. C. Lee, John C. S. Lui and David K. Y. Yau

IEEE ICNP 2002

Page 2: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Outline

Identify the motivations of group key agreement and its requirements.

Introduce Tree-Based Group Diffie-Hellman (TGDH), which uses a key tree to arrange all the keys.

Propose three interval-based rekeying algorithms: Rebuild, Batch and Queue-batch.

Illustrate experimental results.

Page 3: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Motivations

Many group-oriented and distributed applications require security services.

Example: a closed and confidential business meeting in a p2p network.

We therefore need a secure distributed group key agreement scheme so that the group can encrypt their communication data with a common secret group key.

Page 4: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Requirements of Group Key Agreement

Distributed: there is no centralized key server, which has the following limitations: A single point of failure; and Not suitable for peer groups and ad hoc networks.

Collaborative: all group members contribute their own part to generate a group key.

Dynamic: the protocol remains efficient even when the occurrences of join/leave events are very frequent.

Page 5: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Our Work

We worked on the Tree-Based Group Diffie-Hellman protocol by Kim et al. in ACM CCS’00.

We designed three interval-based rekeying algorithms that have the distributed, collaborative and dynamic features.

We performed quantitative and simulation-based analysis to illustrate the performance merits of the interval-based algorithms.

Page 6: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Tree-Based Group Diffie-Hellman Protocol (TGDH)

A key tree is formed. Each node v represents a secret (private) key Kv and a blinded (public) key BKv.

BKv = αKv mod p, where α and p are public parameters. Every member holds the secret keys along the key path, and a

ll the blinded keys in the key tree. K0 is the group key.

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

Page 7: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

TGDH: Relationships between nodes

Kv = (BK2v+2)K2v+1 mod p = (αK2v+2)K2v+1 mod p

v

The secret key of a non-leaf node v can be generated by:

Kv = (BK2v+1)K2v+2 mod p = (αK2v+1)K2v+2 mod p

2v+1 2v+2BK2v+1

BK2v+2

Kv = αK2v+1K2v+2 mod p

Page 8: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Tree-Based Group Diffie-Hellman Protocol (TGDH)

A key tree is formed. Each node v represents a secret (private) key Kv and a blinded (public) key BKv.

BKv = αKv mod p, where α and p are public parameters. Every member holds the secret keys along the key path, and a

ll the blinded keys in the key tree. K0 is the group key.

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

Page 9: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

TGDH: Handle membership events

Rekeying (renewing the keys of the nodes) is performed for every single join/leave event to ensure backward and forward confidentiality.

A special member called sponsor is elected to be responsible for broadcasting updated blinded keys.

t

Join Leave Join Join Leave

rekey rekey rekey rekey rekey

Page 10: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

TGDH: Single Leave Case

M4 becomes the sponsor. It rekeys the secret keys K2 and K0 and broadcasts the blinded key BK2.

M1, M2 and M3 compute K0 given BK2.

M6 and M7 compute K2 and then K0 given BK5.

5

11 12

M4 M5

0

2

M1 M2

4 6

7

1

3

8M3

M6

13 14

M7

5

12

2

0M5 leaves

5

M4(S)

Page 11: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

M4

0

2

0

TGDH: Single Join Case

M8 broadcasts its individual blinded key BK12 on joining. M4 becomes the sponsor again. It rekeys K5, K2 and K0 giv

en BK12 and broadcasts the blinded key BK5 and BK2. Now everyone can compute the new group key.

1211

M4(S)

M8 joins

2

5

M8M1 M2

4 6

7

1

3

8M3

M6

13 14

M7

5

Page 12: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Interval-Based Rekeying Algorithms

We can reduce one rekeying operation if we can simply replace M5 by M8 in node 12.

Interval-based rekeying is proposed such that rekeying is performed on a batch of join and leave requests at regular rekey intervals.

Interval-based rekeying improves system performance. We propose three interval-based rekeying algorithms, n

amely Rebuild, Batch and Queue-batch.

Page 13: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

23 24

M7

Rebuild Algorithm

Intuition: Minimize the final tree height so that the number of rekeying operations of every member is reduced.

Basic Idea: Reconstruct the whole key tree to form a complete tree. We can explore under which workload Rebuild is good.

0

M1(s) M3(S)

2

4 6

7

1

53

8M4(S) M6(S) M8(S)

0

21

3

M2, M5, M7 leaveM8 joins

Page 14: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Batch Algorithm

Based on the centralized batch rekeying approach by Li et al. in WWW10 2001.

Basic Idea: add the joins to suitable nodes: Replace the leave nodes with the join nodes. Attach the join nodes to the shallowest positions. Keep the key tree balanced.

Elect the sponsors who help broadcast new blinded keys. Given J joins and L leaves, we illustrate two cases:

L > J > 0 J > L > 0

Page 15: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

23 24

M7

Batch – Example 1: L > J > 0

M8 broadcasts its join request, including its blinded key.

M1 rekeys secret keys K1 and K0. M4 rekeys K5, K2 and K0.

M1 broadcasts BK1. M4 broadcasts BK5 and BK2.

63

8 11

24

M2, M5, M7 leaveM8 joins

0

21

5

M1(S)

3

M4(S)

11M8(S)

6

Page 16: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

23 24

M7

Batch – Example 2: J > L > 0

M8 and M9 form a subtree T1’. M10 itself forms a subtree T2’.

M8 and M9 compute K6, and one of them broadcasts BK6.

M1 rekeys K3 and K1. M6 rekeys K2.

M1 broadcasts BK3 and BK1. M6 broadcasts BK2.

0

21

3 6

8

6

13 14

M8(S) M9(S)

T1’

M8, M9, M10 joinM2, M7 leave

M10(S)

8

T2’

Page 17: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Queue-batch Algorithm

Intuition: The previous approaches perform rekeying at the star

t of every rekey interval, leading to a heavy processing workload at the update instance.

Reduce the load by pre-processing the join events during the idle rekey interval.

Page 18: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Queue-batch Algorithm

Two stages: Queue-subtree and Queue-merge. Queue-subtree: Within the idle rekey interval, form a sub

tree T’ with all joining members, just like individual rekeying for a single join event.

Queue-merge: At the beginning of the next rekey interval, prune all departed leaf nodes if any and add the subtree T’ to the highest leave position (or attach T’ to the shallowest position).

Elect the sponsors who can help broadcast the new blinded keys.

Page 19: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Queue-batch – Example of Queue-merge Phase

T’ is attached to node 6. M10, the sponsor, will broadcast BK6.

M1 rekeys K1. M6 rekeys K2.

M1 broadcasts BK1. M6 broadcasts BK2.

0

21

0

M1 M2

2

4 6

7

1

53

8 11 12M3

M4 M5

M6

23 24

M7

M8, M9, M10 joinM2, M7 leave

3 6

8M1(S)

3 6

13 14

M8 M9

T’

27 28M10(S)

Page 20: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Performance Evaluations

Study the performance of the interval-based algorithms. Performance Metrics:

Number of renewed nodes: a renewed node refers to a non-leaf node whose keys are renewed. This metric provides a measure of the communication cost.

Number of exponentiation operations: this metric provides a measure of the computation load.

Settings: There is only one group. The population size is fixed at 1024 users. Originally, 512 members are in the group. Every potential member joins the group with probability pJ, and

every existing member leaves the group with probability pL.

Page 21: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experiment 1: Evaluation using Mathematical Models

Start with a well-balanced tree with 512 members.

Obtain the metrics under different numbers of joins and leaves.

Queue-batch offers the best performance, and a significant computation/communication reduction when the group is very dynamic.

Details on mathematical models are referred to the paper/technical report.

Page 22: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experiment 2: Average Analysis

Average number of exponentiations at different join probabilities:

pJ=0.25 pJ=0.5

pJ=0.75

Page 23: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experiment 2: Average Analysis

Average number of renewed nodes at different join probabilities:

pJ=0.25 pJ=0.5

pJ=0.75

Page 24: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experiment 3: Instantaneous Analysis

Instantaneous number of exponentiations at different join probabilities for Batch and Queue-batch:

pJ=0.25pL=0.25

pJ=0.25pL=0.75

pJ=0.75pJ=0.75pL=0.75

pJ=0.75pL=0.25

Page 25: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experiment 3: Instantaneous Analysis

Instantaneous number of renewed nodes at different join probabilities for Batch and Queue-batch:

pJ=0.25pL=0.25

pJ=0.25pL=0.75

pJ=0.75pJ=0.75pL=0.75

pJ=0.75pL=0.25

Page 26: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Experimental Results

Queue-batch offers the best performance in terms of computation and communication costs among the three interval-based algorithms.

The superior performance of Queue-batch is more obvious when the occurrences of joins/leaves are highly frequent.

Page 27: Distributed Collaborative Key Agreement Protocols for Dynamic Peer Groups

Future Work

Authentication

Sponsors’ coordination

Fault tolerance

System implementation