基于 WebAssembly 的可移植且安全的物联网传感器接口
WebAssembly Based Portable and Secure Sensor Interface for Internet of Things
AI总结:
本文提出基于 WebAssembly 的安全传感器接口,通过 WASI 扩展实现多租户访问控制,降低延迟和内存开销,提升物联网设备的安全性和可移植性。
摘要:
随着物联网连接的扩展继续在全球范围内提供生活质量的提升,同时它们也引入了日益增加的隐私和安全问题。缺乏对共享和受保护的物联网传感器访问管理的明确定义,为设备被入侵和敏感数据泄露提供了渠道。近年来,WebAssembly 因其在嵌入式系统中高效的沙箱应用而受到广泛关注,使其成为探索安全且可移植的传感器接口的首选。本文介绍了首个 WebAssembly 系统接口(WASI)扩展,提供了一个安全、可移植且低开销的沙箱,使多租户能够跨异构嵌入式设备访问传感器数据。运行时扩展提供了应用程序内存隔离,通过拦截传感器访问确保适当的资源权限,并提供 MQTT-SN 接口以实现网络内的访问控制。当针对 WebAssembly 字节码与基于 Zephyr RTOS 实现的关联运行时扩展进行评估时,传感器访问的延迟开销为 6%,相比原生执行额外的内存开销为 5%。由于 MQTT-SN 请求主要由网络延迟构成,WASI-SN 实现的 MQTT-SN 引入了小于 1% 的额外延迟,内存开销相似。
英文摘要:
As the expansion of IoT connectivity continues to provide quality-of-life improvements around the world, they simultaneously introduce increasing privacy and security concerns. The lack of a clear definition in managing shared and protected access to IoT sensors offer channels by which devices can be compromised and sensitive data can be leaked. In recent years, WebAssembly has received considerable attention for its efficient application sandboxing suitable for embedded systems, making it a prime candidate for exploring a secure and portable sensor interface. This paper introduces the first WebAssembly System Interface (WASI) extension offering a secure, portable, and low-footprint sandbox enabling multi-tenant access to sensor data across heterogeneous embedded devices. The runtime extensions provide application memory isolation, ensure appropriate resource privileges by intercepting sensor access, and offer an MQTT-SN interface enabling in-network access control. When targeting the WebAssembly byte-code with the associated runtime extensions implemented atop the Zephyr RTOS, our evaluation of sensor access indicates a latency overhead of 6% with an additional memory footprint of 5% when compared to native execution. As MQTT-SN requests are dominated by network delays, the WASI-SN implementation of MQTT-SN introduces less than 1% additional latency with similar memory footprint.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。