Download Probabilistic Key Pre-Distribution in Wireless Sensor Networks: Techniques and Analysis and more Study notes Interior Design in PDF only on Docsity!
Dr. Peng Ning CSC 774 Adv. Net. Security 1 Computer Science
CSC 774 Advanced Network Security
Topic 7. Wireless Sensor Network Security Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 2
Wireless Sensor Networks
sensor Communication and processing module
- Network protocol (e.g., routing)
- Data management (e.g., aggregation)
- Localization and time synchronization
- Energy management, robustness,etc.
- Security Node to node Node to sink Group communication a. Key management b. Broadcast authentication Location? c. Security of fundamental services d. Detection of attacks, etc.
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 3
Wireless Sensor Networks (Cont’d)
- Composed of
- Low cost, low power, and multifunctional nodes
- Wireless communication in short distances
- Sensor node
- Sensing
- Data processing
- Communication
- Unattended Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 4
Security in Sensor Networks
- Sensor network security
- Key management
- Point-to-point authentication
- Encryption
- Broadcast authentication
- Secure localization
- Secure clock synchronization
- …
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 7
Research Problems
- Cryptographic services
- Broadcast authentication
- Key management
- Security mechanisms for fundamental services
- Clock synchronization
- Secure location discovery
- Secure aggregation and in-network processing
- Cluster formation/cluster head election Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 8
Research Problems (Cont’d)
- Securing sensor network applications
- Intruder detection
- Tracking of moving targets
- …
- Intrusion detection
- A desirable component
- Require different solutions than traditional
techniques
Dr. Peng Ning CSC 774 Adv. Net. Security 9 Computer Science
CSC 774 Network Security
Topic 9.1 Key Pre-distribution in Wireless Sensor Networks Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 10
Establishing Pairwise Keys in Sensor
Networks
• Traditional techniques are not practical in
sensor networks
- Public cryptography: not practical
- Key distribution centers (KDC): not practical
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 13
Probabilistic Key Pre-Distribution (Cont’d)
- Key distribution (three phases)
- Key pre-distribution
- Shared-key discovery
- Path-key establishment Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 14
Probabilistic Key Pre-Distribution (Cont’d)
- Key pre-distribution
- Generate a large pool of P keys and their ids
- For each sensor, random draw k keys out of P
without replacement
- This forms the key ring of the sensor
- Load the key ring into the memory of the sensor
- Save the key ids of each key ring and the sensor id
on a trusted controller
- For each node, load the i- th controller node with
the key shared with that node.
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 15
Probabilistic Key Pre-Distribution (Cont’d)
- Key pre-distribution (Cont’d)
- Parameters k and P are critical
- Only a small number of keys need to be placed on each node’s key ring
- Any two nodes share at least a key with a chosen probability Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 16
Probabilistic Key Pre-Distribution (Cont’d)
- Shared-key discovery
- Each node discovers its neighbors in wireless
communication range with which it shares keys
- Method 1:
- Each node broadcasts the list of key ids on its key ring
- Give an adversary additional knowledge of key distribution
- No direct ways to comprise keys
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 19
Probabilistic Key Pre-Distribution (Cont’d)
- Revocation
- Revoke the entire key ring of a compromised node
- A controller node broadcasts a single revocation
message containing a signed list of key ids for the
revoked key ring
- The controller generates a signature key Ke , and unicasts it to each node by encrypting it with the key they share.
- Each node verifies the signed list of key ids, and
removes those key from its key ring
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 20
Probabilistic Key Pre-Distribution (Cont’d)
- Re-keying
- Restart shared-key discovery and path-key
discovery
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 21
Analysis
- Model a sensor network as a random graph
- All the sensor nodes are the vertices in the graph
- There is an edge between two vertices if the corresponding nodes share a common key
- Analysis questions
- What should be the expected degree ( d ) of a node so that a sensor network with n nodes is connected?
- Given d and the size of a neighborhood ( n’ ), what should be the key ring size ( k ) and key pool size ( P ) for a network with n nodes? Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 22
Analysis (Cont’d)
- What should be the expected degree ( d ) of a node so that a sensor network with n nodes is connected? - Answered by random graph theory - G( n , p ): a graph of n nodes for which the probability that a link exists between two nodes is p. - d = p * ( n -1): expected degree of a node (i.e. the average number of edges connecting that node with its neighbors).
- Erdös and Rényi’s Equation:
- Given a desired probability P c for graph connectivity and number of nodes, n , the threshold function p is defined by:
- where ! Pc = lim n "# Pr[ G ( n , p ) is connect] = e $ e $^ c ! p = ln( n ) n
c n and c is any real constant.
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 25
Analysis (Cont’d)
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 26
Improvements for the Probabilistic Key
Pre-Distribution
- q -composite key pre-distribution
- Two nodes have to have at least q shared keys to
derive a valid pairwise key
- Better resilience when the number of compromised
nodes is small
- Multi-path enforcement
- Derive each path key through multiple node-
disjoint paths, each of which derives one sub-key
- Path key is the XOR of all sub keys
- Better resilience to compromised nodes in key
paths
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 27
Random Pairwise Keys Scheme
• Approach
- Calculate the smallest probability p of two nodes
being connected so that the entire network is
connected with a high probability.
- Consider a network of n nodes
- Each node needs to store np pairwise keys
• Limitation
- The network size is limited by n=m/p , where m is
the available memory on each node for keys
Dr. Peng Ning CSC 774 Adv. Net. Security 28 Computer Science
Polynomial Pool Based Key
Pre-Distribution
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 31
Polynomial Based Key Predistribution
(Cont’d)
- Security properties (by Blundo et al.)
- Unconditionally secure for up to t compromised nodes
- Performance
- Storage overhead at sensors: ( t +1)log q bits
- Computational overhead at sensors: t modular multiplications and t modular additions
- No communication overhead
- Limitation
- Insecure when more than t sensors are compromised
- An invitation for node compromise attacks Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 32
Polynomial Pool Based Key Predistribution
- A general framework for key predistribution based on bivariate polynomials - Let us use multiple polynomials - A pool of randomly generated bivariate
polynomials
- Two special cases
- One polynomial in the polynomial pool
- Polynomial based key predistribution
- All polynomials are 0-degree ones
- Key pool by Eschenauer and Gligor
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 33 f 1 ( x,y ), f 2 ( x,y ), …, fn ( x,y ) Random polynomial pool F A subset: { fj ( i , y ), …, fk ( i , y )} i
Polynomial Pool Based Key Predistribution
(Cont’d)
- Phase 1: Setup
- Randomly generates a set F of bivariate t -degree polynomials
- Subset assignment: Assign a subset of polynomials in F to each sensor Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 34
Polynomial Pool Based Key Predistribution
(Cont’d)
- Phase 2: Direct Key Establishment
- Polynomial share discovery: Communicating sensors discover if they share a common polynomial - Pairwise keys can be derived if they share a common polynomial.
- Two approaches:
- Predistribution:
- Given predistributed information, a sensor can decide if it can establish a direct pairwise key with another sensor.
- Real-time discovery:
- Sensors discover on the fly if they can establish a direct pairwise key.
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 37
Random Subset Assignment (Cont’d)
- Polynomial share discovery
- Real-time discovery i fj , …, fk Broadcast IDs in clear text. Broadcast a list of challenges. i α, E kv (α), v = 1, …, m. Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 38
Random Subset Assignment (Cont’d)
- Path discovery
- i and j use k as a KDC
- Alternatively, i contacts nodes with which it shares a key; any node that also shares a key with j replies.
- Each key path has 2 hops i (^) j k
Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 39 0
1
0 10 20 30 40 50 60 70 80 90 s p s'=2 s'=3 s'=4 s'= Probability of Sharing Direct Keys between Sensors
- s : polynomial pool size
- s’ : number of polynomial shares for each sensor
- p : probability of sharing a polynomial between two sensors Computer Science CSC 774 Adv. Net. Security Dr. Peng Ning 40
Probability of Sharing Keys between
Sensors
0
1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 p Ps d=20 d=40 d=60 d=80 d=
- d : number of neighbors
- p : probability that two sensors share a polynomial
- ps : probability of sharing a common key Note: each key path is at most two hops