본문 바로가기
KERD
논문KCI 등재

RISC-V 아키텍처 상에서의 쉐도우 스택 성능 평가 및 고찰

Performance Evaluation and Consideration of Shadow Stack on RISC-V Architecture

1

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

RISC-V는 오픈소스 명령어 집합 아키텍처로, 다양한 하드웨어 구현에서 사용되며, RV64I 기본 명령어 집합과 16개의 표준 확장을 통해 시스템요구 사항에 맞게 유연하게 확장할 수 있다. 현재 RISC-V 아키텍처에서는 반환 주소를 보호하기 위해 쉐도우 스택 기법을 사용하고 있다. 본논문에서는 RISC-V 아키텍처에서 컴팩트 쉐도우 스택 메커니즘과 병렬 쉐도우 스택 메커니즘의 성능을 SPEC CPU 2017 및 beebs 벤치마크를사용하여 비교하였다. 실험 결과, 병렬 쉐도우 스택 메커니즘이 컴팩트 쉐도우 스택 메커니즘보다 더 높은 오버헤드를 보이는 것으로 나타났다. 이는 RISC-V 아키텍처의 한계로 인해 병렬 메커니즘의 효율성이 떨어짐을 시사하며, 따라서 컴팩트 쉐도우 스택이 RISC-V 아키텍처에 더 적합함을보여준다. 또한 본 논문에서 기존 RISC-V 쉐도우 스택의 보안상 한계를 파악하고, RISC-V의 안전한 수행 환경을 보장하기 위해 쉐도우 스택 메커니즘의 성능과 보안성을 향상시키는 방향을 제시한다.

Abstract

RISC-V is an open-source instruction set architecture, used in various hardware implementations, and can be flexibly expanded tomeet system requirements through the RV64I base instruction set and 16 standard extensions. Currently, the RISC-V architecture employsthe shadow stack technique to protect return addresses. This paper compares the performance of the compact shadow stack mechanismand the parallel shadow stack mechanism in the RISC-V architecture using the SPEC CPU 2017 and beebs benchmarks. Experimentalresults show that the parallel shadow stack mechanism exhibits higher overhead than the compact shadow stack mechanism. This suggeststhat the efficiency of the parallel mechanism is reduced due to the limitations of the RISC-V architecture, making the compact shadowstack more suitable for RISC-V. Additionally, this paper identifies the security limitations of the existing RISC-V shadow stack and proposesdirections for enhancing the performance and security of shadow stack mechanisms to ensure a secure execution environment for RISC-V.

참고문헌 (22)

  1. Y. Lee, "An agile approach to building RISC-V microprocessors", IEEE Micro, 36(2), pp.8~20 (2016)
  2. A. Dörflinger, "A comparative survey of open-source application-class RISC-V processor implementations", Proceedings of the 18th ACM International Conference on Computing Frontiers, pp.12~20 (2021)
  3. Risc-v geneology, "T. Chen", EECS Department, University of California, ~, pp.UCB (2016), EECS-2016-6
  4. C. Rodrigues, "Towards a heterogeneous fault-tolerance architecture based on arm and RISC-V processors", InIECON 2019-45th Annual Conference of the IEEE Industrial Electronics Society, 1, pp.3112~3117 (2019), IEEE
  5. D. Kanter, "RISC-V offers simple, modular ISA", Microprocessor Report, 1, pp.1~5 (2016)
  6. "RISC-V to Shake up $8.6-Billion Semiconductor IP Market" (2021)[URL]
  7. J. Jung, "A secure platform model based on ARM platform security architecture for IoT devices", IEEE Internet of Things Journal, 9(7), pp.5548~5560 (2021)
  8. M, Huang, "ARMPatch: A binary patching framework for ARM-based IoT devices", Journal of Web Engineering, 20(6), pp.1829~1852 (2021)
  9. S. Yu, "Development of ARMbased embedded system for robot applications", 2006 IEEE Conference on Robotics, Automation and Mechatronics, pp.1~6 (2006), IEEE
  10. M, Poorhosseini, "A compiler comparison in the risc-v ecosystem", 2020 International Conference on Omni-layer Intelligent Systems (COINS), pp.1~6 (2020), IEEE
  11. G, Gomez-Sanchez, "Challenges and opportunities for RISC-V architectures towards genomics-based workloads", InInternational Conference on High Performance Computing, Cham: Springer Nature Switzerland, pp.458~471 (2023)
  12. J. Zhou, "Silhouette : Efficient protected shadow stacks for embedded systems", 29th USENIX Security Symposium (USENIX Security 20), pp.1219~1236 (2020)
  13. M, Prandini, "Return-oriented programming", IEEE Security & Privacy, 10(6), pp.84~87 (2012)
  14. J. Li, "Zipper stack : Shadow stacks without shadow", European Symposium on Research in Computer Security, Cham: Springer International Publishing, pp.338~358 (2020)
  15. C. Zou, "Practical software-based shadow stacks on x86-64", ACM Transactions on Architecture and Code Optimization, 19(4), pp.1~26 (2022)
  16. N. Burow, "SoK : Shining light on shadow stacks", Proceedings of IEEE Symposium on Security and Privacy (Oakland) (2019)
  17. N. M. Qui, "Design and implementation of a 256-bit RISC-V-Based dynamically scheduled very long instruction word on FPGA", IEEE Access, 8, pp.172996~173007 (2020)
  18. "A Technical Look at Intel’s Control-Flow Enforcement Technology" (2020)[URL]
  19. M. Xie, "CETIS: Retrofitting Intel CET for generic and efficient intra-process memory isolation", Proc. 29th ACM SIGSAC Conf. Comput. Commun. Secur. (CCS), pp.2989~3002 (2022)
  20. H. Kim, "How’d security benefit reverse engineers? the implication of intel cet on function identification", Proceedings of the International Conference on Dependable Systems Networks, pp.559~566 (2022)
  21. H. Liljestrand, "PAC it up: Towards pointer integrity using ARM pointer authentication", USENIX Security ’19, USENIX Association
  22. S. Yoo, "In-kernel control-flow integrity on commodity oses using ARM pointer authentication", 31st USENIX Security Symposium, USENIX Security 2022, pp.89~106 (2022), USENIX Association

관련 논문AI추천

이 간행물의 다른 논문 (9건)