[Paper Review] StreamBox-TZ: A Secure IoT Analytics Engine at the Edge.
StreamBox-TZ is a high-performance, secure stream analytics engine for edge computing that isolates data and computation within a trusted execution environment (TEE) using ARM TrustZone. It achieves 140 MB/sec throughput with sub-second delay and under 25% overhead, while enabling continuous remote attestation for result integrity and freshness with minimal TCB expansion (42.5 KB).
We present StreamBox-TZ, a stream analytics engine for an edge platform. StreamBox-TZ offers strong data security, verifiable results, and compelling performance. StreamBox-TZ isolates the data and its computations in a trusted execution environment (TEE) on the edge, shielding them from the remaining edge software stack which we deem untrusted. StreamBox-TZ addresses two major challenges: (1) executing high-throughput, low-delay stream analytics in a single TEE, which is constrained by a low trusted computing base (TCB) and limited physical memory; (2) verifying execution of stream analytics as the execution involves untrusted software components on the edge. StreamBox-TZ contributes a data plane designed and optimized for a TEE on the edge. It supports continuous remote attestation for analytics correctness and result freshness while incurring low network bandwidth overhead. Built on ARM TrustZone, StreamBox-TZ only adds 42.5 KB executable to the trusted computing base (16% of entire TCB). On an octa core ARMv8 platform, it processes input events up to 140 MB/sec (12M events/sec) with sub-second delay, outperforming popular engines by one order of magnitude in throughput. The overhead incurred by StreamBox-TZ's security mechanism is less than 25%.
Motivation & Objective
- To address the challenge of securing high-throughput, low-latency stream analytics at the edge with strong isolation.
- To ensure correctness and freshness of analytics results despite untrusted edge software components.
- To minimize the trusted computing base (TCB) while maintaining performance and enabling remote attestation.
- To reduce network overhead for continuous remote attestation in TEE-based stream processing.
- To achieve performance comparable to or better than existing stream engines under strong security guarantees.
Proposed method
- Uses ARM TrustZone to isolate data and computation in a TEE, minimizing the trusted computing base (TCB).
- Designs a specialized data plane optimized for TEE constraints, including limited memory and low TCB.
- Employs continuous remote attestation to verify analytics correctness and result freshness with low network overhead.
- Integrates lightweight cryptographic mechanisms to support verifiable execution without significant performance degradation.
- Optimizes event processing pipelines to achieve high throughput (140 MB/sec) and low latency (sub-second) on an octa-core ARMv8 platform.
- Limits TCB expansion to only 42.5 KB (16% of total TCB), enhancing trustworthiness.
Experimental results
Research questions
- RQ1How can high-throughput, low-latency stream analytics be securely executed in a TEE with limited memory and a small trusted computing base?
- RQ2What mechanisms enable continuous remote attestation of analytics results with minimal network overhead in a TEE-based edge system?
- RQ3How does the performance of a TEE-secured stream engine compare to existing engines under equivalent security guarantees?
- RQ4What is the overhead of integrating security mechanisms like remote attestation and TEE isolation in a real-world edge deployment?
- RQ5Can a secure stream analytics engine maintain sub-second end-to-end delay while processing 12 million events per second?
Key findings
- StreamBox-TZ achieves a throughput of 140 MB/sec (12 million events/sec) on an octa-core ARMv8 platform.
- End-to-end delay remains sub-second, enabling low-latency analytics at the edge.
- The security mechanism incurs less than 25% performance overhead compared to non-secure counterparts.
- The TCB is reduced to only 42.5 KB, representing 16% of the total trusted computing base.
- Remote attestation for result freshness and correctness is supported with low network bandwidth overhead.
- StreamBox-TZ outperforms existing stream analytics engines by one order of magnitude in throughput under equivalent security constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.