• No results found

A middleware to support security in Wireless Sensor Network

N/A
N/A
Protected

Academic year: 2021

Share "A middleware to support security in Wireless Sensor Network"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

Here comes your footer

Page

1

A

A

middleware

middleware

to support

to support

security

security

in Wireless Sensor Network

in Wireless Sensor Network

Stefano Marchesani

Stefano Marchesani

Centre of Excellence DEWS

Centre of Excellence DEWS

Università degli Studi dell'Aquila, Italy

Università degli Studi dell'Aquila, Italy

Ciclo XXVI

(2)

Here comes your footer

Page

2

OVERVIEW

OVERVIEW

Introduction

MiddlewareSecurity

Middleware

AgillaTAKSIDS

Future works

Conclusions

A middleware to support security

(3)

Here comes your footer

Page

3

OVERVIEW

OVERVIEW

Introduction

MiddlewareSecurity

Middleware

AgillaTAKSIDS

Future works

Conclusions

A middleware to support security

(4)

Here comes your footer

Page

4

INTRODUCTION (1/3)

INTRODUCTION (1/3)

What is a

middleware

middleware

?

?

SW package intermediary between the application and underlying

infrastructure (OS or HW)

What is a

middleware

middleware

for WSN

?

?

SW package providing [1] [2]:

a suitable view of a network of nodesan interface to access some services:

● Configure/program nodes ● System services

● Manage application-layer problems (QoS, Discovery services, etc.)

A middleware to support security

(5)

Here comes your footer

Page

5

INTRODUCTION (2/3)

INTRODUCTION (2/3)

Classification by programming/configuring [1] [2]

Virtual machine: the system injects and distributes the modules through the network using

tailored algorithms and the VM then interprets the modules

Database: this approach views the whole network as a virtual database system and It

provides an interface that lets the user issue queries to the network to extract the data of interest

Modular (agent-based): the key to this approach is that applications are as modular as

possible to facilitate their injection and distribution through the network using mobile code

Application-driven: this approach introduces a new dimension in middleware design by

supplementing an architecture that reaches the network protocol stack

Message-oriented: uses the publish-subscribe mechanism to facilitate message exchange

between nodes and the sink nodes

A middleware to support security

(6)

Here comes your footer

Page

6

INTRODUCTION (3/3)

INTRODUCTION (3/3)

What is

(network)

security

security

?

?

Network security goals:

data Confidentiality, Integrity and Authentication (CIA)system Availability

How is it possible to ensure

security

security

?

Good encryption (and decryption) schemes ensure CIATo ensure availabity is more complex

Detection and Reaction

A middleware to support security

(7)

Here comes your footer

Page

7

OVERVIEW

OVERVIEW

Introduction

MiddlewareSecurity

Middleware

AgillaTAKSIDS

Future works

Conclusions

A middleware to support security

(8)

Here comes your footer

Page

8

MIDDLEWARE

MIDDLEWARE

Goal: a middleware to support security in WSN

Useful interface for the WSN programmerSuitable for real-world applications

Compliant to security requirements (CIAA)

Proposed approach

Embed selectable encryption schemes

and an Intrusion Detection System (IDS) into an agent-based middleware

A middleware to support security

in Wireless Sensor Network 8/22

Agent-Based MW

Encr/Decr

Agent-Based MW IDS

(9)

Here comes your footer

Page

9

MIDDLEWARE: AGENT-BASED MW

MIDDLEWARE: AGENT-BASED MW

Why agent-based MW?

Network reprogramming without service interruption

Agents are useful for both network maintenance and WSN programmerAgents can be used for IDS (Reaction)

Agilla [3]

Developed at the Washington University in St. Luis It is stable and open source (TinyOS 1.x)

We are evaluating its suitability for real-world applicationPower consumption, Routing, etc.

A middleware to support security

(10)

Here comes your footer

Page

10

MIDDLEWARE: ENCRYPTION (1/3)

MIDDLEWARE: ENCRYPTION (1/3)

WSN encryption schemes

Symmetric vs Asymmetric schemes

Symmetric solutions are preferred because their performance [5]In Symmetric schemes we have key distribution issue

Proposed approach

Topology Authenticated Key generation Scheme (TAKS)A planner defines a planned network topology

Local admissible network is stored in each node

TAKS dynamically generates keys on this informationEach message can be Topology Authenticated

A middleware to support security

(11)

Here comes your footer

Page

11

MIDDLEWARE: ENCRYPTION (2/3)

MIDDLEWARE: ENCRYPTION (2/3)

Topology Authenticated Key generation Scheme (TAKS)

T(i) set of topology vector

L(i) set of local key component

T(1) = k

t2

, k

t3

T(2) = k

t1

, k

t3

T(3) = k

t1

, k

t4

T(4) = k

t3 2 3 1 4

L(1) = k

l1

L(2) = k

l2

L(3) = k

l3

L(4) = k

l4

TAK

ij

= g(k

ti

,k

lj

) = h(k

tj

,k

li

)

k

t

= f(k

l

)

A middleware to support security

(12)

Here comes your footer

Page

12

MIDDLEWARE: ENCRYPTION (3/3)

MIDDLEWARE: ENCRYPTION (3/3)

Example from [4]

Let n

i and nj be a node pair

Let b be a scalar in GF(q), a

i, aj, m and c vectors in vector space over

GF(q)

A middleware to support security

in Wireless Sensor Network 12/22

j j i i a m j tj ) c a ( m j lj a m i ti ) c a ( m i li

b

a

m

k

b

a

k

b

a

m

k

b

a

k

⋅ + ⋅ ⋅ + ⋅

×

×

k

li

k

tj

+

k

lj

k

ti

=

0

tj li i

k

k

TAK

TAK

j

k

lj

k

ti
(13)

Here comes your footer

Page

13

MIDDLEWARE: IDS (1/5)

MIDDLEWARE: IDS (1/5)

Intrusion Detection System

A functional component to detect and eliminate intrusions [6]Block diagram Intrusion Detection Intrusion Reaction Logic Intrusion Reaction Application Configuration Data

A middleware to support security

in Wireless Sensor Network 13/22

Audit Data

(14)

Here comes your footer

Page

14

MIDDLEWARE: IDS (2/5)

MIDDLEWARE: IDS (2/5)

Intrusion Detection System

Two types of Intrusion Detection

Anomaly based models normal behavior (+FP and -FN)Misuse based models threat behavior (-FP and +FN)

Proposed approach

Misuse based approach

Difficulty to model normal behavior

Threat behavior is a Weak Process Model (WPM)

A middleware to support security

in Wireless Sensor Network 14/22

1 (1,6) 2 (3,4) 3 (2,4) 4 (3,5) 5 (1,3,6)

(15)

Here comes your footer

Page

15

MIDDLEWARE: IDS (3/5)

MIDDLEWARE: IDS (3/5)

How does an attack can be modeled?

An attack is a sequence of operations aim to break security

It is an unknown FSM that we can observe through some anomaliesHidden Markov Model (HMM) and Viterbi algorithm

HMM observable is associated to the probability to be in a certain stateViterbi algorithm is too expensive

1 2 3 4 5 1 p 11 2 p 12 3 p 13 4 p 14 5 p 15 1 1 p 21 2 p 22 3 p 23 4 p 24 5 p 25 2 1 p 61 2 p 62 3 p 63 4 p 64 5 p 65 6

...

A middleware to support security

(16)

Here comes your footer

Page

16

MIDDLEWARE: IDS (4/5)

MIDDLEWARE: IDS (4/5)

How does an attack can be modeled?

Relax HMM to Weak Process Model (WPM)

Each observable is associated to the possibility to be in a certain stateWeighing state transitions Viterbi algorithm can be simplified

Scoring mechanism and threshold

1 (1,6) 2 (3,4) 3 (2,4) 4 (3,5) 5 (1,3,6) 1 5 1 2 3 2 4 5 3 2 3 4 5 4 6 15

A middleware to support security

(17)

Here comes your footer

Page

17

MIDDLEWARE: IDS (5/5)

MIDDLEWARE: IDS (5/5)

Misuse-based Intrusion Detection

We designed WPM for 3 types of threatsHello flooding, sinkhole and wormhole

A middleware to support security

(18)

Here comes your footer

Page

18

OVERVIEW

OVERVIEW

Introduction

MiddlewareSecurity

Middleware

AgillaTAKSIDS

Future works

Conclusions

A middleware to support security

(19)

Here comes your footer

Page

19

FUTURE WORKS

FUTURE WORKS

Agilla

Reverse engineering Porting in TinyOS 2.x

Encryption

Performance evaluation in Agilla

Intrusion Detection System

Implementation and validationIRL and IRLA definition

Database enhancing

A middleware to support security

(20)

Here comes your footer

Page

20

CONCLUSIONS

CONCLUSIONS

It is proposed a middleware to support security in

Wireless Sensor Networks

The proposed middleware is

Useful for WSN programmer

Gifted of innovative security facilities

Works will be done to make it suitable for real-world

applications

A middleware to support security

(21)

Here comes your footer

Page

21

REFERENCES

REFERENCES

[1] Salem Hadim, and Nader Mohamed, Middleware: Middleware Challenges and Approaches for Wireless Sensor Networks (2006)

[2] Miao-Miao Wang, Jian-Nong Cao, Jing Li, and Sajal K. Das, Middleware for Wireless Sensor Networks: A Survey (2008)

[3] Agilla website http://mobilab.wustl.edu/projects/agilla/

[4] S. Marchesani, L. Pomante, M. Pugliese, and F. Santucci. WINSOME: A Middleware Platform for the Provision of Secure Monitoring Services over Wireless Sensor Networks (2013)

[5] Wander, A. S., Gura, N., Eberle, H., Gupta, V., Shantz, Sh. Ch.: Energy analysis of public-key cryptography for wireless sensor networks (2005)

[6] M. Pugliese, Managing Security Issues in Advanced Applications of Wireless Sensor Networks (2008)

A middleware to support security

(22)

Here comes your footer

Page

22

THANKS YOU!

THANKS YOU!

ANY QUESTIONS?

ANY QUESTIONS?

A middleware to support security

http://mobilab.wustl.edu/projects/agilla/

References

Related documents

By using pin-on-disc wear tester in dry sliding condition an adhesive wear test was conducted as per L 9 orthogonal array by taking parameters of applied load, sliding speed

Reliability and validity of the Infant and Toddler Quality of Life Questionnaire (ITQOL) in a general population and respiratory disease sample. Qual Life Res. Oostenbrink R, Jongman

In the present study, we determined the major phen- olic compounds of exGrape® grape seed extract by an improved HPLC method and analyzed the effect of con- sumption of this product

Sem- inal superoxide dismutase activity in New Zealand White rabbits was significantly ( p < 0.05) higher than that of Chinchilla; however, Fauve de Bourgogne and British Spot

Our results indicate that the average level of cleft severity carries a statistically significant negative impact on social integration of patients.. The estimate is mainly driven

The grey areas correspond to the WMO/GAW compatibility (dark grey) and extended compatibility (light grey) goals; vertical grey bars (left diagrams) illustrate when different

Since the Ebro delta HF radar footprint overlooks a moored PCM within its spatial coverage, an accuracy assessment of radar surface currents is performed for a 6-month

In this paper, a model that using Stackelberg game to max- imize the profits of network operators including both PO and SO is proposed. It is considered first the changes of