Introduction: The Multi-User Smart Home Challenge
Modern smart home platforms, such as Samsung SmartThings and Apple HomeKit, are primarily designed with a single "trusted" user in mind. This "all-or-nothing" approach to access control fails to account for the complex social dynamics of a typical household. When multiple residents—parents, children, and guests—share a space, binary permissions lead to significant functional conflicts and security vulnerabilities.
As illustrated in Figure 1, different users often have overlapping or contradictory demands. For instance, a parent might set a restrictive temperature range for the thermostat, while another resident attempts to set it outside that range. These "racing" or "conflicting" demands can result in unpredictable device behavior. Furthermore, granting a guest full access to a home app often provides them with excessive privileges, such as the ability to add new unauthorized users or modify security settings.
The Kratos System Architecture
To address these issues, researchers presented Kratos at WiSec '20. Kratos is a multi-user, multi-device access control system that moves beyond simple binary toggles to handle nuanced household interactions. The system is built upon three main pillars: a formal policy language, a priority-based hierarchy, and an automated negotiation algorithm.
The architecture, shown in Figure 2, integrates directly into the smart home ecosystem. It features a User Interaction Module for policy input, a Backend Server for central management, and a Policy Manager that generates and negotiates rules. Finally, the Policy Execution module intercepts device commands to ensure they comply with the negotiated household policies.
Nuanced Policy and Negotiation
Kratos utilizes a formal 5-tuple policy format: {Assigner, Assignee, Device, Conditions, Action}. This allows users to define context-aware rules, such as "Allow the guest to use the smart lock only between 8 AM and 10 PM."
Central to Kratos is its ability to resolve disputes through a priority-based hierarchy (e.g., Owner > Resident > Guest). When policies clash, the system categorizes the conflict:
- Hard Conflicts: Where desired states have no overlap (e.g., "On" vs "Off"). Kratos favors the higher-priority user or defers to an administrator.
- Soft Conflicts: Where desired states overlap (e.g., different temperature preferences). Kratos calculates an "optimum operating point"—such as an average temperature—that satisfies both parties' constraints.
Real-World Evaluation and Results
The effectiveness of Kratos was evaluated through a user study involving 43 participants across 14 households, resulting in a collection of 309 unique policies. Testing on a physical hardware testbed with 17 devices demonstrated that Kratos achieved a 100% success rate in resolving conflicts and detecting various threat models, including privilege escalation.
Performance metrics indicate that Kratos is highly practical for daily use. Even when processing 30 complex conflicting policies, negotiation time remained low at approximately 1.21 seconds. For standard operations, the added latency was barely perceptible (90ms to 280ms), and the impact on mobile device resources (CPU and RAM) was less than 1%.
Conclusion
Kratos represents a significant step forward in smart home security and usability by treating device control as a social negotiation rather than a binary permission. By incorporating user roles, priorities, and environmental context, it ensures both household harmony and robust security. Future work aims to improve usability through natural language processing and explore long-term household dynamics.
Summary updated