Skip to main content
QUICK REVIEW

[논문 리뷰] BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows

A. Giray Yağlıkçı, Minesh Patel|arXiv (Cornell University)|2021. 02. 11.
Security and Verification in ComputingComputer Science참고 문헌 142인용 수 29
한 줄 요약

BlockHammer는 Bloom 필터를 사용해 행 활성화 비율을 선제적으로 추적하고 지나치게 활성화된 행을 블랙리스트에 올리는 동시에 공격자 스레드를 제어해 정상적인 작업로드를 보호하면서 DRAM 내부를 수정하거나 DRAM 내부를 알지 않고도 RowHammer 비트 플립을 방지합니다.

ABSTRACT

Aggressive memory density scaling causes modern DRAM devices to suffer from RowHammer, a phenomenon where rapidly activating a DRAM row can cause bit-flips in physically-nearby rows. Recent studies demonstrate that modern DRAM chips, including chips previously marketed as RowHammer-safe, are even more vulnerable to RowHammer than older chips. Many works show that attackers can exploit RowHammer bit-flips to reliably mount system-level attacks to escalate privilege and leak private data. Therefore, it is critical to ensure RowHammer-safe operation on all DRAM-based systems. Unfortunately, state-of-the-art RowHammer mitigation mechanisms face two major challenges. First, they incur increasingly higher performance and/or area overheads when applied to more vulnerable DRAM chips. Second, they require either proprietary information about or modifications to the DRAM chip design. In this paper, we show that it is possible to efficiently and scalably prevent RowHammer bit-flips without knowledge of or modification to DRAM internals. We introduce BlockHammer, a low-cost, effective, and easy-to-adopt RowHammer mitigation mechanism that overcomes the two key challenges by selectively throttling memory accesses that could otherwise cause RowHammer bit-flips. The key idea of BlockHammer is to (1) track row activation rates using area-efficient Bloom filters and (2) use the tracking data to ensure that no row is ever activated rapidly enough to induce RowHammer bit-flips. By doing so, BlockHammer (1) makes it impossible for a RowHammer bit-flip to occur and (2) greatly reduces a RowHammer attack's impact on the performance of co-running benign applications. Compared to state-of-the-art RowHammer mitigation mechanisms, BlockHammer provides competitive performance and energy when the system is not under a RowHammer attack and significantly better performance and energy when the system is under attack.

연구 동기 및 목표

  • DRAM 취약점이 증가함에 따라 견고한 RowHammer 보호를 추진한다.
  • DRAM 내부에 접근 없이 일반 DRAM과 호환되는 저비용의 확장 가능한 완화책을 제공한다.
  • 무해한 워크로드에 대한 영향을 최소화하면서 RowHammer 비트 플립을 방지한다.
  • 시스템 성능을 보존하기 위해 잠재 공격자를 식별하고 제어하는 메커니즘을 제공한다.

제안 방법

  • 블룸 필터 이중 계산(D-CBF)을 사용하여 DRAM 행 활성화 비율을 추적하고 블랙리스트 임계치를 결정한다.
  • 설정된 임계값을 넘는 활성화 비율을 가진 행을 롤링 타임 윈도우 내에서 블랙리스트에 올린다.
  • 블랙리스트 행에 대한 활성화를 지연시켜 행당 활성화 비율을 RowHammer 임계값 아래로 유지한다.
  • 랭크당 히스토리 버퍼를 유지하여 최근 활성화된 행을 식별하고 정상 워크로드에 대한 반복 제어를 피한다.
  • RowHammer 위험도에 기반해 비행 중인 메모리 요청을 제한하여 공격자 스레드를 쓰로틀링하고 정상 앱의 대역폭을 보존한다.
  • 고급 스케줄링을 위해 OS에 쓰레드당 RowHammer 가능성을 선택적으로 노출한다.

실험 결과

연구 질문

  • RQ1RowHammer를 DRAM 내부 정보 독점이나 칩 수정 없이 예방할 수 있는가?
  • RQ2RowHammer 압력 하에서 정상 성능을 보존하면서 저오버헤드의 확장 가능한 메커니즘으로 위험한 활성화를 어떻게 선제적으로 제어할 수 있는가?
  • RQ3다양한 워크로드에서 블랙리스트의 위양성(false positives)과 시스템 성능 간의 트레이드오프는 무엇인가?
  • RQ4다양한 취약성 수준에서 Bloom-필터 기반 추적 방식이 RowHammer 안전 작동을 유지하는 데 얼마나 효과적인가?

주요 결과

  • BlockHammer는 겨우 0.06% 면적 오버헤드로 RowHammer 안전 작동을 보장합니다.
  • RowHammer 공격이 없을 때 정상 워크로드의 성능 오버헤드는 0.7%, DRAM 에너지 오버헤드는 0.6%를 초래합니다.
  • RowHammer 공격하에서 BlockHammer는 공격자 스레드를 식별하는 정확도가 99.98%에 달합니다.
  • 공격당했을 때, 정상 애플리케이션 성능이 평균 45.0% 향상되고 일부 경우에선 최대 61.9% 향상합니다.
  • BlockHammer는 DRAM 내부 지식이나 수정이 필요한 여섯 가지 최첨단 완화 기법보다 우수하며, 특히 공격 시나리오에서 두드러집니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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