In recent years, organisations have increasingly transitioned their workloads from on-premise infrastructures to cloud environments, while leveraging edge computing to meet the rising demand for scalable and distributed applications. This shift has accelerated the adoption of IoT devices, which play a key role in enabling these systems. As a result, ensuring the security of sensitive IoT applications has become critical, motivating the use of Trusted Execution Environments (TEEs) to provide isolated execution even in the presence of potentially compromised operating systems. This work focuses on the IoT-oriented Keystone Enclave framework, an open-source TEE built on the RISC-V Instruction Set Architecture. Among its security features, Keystone implements a binary measurement mechanism during the enclave-loading phase. However, this approach guarantees application integrity only at load time, leaving the TEE’s confidentiality and integrity vulnerable to runtime exploitation of software vulnerabilities. To address this limitation, we propose an integrity verification mechanism that provides evidence about the state of sensitive memory regions throughout enclave execution. Compared to traditional load-time measurement techniques, our approach reduces per-execution measurement overhead by 57.5%, while requiring minimal extensions to the Trusted Computing Base. Furthermore, it overcomes key limitations of the existing framework by decoupling enclave applications from the attestation logic.
Run-time Enclave Measurement in the Keystone Framework / Ciravegna, F., Bravi, E., Sisinni, S., Lioy, A.. - In: IOT. - ISSN 2624-831X. - 7:2(2026). [10.3390/iot7020048]
Run-time Enclave Measurement in the Keystone Framework
Ciravegna, Flavio;Bravi, Enrico;Sisinni, Silvia;Lioy, Antonio
2026
Abstract
In recent years, organisations have increasingly transitioned their workloads from on-premise infrastructures to cloud environments, while leveraging edge computing to meet the rising demand for scalable and distributed applications. This shift has accelerated the adoption of IoT devices, which play a key role in enabling these systems. As a result, ensuring the security of sensitive IoT applications has become critical, motivating the use of Trusted Execution Environments (TEEs) to provide isolated execution even in the presence of potentially compromised operating systems. This work focuses on the IoT-oriented Keystone Enclave framework, an open-source TEE built on the RISC-V Instruction Set Architecture. Among its security features, Keystone implements a binary measurement mechanism during the enclave-loading phase. However, this approach guarantees application integrity only at load time, leaving the TEE’s confidentiality and integrity vulnerable to runtime exploitation of software vulnerabilities. To address this limitation, we propose an integrity verification mechanism that provides evidence about the state of sensitive memory regions throughout enclave execution. Compared to traditional load-time measurement techniques, our approach reduces per-execution measurement overhead by 57.5%, while requiring minimal extensions to the Trusted Computing Base. Furthermore, it overcomes key limitations of the existing framework by decoupling enclave applications from the attestation logic.| File | Dimensione | Formato | |
|---|---|---|---|
|
IoT-07-00048.pdf
accesso aperto
Tipologia:
2a Post-print versione editoriale / Version of Record
Licenza:
Creative commons
Dimensione
792.04 kB
Formato
Adobe PDF
|
792.04 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11583/3011889
