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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Invoke-ArgFuscator — Invoke-ArgFuscator is an open-source, cross-platform PowerShell module that helps generate obfuscated command-lines for common system-native executables. | Kitploit
ツール/GitHubGitHub/wietze/invoke-argfuscator
Payload GenerationIDS/IPS EvasionPenetration TestingRed TeamingCurated Resources
GitHubwietze/invoke-argfuscator

Invoke-ArgFuscator

Invoke-ArgFuscator is an open-source, cross-platform PowerShell module that helps generate obfuscated command-lines for common system-native executables.

リポジトリを見る
279496ヶ月前Kitploit レビュー済み

人気

すべて見る →

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

すべてのツールを探索

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

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

░█░█▄░█░█▒█░▄▀▄░█▄▀▒██▀░▒░ ▄▀▄▒█▀▄░▄▀▒▒█▀░█▒█░▄▀▀░▄▀▀▒▄▀▄░▀█▀░▄▀▄▒█▀▄░ ░█░█▒▀█░▀▄▀░▀▄▀░█▒█░█▄▄░▀▀░█▀█░█▀▄░▀▄█░█▀░▀▄█▒▄██░▀▄▄░█▀█░▒█▒░▀▄▀░█▀▄░

Invoke-ArgFuscator

Invoke-ArgFuscator は、Windows、Linux、macOS で一般的なシステム標準の実行可能ファイル向けの難読化コマンドラインの生成を支援する、オープンソースのクロスプラットフォーム PowerShell モジュールです。

👉 ArgFuscator の対話型バージョンは ArgFuscator.net でご利用いただけます 🚀

概要

コマンドライン難読化(T1027.010)とは、プロセスのコマンドラインを操作することで、コマンドの本来の意図を偽装することです。Windows、Linux、macOS では、多くのアプリケーションが渡されたコマンドライン引数を予期しない方法で解析するため、特定の文字の挿入、削除、置換によってプログラムの実行フローが変わらない状況が発生します。コマンドライン難読化が成功すると、AV や EDR ソフトウェアなどの防御策を妨害し、場合によっては検出を完全に回避できる可能性があります。

これまでの研究では、コマンドライン難読化のリスクが、主に(システム標準の)脆弱なアプリケーションの逸話的な例で強調されてきましたが、この手法に関する知識は不足しています。このプロジェクトは、さまざまなコマンドライン難読化テクニックを文書化して実証し、それぞれに対する一般的なアプリケーションの影響を受けやすさを記録する集中リソースを提供することで、この課題の克服を目指しています。

使用方法

前提条件

このモジュールは、PowerShell/pwsh をサポートする任意のオペレーティングシステムで動作します。これには Windows、macOS、Linux が含まれます。

  • Windows: Microsoft がサポートしている Windows 10 や Windows 11 などの Windows バージョンを使用している場合、PowerShell はデバイスにプレインストールされています。
  • macOS: brew がプレインストールされている場合は、brew install powershell/tap/powershell を実行して最新バージョンの PowerShell をインストールしてください。その他のインストールオプションについては、Microsoft のドキュメントを参照してください。
  • Linux: Microsoft のドキュメントを参照して、お使いのディストリビューションに PowerShell をインストールする方法を確認してください。

インストールと使用方法

  1. このモジュールをインストールする最も簡単な方法は、次の PowerShell コマンドを使用することです:

    root@kitploit:~
    Install-Module -Name Invoke-ArgFuscator
    
  2. モジュールを使用するには、PowerShell 内で関数 Invoke-ArgFuscator を呼び出します。例:

    a. 難読化したいコマンドラインをコマンドライン引数として渡す場合(ArgFuscator.net でサポートされていることを前提とします):

    root@kitploit:~
    # Windows
    powershell /c "Invoke-ArgFuscator -Command 'certutil /f /urlcache https://www.example.org/ homepage.txt'"
    
    # macOS and Linux
    pwsh -c "Invoke-ArgFuscator -Command 'certutil /f /urlcache https://www.example.org/ homepage.txt'"
    

    b. 独自のモデルファイルを使用する場合1:

    root@kitploit:~
    # Windows
    powershell /c "Invoke-ArgFuscator -InputFile path\to\file.json"
    
    # macOS and Linux
    pwsh -c "Invoke-ArgFuscator -InputFile path/to/file.json"
    

ローカル開発

  1. このリポジトリをデバイスにクローンします。

  2. PowerShell を介して Invoke-ArgFuscator.ps1 を呼び出します。例:

    a. 対話的に実行するには、モデルファイル1のパスを標準入力(stdin)から渡します:

    root@kitploit:~
    # Windows
    powershell .\Invoke-ArgFuscator.ps1
    
    # macOS and Linux
    pwsh ./Invoke-ArgFuscator.ps1
    

    b. モデルファイル1へのパスをコマンドライン引数として渡す場合:

    root@kitploit:~
    # Windows
    powershell .\Invoke-ArgFuscator.ps1 -InputFile "path\to\file.json"
    
    # macOS and Linux
    pwsh ./Invoke-ArgFuscator.ps1 -InputFile "path/to/file.json"
    

    c. 難読化したいコマンドラインをコマンドライン引数として渡す場合:

    Invoke-ArgFuscator.ps1 と同じフォルダーに models/ フォルダーが存在する必要があることに注意してください。

    root@kitploit:~
    # Windows
    powershell .\Invoke-ArgFuscator.ps1 -Command "certutil /f /urlcache https://www.example.org/ homepage.txt"
    
    # macOS and Linux
    pwsh ./Invoke-ArgFuscator.ps1 -Command "certutil /f /urlcache https://www.example.org/ homepage.txt"
    

統合

Invoke-ArgFuscator は PowerShell モジュールであるため、このプロジェクトの機能を独自の PowerShell プロジェクトに追加できます。

Invoke-ArgFuscator を活用するには、PowerShell ファイルに以下を追加します:

root@kitploit:~
Import-Module Invoke-ArgFuscator

その後、次のいずれかの方法で呼び出します:

root@kitploit:~
Invoke-ArgFuscator -InputFile $InputFile -n $n
Invoke-ArgFuscator -Command $Command -Platform $Platform -n $n

ここで、

  • $InputFile は、モデルファイルへの(相対/絶対)ファイルパスを含む string、$Profile は、指定されたファイルパス内でターゲットとするプロファイルインデックスを表す 0 以上の整数(オプション)、$n は、生成する難読化されたコマンドライン相当物の数を表す 0 より大きい integer(オプション)。または、
  • $Command は、難読化したいコマンドラインを含む string、$Platform は、関連するプラットフォームを含む string(例: windows、オプション)、$n は、生成する難読化されたコマンドライン相当物の数を表す 0 より大きい integer(オプション)。

Footnotes

  1. これらは ArgFuscator.net の「ダウンロード」オプションで生成するか、GitHub からダウンロードできます。 ↩ ↩2 ↩3

ツールをダウンロード