Skip to main content
QUICK REVIEW

[Paper Review] Walnut: A low-trust trigger-action platform

Sandy Schoettler, Andrew Thompson|arXiv (Cornell University)|Sep 25, 2020
Security and Verification in ComputingComputer Science52 references5 citations
TL;DR

Walnut presents a low-trust trigger-action platform that ensures confidentiality and integrity of user data in IoT automation by combining a custom two-party secure computation protocol optimized for string substitutions with replicated execution on heterogeneous trusted hardware (e.g., Intel SGX, AMD SEV). It achieves 3.6× lower CPU and 4.3× lower network overhead than a non-secure baseline for most programs, enabling practical deployment with strong security guarantees.

ABSTRACT

Trigger-action platforms are a new type of system that connect IoT devices with web services. For example, the popular IFTTT platform can connect Fitbit with Google Calendar to add a bedtime reminder based on sleep history. However, these platforms present confidentiality and integrity risks as they run on public cloud infrastructure and compute over sensitive user data. This paper describes the design, implementation, and evaluation of Walnut, a low-trust trigger-action platform that mimics the functionality of IFTTT, while ensuring confidentiality of data and correctness of computation, at a low resource cost. The key enabler for Walnut is a new two-party secure computation protocol that (i) efficiently performs strings substitutions, which is a common computation in trigger-action platform workloads, and (ii) replicates computation over heterogeneous trusted-hardware machines from different vendors to ensure correctness of computation output as long as one of the machines is not compromised. An evaluation of Walnut demonstrates its plausible deployability and low overhead relative to a non-secure baseline--3.6x in CPU and 4.3x in network for all but a small percentage of programs.

Motivation & Objective

  • To address the confidentiality and integrity risks in existing trigger-action platforms like IFTTT, which process sensitive user data on untrusted public cloud infrastructure.
  • To design a system that protects user data without shifting security burden to connected services or requiring trusted third parties.
  • To enable practical deployment of secure trigger-action workloads with low performance overhead.
  • To ensure correctness of computation even if one of the trusted hardware providers is compromised, by using multiple heterogeneous trusted execution environments.

Proposed method

  • Walnut splits the trigger-action platform into two components running on separate cloud providers (e.g., Azure and IBM Cloud), ensuring no single party sees the full input.
  • It introduces a custom two-party secure computation protocol optimized for string substitution workloads—common in trigger-action programs—reducing overhead compared to general-purpose protocols like Yao’s garbled circuits.
  • The protocol leaks only coarse-grained information (e.g., approximate substitution positions), preserving privacy while eliminating network communication between the two parties during computation.
  • Integrity is enforced by executing the protocol on three pairs of heterogeneous trusted hardware machines (e.g., Intel SGX and AMD SEV), ensuring correctness as long as one machine is uncompromised.
  • The system uses secret sharing and verifiable computation to bind inputs and outputs, with cryptographic proofs to detect tampering.
  • A simulator-based proof demonstrates that the protocol is secure under the standard definition of simulation-based security, ensuring indistinguishability from an ideal functionality.

Experimental results

Research questions

  • RQ1Can a trigger-action platform provide strong confidentiality and integrity guarantees for sensitive IoT data without relying on a single trusted cloud provider?
  • RQ2How can secure computation be optimized for the specific workload patterns of trigger-action platforms, particularly string substitutions?
  • RQ3Can the performance overhead of secure computation be reduced to a practical level for real-world deployment?
  • RQ4How can integrity be ensured across untrusted hardware platforms without relying on a single trusted hardware root?
  • RQ5Is it possible to build a secure, deployable trigger-action system that maintains usability while preventing data leakage and output manipulation?

Key findings

  • Walnut reduces CPU overhead to 3.6× that of a non-secure baseline and network overhead to 4.3× for the majority of trigger-action programs.
  • The custom secure computation protocol eliminates inter-party communication during computation, significantly reducing network costs compared to general-purpose protocols.
  • The use of three pairs of heterogeneous trusted hardware machines ensures correctness of output as long as at least one machine is uncompromised.
  • The system’s security model is formally proven via simulation, showing indistinguishability from an ideal functionality under standard cryptographic assumptions.
  • The platform supports real-world trigger-action workloads such as syncing health data, tweeting photos, and adjusting home thermostats with strong privacy and integrity guarantees.
  • Evaluation confirms that Walnut is deployable in practice, with performance overhead remaining low for the vast majority of common programs.

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.