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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
No-Consolation — A BOF that runs unmanaged PEs inline | Kitploit
ツール/GitHubGitHub/fortra/no-consolation
Penetration Testing FrameworksIDS/IPS EvasionPost-ExploitationRed TeamingPayload Development
GitHubfortra/no-consolation

No-Consolation

A BOF that runs unmanaged PEs inline

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

人気

すべて見る →

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

すべてのツールを探索

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

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

No-Consolation

これは、アンマネージドPEをインラインで実行し、コンソールを割り当てずに(つまり conhost.exe を起動せずに)その出力を取得するBeacon Object File(BOF)です。

スクリーンショット

特徴

  • 64ビットおよび32ビットをサポート
  • EXEおよびDLLをサポート
  • 新しいプロセスを作成しない
  • 新しいスレッドを作成しない
  • モジュールをPEBにリンクする
  • バイナリをメモリに保存する
  • C++例外をサポート(x64のみ)
  • すべての依存関係をカスタムロードする

使い方

root@kitploit:~
Summary: Run an unmanaged EXE/DLL inside Beacon's memory.

Usage: noconsolation [--local] [--inthread] [--link-to-peb] [--dont-unload] [--timeout 60] [-k] [--method funcname] [-w] [--no-output] [--alloc-console] [--close-handles] [--free-libraries wininet.dll,winhttp.dll] [--dont-save] [--list-pes] [--unload-pe pename] [--load-all-dependencies] [--load-all-dependencies-but advapi32.dll] [--load-dependencies wininet.dll] [--search-paths C:\Windows\Temp\] /path/to/binary.exe arg1 arg2
    --local, -l                                    Optional. The binary should be loaded from the target Windows machine
    --inthread, -it                                Optional. Run the PE with the main thread. This might hang your beacon depending on the PE and its arguments.
    --link-to-peb, -ltp                            Optional. Load the PE into the PEB
    --dont-unload, -du                             Optional. If set, the DLL won't be unloaded.
    --timeout NUM_SECONDS, -t NUM_SECONDS          Optional. The number of seconds you wish to wait for the PE to complete running. Default 60 seconds. Set to 0 to disable
    -k                                             Optional. Overwrite the PE headers
    --method EXPORT_NAME, -m EXPORT_NAME           Optional. Method or function name to execute in case of DLL. If not provided, DllMain will be executed
    -w                                             Optional. Command line is passed to unmanaged DLL function in UNICODE format. (default is ANSI)
    --no-output, -no                               Optional. Do not try to obtain the output
    --alloc-console, -ac                           Optional. Allocate a console. This will spawn a new process
    --close-handles, -ch                           Optional. Close Pipe handles once finished. If PowerShell was already ran, this will break the output for PowerShell in the future
    --free-libraries, -fl DLL_A,DLL_B              Optional. List of DLLs (previously loaded with --dont-unload) to be offloaded
    --dont-save, -ds                               Optional. Do not save this binary in memory
    --list-pes, -lpe                               Optional. List all PEs that have been loaded in memory
    --unload-pe PE_NAME, -upe PE_NAME              Optional. Unload from memory a PE
    --load-all-dependencies, -lad                  Optional. Custom load all the PE's dependencies
    --load-all-dependencies-but, -ladb DLL_A,DLL_B Optional. Custom load all the PE's dependencies except these
    --load-dependencies, -ld DLL_A,DLL_B           Optional. Custom load these PE's dependencies
    --search-paths, -sp PATH_A,PATH_B              Optional. Look for DLLs on these paths (system32 is the default)

    /path/to/binary.exe                   Required. Full path to the windows EXE/DLL you wish you run inside Beacon. If already loaded, you can simply specify the binary name.
    ARG1 ARG2                             Optional. Parameters for the PE. Must be provided after the path

    Example: noconsolation --local C:\windows\system32\windowspowershell\v1.0\powershell.exe $ExecutionContext.SessionState.LanguageMode
    Example: noconsolation /tmp/mimikatz.exe privilege::debug token::elevate exit
    Example: noconsolation --local C:\windows\system32\cmd.exe /c ipconfig
    Example: noconsolation --list-pes
    Example: noconsolation LoadedBinary.exe args

バイナリのメモリへのロード

バイナリは初回実行後に自動的に暗号化されてメモリに保存されます。つまり、バイナリを毎回ネットワーク経由で送信する必要はありません。
すでにメモリに保存されているバイナリを実行するには、完全なパスの代わりにその名前を指定するだけです。つまり、次のように実行する代わりに:

root@kitploit:~
beacon> noconsolation --local C:\windows\system32\cmd.exe /c ipconfig

次のように実行します:

root@kitploit:~
beacon> noconsolation cmd.exe /c ipconfig

メモリにロードされているすべてのバイナリを一覧表示するには、--list-pes を実行します。
あるバイナリの使用が終わり、それをアンロードしたい場合は、--unload-pe mimikatz.exe を実行します。
最後に、バイナリを自動的にメモリにロードせずに実行したい場合は、--dont-save を付けて実行します。

PEの依存関係のロード

PEのすべての依存関係をカスタムロードすることで、すべてのイメージロードイベントを回避できます:

root@kitploit:~
beacon> noconsolation --load-dependencies --link-to-peb /tmp/malware.exe

実行が完了すると、PEとその依存関係は自動的にアンロードされます。
スレッドローカルストレージを使用するDLLはサポートされていません。

クレジット

  • Octoberfest7氏:このプロジェクトのインスピレーションとなった Inline-Execute-PE に対して
  • modexp氏および TheWover氏:donut のPEロードロジックに対して
  • rad9800氏:HWBP engine に対して
  • batsec氏:DarkLoadLibrary に対して
  • aidankhoury氏:ApiSet に対して
  • bb107氏:MemoryModulePP に対して
ツールをダウンロード