Skip to main content
QUICK REVIEW

[論文レビュー] Meltdown

Moritz Lipp, Michael Schwarz|arXiv (Cornell University)|Jan 3, 2018
Security and Verification in ComputingComputer Science被引用数 17
ひとこと要約

Meltdownは、現代のIntelプロセッサにおける順序外実行の欠陥を悪用して、特権を持たない状態からもカーネルメモリおよび物理メモリを読み取るハードウェアレベルのサイドチャネル攻撃である。伝統的なメモリ隔離を回避し、ユーザー空間から任意のメモリを読み取ることができる。攻撃は最大503 KB/sの速度でデータ漏洩を実現し、KAISERソフトウェアパッチによって緩和される。KAISERは元々KASLR保護のために開発されたが、偶然にもMeltdownをブロックする効果を持つ。

ABSTRACT

The security of computer systems fundamentally relies on memory isolation, e.g., kernel address ranges are marked as non-accessible and are protected from user access. In this paper, we present Meltdown. Meltdown exploits side effects of out-of-order execution on modern processors to read arbitrary kernel-memory locations including personal data and passwords. Out-of-order execution is an indispensable performance feature and present in a wide range of modern processors. The attack works on different Intel microarchitectures since at least 2010 and potentially other processors are affected. The root cause of Meltdown is the hardware. The attack is independent of the operating system, and it does not rely on any software vulnerabilities. Meltdown breaks all security assumptions given by address space isolation as well as paravirtualized environments and, thus, every security mechanism building upon this foundation. On affected systems, Meltdown enables an adversary to read memory of other processes or virtual machines in the cloud without any permissions or privileges, affecting millions of customers and virtually every user of a personal computer. We show that the KAISER defense mechanism for KASLR has the important (but inadvertent) side effect of impeding Meltdown. We stress that KAISER must be deployed immediately to prevent large-scale exploitation of this severe information leakage.

研究の動機と目的

  • 現代のプロセッサが備える順序外実行機能が、メモリ隔離を回避するために悪用可能であることを示すこと。
  • Meltdownが、すべてのオペレーティングシステム上で特権を持たないユーザープロセスがカーネルメモリおよび物理メモリを読み取ることを可能にすること。
  • 攻撃がソフトウェアの脆弱性に依存しないこと、および数百万台のデバイスに影響を及ぼすこと。
  • KAISER、KASLRの強化メカニズムであるが、偶然にもMeltdownを緩和すること。
  • KAISERの即時導入および将来的なハードウェア設計の見直しによる同様の攻撃の防止を呼びかけること。

提案手法

  • 順序外実行の副作用を悪用して、特権メモリをCPUレジスタに一時的に読み込む。
  • Flush+Reloadなどのマイクロアーキテクチャ的サイドチャネルを用いて、一時的なレジスタ状態からのデータ漏洩を実現する。
  • キャッシュのタイミングのサイドチャネルを介して、一時状態からユーザー空間へデータを送信するコントロールチャネルを構築する。
  • 予測実行中にカーネルおよび物理アドレスからのメモリ読み取りを実行し、後で破棄されるが、キャッシュの痕跡が残る。
  • 攻撃者がキャッシュ状態の変化を測定可能であるという事実を活用する。
  • 実際のシステムとパフォーマンス測定を用いて、デスクトップ、ラップトップ、クラウドサーバーで攻撃を検証する。

実験結果

リサーチクエスチョン

  • RQ1現代のプロセッサにおける順序外実行が、ユーザー空間からカーネルメモリを漏洩させるために悪用可能か?
  • RQ2ソフトウェアの脆弱性が存在しない状況下で、この攻撃がどの程度まで成立するか?
  • RQ3KAISERが別の脅威を想定して設計されたにもかかわらず、Meltdownの緩和にどの程度効果を示すか?
  • RQ4Meltdownにおけるメモリ漏洩のパフォーマンス特性は何か?
  • RQ5Meltdownがハードウェアセキュリティおよび将来のプロセッサ設計に及ぼす広範な影響は何か?

主な発見

  • Meltdownは2010年以降のIntelプロセッサ上で、特権を持たないユーザープロセスから任意のカーネルメモリおよび物理メモリを読み取ることに成功している。
  • 攻撃は最大503 KB/sの速度でデータ漏洩を実現し、迅速なメモリダンプが可能である。
  • 元々KASLRのサイドチャネル攻撃防止のために開発されたKAISERは、カーネルマッピングをユーザーのアドレス空間から削除することで、Meltdownを効果的にブロックする。
  • 攻撃はオペレーティングシステムに依存せず、Linux、macOS、Windowsを含む主要なOSすべてに影響を及ぼす。
  • Meltdownは、DockerやLXCのようなコンテナを用いたクラウド環境を含め、すべてのメモリ隔離に依存するセキュリティ仮定をくつがえす。
  • この発見により、形式的に正しくかつサイドチャネルに強いソフトウェアであっても、下位のハードウェアにセキュリティ保証がなければ依然として脆弱であることが明らかになった。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。