BlendCAC: A BLockchain-Enabled Decentralized Capability-Based Access Control for IoTs

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. By moving away from centralized authorization servers, BlendCAC aims to enhance scalability, security, and fine-grained control for resource-constrained IoT devices, addressing critical challenges in managing vast and heterogeneous IoT networks.

What Problem Does This Paper Address?

The proliferation of the Internet of Things (IoT) has led to an unprecedented number of interconnected devices, enabling powerful applications like smart grids and smart cities. However, this connectivity also introduces significant security and privacy concerns. A critical challenge is access control (AC), which governs how devices and services can access resources. Traditional AC models like Access Control Lists (ACLs), Role-Based Access Control (RBAC), and Attribute-Based Access Control (ABAC) struggle to cope with the unique demands of IoT environments. These demands include:

  • Scalability: The sheer volume of IoT devices and services overwhelms centralized AC systems, creating performance bottlenecks and single points of failure.
  • Heterogeneity: IoT networks comprise diverse devices with varying technologies and application domains, making uniform policy enforcement difficult.
  • Causality and Dynamism: IoT interactions are often short-lived and spontaneous, requiring AC systems that can dynamically adapt rather than relying on pre-defined, long-term patterns.
  • Lightweight Requirements: Many IoT devices are resource-constrained, limiting their ability to support computationally intensive AC tasks or large storage needs, especially when operating on low-power, lossy networks.

Existing solutions often rely on centralized authorities, even when attempting to distribute some intelligence to edge devices. This paper argues for a truly decentralized AC framework that diffuses intelligence across edge devices and eliminates reliance on a single point of trust.

Methods

The core of the proposed solution, BlendCAC, is built upon two key technologies: blockchain and smart contracts.

  • Blockchain: Utilized as a decentralized, immutable ledger to store and manage access control policies and capability tokens. This eliminates the need for a central authority and ensures transparency and auditability.
  • Smart Contracts: These are self-executing contracts with the terms of the agreement directly written into code. In BlendCAC, smart contracts are used to:
  • Register entities: Domain owners manage local profile databases for identity authentication.
  • Deploy AC policies: Policies are encapsulated within smart contracts, making them accessible and verifiable by all network participants.
  • Manage Capability Tokens: A novel identity-based capability token structure (ICap) is proposed. This token encapsulates the Virtual Identity (VID) of the subject and object, delegation rights (delegatee and depth), access rights (AR) for specific actions (e.g., read, write), and context awareness information (C).
  • Propagate Capabilities: When a user requests access, the domain owner generates an ICap, launches a transaction to save it to the smart contract, and notifies the user of the contract address.
  • Validate Access: Service providers, by synchronizing with the blockchain, can fetch capability tokens from the smart contract and validate access requests based on local policies and the token's contents.
  • Handle Delegation and Revocation: The ICap structure supports delegation of rights and allows for revocation by modifying the token's parameters within the smart contract.

The system architecture involves domain owners who manage their local devices and services, and entities (users or devices) that request access. The BlendCAC system is designed to function even between isolated IoT domains without pre-established trust relationships.

Datasets

Not discussed in the paper. The paper focuses on a proof-of-concept prototype implemented on a private Ethereum blockchain network and tested using Raspberry Pi devices.

Key Insights and Ideas

  • Decentralized Authorization via Blockchain: By leveraging blockchain, BlendCAC shifts authorization control from a central authority to individual domain owners, enabling trustless interactions between unknown entities.
  • Capability Tokens as Fine-Grained Access Control: The proposed ICap structure, incorporating VIDs, delegation, actions, and context, allows for highly granular and flexible access control, going beyond traditional role or attribute-based systems.
  • Smart Contracts for Policy Enforcement: Encapsulating AC policies within smart contracts on the blockchain ensures that policies are transparent, verifiable, and automatically enforced, reducing the risk of malicious interference.
  • Edge Intelligence for IoT: BlendCAC pushes AC intelligence to the edge devices (service providers), mitigating performance bottlenecks and single points of failure associated with centralized cloud servers.
  • Lightweight Design for Resource-Constrained Devices: The use of JSON for capability tokens and the overall architecture are designed to be lightweight, suitable for the limited resources of IoT devices.

Key Results

The paper presents experimental results from a proof-of-concept prototype on a private Ethereum blockchain network using Raspberry Pi devices.

  • Computational Overhead: The total delay for BlendCAC operations (retrieving data from client to server) was approximately 243 ms, comparable to RBAC and ABAC. The token processing stage, involving fetching data from the smart contract, accounted for the majority of this delay (around 210 ms).
  • Authorization Verification: BlendCAC outperformed RBAC and ABAC in authorization verification, with an average time of 0.74 ms compared to 2.47 ms (RBAC) and 2.07 ms (ABAC). This is attributed to RBAC and ABAC requiring database lookups for policy management.
  • Network Latency: After an initial delay for caching token data, BlendCAC achieved a stable network latency of around 36 ms for subsequent requests. This is only a marginal increase (about 5 ms) compared to a system with no access control (31 ms), and lower than RBAC and ABAC in most periods.
  • Scalability and Flexibility: The experimental results validate the feasibility of BlendCAC for offering a decentralized, scalable, lightweight, and fine-grained AC solution to IoT systems.

Limitations and Future Work

  • Limitations:
    • The current implementation relies on a private Ethereum blockchain, and the performance might differ on public blockchains.
  • The paper acknowledges that the Raspberry Pi devices, while used as nodes, are not powerful enough to function as miners, indicating a potential limitation for extremely resource-constrained environments if mining is required.
  • While the prototype demonstrates feasibility, a comprehensive study on the impact of large-scale, real-world IoT deployments is still needed.
  • Future Work:
    • The authors plan to explore further applications of the blockchain-based access control scheme, specifically in smart surveillance systems.
  • They aim to extend BlendCAC to protect network cameras and motion sensors in novel urban surveillance platforms.
  • Further insights are expected from deeper exploration of decentralized security solutions for IoT and edge computing.

Summary updated

BibTeX
@inproceedings{xu2018blendcac,
  author = {Ronghua Xu and Yu Chen and Erik Blasch and Genshe Chen},
  title = {{BlendCAC: A BLockchain-Enabled Decentralized Capability-Based Access Control for IoTs}},
  booktitle = {iThings/GreenCom/CPSCom/SmartData},
  year = {2018},
  doi = {10.1109/cybermatics\_2018.2018.00191},
}

Loading related content...

Figure