TL;DR
This paper introduces Griffin, a capability-based authorization system for the Internet of Things (IoT) that enforces both ordered sequences of permissions and context-aware access. It addresses the growing need for fine-grained, secure access control in IoT environments by integrating with OAuth 2.0 and using proof-of-possession tokens.
What Problem Does This Paper Address?
The proliferation of IoT devices generates vast amounts of data and necessitates robust authorization mechanisms. Traditional systems struggle with the dynamic and context-dependent nature of IoT access, where permissions often need to be granted in a specific order and are contingent on environmental factors (e.g., user location, device status). Existing capability-based systems often lack support for enforcing ordered permissions or integrating external context, leading to potential security and privacy vulnerabilities. This paper tackles the challenge of creating a secure, efficient, and flexible authorization system that can handle these complex requirements in IoT.
Methods
The authors propose a capability-based system that extends the OAuth 2.0 framework. Key innovations include:
- Ordered Permissions: Capabilities are designed to enforce a specific sequence of permissions. This is managed by a state variable within the capabilities themselves, which is updated by resource servers as permissions are successfully invoked.
- Context Awareness: An external Environmental Situation Oracle (ESO) is introduced to provide context information that is external to the resource server. This allows for conditional authorization based on environmental factors without compromising user privacy by revealing sensitive context details to the resource server.
- Proof-of-Possession Tokens: Griffin utilizes proof-of-possession tokens, which are tied to a specific subject and require the possessor to prove knowledge of a secret key, enhancing security against token theft.
- Attribute-Based Access Control (ABAC): The system integrates ABAC for policy definition, allowing for flexible and scalable authorization rules based on attributes of subjects, objects, actions, and environment context.
- Formal Verification: The safety property of the proposed system is formally proven.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Decoupling Context Evaluation: Introducing the ESO as a separate entity for context evaluation is crucial for privacy. It allows resource servers to verify context without directly accessing sensitive user or environmental data.
- Stateful Capabilities for Sequence Enforcement: Using state within capabilities to track progress through a permission sequence is an elegant way to enforce order without requiring complex inter-server communication.
- Griffin as a Flexible Framework: The system is designed as a general-purpose framework, not tied to a specific application, making it adaptable to various IoT scenarios.
- Performance Trade-offs: While adding context awareness and sequence enforcement introduces some overhead, the performance remains competitive, especially with efficient cryptographic algorithms like ECDSA.
Key Results
The paper presents experimental results demonstrating the performance of Griffin.
- Authorization Request Performance: With ECDSA signatures, authorization requests averaged around 93.8 ms.
- Resource Request Performance: Resource requests averaged around 106.6 ms with ECDSA signatures.
- Overhead: The overhead for enabling context confinement on the Authorization Server (AS) side was less than 5% (ECDSA) and 12% (RSA). On the Resource Server (RS) side, the overhead was slightly higher but still resulted in fast overall response times.
- Scalability: The system demonstrated good performance under varying loads, with error rates remaining low up to 7000 simultaneous users.
Limitations and Future Work
- Honest but Curious RS: The current model assumes resource servers are fully trusted. Future work should address scenarios where RS might try to infer context without client intent, potentially breaching privacy.
- Integration of Permission Sequence Enforcement: While the paper describes the protocol, its full integration into the Griffin implementation is a future direction.
- Three-legged OAuth Integration: Incorporating Griffin with three-legged OAuth would allow resource owners to directly participate in authorization decisions, offering more granular control.
- Client Impersonation by RS: The paper notes that the RS might try to impersonate the client to access ESO capabilities, which is currently ruled out by assumption but warrants future investigation.
Summary updated