Sei sulla pagina 1di 29

SECURITY IN WIRELESS SENSOR NETWORK

By 09bce053 09bce057 Adit Pathak Mihir Shah

PRESENTATION FLOW
What is WSN? Threats to WSN WSN operational paradigms Key distribution techniques for WSN Various key distribution schemes

INTRODUCTION

What is a WSN?

A wireless sensor network (WSN) consists of spatially distributed autonomous sensor nodes to monitor physical or environmental conditions, such as temprature,sound,vibration,pressure, motion or pollutants and to cooperatively pass their data through the network to a main location.
Ocean and wildlife monitoring. Monitoring of manufactured machinery. Building safety. Earthquake monitoring. Variety of military applications. Medical monitoring and research

What are they used for?


THREATS TO A WSN

Passive Information Gathering : The powerful receiver


can passively pick off data.

Subversion of a node: Capturing of sensor node &


compromised sensor node

False node: Robust device which impersonates a sensor


node

Node Malfunction: Generate inaccurate data,drop the


data.Detecion of these nodes is an issue.

Node outage: Node stops functioning

DoS (Jamming,Black Hole,Resource Exhaustion)

WSN OPERATIONAL PARADIGMS


Simple Collection and Transmittal Forwarding Receive and Process Commands Self Organization Data Aggregation

SIMPLE COLLECTION & TRANSMITTAL

Sensor takes periodic measurements & transmit the associated data directly to the collection point. Immediate or scheduled transmission

Each node is only concerned with its transmission to base station , which is assumed to be within the range. No routing & co-operation among nodes

VULNERABILITIES

Jamming
Spoofing (Counterfeit

data source broadcasts spurious informatio

Loss of confidentiality due to passive monitoring


Physical attacks(capturing of a node & subversion)

SOLUTIONS

Data encryption(symmetric key) Predeployed keys are shared between & unique to the collection point & individual node. Each node uses its key to encrypt data before transmission & the collection point decrypts the data using the shared key corresponding to that node. Spread spectrum communications may be used to offset efforts to jam the frequency band. Use of temper assistant technologies which may transmit an alert and/or self destruct when tempering is detected.

FORWARDING

Allows sensor nodes far away from collection point to transmit data to neighboring nodes , which in turn forward the data toward the collection point. Forwarding process may span multiple sensor nodes on the path between the source & collection point. Solves the radio range problem presented in the Simple Collection and Transmittal paradigm.

VULNERABILITIES

Single shared key wont do Black Hole : Sensor node drops packets

Data Corruption: Node modifies the data


Resource Exhaustion: Attacker maliciously transmits an inordinate amount of data to be forwarded ,causing the intermediate node(s) to exhaust their power supply.

SOLUTIONS

System utilizes pre-built headers encrypted under intermediate nodes key. The entire frame is encrypted under senders key and inserted into another frame that is prepended with the pre-built headers and forwards. When intermediate node receives the frame,it strips-off the prepended header and forwards it. At the end it is decrypted by collection point. The algorithm is used to deal with other attacks. The algorithm tracks the absence of expected data from each sensor,quantifies the amount of corrupted data received at the controller from each sensor,and compares those values to acceptable statistical noms. If controller determines a sensor node to be aberrant,it is culled.

RECEIVE AND PROCESS COMMANDS

Previous paradigms described many-to-one communication for unsolicited data & may reduce lifetime of WSN due to unnecessary data transmission RPC is one-to-many communication model in which the controller transmits commands to sensor nodes Initially sensor nodes are in idle mode(low power)controller broadcasts(or unicast) wakeup commandgetdata command-instruct sensor nodes to idle

VULNERABILITIES

Authentication of command from controller Integrity of the message received from its neighbors

SOLUTIONS
Use of shared secrets between the controller and the individual sensor node Distributing encrypted identities of sensor nodes within radio range of controller among the nodes that are beyond the radio range of controller by using pre-built headers as was in Forwarding.

SELF ORGANIZATION
It

requires that the WSN achieve organizational structure without human intervention. It consists of three tasks:
Node

discovery Route establishment Topology maintenance.


Node

discovery is made by HELLO-REPLY message. To ensure continuous connectivity, multiple routes between two nodes are discovered. Here as new nodes are added or older ones exhaust, the topology is re configuared.

VULNERABILITIES
Previous Flooding Sinkhole

attacks seen. attacks.

SOLUTIONS
Routing information distributed throughout the WSN needs to be encrypted, by an anti-replay mechanism and authentication of source. Moreover as a sensor contains cryptographic material, it needs to be configured so that tampering will erase the keys and leave the sensor inoperable.

AGGREGATION
In

previous protocols, the sensors transmit information to the collection point which performs large calculations due to thousands of data streams and causes it to be a bottleneck.
For

controlling data streams, we aggregate data within the WSN and transmitting aggregate to the controller.
This

results in a substantial energy savings in the WSN.

The

operations can include MAX, MIN, AVG, SUM etc. For example, measuring a temperature.

VULNERABILITIES
Authentication

of the downstream peers becomes a necessity. Here the nodes trust each other. Hence a malicious node can get itself elected as an aggregation point. The malicious node can throw the data leading to Black holes or corrupt the data and forward it.

SOLUTIONS
Point to point security allows flexibility but is not scalable. The only prevailing solution is to have a common key over the whole WSN, which is discussed later.

KEY DISTRIBUTION TECHNIQUES FOR WSN

In sensor networks, key distribution is connected with initial communication establishment to bootstrap a secure communication infrastructure from a collection of deployed nodes. This combined problem of key distribution and secure communication is called the bootstrapping problem. This is a highly challenging problem due to the limitations of sensor network hardware and software.

BOOTSRAPPING SECURITY IN SENSOR NETWORKS


A

bootstrapping scheme for network needs to satisfy the following requirements: Deployed nodes must be able to establish secure node to node communication. Additional legitimate nodes deployed at a later time can form secure connections with already deployed nodes. Unauthorized nodes should not be able to gain entry into the network, either through packet injection or masquerading as a legitimate node. The scheme must work through prior knowledge of which nodes will come into communication range of each other. The computational and storage requirement of the scheme must be robust to DoS attacks from out of network sources.

are some criteria as under that represent desirable EVALUATION METRICES characteristics in a bootstrapping scheme for sensor network : Resilience against node capture: Protection against the capture of node by an adversary. Resistance against node replication: Whether the node can insert hostile nodes into the network after obtaining some secret information. Revocation: Whether a misbehaving node can be dynamically removed from the system. Scalability: As the number of nodes in network grows, the security characteristics mentioned above may be weakened.
There

VARIOUS KEY DISTRIBUTION SCHEMES

USING

A SINGLE NETWORK WIDE KEY. USING ASYMMETRIC CRYPTOGRAPHY. USING PAIRWISE KEYS.

SINGLE NETWORK WIDE KEY

Pre load a network with any neighboring nodes that also possess the shared network key. This can be achieved simply by the encrypting all communications in the shared network-wide key and appending message authentication codes(MACs) to ensure integrity.

PROPERTIES
Minimal

memory storage required. No additional protocol steps are necessary. Resistant against DoS, packet injection.

DRAWBACKS
If a single node is compromised entire network loses all its security properties. Nodes are tamper resistant. No new nodes are ever added to the system after deployment.

ASYMMETRIC CRYPTOGRAPHY

Also known as public key methods. Prior to deployment, a master public/private keypair is generated. Then for every node keypair is generated. Both keys stored in respective node along with masters signature on nodes keypair. Nodes can communicate by key exchanges and verification through masters signature on them. By this a symmetric link is generated.

PROPERTIES
Perfectly

resilient against node capture. Possible to revoke known compromised keypairs. Fully scalable

DRAWBACKS
Dependence of asymmetric key cryptographic hardware or software. Vulnerability to Denial-of-Service. No resistance against node replication.

PAIRWISE KEYS

In this approach, every node in the sensor network shares a unique symmetric key with every other node in the network. Hence in a network of n nodes, there are a total nC2 unique keys. Every node stores n-1 keys, one for each other node. After deployment, nodes must perform key discovery to verify the identity of the node they are communicating with.

PROPERTIES
Perfect

resilience to node capture. Compromised keys can be revoked. Only uses symmetric cryptography.

DRAWBACKS
Main drawback is poor scalability. Number of keys to be stored in each node is proportional to number of nodes. Eg. For 80 bit key and 100 nodes, each node requires 1kB memory.

THANK YOU

Potrebbero piacerti anche