
Windows での DLL ハイジャッキングに関する別の PoC
ブログ記事: https://redteamer.tips/?p=108
使用するには、任意のコマンドを実行できる cmd と、コマンドプロンプトを起動する DLL が必要です。DLL は https://github.com/jfmaes/CMDLL から入手できます。 DLL の呼び出し方法については、wietze のサイトのリストを確認してください。
自動的に c:\Windows \System32 を作成し、そこに DLL と選択したバイナリを配置し、実行します。 終了後は、もう一度 trustjack を -c フラグ付きで実行してクリーンアップしてください。
Fody 2.0 が不足している可能性があります。nuget パッケージの復元を実行して修正してください (ソリューション 'TrustJacker' を右クリックし、'NuGet パッケージの復元' を選択します)
_______ _ _ _
|__ __| | | | | | |
| |_ __ _ _ ___| |_ | | __ _ ___| | __
| | '__| | | / __| __| | |/ _` |/ __| |/ /
| | | | |_| \__ \ || |__| | (_| | (__| <
|_|_| \__,_|___/\__\____/ \__,_|\___|_|\_\
V1.0.0 by https://twitter.com/Jean_Maes_1994
Usage:
--dllpath=VALUE Path to the dll on the computer
--binary=VALUE The binary name to pop the shell
-c, --clean, --cleanup Cleanup the fake folder and it's contents
-h, -?, --help show this help menu.
代替テキスト