Trusted Design

T1014 - Rootkit

概要

Adversaries may use rootkits to hide the presence of programs, files, network connections, services, drivers, and other system components. Rootkits are programs that hide the existence of malware by intercepting/hooking and modifying operating system API calls that supply system information. (Citation: Symantec Windows Rootkits)

Rootkits or rootkit enabling functionality may reside at the user or kernel level in the operating system or lower, to include a hypervisor or System Firmware. (Citation: Wikipedia Rootkit) Rootkits have been seen for Windows, Linux, and Mac OS X systems. (Citation: CrowdStrike Linux Rootkit) (Citation: BlackHat Mac OSX Rootkit)

Rootkits that reside or modify boot sectors are known as Bootkits and specifically target the boot process of the operating system.

管理者によるコメント

T1014(Rootkit:ルートキット)は、攻撃者がシステム内での存在を隠蔽するために使用する、最もステルス性の高い手法の一つです。

1. 概要

Rootkitとは、OSの標準的な機能(プロセス一覧、ファイル一覧、ネットワーク接続など)を乗っ取り、攻撃者の活動に関連する情報をユーザーやセキュリティツールから見えないように改ざんする手法です。

攻撃者が実現できること

2. 攻撃の流れ

ルートキットには「ユーザーモード」と「カーネルモード」の2種類がありますが、ここではより強力なカーネルモードの流れを例に挙げます。

  1. 侵入と特権昇格: 脆弱性などを利用してシステムに侵入し、管理者権限(SYSTEM権限)を取得します。
  2. ドライバのロード: 悪意のあるカーネルドライバをシステムにロードします。最近のWindowsでは署名が必要なため、脆弱性のある正当なドライバを悪用する「BYOVD (Bring Your Own Vulnerable Driver)」手法がよく使われます。
  3. フック(Hooking)の実行: OSのシステムコール(例: NtQuerySystemInformation)をフックし、出力結果を書き換えます。
    • 例:「全プロセスを表示せよ」という命令に対し、自分のプロセスだけを除外して返答させる。
  4. 潜伏: ツールがタスクマネージャーやエクスプローラーに表示されない状態で、バックドア通信などを行います。

3. 防御・対策

4. 重要ポイント

5. 関連する主なCWE

6. 関連する代表的なCVE

ルートキット自体は「機能」ですが、それをインストールするために使われる「ドライバの脆弱性」がCVEとして多く報告されています。

分析

この攻撃手法を利用する脅威アクター

関連する CVE

攻撃手法 – 脅威アクター Graph


← Technique一覧に戻る ← Tactics一覧に戻る