Edge devices are increasingly in charge of storing privacy-sensitive data, in particular implantables, wearables, and nearables can potentially collect and process high-resolution vital signs 24/7. Storing and performing computations over such data in a privacy-preserving fashion is of paramount importance. We present KEVLAR-TZ, an application-level trusted cache designed to leverage ARM TrustZone, a popular trusted execution environment available in consumer-grade devices. To facilitate the integration with existing systems and IoT devices and protocols, KEVLAR-TZ exposes a REST-based interface with connection endpoints inside the TrustZone enclave. Furthermore, it exploits the on-device secure persistent storage to guarantee durability of data across reboots. We fully implemented KEVLAR-TZ on top of the OP-TEE framework, and experimentally evaluated its performance. Our results showcase performance trade-offs, for instance in terms of throughput and latency, for various workloads, and we believe our results can be useful for practitioners and in general developers of systems for TrustZone. KEVLAR-TZ is available as open-source at https://github.com/mqttz/kevlar-tz/.
翻译:边缘装置越来越多地负责储存隐私敏感数据,特别是可移植的、可磨损的和可接近的装置,有可能全天候收集和处理高分辨率的生命标志。以保密方式储存和计算这些数据至关重要。我们展示了KEVLAR-TZ,这是一个应用级可信任的缓存,旨在利用消费者级装置中可得到的受人信任的执行环境ARM Trust区。为了便利与现有系统和IoT装置和协议的整合,KEVLAR-TZ暴露了与信任区飞地内端点连接的基于REST的界面。此外,它利用了在设备上的安全持续储存,以保证数据在重播系统之间的耐久性。我们在OP-TEE框架之上充分实施了KEVLAR-TZ,并实验性地评价了其性能。我们的成果展示了各种工作量的绩效权衡,例如在吞噬和耐久性方面。我们认为,我们的成果可以用于信任区系统的从业者和一般开发者。KEVLAAR-TARTZ作为开放的开源。