SMARM+:分析与增强实时物联网环境中的远程认证洗牌测量 SMARM+: Analyzing and Enhancing Shuffled Measurements for Remote Attestation in Real-Time IoT Settings 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-26
👁️ 预览文献
💡 AI 中文简介
远程认证(RA)是一种轻量级安全机制,用于检测物联网设备上的软件篡改。传统RA方案需要原子性、不可中断的内存测量,难以与实时任务共存。SMARM通过秘密洗牌块顺序测量内存,将不可中断期缩短至单个块测量时间,但主要针对微内核系统设计,未在RTOS实时环境中研究。本文首次系统研究SMARM在基于RTOS的实时系统中的表现,在ARM TrustZone-M硬件(FreeRTOS和Zephyr)上实现,并提出频率准确率(FAR)指标量化认证与实时执行的共存程度。评估发现SMARM的实时兼容性对块大小高度敏感:大块严重降低实时可用性,小块则增加安全存储开销。为此,提出SMARM+系列(SMARM+PRNG和SMARM+FPE),在保持安全性和实时性的同时减少安全存储需求,并给出不同部署场景下的选择指导。
领域物联网安全 / 嵌入式系统安全
适合谁读需要一定专业背景(物联网安全、实时系统、嵌入式系统)
核心贡献["首次在RTOS实时环境中系统研究SMARM,提出FAR指标量化认证与实时任务的共存程度", "提出SMARM+系列(SMARM+PRNG和SMARM+FPE),在保持安全性和实时性的同时减少安全存储需求"]
关键数据暂无显著硬数据
推荐理由如果你关心物联网设备的安全与实时性如何兼得,这篇论文给出了SMARM在RTOS下的实测分析和改进方案,值得一读。
关键词["远程认证", "实时物联网系统", "TrustZone-M", "RTOS", "物联网安全", "格式保留加密"]

原文摘要

查看英文原文摘要

Remote attestation (RA) is a lightweight security primitive for detecting software compromise on IoT devices. Traditional RA schemes require atomic, non-interruptible memory measurements, making them difficult to deploy alongside real-time workloads. SMARM addresses this limitation by measuring memory in a secret, shuffled block order, reducing the non-interruptibility period to the duration of a single block measurement. However, SMARM was originally designed for microkernel-based systems and has not been studied in RTOS-driven real-time environments. In this work, we present the first systematic study of SMARM in real-time RTOS-based setups. We implement SMARM on commodity ARM TrustZone-M hardware running FreeRTOS and Zephyr, and introduce the Frequency Accuracy Ratio (FAR) to quantify the extent to which attestation can coexist with real-time execution under varying workloads. Our evaluation shows that SMARM's real-time compatibility is highly sensitive to block size: large blocks significantly degrade real-time availability, while small blocks incur substantial secure-storage overhead, limiting deployability on memory-constrained devices. To address this limitation, we propose SMARM+, a family of enhanced SMARM variants consisting of SMARM+PRNG and SMARM+FPE. They are designed to reduce secure-storage requirements while preserving SMARM's security guarantees and real-time behavior. Our evaluation highlights the trade-off between secure-storage reduction, attestation runtime, and energy overhead, and provides guidance on selecting among SMARM, SMARM+PRNG, and SMARM+FPE for different deployment settings.

📚 参考文献 (47 条)

查看全部 47 条
  1. [1] Statista, “IoT connections worldwide 2034.” https://www.statista.com/s tatistics/1183457/iot-connected-devices-worldwide/, 2025. Accessed: 22 December 2025.
  2. [2] Kaspersky, “Kaspersky unveils an overview of IoT-related threats in 2023.” https://www.kaspersky.com/about/press-releases/kaspersky-unv eils-an-overview-of-iot-related-threats-in-2023, 2023. Accessed: 22 December 2025.
  3. [3] X. Carpent, N. Rattanavipanon, and G. Tsudik, “Remote attestation of IoT devices via SMARM: Shuffled measurements against roving malware,” in Proceedings of the 2018 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pp. 9–16, IEEE, 2018.
  4. [4] K. Eldefrawy, A. Francillon, D. Perito, and G. Tsudik, “SMART: Secure and minimal architecture for (establishing dynamic) root of trust,” in Proceedings of the Network and Distributed System Security Symposium (NDSS), Internet Society, 2012.
  5. [5] K. ElDefrawy, N. Rattanavipanon, and G. Tsudik, “HYDRA: Hybrid design for remote attestation (using a formally verified microkernel),” in Proceedings of the 10th ACM Conference on Security and Privacy in Wireless and Mobile Networks (WiSec), pp. 99–110, ACM, 2017.
  6. [6] I. De Oliveira Nunes, K. Eldefrawy, N. Rattanavipanon, M. Steiner, and G. Tsudik, “VRASED: A verified hardware/software co-design for remote attestation,” in Proceedings of the 28th USENIX Security Symposium, pp. 1429–1446, 2019.
  7. [7] G. Klein, K. Elphinstone, G. Heiser, J. Andronick, D. Cock, P. Derrin, D. Elkaduwe, K. Engelhardt, R. Kolanski, M. Norrish, T. Sewell, H. Tuch, and S. Winwood, “seL4: Formal verification of an OS kernel,” in Proceedings of the 22nd ACM Symposium on Operating Systems Principles (SOSP), pp. 207–220, 2009.
  8. [8] T. Ensergueix, “Cortex-M23 and Cortex-M33 — security foundation for billions of devices.” https://developer.arm.com/community/arm-commu nity-blogs/b/architectures-and-processors-blog/posts/cortex-m23-a nd-cortex-m33---security-foundation-for-billions-of-devices, 2016. Accessed: 4 January 2026.
  9. [9] B. Kuang, A. Fu, W. Yu, S. Huang, and D. He, “A survey of remote at- testation in Internet of Things: Attacks, countermeasures, and prospects,” Computers & Security, vol. 112, p. 102498, 2022.
  10. [10] R. A. Fisher and F. Yates, Statistical Tables for Biological, Agricultural and Medical Research. Edinburgh: Oliver and Boyd, 1 ed., 1938.
  11. [11] Boundary Devices, “i.MX6 Sabre Lite development board.” https://bo undarydevices.com/product/nitrogen6x-sabrelite-compatible/, 2013. Accessed: 4 February 2026.
  12. [12] Arm Limited, “TrustZone for Cortex-M.” https://www.arm.com/techno logies/trustzone-for-cortex-m, 2024. Accessed: 12 February 2026.
  13. [13] L. Luo, Y. Zhang, C. C. Zou, B. Pearson, B. Keating, C. White, X. Shao, Z. Ling, H. Yu, and X. Fu, “On security of TrustZone-M-based IoT systems,” IEEE Internet of Things Journal, vol. 9, no. 12, pp. 9334– 9347, 2022.
  14. [14] Silicon Labs, “AN1271: Secure key storage.” https://www.silabs.com/d ocuments/public/application-notes/an1271-efr32-secure-key-storage.p df, 2020. Accessed: 12 February 2026.
  15. [15] Amazon Web Services, “FreeRTOS: Real-time operating system for microcontrollers.” https://www.freertos.org, 2023. Accessed: 4 February 2026.
  16. [16] Apache Software Foundation, “NuttX: Real-time operating system (RTOS) for embedded systems.” https://nuttx.apache.org/, 2024. Accessed: 4 February 2026.
  17. [17] Amazon Web Services, “FreeRTOS-MPU: Memory protection unit support.” https://www.freertos.org/Security/04-FreeRTOS-MPU-m emory-protection-unit, 2023. Accessed: 12 February 2026.
  18. [18] Linux Foundation, “Zephyr Project: A scalable real-time operating system supporting multiple hardware architectures.” https://www.zephyr project.org, 2024. Accessed: 4 February 2026.
  19. [19] O. Karliner, “CVE-2018-16525: Remote code execution in FreeR- TOS+TCP UDP protocol.” https://blog.zimperium.com/freertos-tcp ip-stack-vulnerabilities-put-wide-range-devices-risk-compromise-sma rt-homes-critical-infrastructure-systems/, 2018. Accessed: 4 February 2026.
  20. [20] NIST, “CVE-2024-6137: Out-of-bounds write in Zephyr RTOS memory management.” https://nvd.nist.gov/vuln/detail/CVE-2024-6137, 2024. Accessed: 4 February 2026.
  21. [21] STMicroelectronics, “STM32L552ZE-Q Nucleo-144 development board.” https://www.st.com/en/evaluation-tools/nucleo-l552ze-q.html, 2020. Accessed: 4 February 2026.
  22. [22] M. S. Islam, M. Zamani, C. H. Kim, L. Khan, and K. W. Hamlen, “Confidential execution of deep learning inference at the untrusted edge with ARM TrustZone,” in Proceedings of the 13th ACM Conference on Data and Application Security and Privacy (CODASPY), pp. 153–164, ACM, 2023.
  23. [23] T. Kawada, S. Honda, Y. Matsubara, and H. Takada, “TZmCFI: RTOS- aware control-flow integrity using TrustZone for Armv8-M,” Interna- tional Journal of Parallel Programming, vol. 49, no. 3, pp. 472–491, 2021.
  24. [24] M. Bellare, T. Ristenpart, P. Rogaway, and T. Stegers, “Format- preserving encryption,” in Proceedings of the 16th International Work- shop on Selected Areas in Cryptography (SAC), pp. 295–312, Springer, 2009.
  25. [25] M. Dworkin, “Recommendation for block cipher modes of operation: Methods for format-preserving encryption,” Tech. Rep. Special Publica- tion 800-38G, National Institute of Standards and Technology (NIST), 2016.
  26. [26] M. Bellare, P. Rogaway, and T. Spies, “The FFX mode of operation for format-preserving encryption,” NIST Submission, 2010. Draft 1.1, February 20, 2010.
  27. [27] V. T. Hoang and P. Rogaway, “On generalized Feistel networks,” in Proceedings of the 30th Annual Cryptology Conference (CRYPTO), pp. 613–630, Springer, 2010.
  28. [28] R. Beaulieu, D. Shors, J. Smith, B. Treatman-Clark, B. Weeks, and L. Wingers, “The SIMON and SPECK families of lightweight block ciphers,” in Proceedings of the 52nd ACM/EDAC/IEEE Design Automa- tion Conference (DAC), pp. 1–6, 2015.
  29. [29] M. N. Aman, M. H. Basheer, S. Dash, A. Sancheti, J. W. Wong, J. Xu, H. W. Lim, and B. Sikdar, “PRoM: Passive remote attestation against roving malware in multi-core IoT devices,” IEEE Sensors Journal, vol. 21, no. 22, pp. 24799–24814, 2021.
  30. [30] M. N. Aman, A. Basheer, and B. Sikdar, “HAtt: Hybrid remote attesta- tion for the Internet of Things with high availability,” IEEE Internet of Things Journal, vol. 7, no. 8, pp. 7220–7233, 2020.
  31. [31] N. Sponziello, A. Sateesan, M. Masoom Rabbani, N. Mentens, N. Drag- oni, and E. Dushku, “ITERATOR: Interruptible remote attestation through cuckoo filters,” IEEE Internet of Things Journal, vol. 12, no. 24, pp. 54746–54763, 2025.
  32. [32] B. Fan, D. G. Andersen, M. Kaminsky, and M. D. Mitzenmacher, “Cuckoo filter: Practically better than bloom,” in Proceedings of the 10th ACM International on Conference on emerging Networking Experiments and Technologies, pp. 75–88, 2014.
  33. [33] I. D. O. Nunes, S. Jakkamsetti, N. Rattanavipanon, and G. Tsudik, “Toward remotely verifiable software integrity in resource-constrained iot devices,” IEEE Communications Magazine, vol. 62, no. 7, pp. 58–64, 2024.
  34. [34] J. Noorman, J. Van Bulck, J. T. M¨uhlberg, F. Piessens, P. Maene, B. Preneel, I. Verbauwhede, J. G¨otzfried, T. M¨uller, and F. Freiling, “Sancus 2.0: A low-cost security architecture for IoT devices,” ACM Transactions on Privacy and Security, vol. 20, no. 3, pp. 1–33, 2017.
  35. [35] X. Carpent, N. Rattanavipanon, and G. Tsudik, “ERASMUS: Efficient remote attestation via self-measurement for unattended settings,” in Pro- ceedings of the 2018 Design, Automation & Test in Europe Conference (DATE), pp. 1191–1194, IEEE, 2018.
  36. [36] X. Carpent, K. Eldefrawy, N. Rattanavipanon, A.-R. Sadeghi, and G. Tsudik, “Invited: Reconciling remote attestation and safety-critical operation on simple IoT devices,” in Proceedings of the 55th An- nual ACM/EDAC/IEEE Design Automation Conference (DAC), pp. 1–6, ACM, 2018.
  37. [37] A. Joia Neto and I. De Oliveira Nunes, “ISC-FLAT: On the conflict be- tween control-flow attestation and real-time operations,” in Proceedings of the 29th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), 2023.
  38. [38] A. Caulfield and I. De Oliveira Nunes, “ASAP: Reconciling asyn- chronous real-time operations and proofs of execution in simple embed- ded systems,” in Proceedings of the 59th ACM/IEEE Design Automation Conference (DAC), pp. 1–6, ACM, 2022.
  39. [39] M. Grisafi, M. Ammar, M. Roveri, and B. Crispo, “PISTIS: Trusted computing architecture for low-end embedded systems,” in Proceedings of the 31st USENIX Security Symposium, pp. 3953–3970, USENIX Association, 2022.
  40. [40] D. Li Calsi and V. Zaccaria, “Interruptible remote attestation of low- end iot microcontrollers via performance counters,” ACM Transactions on Embedded Computing Systems, vol. 22, no. 5, pp. 1–19, 2023.
  41. [41] G. Dessouky, S. Zeitouni, T. Nyman, A. Paverd, L. Davi, P. Koe- berl, N. Asokan, and A.-R. Sadeghi, “LO-FAT: Low-overhead control flow ATtestation in hardware,” in Proceedings of the 54th Annual ACM/EDAC/IEEE Design Automation Conference (DAC), pp. 1–6, ACM, 2017.
  42. [42] G. Dessouky, T. Abera, A. Ibrahim, and A.-R. Sadeghi, “LiteHAX: Lightweight hardware-assisted attestation of program execution,” in Pro- ceedings of the 2018 IEEE/ACM International Conference on Computer- Aided Design (ICCAD), pp. 1–8, ACM/IEEE, 2018.
  43. [43] S. Zeitouni, J. Noorman, J. T. M¨uhlberg, L. Davi, F. Piessens, and A.- R. Sadeghi, “ATRIUM: Runtime attestation resilient under memory at- tacks,” in Proceedings of the 2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD), pp. 1–8, ACM/IEEE, 2017.
  44. [44] I. De Oliveira Nunes, S. Jakkamsetti, Y. Kim, and G. Tsudik, “CASU: Compromise avoidance via secure update for low-end embedded sys- tems,” in Proceedings of the 2022 IEEE/ACM International Conference on Computer-Aided Design (ICCAD), pp. 1–9, ACM/IEEE, 2022.
  45. [45] I. De Oliveira Nunes, S. Jakkamsetti, N. Rattanavipanon, and G. Tsudik, “On the TOCTOU problem in remote attestation,” in Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security (CCS), pp. 2606–2622, ACM, 2021.
  46. [46] A. Joia Neto, A. Laohajirapan, N. Rattanavipanon, and I. De Oliveira Nunes, “Resolving conflicts between RTOS timekeeping and uninterruptable trusted computing,” 2026.
  47. [47] M. Bellare, R. Canetti, and H. Krawczyk, “Keying hash functions for message authentication,” in Annual international cryptology conference, pp. 1–15, Springer, 1996.