BlendCAC: A Smart Contract Enabled Decentralized Capability-Based Access Control Mechanism for the IoT

Ronghua Xu, Yu Chen, Erik Blasch, Genshe Chen

TL;DR

This paper introduces BlendCAC, a novel decentralized access control system for the Internet of Things (IoT) that leverages blockchain and smart contracts. It addresses the scalability and security limitations of traditional access control methods by enabling federated delegation and fine-grained control without a central point of failure.

What Problem Does This Paper Address?

The proliferation of IoT devices, especially in smart cities, presents significant challenges for security and privacy. Traditional access control mechanisms like ACL, RBAC, and ABAC struggle to cope with the sheer scale, heterogeneity, and dynamic nature of IoT environments. Furthermore, these systems often rely on centralized authorization servers, creating performance bottlenecks and single points of failure. The authors aim to provide a decentralized, scalable, manageable, and efficient access control solution specifically tailored for the unique demands of IoT.

Methods

The core of BlendCAC is a Federated Capability-based Delegation Model (FCDM). This model allows for hierarchical and multi-hop delegation of access rights. Key components include:

  • Identity-based Capability Token Management: Access rights are represented as capability tokens, managed via smart contracts on a blockchain. This ensures transparency, immutability, and decentralized management.
  • Smart Contracts: These automate the registration, propagation, and revocation of access authorizations, enforcing policies directly on the blockchain.
  • Federated Delegation: The system supports delegation of authority from a central cloud server to local domain coordinators, distributing the workload and enhancing scalability.
  • Capability-based Access Control (CapAC): This approach grants subjects specific capabilities to access objects, offering fine-grained control.
  • Proof-of-Concept Prototype: A system was implemented using Raspberry Pi nodes and more powerful devices on a private Ethereum blockchain network.

Datasets

Not discussed in the paper. The evaluation uses a simulated network environment with custom test scenarios.

Key Insights and Ideas

  • Blockchain as an Access Control Backbone: The paper demonstrates how blockchain's inherent properties (decentralization, transparency, immutability) can be effectively harnessed to build a robust and trustworthy access control system for IoT.
  • Smart Contracts for Policy Enforcement: Using smart contracts to encode and enforce access control policies automates and secures the process, removing reliance on human intervention or centralized servers.
  • Federated Delegation for Scalability: Distributing authorization tasks from a central cloud to local domain coordinators is crucial for managing the vast number of IoT devices and services.
  • Capability Tokens for Fine-Grained Control: Capability tokens, which encapsulate specific access rights and conditions, enable precise control over resource access, preventing privilege escalation.
  • Lightweight Design for Resource-Constrained Devices: The use of JSON for token structures and a focus on efficient smart contract design aim to make the system suitable for resource-limited IoT devices.

Key Results

  • Feasibility Demonstrated: The proof-of-concept prototype successfully implemented and tested BlendCAC on resource-constrained devices and more powerful computing devices.
  • Decentralized and Scalable: Experimental results validate BlendCAC's ability to offer a decentralized and scalable access control solution.
  • Lightweight and Fine-Grained: The system provides fine-grained access control with minimal overhead, making it suitable for IoT environments.
  • Performance:
    • Average total delay time for a request was around 243 ms, comparable to RBAC/ABAC.
  • Token processing, the most intensive stage, took about 210 ms.
  • Authorization verification was significantly faster in BlendCAC (0.74 ms) compared to RBAC (2.47 ms) and ABAC (2.07 ms), which rely on local databases.
  • Network latency for inter-domain communication was minimal (around 5 ms extra latency compared to a no-access-control benchmark).
  • Delegation and Revocation: The system effectively handles grant-independent cascading revocation and federated delegation.

Limitations and Future Work

  • Transaction Latency: The reliance on blockchain block generation times can introduce latency for transaction validation, potentially not meeting real-time application requirements.
  • Blockchain Size: As the number of transactions increases, the blockchain grows, leading to increased storage and computing overhead for clients.
  • Blockchain Security Concerns: The paper acknowledges potential vulnerabilities like 51% attacks and privacy leakage due to the transparency of blockchain data.
  • Future Work: The authors suggest further exploration of blockchain-based access control schemes, particularly for real-world applications like smart surveillance systems, and extending BlendCAC to protect network cameras and motion sensors. They also aim to improve the trade-off between performance and security.

Summary updated

Abstract

While Internet of Things (IoT) technology has been widely recognized as an essential part of Smart Cities, it also brings new challenges in terms of privacy and security. Access control (AC) is among the top security concerns, which is critical in resource and information protection over IoT devices. Traditional access control approaches, like Access Control Lists (ACL), Role-based Access Control (RBAC) and Attribute-based Access Control (ABAC), are not able to provide a scalable, manageable and efficient mechanism to meet the requirements of IoT systems. Another weakness in today’s AC is the centralized authorization server, which can cause a performance bottleneck or be the single point of failure. Inspired by the smart contract on top of a blockchain protocol, this paper proposes BlendCAC, which is a decentralized, federated capability-based AC mechanism to enable effective protection for devices, services and information in large-scale IoT systems. A federated capability-based delegation model (FCDM) is introduced to support hierarchical and multi-hop delegation. The mechanism for delegate authorization and revocation is explored. A robust identity-based capability token management strategy is proposed, which takes advantage of the smart contract for registration, propagation, and revocation of the access authorization. A proof-of-concept prototype has been implemented on both resources-constrained devices (i.e., Raspberry PI nodes) and more powerful computing devices (i.e., laptops) and tested on a local private blockchain network. The experimental results demonstrate the feasibility of the BlendCAC to offer a decentralized, scalable, lightweight and fine-grained AC solution for IoT systems.
BibTeX
@inproceedings{xu2018blendcac,
  author = {Ronghua Xu and Yu Chen and Erik Blasch and Genshe Chen},
  title = {{BlendCAC: A Smart Contract Enabled Decentralized Capability-Based Access Control Mechanism for the IoT}},
  booktitle = {Comput},
  year = {2018},
  url = {https://openreview.net/forum?id=M-wWcfwRJyH},
}
Figure