• No results found

APPLICATION-DRIVEN SECURITY IN WIRELESS SENSOR NETWORKS

N/A
N/A
Protected

Academic year: 2021

Share "APPLICATION-DRIVEN SECURITY IN WIRELESS SENSOR NETWORKS"

Copied!
57
0
0

Loading.... (view fulltext now)

Full text

(1)

SENSOR NETWORKS

(SEGURIDAD ORIENTADA A APLICACIONES EN REDES DE SENSORES)

SUBMITTED IN FULFILLMENT OF THE

REQUIREMENTS FOR THE DEGREE OF

DOCTOR IN COMPUTER SCIENCE

DOCTOR IN COMPUTER SCIENCE

AT UNIVERSITY OF MALAGA

By

Rodrigo Román Castro

Advisor:

F. Javier López Muñoz

(2)

1.

PRELIMINARIES - SENSOR NETWORKS

2.

SECURITY PRIMITIVES & KEY MANAGEMENT SERVICES

3.

SELF-AWARENESS SERVICES

4.

APPLICABILITY OF SECURITY SERVICES

5.

CONCLUSIONS

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(3)

The need to “sense”

Environment → full of physical events

– We (living beings) need to perceive the physical world in order to survive

A computer system should be able to perceive those events that are

relevant to its functionality

– Independent “Sensory System” needed

– “Feel” the physical world = Off-the-shelf component

Wireless Sensor Networks (WSN)

1001……001

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(4)

Wireless Sensor Networks

Sensor Networks = Sensor Nodes + Base Station

– Sensor Nodes: “Feel”, “Think”, “Talk”, “Subsist”

– Base Station: Interface Network ↔ Users

Features

– Specificity

– Autonomy

– Self-Configurability

– Lifetime

– Deployment Location

– Mobility

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(5)

Wireless Sensor Networks

Applications

Types of Applications

– “Space”. Monitors the physical features of a certain environment.

• Environmental and habitat monitoring, precision agriculture, indoor climate

control, surveillance, treaty verification, intelligent alarms…

– “Things”. Controls the status of a physical entity.

• Structural monitoring, ecophysiology, condition-based equipment maintenance,

medical diagnostics, urban terrain mapping…

– “Interactions”. Monitors the interactions of things (both inanimate and

animate) with each other and the encompassing space.

• Wildlife habitats, disaster management, critical (information) infrastructure

systems, emergency response, asset tracking, healthcare, manufacturing process

flow…

– “Internet of Things”. Objects and locations in the real world (e.g.

restaurants, roads) linked to information on the web.

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(6)

Wireless Sensor Networks

Security

Sensor networks are specially vulnerable against external and internal

attacks due to their peculiar characteristics

Threats:

– Attacks to the information flow

• Eavesdropping, replay, injection / modification

– Denial of Service

• Node collaboration, jamming attack, exhaustion of power

– Node compromise

– Impersonation attack

• Sybil (multiple identities), node replication (duplication)

– Protocol-specific attacks

• Selective forwarding, wormhole attack, sinkhole attack, spoofed routing,

acknowledgement spoofing

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(7)

Major Goals of the Dissertation (1)

Sensor networks security is an important research field

– More than 2.000 scholarly papers (probably much more)

– Security-specific workshops (ESAS, WSNS, WISE, SASN,…), books,…

Missing link: Sensor networks ↔ Real World

– Sensor networks are not general purpose systems → specific functionality

– Application: Impact on Structure, Architecture, and Protocols

Goal: Consider the influence of the applications and their context in

the protection of sensor networks and the development of the security

mechanisms

– The properties and requirements of the real world will influence over the

security features that are needed in an specific sensor network deployment

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(8)

Major Goals of the Dissertation (2)

Goal: Specification of “complete set” of security mechanisms

– A set of application-aware security mechanisms that either prevent the

existence of attacks or minimize their adverse effects

– Consider these mechanisms as part of a transversal layer

“Complete Set”:

– Suitability of security primitives and key management systems

– Develop self-awareness services for allowing self-configurability

– Integration / Interaction with the mechanisms

Intrusion Detection System

Trust

Key Management

Code Attestation

Confidentiality Integrity Authentication Authorization

Routing Time Synchronization

Self-Awareness

Aggregation Physical Layer Link Layer Network Layer Transport Layer Application Layer

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(9)

2. Security Primitives and

Key Management Services

Goals:

– Provide an analysis of the suitability of the HW and SW implementations of

the security primitives in constrained devices

– Analyze whether the actual state of the art in symmetric key-based key

management systems (KMS) can satisfy the requirements of sensor

networks applications

– Provide support for public key operations in sensor networks

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(10)

Security Primitives

Foundation of almost all secure protocols and mechanisms:

Cryptographic Primitives

Symmetric Key Cryptography (SKC)

– Primarily protects the confidentiality of the information flow

• Stream Ciphers: RC4

• Block Ciphers: Skipjack, RC5, AES, Twofish

Public Key Cryptography (PKC)

– Useful for secure broadcasting and authentication purposes

• Recommended: Elliptic Curve Cryptography (ECC)

• Other: Rabin (Signature verification), NTRU, MQ-Schemes

Hash functions

– Creation of “digital fingerprints” – integrity

• SHA-1

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(11)

Security Primitives

Types of Sensor Nodes

WEAK

(Class I)

NORMAL

(Class II)

HEAVY-DUTY

(Class III)

- 4 Mhz (8 bit)

- 1 kB RAM

- 16kB ROM

- 4~8 Mhz (8~16 bit)

- 4~10 kB RAM

- 48~128 kB ROM

- 13~180 Mhz (32 bit)

- 256~512 kB RAM

- 4~32 MB ROM

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(12)

Security Primitives

Suitability of SW Implementations

Conclusion: As of 2008, sensor nodes can implement cryptographic

primitives using SW implementations

Class I

Class II

Class III

Symmetric Key Cryptography

Stream (Rec)

All

All

Asymmetric Key Cryptography

None

Limited

All

Hash Functions

All

All

All

Recommendations

– Study the inclusion of HW cryptographic modules in Class I and Class II nodes

– Design and develop cryptographic primitives suitable for constrained

environments

• ECRYPT Stream Cipher Project.

– Salsa20: 1514 bytes ROM, 292 cycles/byte (ATMega8)

• NIST Cryptographic Hash Algorithm Competition

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(13)

Conclusion: The execution time of the primitives can be greatly

improved using HW modules

Security Primitives

Applicability of HW Designs

GF(2

131

)

500 kHz

0.115 sec

HW Impl. (Batina)

GF(2

163

)

8 Mhz

0.99 sec

SW Impl. (Seo)

Field

μProcessor speed

Point Multiplication

ECC

GF(2

131

)

500 kHz

0.115 sec

HW Impl. (Batina)

GF(2

163

)

8 Mhz

0.99 sec

SW Impl. (Seo)

Field

μProcessor speed

Point Multiplication

ECC

Recommendations:

– Design interfaces between sensor nodes and cryptographic modules

– Improve the strength of the HW implementations

– Take advantage of existing HW support (IEEE 802.15.4, MMX)

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(14)

Key Management Systems

A sensor network needs of a Key Management System (KMS)

– Security primitives and mechanisms require the existence of security

credentials (symmetric/asymmetric keys)

– Such credentials must be distributed securely and efficiently

Every application and its associated context requires certain properties

that a KMS should fulfil

Contribution: Develop a methodology for selecting a KMS protocol

based on the needs of the network application

1. Help the network designer to find the KMS protocols that are more suitable

for the needs of his/her application

2. Check whether the current state of the art in KMS can offer a viable

solution to existing applications

3. Determine which are the open issues that have to be taken into account in

future research

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(15)

Methodology

Protocol Taxonomy

First step: Classify and analyze the existing KMS frameworks

– Contribution: Every framework do provide only certain properties

KMS PKC-based SKC-based Mathematical-based Key Pool-based Negotiation-based Combinatorics Linear Algebra Alg. Geometry

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(16)

Methodology

Properties of KMS Protocols

Second step: Relate properties with application requirements

– Contribution: “Missing link” between requirements and properties

Optimization of the energy usage Energy [En]

Capability of adding new nodes Extensibility [Ext]

Support for big networks Scalability [Sca]

Existence of a shared secret between any nodes Node (NConn)

Existence of a shared secret between neighbour nodes Local (LConn)

Existence of a “key path” between any node Global (GConn)

Connectivity

Resistance against stolen credentials Network resilience [Res]

Confidentiality of the bootstrap process Network bootstrapping [Sec]

Computational cost of the protocol Processing speed [Sp]

Number of messages exchanged between peers Communication overhead [Comm]

ROM and RAM used for the protocol Memory footprint [Mem]

Description Property

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(17)

Methodology

Catalogue

Third step: Develop a catalogue that classifies the KMS protocols according to

their properties

– Contribution: Choose a certain KMS according to the required properties

2 3 3 3 3 2 3 3 3 3 [Liu2007]

Public Key Cryptography-based KMS

2 3 2 3 2 2 3 3 [Pan2006] Panja 3 (2) 3 3 3 [Hua2006] Dynamic Cluster 2 3 (-) (-) (-) 3 2 3 3 3 3 [Liu2005a]

Polynomial Based Key Predistribution

3 3 (-) 2 (2) (2) (2) (2) [Du2005]

Multiple Space Key Predistribution

(-) (-) (-) 2 3 3 3 3 [Du2005]

Blom Key Predistribution

3 (2) (-) (2) (2) (2) (2) [Esc2002]

Basic Probabilistic Key Predistribution

3 (-) 3 (2) (-) (-) (-) [Cam2007]

Hybrid Designs – Generalized Quadrangle

(3) 2 3 3 3 2 (3) 2 3 3 (2) [And2004] Key Infection Sp Sec Sca Res Mem Ext En NConn LConn GConn Comm Ref. KMS Protocols

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(18)

Methodology Goals

Solutions offered by the state of the art

Analyze which are the Key Management Systems that are more

appropriate for existing applications

– Group applications according to the mobility of the nodes and the network

size

LConn, Comm,En, Ext

Measuring noise pollution Small

Short-lifetime net.

NConn, Sca, GConn, Comm, LConn Safety-critical structures Medium NConn, GConn, LConn, Comm Assisted-living residents Small w. Mobile Nodes GConn, LConn Vehicle tracking Small w. Mobile B.S.

Sca, GConn, LConn, NConn

Wildfire detection Large

Sca, GConn, LConn Wine production industry

Medium GConn, LConn Office monitoring Small Simple net. LConn Industrial machinery One-hop networks Properties Examples Scenario Type

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(19)

Methodology Goals

Solutions offered by the state of the art

Contribution: Infer which protocols and frameworks could be used to

protect the scenarios

– Simple networks (small), short-life networks: Simple mathematical

schemes

– Simple networks (medium or large): Cluster-based protocols or “Key

Pool”-based protocols

– With mobile B.S.: Same as simple networks

– With mobile nodes:

• Small: Mathematical schemes

• Medium: PKC-based protocols

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(20)

Methodology Goals

Open issues

Contribution: There exist scenarios without optimal solutions

– Networks with mobile nodes that move at a high speed

– Extensible networks with almost no communication overhead

– Static networks where global connectivity is extremely important (i.e. no

nodes should be disconnected from the network)

Contribution: Consider certain properties in the development of new

KMS protocols

– Resilience

– Extensibility

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(21)

“Traditional” Asymmetric Cryptography

Traditional asymmetric cryptography is possible in sensor nodes

– Key Distribution

• √: Security, Scalability, Connectivity, Resilience, Extensibility, Comm. Overhead

• X: Speed, Memory

– Signing and verifying signatures – Authenticated broadcast

– PKC Encryption / Decryption

Support for PKC in sensor networks:

– Public Key Infrastructure

• Creation and maintenance of certificates

– Certificates

• “This Public Key belongs to that ID”

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(22)

“Traditional” Asymmetric Cryptography

Public Key Infrastructure (PKI)

Contribution: Adapt PKIX Model to sensor networks

– Base station – Configures all nodes, trustworthy

• Certification Authority (CA). Generates the Digital Certificates

• Registration Authority (RA). Initial authentication of the nodes

– Sensor node – Decentralized devices

• Certificate Repository. Stores certificates

Contribution: Simplified Certificate Format

– Adapted from X509v3

– Fields

• Validity Period: Network Deployment

• Subject Name: ID of the sensor node

• Subject PK Information: Public key of the sensor node

• Certificate Signature: Signature of the CA (Base station)

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(23)

Key-escrow systems

Identity-based Cryptography

Other untraditional asymmetric cryptography primitives?

– No need to use certificates to proof the authenticity of a public key

• Remind: Certificate = ID + Public key + Signature CA

Key-escrow systems: A trusted party computes the users’ secret keys

– Identity-based cryptography: The ID is the public key

– Self-certified cryptography: Public keys are authenticated by performing the

operation (e.g. signature verification)

These untraditional primitives may be useful in sensor networks

– Ø Communication Overhead (transmit information is expensive)

– × Energy Savings

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(24)

Key-escrow systems

Underwater Sensor Networks

Key-escrowed systems are useful in Underwater Sensor Networks

(UWSN)

– Sensor networks deployed under the sea

– Use of acoustic modems

• Slow, Energy consuming, Unreliable

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(25)

Key-escrow systems

Underwater Sensor Networks

Contribution (energy): Self-certified cryptography and ID-based

cryptography are better than “traditional” approaches in UWSN

Contribution (communication): ID-based cryptography is better than

other approaches in UWSN

– Traditional cryptography: Exchanges

1410

bits

– Self-certified cryptography: Exchanges

706

bits

– Identity-based cryptography: Exchanges

384

bits

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(26)

3. Self-Awareness Services

Goals:

– Develop situation awareness mechanisms, which can detect abnormal

events that might affect the behaviour of the network

– Develop a blueprint of a distributed Intrusion Detection System

architecture for sensor networks

– Study the applicability of trust management systems in sensor networks

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(27)

Self-Configurability and Situation Awareness

Self-Configurability: Sensor nodes must configure themselves in order

to respond to internal/external events

– Example: Nodes affected by malfunctioning neighbours

Situation Awareness: recognize certain events that might affect its

behaviour and the overall behaviour of the network

– Existence of simple and useful mechanisms

• “Heartbeat” messages

• Analysis of packet information

– Need to consider all events that may affect

a sensor network

20% RH 25% RH 100% RH ERROR Room. A Room Humidity A 25% RH 30% RH

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(28)

Situation Awareness Mechanisms

In order to detect any surrounding events, it is necessary to know the

nature of those events and how to detect them

– Simile: Sensor network as a living body. Disease ↔ Symptoms

In situation awareness mechanisms, the presence of certain collateral

effects will be indicative of the existence of an event

- Back pain - Fever - No packets - Destination does

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(29)

Situation Awareness Mechanisms

Identifying abnormal events

Node malfunction

– Node “death” (unavailability)

– Sensory hardware providing inconsistent information

Outsider attacks

– Manipulation of the sensory hardware

– Manipulation of the communication channel (e.g. DoS)

– Node tampering

Insider attacks

– Impersonation attacks

– Message creation / alteration attacks

– Feature advertising

– Time-related attacks

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(30)

Situation Awareness Mechanisms

Identifying collateral effects

Deviations, Inconsistences Tampered, Malfunctioning sensor

Long delays, Traffic imbalance Time-Related attacks

Inconsistent feature with neighborhood Feature advertising

Changes in packet (only for broadcasted) Packet alteration

Changes in packet density, Inconsistent alerts Message creation

New neighbours, Packets per node Impersonation Attacks

Packet too old Packet Replaying

Node temporarily unavailable Node subversion

Data unavailability Hw. failure (“unavailable” node)

Wide data unavailability Jamming

Collateral effect

Abnormal event

Contribution: Relationship abnormal events ↔ collateral effects

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(31)

Situation Awareness Mechanisms

Application influence

Contribution: The way in which collateral effects are analyzed is highly

dependant on the application requirements and characteristics

Examples of this kind of influence:

– Network size

• Small networks: abnormal events do not occur or are difficult to detect

– Base Station should have more importance in this context

– Node mobility

• Need to analyze in greater deep the collateral effects

– Some collateral effects will only provide partial information about an event

– Application features

• Functionality influences over existing events and how to detect them

• Need to calibrate the detection mechanisms

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(32)

Intrusion Detection Systems (IDS)

Sensor networks could also benefit from advanced detection and

decision mechanisms: Intrusion Detection Systems

There is no standard mechanism for developing IDS in sensor networks

– Partial results: Agent location, detection mechanisms, interrelationships

Properties that a IDS must fulfil:

– Full network coverage

• Cover all the information flow of the network

– Simplicity

• Use mainly simple components, statistics and mechanisms

– Adaptability

• Can include new or existing detection mechanisms

• Can exclude detection mechanisms that are not relevant for the application

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(33)

Applying IDS to WSN

Contribution: Blueprint of a distributed IDS architecture

– Base Station Agent

– Node ‘Local / Global’ Agent

– Components: Data acquisition, Detection, Collaboration, etc.

DATA ACQUISITION STATISTICS ALERT DB DETECTION COLLABORATION Sensors Packets Others Situation Awareness Protocol-specific Analyses

- #packets (total , per period) - Last Sequence no. / timestamp - Others

- Measurements - Collisions (Backoffs) - Query / Alert information

Malicious Suspicious

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(34)

Applying IDS to WSN

Tasks of the IDS Agents

– Base Station Agent: Analyze the network from a global point of view

• Continuous execution of detection mechanisms

– Node Local Agent: Analyze the contents of packets, the features of its

environment, and other local aspects

• Execution of mechanisms whenever data is available

– Node Global Agent: Snoop packets sent in the neighbourhood, analyze their

headers, timing information, and others.

• Periodic execution of detection mechanisms

The periodicity of the detection mechanisms depends on the network

load, reaction time, acceptable energy consumption

Distribution of Node Agents

– Distributed Systems: Disconnection of detection mechanisms (Redundancy)

– Hierarchical Systems: Node Global Agent on Cluster Head

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(35)

Trust Management Systems

Trust?

– “The firm belief in the reliability or truth or strength of an entity”

– Aids the members of a distributed network (‘trustor’) to deal with

uncertainty about the future actions of other participants (‘trustee’)

Types of Trust Management Systems:

– Credential-Based: Trust on your credentials

– Behaviour-Based: Trust on your reputation

• “What is generally said or believed about a person or the character or standing of

a thing”

Behaviour-Based Systems could be applicable to sensor networks

– Is trust really important?

– How to define Model, Metrics, Feedback?

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(36)

Trust Management Systems

Trust and Sensor Networks

Trust is important for sensor networks

– When trust is important? Existence of uncertainty

• “The outcome of a certain situation cannot be clearly established / assured”

– Uncertainty = Opportunism + Information Asymmetry

• Opportunism? NO. Nodes work towards the same goals

• Information Asymmetry?

YES

. Partners may malfunction / be malicious

Research on WSN Trust: Early stage

– Can deal satisfactorily with some problems in this area

– Need to consider sensor network-specific factors

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(37)

Trust Management Systems

Network-specific features

Contribution: Analysis on WSN-specific factors of Trust Management in

sensor networks

Initialization and information gathering

– Initial Trust: In the beginning, all sensor nodes should be trusted

– “Apoptosis”: A sensor node alerts the network about its state

Information modelling

– Variable impact: certain events should have more influence on reputation

– Memory: Bad behaviour should not be forgotten easily

– Granularity

• Maintain separate opinions about the actions of their peers

• Specific trust values allows taking decisions on specific situations

– Consider ‘risk’ and ‘importance’ on calculating trust values

– Consistence: Contradictory information should be source of mistrust

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(38)

4. Applicability of Security Services

Goals:

– Apply the concepts and ideas presented in this dissertation to an ongoing

middleware architecture

– Analyze the relationship between a secure sensor network and the

Internet

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(39)

Middleware Architecture

SMEPP Project

SMEPP – Secure Middleware for Embedded Peer-to-Peer systems

– European STREP project (FP6-IST-033563) funded by the European Union

under the 6th Framework Programme

Major Goals

– Develop a middleware for Embedded P2P Systems (EP2P)

• Environmental monitoring: Nuclear power plants

• Home systems: smart homes, assisted-living residents

– Hide the complexity of the underlying heterogeneous infrastructure while

providing open interfaces for application development

• Adaptability, scalability, high availability, ubiquity…

– Security for embedded devices: Sensor networks

• Authentication of peers, secure communication channels, self-configurability

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(40)

Middleware Architecture

Security aspects

Contributions

1

:

Security as a transversal layer

– Can be accessed by all elements in the architecture

– Component point of view: Dynamic and adaptable

Cryptographic services

– Used the work in this thesis as an input (e.g. use of PKC)

Situation awareness

– Support for self-configurability in the routing protocol

Application-driven security

– Security mechanisms are designed according to the requisites of the future

SMEPP applications

1Security Mechanisms are being jointly developed by the members of the SMEPP consortium

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(41)

Middleware Architecture

Levels of Security

Contribution

1

: Application developers can choose the level of security

that better adapts to the requirements of their applications.

– Multiple Security Domains:

• One global domain (one network)

• Various group domains (applications inside the same network)

– Level of Security can be selected for every domain

1Security Mechanisms are being jointly developed by the members of the SMEPP consortium

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(42)

Integration WSN – Internet

General Perspective

How to unleash the real potential of sensor networks?

Publishing its services in a public network infrastructure using standard

interfaces - Internet

– The flow of information produced by the networks could be retrieved and

analyzed by different applications situated in diverse geographical locations

– An operator could control a sensor network remotely

Challenges:

– Discover, control, process data

– Addressing the elements of the network

– Balance between optimization and standard protocols

– Availability of information

– Etc.

Benefits: Remote access, creation of complex services

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(43)

Integration WSN – Internet

Security Challenges

Contribution: Interaction between secure WSN and the Internet

End-to-end secure channels

– Between users and sensors, between sensors of different networks

Authentication

– Device Authentication: Standard security protocols (p. ej. SSL/TLS)

– User Authentication: Credentials

Authorization

Accountability

– Analysis and storage of interactions between users and services. Recreate

security incidents and abnormal situations

Intrusion Detection

Availability

– Robustness of the information flow

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(44)

Integration WSN – Internet

Approaches

Integration strategies: Front-end proxy solution, gateway solution,

TCP/IP overlay solution

– Contribution: Analysis of the challenges in these different approaches

Front-End Proxy Gateway TCP/IP Data TCP/IP MAC Sensor Data Sensor Protocol IEEE 802.15.4 Data TCP/IP MAC Data Data Sensor Protocol IEEE 802.15.4 Data TCP/IP MAC Data TCP/IP Data TCP/IP IEEE 802.15.4

Base Station Sensor Node Internet Host S-Proto TCP/IP 802.15.4 MAC S- Data Data S-Proto TCP/IP 802.15.4 MAC 802.15.4 MAC

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(45)

Open Issues and Solution Proposals

Front-end Proxy

Protection mechanisms implemented and deployed within the base

station

Base station will:

– Negotiate and establish secure end-to-end channels using standard protocols

– Authenticate itself on behalf of its sensor nodes

– Analyze the credentials presented by the users (e.g. attribute certificates)

– Store and analyze any interaction between the external hosts and the nodes

– Behave as a ”cache server”, storing the sensor nodes data

Disadvantage: the base station becomes a single point of failure

– Solution: Use multiple base stations

• Need to maintain the information consistency between all the base stations

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(46)

Open Issues and Solution Proposals

TCP/IP

Specific Situation: Protocols and security mechanisms used in Internet

hosts should also be supported by the sensor nodes. Sensor network is no

longer an independent entity

Possible solutions:

– Use Kerberos or public key mechanisms for user auhentication and

authorization

– Create specific IDS rules and detection mechanisms for maintaining the

accountability of the network

– Device authentication: KMS protocols with “node connectivity”

Unresolved issues:

– Communication security and device authentication

• Network layer solutions: IPsec vs specific security models

• Application-layer solutions: SSL/TLS standards

– Availability

• Consider the low storage capacity of highly constrained nodes

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(47)

Open Issues and Solution Proposals

Gateway – TCP/IP

Include certain protection mechanisms within the base station due to its

“gateway” role

– Analyze and/or store accountability information

– Store historic data

– Improve network availability (“cache server”, intelligent forwarder)

Open issues:

– Implement these mechanisms alongside end-to-end secure channels

Note: in the TCP/IP solution, the router must translate the IPv6 packets

to 6lowpan packets.

– Translate packets within the base station, perform “gateway” roles

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

CONCL

(48)

5. Conclusions

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(49)

Goals Achieved

“Complete set” of application-driven security mechanisms

Review suitability of the SotA in primitives for sensor nodes

Develop a methodology for study and analysis of KMS protocols

Support for PKI in sensor networks, applicability of untraditional PKC

Development of lightweight situation awareness mechanisms

Development of a simple/adaptable/distributed IDS system

Analysis of sensor-specific issues in trust management systems

Application of these concepts to a middleware architecture

Analysis of interactions between secure sensor networks and the Internet

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(50)

Areas in need of further research

Interaction between cryptographic HW modules and sensor nodes

Key Management Systems

– Scenarios without optimal KMS protocols

– Properties that should be properly addressed

Development of functional trust management systems for WSN

Interactions between sensor networks and

– … the Internet

– … other pervasive systems

Mobile sensor networks

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(51)

Funding and Publications

Funding & Dissemination:

– I2R (Singapore), FPI (Andalusian Government), FPU (Spanish Government).

– Projects: CRITIS (CICYT), ARES (CONSOLIDER), SMEPP (FP6).

Publications:

– Journals

1. R. Roman, J. Lopez, S. Gritzalis, “Situation Awareness Mechanisms for Wireless Sensor Networks”, IEEE Communications Magazine, Vol. 46, no.4 (2008), pp.102-107.

2. R. Roman, C. Alcaraz, J. Lopez. “A Survey of Cryptographic Primitives and Implementations for Hardware-Constrained Sensor Network Nodes”. Mobile, Networks and Applications

(MONET) Journal, Springer. Vol. 12, no 4 (2007), pp 231-244.

– Book Chapters

1. R. Roman, C. Alcaraz, N. Sklavos. “On the Hardware Implementation Efficiency of Cryptographic Primitives”. In Wireless Sensor Network Security, IOS Press. ISBN: 978-1-58603-813-7.

2. R. Roman, M.C. Fernandez-Gago, J. Lopez, H.H. Chen. “Trust and Reputation Systems for Wireless Sensor Networks”. In Security and Privacy in Mobile and Wireless Networking, Troubador Publishing Ltd. ISBN: 978-1905886-906.

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(52)

Funding and Publications

Publications:

– International Conferences

1. R. Roman, M.C. Fernandez-Gago, J. Lopez. “Featuring Trust and Reputation Management Systems for Constrained Hardware Devices”. Proceedings of the 1st International

Conference on Autonomic Computing and Communication Systems (Autonomics 2007), Rome (Italy), October 2007.

2. M.C. Fernandez-Gago, R. Roman, J. Lopez. “A Survey on the Applicability of Trust

Management Systems for Wireless Sensor Networks”. Proceedings of the 3rd International Workshop on Security, Privacy and Trust in Pervasive and Ubiquitous Computing (SecPerU 2007), pp. 25-30, Istanbul (Turkey), July 2007.

3. R. Roman, C. Alcaraz. “Applicability of Public Key Infrastructures in Wireless Sensor Networks”. Proceedings of the 2007 European PKI Workshop: Theory and Practice (EuroPKI’07), pp. 313-320, Mallorca (Spain), June 2007.

4. C. Alcaraz, R. Roman. “Applying Key Infrastructures for Sensor Networks in CIP/CIIP Scenarios”. 1st International Workshop on Critical Information Infrastructures Security (CRITIS 2006), pp. 166-178, Samos (Greece), August-September 2006.

5. J. Lopez, J.A. Montenegro, R. Roman. “Service-Oriented Security Architecture for CII based on Sensor Networks”. 2nd International Workshop on Security, Privacy and Trust in

Pervasive and Ubiquitous Computing (SecPerU 2006), Lyon (France), June 2006.

6. R. Roman, J. Zhou, J. Lopez. “Applying Intrusion Detection Systems to Wireless Sensor Networks”. IEEE Consumer Communications & Networking Conference (CCNC 2006), pp. 640-644, Las Vegas (EEUU), January 2006.

7. R. Roman, J. Zhou, J. Lopez. “On the Security of Wireless Sensor Networks”. Proceedings of 2005 ICCSA Workshop on Internet Communications Security, pp 681-690, LNCS 3482,

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(53)

Funding and Publications

Publications:

– Spanish Conferences

1. D. Galindo, R. Roman, J. Lopez. An Evaluation of the Energy Cost of Authenticated Key Agreement in Wireless Sensor Networks. Proceedings of the X Spanish Meeting on

Cryptology and Information Security (RECSI’08), Salamanca, September 2008.

2. C. Alcaraz, R. Roman. Análisis de Primitivas Criptográficas para Redes de Sensores. VI Jornadas de Ingeniería Telemática (JITEL’07), Málaga, Septiembre 2007.

3. R. Roman, J. Lopez, J. Zhou. Aplicación de Sistemas de Detección de Intrusiones en Redes de Sensores. Simposio sobre Computación Ubicua e Inteligencia Ambiental (UCAmI’05), pp 113-120, Granada, Septiembre 2005.

4. R. Roman, J. Lopez, J. Zhou. Análisis de seguridad en redes inalámbricas de sensores. V Jornadas de Ingeniería Telemática (JITEL’05), pp 335-342, Vigo, Septiembre 2005.

– Under revision

1. R. Roman, J. Lopez. Integrating Wireless Sensor Networks and the Internet: A Security Analysis. Internet Research.

ACCEPTED

2. D. Garrido-Marquez, P. Plaza-Tron, R. Roman, N. Sanz-Martín, J.L. Serrano-Martín.

Middleware seguro P2P para dispositivos de baja capacidad. TelecomI+D 2008.

ACCEPTED

1

WSN & SEC

2

PRIM & KMS

3

SELF-AWA

4

MIDD & INET

5

(54)

IN WIRELESS SENSOR NETWORKS

Seguridad Orientada a Aplicaciones

en Redes de Sensores

Rodrigo Román Castro

(55)
(56)

Power Unit

Microcontroller

Transceiver

Sensing Unit

Temp. Light Vibr.

External Storage

Other Components

(57)

APPLICATIONS:

APPLICATIONS:

Requirements

Requirements

Cost

Cost

Same, but different

Bigger & Better

Smaller & Simpler

References

Related documents

Qin [14], however, has reported that acupuncture at LI11 (containing afferents from the C5 spinal dorsal horn) is a heterotopic acupoint to the jejunum (T9 – 12); this

The 1860s saw a new level of development in cricket in the Halifax area. Individual local players had been involved in matches against the touring professional

Meets expectations -- student demonstrates sufficient knowledge, skills, and abilities or does what is expected of students in collegiate business programs.. Does not meet

A Study on Relationship between Power of Adapter and Total Harmonic Distortion of Earphone’s leaking Sound.. Eun-Young Yi, Chan-Joong Jung and Myung-Jin

In studying these questions, this chapter examines a setting in which there is a potential drawback of staffing public organisations with highly intrinsically

The revenue streams emanating from the Federation’s involvement in marketing board operations were channelled to the Coffee Fund and, as explained above, part of these along with

Unemployed workers produce a flow value of income b per unit of tim e and meet a potential trading partner (entrepreneur) at a constant rate p each

Within the context of the NIATx200 study setting, the present study adapted the Grasha-Riechmann Student Learning Style Survey (GRSLSS) and the Teaching Style Inventory (TSI)