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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Prox-Ez — Windows認証メカニズムをテストするためのHTTP/HTTPSインターセプトプロキシ。NTLM、Kerberos、pass-the-hash、pass-the-ticket、リレー攻撃に対応し、MITM用の証明書生成機能を内蔵。 | Kitploit
ツール/GitHubGitHub/synacktiv/prox-ez
ウェブプロキシと傍受なりすましツール横移動ポストエクスプロイトペネトレーションテスト認証レッドチーミング
GitHubsynacktiv/prox-ez

Prox-Ez

Windows認証メカニズムをテストするためのHTTP/HTTPSインターセプトプロキシ。NTLM、Kerberos、pass-the-hash、pass-the-ticket、リレー攻撃に対応し、MITM用の証明書生成機能を内蔵。

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

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有

Prox-Ez: HTTP認証のスイスアーミーナイフ

このHTTPプロキシは、すべてのHTTP認証を代行処理します。

NTLM EPA(チャネルバインディングおよびサービスバインディング)、kerberos、pass-the-hash、overpass-the-hash(pass-the-key)、pass-the-ticket(TGTおよびTGS)に対応しています。

関連記事:

  • Dissecting NTLM EPA with love & building a MitM proxy
  • A study on Windows HTTP authentication (Part II)

インストール

  1. 依存関係をインストールします
root@kitploit:~
$ # In a venv
$ python3 -m venv venv
$ source venv/bin/activate
$ python3 -m pip install -r requirements.txt

または、pip/pipxを使ってプロジェクトを直接インストールこともできます

root@kitploit:~
$ # With pip
$ pip3 install git+https://github.com/synacktiv/Prox-Ez
root@kitploit:~
$ # With pipx
$ pipx install git+https://github.com/synacktiv/Prox-Ez
  1. お楽しみください。

使用方法

クイックスタート

次のように実行すると、認証が必要な任意のWebサイトに対して、資格情報 mydomain/myusername:mypassword を使って認証を試行します:

root@kitploit:~
python3 proxy.py -dc mydomain/myusername:mypassword

パスワードの代わりにNTハッシュを使う場合も同様です:

root@kitploit:~
python3 proxy.py -dc mydomain/myusername --hashes :31d6cfe0d16ae931b73c59d7e0c089c0

BurpSuiteを使う場合

burpsuiteと連携するには:

  • HTTP/2サポートを無効にする: Project options -> HTTP -> HTTP/2 -> Enable HTTP/2 のチェックを外す
  • NTLMはTCP接続を認証するため、Set response header "Connection: close" のチェックを外す: Proxy -> Options -> Miscellaneous -> Set response header "Connection: close" のチェックを外す。
  • HTTP/1使用時に受信リクエストへ "Connection" ヘッダーを設定しない: Proxy -> Options -> Miscellaneous -> Set "Connection" header on incoming requests when using HTTP/1 のチェックを外す

その後、burpでアップストリームプロキシを指定するだけで、認証できないホストに対してこのプロキシが使われるようになります:

  • Project options -> Connections -> Upstream Proxy Servers -> Add をクリック -> NTLM認証で問題が発生しているリモートホスト名、ツールで設定したプロキシホストとポートを指定し、Authentication type は None のままにします。
  • socksプロキシが有効になっている場合は、無効にする必要があるかもしれません。

ヘルプ

root@kitploit:~
$ python3 proxy.py -h
usage: proxy.py [-h] [--listen-address LISTEN_ADDRESS] [--listen-port LISTEN_PORT] [--cacert CACERT] [--cakey CAKEY] [--cakey-pass CAKEY_PASS] [--certsdir CERTSDIR] [--singleprocess] [--debug] [--dump-keys DUMP_KEYS] [--creds CREDS]
                [--default-creds DEFAULT_CREDS] [--hashes HASHES] [--kerberos] [--dcip DCIP] [--spn SPN] [--spn-force-fqdn] [--no-epa]

Prox-Ez: HTTP認証のスイスアーミーナイフ。

optional arguments:
  -h, --help            show this help message and exit
  --listen-address LISTEN_ADDRESS, -l LISTEN_ADDRESS
                        Address the proxy will be listening on, defaults to 127.0.0.1.
  --listen-port LISTEN_PORT, -p LISTEN_PORT
                        Port the proxy will be listening on, defaults to 3128.
  --cacert CACERT       Filepath to the CA certificate, defaults to ./cacert.pem. Will be created if it does not exists.
  --cakey CAKEY         Filepath to the CA private key, defaults to ./cakey.pem. Will be created if it does not exists.
  --cakey-pass CAKEY_PASS
                        CA private key passphrase.
  --certsdir CERTSDIR   Path to the directory the generated certificates will be stored in, defaults to /tmp/Prox-Ez. Will be created if it does not exists.
  --singleprocess, -sp  Do you want to be slowwwww ?! Actually useful during debug.
  --debug, -d           Increase debug output.
  --dump-keys DUMP_KEYS, -dk DUMP_KEYS
                        File to dump the SSL/TLS keys to. Useful when trying to debug. When this option is specified, --singleprocess is implied.
  --creds CREDS         Path to the credentials file, for instance: { "my.hostname.com": { "creds": "domain/user:password", "spn": "HTTP/anothername" }, "my.second.hostname.com": { "creds": "domain1/user1", "hashes": ":nthash1" } }
  --default-creds DEFAULT_CREDS, -dc DEFAULT_CREDS
                        Default credentials that will be used to authenticate.
  --hashes HASHES       Could be used instead of password. It is associated with the domain and username given via --default_creds. format: lmhash:nthash or :nthash.
  --kerberos, -k        Enable kerberos authentication instead of NTLM.
  --dcip DCIP           IP Address of the domain controller (only for kerberos).
  --spn SPN             Use the provided SPN when an SPN is needed. More details in the article.
  --spn-force-fqdn      Force the usage of the FQDN as the SPN instead of what was specified in the URL.
  --no-epa              Deactivate the NTLM EPA feature.

既知の問題

  • WebSocketには対応していません。次のようなアサーションエラーが発生します:
root@kitploit:~
DEBUG:Proxy.ProxyToServerHelper:Our state: MIGHT_SWITCH_PROTOCOL; their state: SEND_RESPONSE
[...]
    assert self.conn.our_state in [h11.DONE, h11.MUST_CLOSE, h11.CLOSED] and self.conn.their_state is h11.SEND_RESPONSE
AssertionError
ツールをダウンロード