table of contents integration of smart cards into ......sc cla ins p1 p2 length le lon gateway...

6
Integration of Smart Cards into Automation Networks J. Alberto J. Alberto Vigo Vigo Segura Segura Juan J. Juan J. S S á á nchez nchez S S á á nchez nchez Natividad Mart Natividad Mart í í nez nez Madrid Madrid Ralf Ralf Seepold Seepold Universidad Carlos III de Madrid Universidad Carlos III de Madrid http://www. http://www. enti enti .it.uc3m. .it.uc3m. es es This work has been partly supported by the Spanish Ministry of Industry under the Trust-eS (FIT-070000-2003-930) and Everyware projects (TIC2003-08995- C02-01), and by the European Commission (VI Framework Program) under Ubisec project (IST-2002-506926). Table of Contents Motivation and Scenarios Related Work State of the Art Proposed Architecture Conclusions and Future Work 2 Table of Contents Motivation and Scenarios Related Work State of the Art Proposed Architecture Conclusions and Future Work 3 Motivation – Intelligent environments: • User aware. • Customisable. – User configurations storage media : • Portable. • No energy consumption. • Programmable. • Configuration for different environments. 4

Upload: others

Post on 22-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Integration of Smart Cards

into Automation Networks

J. Alberto J. Alberto VigoVigo SeguraSegura

Juan J. Juan J. SSááncheznchez SSááncheznchez

Natividad MartNatividad Martííneznez MadridMadrid

Ralf Ralf SeepoldSeepold

Universidad Carlos III de MadridUniversidad Carlos III de Madrid

http://www.http://www.entienti.it.uc3m..it.uc3m.eses

This work has been partly supported by the Spanish Ministry of Industry under the Trust-eS (FIT-070000-2003-930) and Everyware projects (TIC2003-08995-C02-01), and by the European Commission (VI Framework Program) underUbisec project (IST-2002-506926).

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

2

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

3

Motivation

– Intelligent environments:

• User aware.

• Customisable.

– User configurations storage media :

• Portable.

• No energy consumption.

• Programmable.

• Configuration for different environments.

4

Page 2: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Scenario

5

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

6

Related Work

• Interactions between automation networks

and smart cards � only user authentication

Examples of current projects:

– FUTURE HOME (IST IPv6 Cluster)

– ePerSpace. IST 506775 (6th Fram. Programme)

• Similar concept in SUN white paper

“The Connected Home Powered by Java

EmbeddedServer“

7

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

8

Page 3: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Smart Cards

• Devices able to store, process and protect data from unauthorized access or tampering

• Traditionally � mean to authenticate users

• Lately more computational power:

– Cryptography operations

– On-card applications

9

Automation Networks (LonWorks)

• Automation networks: networks used to automate and control buildings, companies, houses etc.

• LonWorks: decentralized and distributed control network.

• Architecture: composed of a set of intelligent nodes (LonTalk).

10

More about LonWorks

• Network Variables (NVs)

– LonWorks technology concept

– Used to adapt environments to user’s preferences

• Nodes share information via NVs

• Modifying NVs' values� change the nodes’

behaviour (Environment)

11

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

12

Page 4: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Proposed Architecture (I)

13

• Smart Card – Stores and manages the user configurations

• ICR

– Interface between the card reader and the gateway

• Gateway– Translation of received information from the card to the network

and vice versa:• Customising an environment / network• Storing network current status as user’s configuration

• ILON

– Network Interface

• LonWorks network– Its nodes behaviour depends on network variable values.

Proposed Architecture (II)

14

Card operations / Interface

• Stores user configurations

• Valid in different LonWorks networks

• Configuration Management Application (CMA)

– Application for controlling information stored in the card

• Card stores two different data structures for each network

– User configurations

– Network variables and its value

• Interaction with Gateway

– Independent information storing

– Smart Card and Gateway exchange APDUs via RS-232

– Gateway communicates with CMA

15

Configuration and network variable

• User Configuration

Env.

ID

Conf.

ID

Ref. To

NV01

Ref. To

NV02

Ref. To

NV03

Ref. To

NV0n…

……

Value_22

Value_11

ValueNetwork Variable

• Network Variables

16

Page 5: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Gateway: Modes of operation

• Configuration mode:Programming the card with the information of the gateway

• Operation mode:Configuration of LonWorks network with information stored in the card

17

Information stored in the

Gateway

nndefault_value_for_nviSetting0nvalue_for_nviSetting0nnviSetting0n

…………

…………

3default_value_for_nviLampValue0

3

value_for_nviLampValue

03

nviLampValue03

2default_value_for_nviLampValue0

2

value_for_nviLampValue

02

nviLampValue02

1default_value_for_nviLampValue0

1

value_for_nviLampValue

01

nviLampValue01

Network

Variable Id

Default ValueCurrent ValueNetwork Variable

Name

18

Configuration Mode

SCLon

GatewayAIDAID Length0004A400

LeLengthP2P1INSCLA

0x9000 OK

Env. ID (2 bytes)

Body

--10000?01AA

LeLengthP2P1INSCLA

0x9000 OK

NV_name+

Value

Body

004A000002AA

LeLengthP2P1INSCLA

19

0x(90/91)000 OK

Operation Mode

AIDAID Length0004A400

LeLengthP2P1INSCLASCLon

Gateway

0x9000 OK

Env. ID (2 bytes)

Body

--10000?01AA

LeLengthP2P1INSCLA

0x9000 OK

--

Body

4F00000003AA

LeLengthP2P1INSCLA

NV_Value0091/90

Data fieldSW2SW1

20

Page 6: Table of Contents Integration of Smart Cards into ......SC CLA INS P1 P2 Length Le Lon Gateway 0x9000 OK Env. ID (2 bytes) Body 01 0? 00 10--INS P1 P2 Length Le 0x9000 OK--Body AA

Table of Contents

• Motivation and Scenarios

• Related Work

• State of the Art

• Proposed Architecture

• Conclusions and Future Work

21

Conclusions

• Portability

• Secure storage

• No power supply

• Network customization

• Different LonWorks networks can be controlled through the same device

22

Future Work

• Integration into a Open Service Gateway Initiative (OSGi) compliant Home Gateway

• Adding user authentication

• Extension to another control networks (Konnex, X.10, …)

23

Thanks!!

Questions??

24