15
Authenticating Wireless Nodes in Building Automation: Challenges and Approaches Funded by Innosuisse - Swiss Innovation Agency under project number 19328.1 PFES-ES Prof. Andreas Rüst Zurich University of Applied Sciences – Institute of Embedded Systems Winterthur, Switzerland [email protected] https://doi.org/10.21256/zhaw-2750

Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Authenticating Wireless Nodes in Building Automation: Challenges and Approaches

Funded by Innosuisse - Swiss Innovation Agency under project number 19328.1 PFES-ES

Prof. Andreas Rüst

Zurich University of Applied Sciences – Institute of Embedded Systems Winterthur, Switzerland [email protected]

https://doi.org/10.21256/zhaw-2750

Page 2: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires simple but secure provisioning

Building Automation System

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 2

Leaf Node

Autonomic Secure Bootstrapping

IPv6

Page 3: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Goal of manufacturer • Ship a single device type, with a uniform firmware load

directly to all customers

Device travels through long supply chain • Exposed to potential manipulations • E.g. unauthorized replication, compromised firmware

updates and deceiving reuse of device identities

Enrolling installed device into specific IT-environment • Manually by IT-integrator • Does he trust the device? • Trustworthy previous owners?

Establishing Trust: From Supply Chain to System Integration

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 3

Page 4: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

The role of the Registrar • Growing number of nodes in building automation

- Need to automate enrollment process - Replace IT-Integrator (person) with fully automated service entity

• Registrar represents the individual domain of a building

- Acts as registration authority - Takes decision whether a Leaf Node is allowed to join the domain

Autonomic Secure Bootstrapping

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 4

Makes fully automated enrollment possible

Page 5: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Trust of Leaf Node in MASA • Imprinted during manufacturing process

Trust of Registrar in MASA • Many options, e.g. manual configuration by IT-Admin

Initial Trust Relationships

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 5

Manufacturer Authorized Signing Authority (MASA)

Both, Leaf node and Registrar trust in MASA But there is no trust between them

Page 6: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Autonomic Secure Bootstrapping

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 6

Leaf Node

Autonomic Secure Bootstrapping Fully automated enrollment of Leaf Node

1. Establishing mutual trust between Leaf Node and Registrar

Anima BRSKI

2. Enrollment over secure transport EST- coaps

3. Operational network enrollment

Fairhair Alliance

Page 7: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

MASA introduces Leaf Node and Registrar to each other

Establishing Mutual Trust between Leaf Node and Registrar (A)

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 7

Leaf Node

Voucher based system using

Page 8: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Leaf Node issues Voucher Request

Establishing Mutual Trust between Leaf Node and Registrar (B)

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 8

As presented by Registrar during DTLS handshake

Through DTLS session with provisional trust

Page 9: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

MASA verifies Voucher Request

Establishing Mutual Trust between Leaf Node and Registrar (C)

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 9

Does Voucher Request originate from a genuine Leaf Node?

Voucher Request received from same Registrar that Leaf Node sees?

Optional further criteria

Log Registrar as owner in

Device History

Issue Voucher (send to Registrar)

Encapsulate and forward

Voucher Request

Page 10: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Leaf Node

Registrar takes decision on trust

Establishing Mutual Trust between Leaf Node and Registrar (D)

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 10

Black lists White lists

On trust: Forward Voucher

Verify previously stored Device Certificate

of Registrar

Voucher

Verify

Verify using pre-installed MASA certificate

Leaf Node and Registrar now mutually trust each other

Device History

Voucher

Page 11: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Provisioning of operational identity • Uses mutual trust: Leaf Node Registrar • Leaf Node

- Generates new private-public key pair - Requests certification of public key

• Registrar - Provides Operational Device Certificate - LDevID: Locally significant secure device identifier

Step 2: Enrollment over Secure Transport (EST-coaps)

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 11

Leaf Node holds certified operational identity to authenticate itself in domain.

Page 12: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Leaf Node authenticates itself in domain • E.g. post data to Automation Station • Leaf Node and Automation Station can both

verify the identity of each other • Authorization based on presented identity • End-to-end security DTLS, CoAPS

Step 3: Operational Network Enrollment

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 12

Leaf Node

Page 13: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Nordic nRF52840 System-on-Chip • 2.4GHz PCB antenna

Sensors • InvenSense ICS 41350 microphone • Bosch BME680 temperature, humidity,

pressure and gas sensor • Texas Instruments OPT3001 light sensor • STMicroelectronics LSM6DSL

accelerometer and gyroscope Secure Elements

• Microchip ATECC608A • NXP A71CH • Infineon Optiga TrustX • Trusted Objects TO136

Implementation of Leaf Node

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 13

Secure Elements physically isolate secret cryptographic material from application.

However, individual integration effort for each

secure element has been high. Need for harmonization

Page 14: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Test Set-up

Verification

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 14

CoAP framework

nRF5280 dongle Runs OpenThread in Network

Coprocessor Mode

OpenThread Border Router Software

Page 15: Authenticating Wireless Nodes in Building Automation ... · Extending IPv6 down to the field level • Sensor networks coalesce with existing IT networks • Authentication requires

Autonomic Secure Bootstrapping • Fully automated enrollment process for IoT devices • Provisions operational identity (LDevID) • Starting from Initial Device Identifier (IDevID)

imprinted by manufacturer • Based on public-key cryptography • Fairhair Alliance / IETF Anima

Fully functional implementation • Cryptographic operations possible in software

as well as in secure elements of four different vendors • Secure elements show need for harmonization

Read the details https://doi.org/10.21256/zhaw-2750

Conclusions

December 04, 2018 IoT Security Foundation Conference 2018: Authenticating Wireless Nodes in Building Automation: Challenges and Approaches; Prof. A. Rüst 15