Discovering IoT Physical Channel Vulnerabilities

Muslum Ozgur Ozmen, Xuansong Li, Andrew Chu, Z. Berkay Celik, Bardh Hoxha, Xiangyu Zhang

TL;DR

This paper introduces IOTSEER, a novel system that effectively discovers physical channel vulnerabilities in smart home IoT devices by combining static app analysis with dynamic device state analysis. It addresses the limitations of prior work by creating a comprehensive physical execution model and validating new security policies, leading to significantly more accurate detection of real-world vulnerabilities.

What Problem Does This Paper Address?

Smart homes are increasingly populated with interconnected IoT devices and apps that automate various functions. While these interactions offer convenience, they also introduce security and safety risks, particularly through "physical channel vulnerabilities." These occur when an app's actuation command influences a physical environment (like temperature or motion), which is then detected by a sensor, triggering other apps in unintended ways. Existing methods for detecting these vulnerabilities are either too narrow (only analyzing software interactions), lack fidelity (failing to capture the nuances of physical influences), or rely on incomplete security policies, leading to many false positives and missed threats. This paper aims to bridge this gap by providing a more robust and accurate method for discovering these stealthy vulnerabilities.

Methods

IOTSEER employs a multi-stage approach:

  1. Generic Offline Module:
    • Static App Analysis: Extracts actuation commands and sensor events from IoT app source code.
  2. Physical Execution Models (PEMs): Translates these commands and events into formal models (hybrid I/O automata) that represent their generic physical behavior, incorporating physics-based equations for continuous dynamics.
  3. Composite Physical Execution Model (CPEM): Unifies the PEMs of interacting apps to represent their joint physical behavior, accounting for aggregation of influences and distinguishing command influences (addressing challenges C1 and C3).
  4. Deployment-Specific Module:
    • Device Localization: Uses RSSI-based techniques to estimate distances between actuators and sensors.
  5. System Identification (SI): Collects device traces to fine-tune CPEM parameters (like device properties and distances), ensuring the model accurately reflects the specific smart home environment and addresses device placement sensitivity (challenge C4).
  6. Security Analysis Module:
    • Intent-Based Policy Generation: Automatically assigns "intended" (Int) and "unintended" (UnInt) labels to app interactions based on their descriptions and semantic relationships, identifying vulnerabilities related to unintended influences (challenge C2).
  7. Device-Centric Policies: Extends existing security rules with temporal logic to enforce device-specific safety constraints.
  8. Optimization-Guided Falsification: Uses an optimization algorithm to search for counterexamples to the defined policies on the CPEM, efficiently validating them and identifying violations.

Datasets

The paper evaluates IOTSEER in a real-world smart home environment.

  • Smart Home Setup: 14 actuators, 6 sensors.
  • Apps: 39 popular apps from IoT platforms like IFTTT, Microsoft Flow, and SmartThings.
  • Data Collection: Actuator and sensor traces were collected from actual devices in the house for 30 minutes to identify command influences and tune CPEM parameters.

Key Insights and Ideas

  • Physical interactions are a significant, yet under-addressed, security threat: The paper highlights that the stealthy nature of physical interactions makes them a prime target for adversaries, and existing methods are insufficient.
  • Bridging static analysis with dynamic behavior is crucial: Simply analyzing code or observing runtime behavior in isolation is not enough. IOTSEER's strength lies in its hybrid approach, creating accurate models of physical behavior.
  • The concept of "intended" vs. "unintended" physical interactions is key to defining robust security policies: By understanding user intent, IOTSEER can differentiate between legitimate and malicious interactions, leading to more precise vulnerability detection.
  • Device placement significantly impacts physical interactions: The system's ability to adapt to changes in device location (challenge C4) is critical for maintaining accurate security analysis in dynamic smart home environments.
  • Falsification is more scalable than grid-testing for complex IoT systems: The paper demonstrates that optimization-guided falsification offers a more efficient way to validate policies on CPEMs compared to exhaustive grid-testing, especially as the number of apps and policies grows.

Key Results

  • High Detection Rate: IOTSEER discovered 16 unique policy violations in a real home, whereas prior works identified only 2 out of 16 with 18 false positives.
  • True Positives: All 16 violations identified by IOTSEER were confirmed as true positives through in-home experiments.
  • Efficiency: IOTSEER requires approximately 30 minutes of data collection per actuator to set CPEM parameters and is adaptive to newly added, removed, or relocated devices.
  • Robustness to Errors: The system demonstrates tolerance to errors in distance parameter estimation, with some PEMS being robust to up to 50% error.
  • Performance: Falsification-based policy validation is significantly faster than grid-testing, especially as the number of influencing actuation commands or policies increases.

Limitations and Future Work

  • Manual Effort for Labels and Distances: Users may need to manually confirm or update the generated "intended/unintended" labels for app interactions and provide approximate distances if RSSI-based localization is insufficient.
  • Environmental Noise: While the system accounts for some environmental factors, uncontrolled noise can lead to slight timing deviations in violation detection.
  • Mitigation Trade-offs: The proposed mitigation strategies (patching code, device placement, app removal) might prevent desired actions or be inconvenient.
  • Future Work:
    • Conduct user studies to understand user perception of mitigation methods.
  • Investigate advanced automated patching techniques.
  • Explore automated distance range discovery for more robust mitigation.

Summary updated

BibTeX
@inproceedings{ozmen2022discovering,
  author = {Muslum Ozgur Ozmen and Xuansong Li and Andrew Chu and Z. Berkay Celik and Bardh Hoxha and Xiangyu Zhang},
  title = {{Discovering IoT Physical Channel Vulnerabilities}},
  booktitle = {CCS},
  year = {2022},
  doi = {10.1145/3548606.3560644},
}
Figure