Skip to main content
QUICK REVIEW

[Paper Review] Soteria: Automated IoT Safety and Security Analysis

Z. Berkay Celik, Patrick McDaniel|arXiv (Cornell University)|May 22, 2018
Advanced Malware Detection TechniquesComputer Science29 references131 citations
TL;DR

Soteria is a static analysis system that translates IoT app code into an intermediate representation, derives a state model, and uses model checking to verify safety, security, and functionality properties for IoT environments.

ABSTRACT

Broadly defined as the Internet of Things (IoT), the growth of commodity devices that integrate physical processes with digital systems have changed the way we live, play and work. Yet existing IoT platforms cannot evaluate whether an IoT app or environment is safe, secure, and operates correctly. In this paper, we present Soteria, a static analysis system for validating whether an IoT app or IoT environment (collection of apps working in concert) adheres to identified safety, security, and functional properties. Soteria operates in three phases; (a) translation of platform-specific IoT source code into an intermediate representation (IR), (b) extracting a state model from the IR, (c) applying model checking to verify desired properties. We evaluate Soteria on 65 SmartThings market apps through 35 properties and find nine (14%) individual apps violate ten (29%) properties. Further, our study of combined app environments uncovered eleven property violations not exhibited in the isolated apps. Lastly, we demonstrate Soteria on MalIoT, a novel open-source test suite containing 17 apps with 20 unique violations.

Motivation & Objective

  • Motivate the need for formal safety and security verification in IoT environments and apps.
  • Develop an automated pipeline to validate IoT apps and environments against identified safety, security, and functional properties.
  • Provide a platform-agnostic IR-based approach adaptable to IoT ecosystems (illustrated on SmartThings).
  • Demonstrate the system on real-world apps and a novel test corpus to reveal property violations and interactions.
  • Lay groundwork for scalable, property-driven verification in IoT deployment environments.

Proposed method

  • Translate platform-specific IoT source code into a platform-agnostic intermediate representation (IR) capturing permissions, events/actions, and call graphs.
  • Extract a state model from the IR that encodes device attributes as states and event-driven transitions as state changes.
  • Define IoT-specific safety and security properties, including general properties and app-specific properties, using temporal logic-inspired formulations.
  • Apply model checking to verify whether the state model satisfies the identified properties for individual apps and for interacting app environments.
  • Address platform idiosyncrasies (e.g., SmartThings Groovy, reflection, external storage) with tailored IR construction and analysis techniques.
  • Incorporate property abstraction and path-sensitive symbolic execution to manage state explosion and preserve precision.

Experimental results

Research questions

  • RQ1How can IoT apps and environments be rigorously verified against safety, security, and functional properties?
  • RQ2Can a static, IR-based approach effectively model IoT lifecycles and event-driven behavior for model checking?
  • RQ3What kinds of property violations arise in isolated apps versus combined app environments?
  • RQ4How can numerical-valued device attributes and conditional transitions be abstracted without losing essential behaviors for verification?
  • RQ5What is the utility of an IoT-specific test corpus (MalIoT) for validating automated analysis tools?

Key findings

  • Soteria analyzes 65 apps (35 from official SmartThings repo and 30 community apps) across 35 properties and finds nine apps violate ten properties.
  • Environment-level analysis uncovers eleven property violations not present in isolated apps.
  • Soteria demonstrates effectiveness on MalIoT, a test suite with 17 apps and 20 unique violations.
  • The approach enables precise state modeling by incorporating predicates guarding transitions and path-sensitive analysis to reduce false positives.
  • SmartThings-specific challenges (Groovy, reflection, external storage) are addressed in the IR and state-extraction pipeline.
  • The evaluation shows notable cross-app interaction effects that single-app studies may miss.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.