Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
android-kernel-exploitation-lab — このラボでは、Androidカーネルのバインダーサブシステムにおける重大な脆弱性であるCVE-2019-2215を調査するための環境構築を案内します。 | Kitploit
ツール/GitHubGitHub/0xbinder/android-kernel-exploitation-lab
Androidセキュリティ特権昇格脆弱性分析エクスプロイトデバッガファジング学習と教育バイナリエクスプロイトラボと実践

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
GitHub0xbinder/android-kernel-exploitation-lab

android-kernel-exploitation-lab

このラボでは、Androidカーネルのバインダーサブシステムにおける重大な脆弱性であるCVE-2019-2215を調査するための環境構築を案内します。

リポジトリを見る
4371年前Kitploit レビュー済み

Android Kernel Exploitation Lab

このラボでは、binderサブシステムにおける深刻なAndroidカーネル脆弱性であるCVE-2019-2215を調査するための環境構築をガイドします。

ドキュメント

  • 環境セットアップ
  • gdbスクリプトを使ったカーネル権限昇格
  • syzkallerによるファジング
  • AFL++によるファジング

技術詳細: CVE-2019-2215

この脆弱性はAndroidのbinderドライバにおけるuse-after-freeで、以下の特徴があります。

  1. 根本原因: binder fdがepollインスタンスに追加された後、スレッドが終了すると、binder_threadオブジェクトはepollからアクセス可能なまま解放されます。

  2. エクスプロイトパス:

    • binderファイル記述子をepollインスタンスに追加する
    • BINDER_THREAD_EXIT ioctlを呼び出し、binder_threadを解放する
    • epollを通じて解放されたbinder_threadにアクセスする
    • これにより、権限昇格に悪用可能なuse-after-free状態が発生します
  3. 影響: この脆弱性はAndroid 8.x、9.0、および10の初期バージョンに影響し、ローカルでのルート権限昇格を許す可能性があります。

  4. 詳細情報:

    • Project Zeroへの元の報告
    • Androidカーネルでのパッチ

TODO

このラボは現在開発中です。以下は計画されている改善点です。

短期間の改善

  • Syzkallerの設定を修正し、Android固有のシステムコールを適切にターゲットにする
  • このSyzkallerの問題を修正する
root@kitploit:~
[    3.030651] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2868278d270, max_idle_ns: 440795290098 ns
[    4.040338] clocksource: Switched to clocksource tsc
2025/03/24 21:04:23 running ssh: []string{"-p", "13199", "-F", "/dev/null", "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentitiesOnly=yes", "-o", "BatchMode=yes", "-o", "StrictHostKeyChecking=no", "-o", "ConnectTimeout=10", "-i", "/home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa", "-v", "root@localhost", "pwd"}
2025/03/24 21:04:33 ssh failed: failed to run ["ssh" "-p" "13199" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa" "-v" "root@localhost" "pwd"]: exit status 255
OpenSSH_9.9p2, OpenSSL 3.4.1 11 Feb 2025
debug1: Reading configuration data /dev/null
debug1: Connecting to localhost [::1] port 13199.
debug1: connect to address ::1 port 13199: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 13199.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa type 0
debug1: identity file /home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.9
Connection timed out during banner exchange
Connection to 127.0.0.1 port 13199 timed out
  • クラッシュレポート分析のための詳細な手順を追加
  • CVE-2019-2215用のシンプルなエクスプロイトテンプレートを含める
  • QEMU VMの起動互換性のための適切なカーネルコンフィグ設定を文書化

将来の強化

  • 他のAndroidカーネル脆弱性のサポートを追加
  • より簡単なセットアップのためのDockerコンテナを作成
  • GDBの例を含むより包括的なデバッグガイドを追加
  • 完全な権限昇格エクスプロイトを開発するためのステップバイステップガイドを実装
  • x86_64に加えてARM64アーキテクチャのサポート

既知の問題

root@kitploit:~
[    3.030651] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2868278d270, max_idle_ns: 440795290098 ns
[    4.040338] clocksource: Switched to clocksource tsc
2025/03/24 21:04:23 running ssh: []string{"-p", "13199", "-F", "/dev/null", "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentitiesOnly=yes", "-o", "BatchMode=yes", "-o", "StrictHostKeyChecking=no", "-o", "ConnectTimeout=10", "-i", "/home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa", "-v", "root@localhost", "pwd"}
2025/03/24 21:04:33 ssh failed: failed to run ["ssh" "-p" "13199" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa" "-v" "root@localhost" "pwd"]: exit status 255
OpenSSH_9.9p2, OpenSSL 3.4.1 11 Feb 2025
debug1: Reading configuration data /dev/null
debug1: Connecting to localhost [::1] port 13199.
debug1: connect to address ::1 port 13199: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 13199.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa type 0
debug1: identity file /home/0xbinder/android-kernel-exploitation-lab/bullseye.id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.9
Connection timed out during banner exchange
Connection to 127.0.0.1 port 13199 timed out

コミュニティへの貢献

このプロジェクトへの貢献に興味がある場合は、上記の項目のいずれかに取り組むか、プルリクエストを通じて独自のアイデアを提出してください。

特に助けを求めている点

  1. 既知の問題の修正
  2. Androidカーネルとの互換性を高めるためのQEMU設定の改善
  3. さまざまなLinuxディストリビューションで動作する信頼性の高いファジング環境の作成

これらの分野に専門知識をお持ちの方は、ぜひご協力ください。

ツールをダウンロード