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

하이퍼바이저 권한의 공격자로부터 안전한 신뢰 실행 환경을 제공하기 위한 부채널 공격 실시간 탐지 기법

A Real-Time Detection Method for Side-Channel Attacks to Ensure a Secure Trusted Execution Environment Against Hypervisor-Privileged Adversaries

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

최근 퍼블릭 클라우드 사용 증가로 다양한 보안 문제가 발생하고 있다. 이에 CPU 제조사들은 신뢰할 수 없는 클라우드 서비스 제공자가 있더라도 안전하게 서비스를 이용할 수 있는 신뢰 실행 환경(TEE, Trusted Execution Environment) 기술을 도입했다. 대표적으로 AMD는 SEV(Secure Encrypted Virtualization)를 통해 가상 머신 단위의 TEE를 제공한다. 그러나 최근 SEV로 보호된 가상 머신에서 페이지 폴트 기반의 부채널 공격으로 기밀 정보가 유출될 수 있다는 문제가 제기되었다. 이를 해결하기 위해 본 논문에서는 SEV 환경에서 이러한 공격을 실시간으로 탐지하는 방법을 제안한다. 하지만 SEV의 위협 모델에서 공격자는 하이퍼바이저의 권한을 가지므로 이를 실현하기 쉽지 않다. 이를 해결하기 위해 두 가지 접근 방법을 제안한다. 첫째, VMPL(Virtual Machine Privileged Level)을 활용하여 탐지 프로그램이 신뢰할 수 없는 하이퍼바이저로부터 안전하게 동작하도록 보호하는 것이다. 둘째, vPMU(virtual Performance Monitoring Unit)를 활용해 페이지 부채널 공격을 탐지할 수 있는 새로운 특징을 도출하는 것이다. 탐지 프로그램을 설계 및 구현한 결과, 95.38%의 정확도로 페이지 폴트 부채널 공격을 탐지할 수 있었다.

Abstract

The recent increase in public cloud usage has led to various security issues. In response, CPU manufacturers have introduced Trusted Execution Environment (TEE) technology, allowing secure service usage even with potentially untrustworthy cloud service providers. For instance, AMD offers VM-level TEE through SEV(Secure Encrypted Virtualization). However, it has been raised that confidential information can be leaked via page fault-based side-channel attacks on VMs protected by SEV. To address this, this paper proposes a method for real-time detection of such attacks in SEV environments. Nonetheless, since attackers can have hypervisor-level privileges under the SEV threat model, realizing this is challenging. To overcome this, we propose two approaches. First, using VMPL(Virtual Machine Privileged Level) to protect the detection program from untrusted hypervisors. Second, utilizing vPMU(virtual Performance Monitoring Unit) to derive new features for detecting page side-channel attacks. The designed and implemented detection program achieved a 95.38% accuracy in detecting page fault side-channel attacks.

참고문헌 (21)

  1. AMD memory encryption, "D. Kaplan", AMD, ~, pp.Whitepaper 13 (2016)
  2. M. Li, "Cipherleaks: breaking constant-time cryptography on AMD SEV via the ciphertext side channel", 30th USENIX Security Symposium, pp.717~732 (2021)
  3. M. Li, "Exploiting unprotected I", O operations in AMD’s secure encrypted virtualization, 2019, 1257~1272
  4. L. Wilke, "Sevurity: no security without integrity:breaking integrity-free memory encryption with minimal assumptions", 2020 IEEE Symposium on Security and Privacy, pp.1483~1496 (2020)
  5. R. Zhang, "Cachewarp: software-based fault injection using selective state reset", 33th USENIX Security Symposium (2024)
  6. B. Schlüter, "Heckler:breaking confidential VMs with malicious interrupts", 33th USENIX Security Symposium (2024)
  7. Y. Wu, "Comprehensive VM protection against untrusted hypervisor through retrofitted AMD memory encryption", 2018 IEEE International Symposium on High Performance Computer Architecture, pp.441~453 (2018)
  8. J. Gu, "Enclavisor: a hardware-software co-design for enclaves on untrusted cloud", IEEE Transactions on Computers, 70(10), pp.1598~1611 (2020)
  9. H. Qin, "Protecting encrypted virtual machines from nested page fault controlled channel", Proceedings of the Thirteenth ACM Conference on Data and Application Security and Privacy, pp.165~175 (2023)
  10. J. Du, "Performance profiling of virtual machines", Proceedings of the 7th ACM SIGPLAN, 2011, 3~14
  11. Protecting VM register state with SEV-ES, "D. Kaplan", AMD, ~, pp.Whitepaper 13 (2017)
  12. Strengthening VM isolation with integrity protection and more, "AMD", AMD, 1450~1465, pp.Whitepaper 53 (2020)
  13. "AMDSEV" (2024)[URL]
  14. "Stress-ng" (2024)[URL]
  15. T. Zhang, "Cloudradar: a real-time side-channel attack detection system in clouds", Research in Attacks, Intrusions, and Defenses: 19th International Symposium, pp.118~140 (2016)
  16. M. Mushtaq, "Whisper: a tool for run-time detection of side-channel attacks", IEEE Access, 8, pp.83871~83900 (2020)
  17. B. Zheng, "CBA-detector: a self-feedback detector against cache-based attacks", IEEE Transactions on Dependable and Secure Computing, 19(5), pp.3231~3243 (2021)
  18. Y. Yarom, "FLUSH+RELOAD: a high resolution, low noise, l3 cache side-channel attack", 23rd USENIX Security Symposium, pp.719~732 (2014)
  19. F. Liu, "Last-level cache side-channel attacks are practical", 2015 IEEE symposium on security and privacy, pp.605~622 (2015), IEEE
  20. M. Lipp, "Meltdown: reading kernel memory from user space", 27th USENIX Security Symposium, pp.973~990 (2018)
  21. P. Kocher, "Spectre attacks: exploiting speculative execution", Communications of the ACM, 63(7), pp.93~101 (2020)

관련 논문AI추천

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