Skip to main content
QUICK REVIEW

[논문 리뷰] JackHammer: Efficient Rowhammer on Heterogeneous FPGA-CPU Platforms

Zane Weissman, Thore Tiemann|arXiv (Cornell University)|2020. 06. 19.
Security and Verification in ComputingComputer Science참고 문헌 54인용 수 14
한 줄 요약

이 논문은 Intel Arria 10 GX FPGA-CPU 플랫폼에서 FPGA에서 실행되는 새로운 Rowhammer 공격인 JackHammer를 제안한다. CPU 캐시를 우회하고 DRAM 레지스터를 직접 공격함으로써, JackHammer는 CPU 기반 Rowhammer 대비 두 배 빠른 속도와 네 배 높은 비트 플립 비율을 달성하여 WolfSSL의 RSA 서명과 같은 암호화 코드에서 효율적인 결함 주입을 가능하게 하며, CPU 전용 공격 대비 25%의 성능 우위를 확보한다.

ABSTRACT

After years of development, FPGAs are finally making an appearance on multi-tenant cloud servers. Heterogeneous FPGA-CPU microarchitectures require reassessment of common assumptions about isolation and security boundaries, as they introduce new attack vectors and vulnerabilities. In this work, we analyze the memory and cache subsystem and study Rowhammer and cache attacks enabled by two proposed heterogeneous FPGA-CPU platforms from Intel: the Arria 10 GX with an integrated FPGA-CPU platform, and the Arria 10 GX PAC expansion card which connects the FPGA to the CPU via the PCIe interface. We demonstrate JackHammer, a novel, efficient, and stealthy Rowhammer from the FPGA to the host’s main memory. Our results indicate that a malicious FPGA can perform twice as fast as a typical Rowhammer from the CPU on the same system and causes around four times as many bit flips as the CPU attack. We demonstrate the efficacy of JackHammer from the FPGA through a realistic fault attack on the WolfSSL RSA signing implementation that reliably causes a fault after an average of fifty-eight RSA signatures, 25% faster than a CPU Rowhammer. In some scenarios our JackHammer attack produces faulty signatures more than three times more often and almost three times faster than a conventional CPU Rowhammer. Finally, we systematically analyze new cache attacks in these environments following demonstration of a cache covert channel across FPGA and CPU.

연구 동기 및 목표

  • 이질적 FPGA-CPU 시스템의 하드웨어 취약성을 조사하며, 특히 FPGA와 CPU가 별도의 보안 도메인을 이루는 클라우드 환경에서의 취약성을 다룬다.
  • Intel Arria 10 GX FPGA-CPU 플랫폼의 메모리 및 캐시 서브시스템을 분석하여 새로운 공격 벡터를 탐색한다.
  • FPGA에서 실행되는 새로운 Rowhammer 공격(JackHammer)을 개발하고 평가한다.
  • FPGA 기반 Rowhammer를 사용하여 암호화 구현체(예: WolfSSL의 RSA 서명)에 실질적인 결함 공격을 시연한다.
  • FPGA-CPU 및 FPGA-FPGA 간의 캐시 코어트랜스퍼 채널과 사이드 채널 공격을 탐색하고 시연한다.

제안 방법

  • Intel Arria 10 GX FPGA-CPU 플랫폼의 캐시 동작 및 메모리 액세스 패턴을 역공학하여, 통합형 및 PCIe 연결형 구성 모두를 포함한다.
  • CPU 캐시를 우회하고 DRAM 레지스터를 직접 공격하는 FPGA에서 실행되는 Rowhammer 변종인 JackHammer를 설계한다.
  • OPAE를 사용하여 FPGA 액세스를 위한 구현 및 벤치마킹을 수행하였으며, 두 플랫폼에서 실행: 통합형 Arria 10 GX에 CPU가 내장된 플랫폼과 PCIe 기반 Arria 10 GX PAC.
  • 개인 키 구성 요소의 비트 플립을 유도하여 WolfSSL의 RSA-CRT 서명 구현체에 결함 주입 공격을 수행하였다.
  • FPGA와 CPU 간의 캐시 코어트랜스퍼 채널을 개발하고 측정하였으며, 데이터 전송 속도는 1.5–1.8 Mbit/s를 기록하였다.
  • 공격 완화를 위한 대응 조치를 평가하였으며, DRAM 리프레시 주기 증가, 캐시 파artitioning, hugepages 비활성화, 서명 검증 등을 포함한다.

실험 결과

연구 질문

  • RQ1이질적 FPGA-CPU 플랫폼에 장착된 FPGA가 동일한 시스템에서 CPU보다 Rowhammer 공격을 더 효율적으로 수행할 수 있는가?
  • RQ2FPGA 기반 Rowhammer가 CPU 수준의 모니터링 및 캐시 메커니즘을 얼마나 효과적으로 우회하여 더 높은 결함 발생률과 낮은 지연 시간을 달성할 수 있는가?
  • RQ3공유 메모리 및 다중 테넌트 클라우드 환경에서 FPGA-CPU 및 FPGA-FPGA 간 캐시 사이드 채널 공격의 실질적 영향은 무엇인가?
  • RQ4FPGA 기반 Rowhammer가 실세계 암호화 소프트웨어(예: WolfSSL의 RSA 구현체)에 결함을 유도하는 데 얼마나 효과적인가?
  • RQ5시스템 수준의 대응 조치 중 FPGA 호스팅 Rowhammer 및 캐시 사이드 채널 공격을 효과적으로 완화할 수 있는 것은 무엇인가?

주요 결과

  • JackHammer는 동일한 시스템에서 CPU 기반 Rowhammer 공격 대비 두 배 빠른 속도를 기록하였으며, WolfSSL의 RSA 서명에 대한 결함 주입에서 25%의 성능 우위를 확보하였다.
  • FPGA 기반 공격은 CPU 기반 Rowhammer 대비 비트 플립 수를 초당 네 배로 증가시켜, 훨씬 높은 결함 주입 효율성을 입증하였다.
  • 일부 시나리오에서 JackHammer는 기존 CPU Rowhammer보다 결함이 발생하는 RSA 서명을 3배 이상 자주, 거의 3배 빠르게 유도하였다.
  • FPGA에서 CPU로의 캐시 코어트랜스퍼 채널이 성공적으로 시연되었으며, 데이터 전송 속도는 1.5–1.8 Mbit/s를 기록하였다.
  • DRAM 레지스터 리프레시 주기를 32 ms로 증가시켜 공격 성공률를 CPU 및 FPGA 공격 모두에서 1% 미만으로 낮추어, 더 높은 리프레시 주기가 Rowhammer 공격을 상당히 완화할 수 있음을 확인하였다.
  • 2019년 11월 25일 공개 이후, WolfSSL의 RSA 구현체 취약점은 서명 검증을 통해 확인되었고, 버전 4.3.0에서 패치되었다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.