Skip to main content
QUICK REVIEW

[論文レビュー] RARES: Runtime Attack Resilient Embedded System Design Using Verified Proof-of-Execution

Avani Dave Nilanjan Banerjee Chintan Patel|arXiv (Cornell University)|May 5, 2023
Security and Verification in ComputingComputer Science被引用数 3
ひとこと要約

RARESは、16ビットの制御レジスタ(Ctrl_register)を用いてリアルタイムでメモリ改ざん攻撃を検出する、リソース制約のある組み込みシステム向けの軽量でハードウェア支援型のランタイム攻撃耐性フレームワークを提示する。システムリセットを伴わず、ユースケースに応じた防止策とオンボード回復を可能にし、FPGA上ではリソースオーバーヘッドがたった2.3%に抑えられ、完全な形式的検証が保持されている。

ABSTRACT

Modern society is getting accustomed to the Internet of Things (IoT) and Cyber-Physical Systems (CPS) for a variety of applications that involves security-critical user data and information transfers. In the lower end of the spectrum, these devices are resource-constrained with no attack protection. They become a soft target for malicious code modification attacks that steals and misuses device data in malicious activities. The resilient system requires continuous detection, prevention, and/or recovery and correct code execution (including in degraded mode). By end large, existing security primitives (e.g., secure-boot, Remote Attestation RA, Control Flow Attestation (CFA) and Data Flow Attestation (DFA)) focuses on detection and prevention, leaving the proof of code execution and recovery unanswered. To this end, the proposed work presents lightweight RARES -- Runtime Attack Resilient Embedded System design using verified Proof-of-Execution. It presents first custom hardware control register (Ctrl_register) based runtime memory modification attacks classification and detection technique. It further demonstrates the Proof Of Concept (POC) implementation of use-case-specific attacks prevention and onboard recovery techniques. The prototype implementation on Artix 7 Field Programmable Gate Array (FPGA) and state-of-the-art comparison demonstrates very low (2.3%) resource overhead and efficacy of the proposed solution.

研究の動機と目的

  • リソース制約のあるIoTおよびCPSデバイスにおいて、継続的で軽量なランタイム検出および回復メカニズムが不足している問題に対処すること。
  • システム開発者が、急なシステムリセットに依存せずに、アプリケーション固有の防止および回復戦略を設計できるようにすること。
  • 最小限のハードウェアフットプリントで、形式的検証済みの実行証明、セキュアブート、およびオンボード回復を統合すること。
  • カスタムハードウェア制御レジスタ(Ctrl_register)を用いてランタイムにおけるメモリ改ざん攻撃を分類・検出すること。
  • APEXなどの先行システムが保持していた形式的検証およびセキュリティ特性を維持しつつ、機能を拡張すること。

提案手法

  • ランタイム中に更新される16ビットのハードウェア制御レジスタ(Ctrl_register)を導入し、ソフトウェアからの読み取り専用アクセスを提供することで、メモリ改ざん攻撃をリアルタイムで検出する。
  • ランタイムにおけるメモリ改ざん攻撃を3つのカテゴリに分類し、Ctrl_registerの状態変化を用いて異常を検出する。
  • APEXを拡張し、Ctrl_registerの状態を保持する軽量なハードウェアモジュールを追加することで、継続的なランタイム整合性監視を可能にする。
  • 攻撃検出信号に基づいて開発者がカスタム論理を定義できるようにすることで、ユースケース固有の防止および回復をサポートする。
  • 回復ROMを用いてオンボード回復を実装し、OTAや手動の再フラッシュなしでフェイルセーフ動作を実現する。
  • APEXが保持していた20の形式的LTL検証プロパティをすべて維持し、正しさとセキュリティ保証を確保する。
Figure 1: Depicts the resilient system operation flow timeline.
Figure 1: Depicts the resilient system operation flow timeline.

実験結果

リサーチクエスチョン

  • RQ1リソース制約のある組み込みシステムにおいて、どのようにして継続的かつ効率的にランタイムにおけるメモリ改ざん攻撃を検出できるか?
  • RQ2軽量なハードウェア制御レジスタ(Ctrl_register)は、顕著なパフォーマンスまたはリソースコストを伴わずに、ランタイムにおけるコード改ざんを効果的に検出可能か?
  • RQ3特に安全が求められるアプリケーションにおいて、急なシステムリセットに依存せずに、システムのレジリエンスを維持する方法は何か?
  • RQ4ランタイム耐性を持つシステムにおいて、形式的検証済みの実行証明、セキュアブート、およびオンボード回復を実現するための最小限のハードウェアオーバーヘッドは何か?
  • RQ5システム開発者は、形式的検証済みで軽量なランタイムセキュリティフレームワークに、ユースケース固有の防止および回復メカニズムをどのように統合できるか?

主な発見

  • RARESは、APEXと比較してLUTが2.3%増加、ハードウェアレジスタが2.3%増加するのみで、リソースオーバーヘッドが極めて小さいことを示している。
  • RARES-Aバージョンは16ビットのCtrl_registerを備え、予約メモリが2バイト増加し、ハードウェアオーバーヘッドが2.3%に抑えられつつ、APEXの20の形式的LTL検証プロパティをすべて保持している。
  • RARES-Bバージョンは16KBのオンボード回復ROMを備え、RARES-Aと比較してハードウェアレジスタが7.37%増加、LUTが10.3%増加するが、依然として軽量な実装である。
  • RARESは、CFAやDFAのようなログ集約型技術に依存せずに、Ctrl_registerメカニズムにより継続的なランタイムにおけるメモリ改ざん攻撃検出を実現している。
  • APEX や VRASED とは異なり、RARESは急なシステムリセットを回避し、安全な回復が達成されるまで劣化モードでの動作を可能にしている。
  • カスタムハードウェアモジュールを接続することで、他のマイコンプロセッサに対しても汎用的に適用可能であり、多様なユースケースに応じたカスタム回復戦略をサポートする。
Figure 2: Top-level design of lightweight runtime attacks resilient RARES system. Highlighted are the key components of the proposed system.
Figure 2: Top-level design of lightweight runtime attacks resilient RARES system. Highlighted are the key components of the proposed system.

この論文を読む

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

Nubintでこの論文を読む

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