Abstract
The integration of potentially untrustworthy intellectual property (IP) blocks into a System-on-Chip (SoC) poses significant risks, including data exfiltration and corruption due to unauthorized writes to memory or peripheral devices. Conventional countermeasures, such as memory protection or management units, tend to provide coarse protection granularity and impose substantial hardware overhead for embedded devices.
In this paper, we introduce \(\mathrm {DD\text {-}MPU}\), a custom memory protection unit specifically designed for individual third-party IPs. Our proposed solution features low area overhead and fine protection granularity while automatically adapting to dynamic system states by actively monitoring bus transfers and switching between different protection rules.
In our evaluation, we demonstrate the efficacy of the \(\mathrm {DD\text {-}MPU}\) by integrating it into an SoC to isolate a potentially malicious accelerator block from the rest of the system. The area overhead of our approach for a single instance in a 22 nm technology ASIC node is a mere 0.3%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Andes Technology: IOPMP Updates: The Protection of IOPMP. https://static.sched.com/hosted_files/riscvsummit2021/de/IOPMP%20Updates%20-%20Protection%20of%20IOPMP_Andes%20Technology.pdf
Waterman, A., Asanović, J.H.K.: The RISC-V Instruction Set Manual, Volume II: Privileged Architecture, Document Version 20211203 (2021)
Basak, A., Bhunia, S., Tkacik, T., Ray, S.: Security assurance for system-on-chip designs with untrusted IPs. IEEE Trans. Inf. Forensics Secur. 12(7), 1515–1528 (2017). https://doi.org/10.1109/TIFS.2017.2658544
Conti, F., Schiavone, P.D., Benini, L.: XNOR neural engine: a hardware accelerator IP for 21.6-fj/op binary neural network inference. IEEE Trans. Comput. Aided Des. Integr. Circ. Syst. 37, 2940–2951 (2018). https://doi.org/10.1109/TCAD.2018.2857019
Dabbelt, P., Graff, N.: SiFive’s trusted execution reference platform. https://riscv.org/wp-content/uploads/2018/12/SiFives-Trusted-Execution-Reference-Platform-Palmer-Dabbelt-1-1.pdf
FreeRTOS: Memory Protection Unit (MPU) Support. https://www.freertos.org/FreeRTOS-MPU-memory-protection-unit.html
LeMay, M., Gunter, C.A.: Network-on-chip firewall: countering defective and malicious system-on-chip hardware. CoRR abs/1404.3465 (2014). http://arxiv.org/abs/1404.3465
Nabeel, M., Ashraf, M., Patnaik, S., Soteriou, V., Sinanoglu, O., Knechtel, J.: 2.5D Root of trust: secure system-level integration of untrusted chiplets. IEEE Trans. Comput. 69(11), 1611–1625 (2020)
Pullini, A., Rossi, D., Loi, I., Tagliavini, G., Benini, L.: Mr. Wolf: an energy-precision scalable parallel ultra low power SOC for IoT edge processing. IEEE J. Solid-State Circ. 54(7), 1970–1981 (2019). https://doi.org/10.1109/JSSC.2019.2912307
Schiavone, P.D., Rossi, D., Pullini, A., Di Mauro, A., Conti, F., Benini, L.: Quentin: an ultra-low-power PULPissimo SoC in 22 nm FDX. In: 2018 IEEE SOI-3D-Subthreshold Microelectronics Technology Unified Conference (S3S), pp. 1–3 (2018). https://doi.org/10.1109/S3S.2018.8640145
SiFive Technology: Securing The RISC-V Revolution. https://www.sifive.com/technology/shield-soc-security
Acknowledgements
This research was funded by the German Federal Ministry for Education and Research (BMBF) in project 16ME0233.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Heinz, C., Koch, A. (2023). \(\mathrm {DD\text {-}MPU}\): Dynamic and Distributed Memory Protection Unit for Embedded System-on-Chips. In: Silvano, C., Pilato, C., Reichenbach, M. (eds) Embedded Computer Systems: Architectures, Modeling, and Simulation. SAMOS 2023. Lecture Notes in Computer Science, vol 14385. Springer, Cham. https://doi.org/10.1007/978-3-031-46077-7_19
Download citation
DOI: https://doi.org/10.1007/978-3-031-46077-7_19
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-46076-0
Online ISBN: 978-3-031-46077-7
eBook Packages: Computer ScienceComputer Science (R0)