Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
emudhra — Go、Java、Node、Perl、Python、Ruby、Rust、curlによるサンプルプログラムで、TLSトラストストアが既知の悪意あるeMudhra CAサイトへの接続を拒否するかどうかをテストします。 | Kitploit
ツール/GitHubGitHub/jschauma/emudhra
防御ツール脆弱性分析構成監査ネットワークセキュリティ暗号化サプライチェーンセキュリティ学習と教育
GitHubjschauma/emudhra

emudhra

Go、Java、Node、Perl、Python、Ruby、Rust、curlによるサンプルプログラムで、TLSトラストストアが既知の悪意あるeMudhra CAサイトへの接続を拒否するかどうかをテストします。

リポジトリを見る
3114日前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

eMudhraバンドルチェック

https://emudhra.we-have-a-problem.com/

確かに、ブラウザは正しく動作していますが、TLSはブラウザ以外にもいくつかの場所で行われます。そのため、バンドルが隠れている可能性のあるすべての場所を確認する必要があります。なんと面倒なことでしょう!

申し訳ありませんが、解決策はありません。しかし、特定の言語が標準で正しく動作するかどうかを確認したいだけなら、いくつかの簡単なサンプルプログラムを用意しました。それぞれ、すべてが問題なければ何も出力せず(これがUnixの流儀です)、既知の悪意あるサイトに接続できてしまう場合はエラーを報告します。

このツールは、指定されたフレームワーク/言語のデフォルトを使用しますが、代わりに確認対象の別のバンドルを指定することもできます。可能であれば、使用したバンドル/パスを表示します。

例

Go

$ go run emudhra.go
$ go run emudhra.go /tmp/cert.pem.bad 
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
exit status 2
$

Java

$ java emudhra.java 
Using CA file: /opt/homebrew/Cellar/openjdk/23.0.2/libexec/openjdk.jdk/Contents/Home/lib/security/cacerts
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$ java emudhra.java  /etc/ssl/cert.pem
Using CA file: /etc/ssl/cert.pem
$

こちらで説明されているように、中間証明書をblocked.certsに追加することを検討してください。

Node

$ node emudhra.js
$ node emudhra.js /tmp/cert.pem.bad 
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$

Perl

$ perl emudhra.pl 
Using SSL_ca_file: /private/etc/ssl/cert.pem
$ perl emudhra.pl /tmp/cert.pem.bad 
Using SSL_ca_file: /tmp/cert.pem.bad
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$

Python

$ python3 emudhra.py
Using CA file: /opt/homebrew/etc/openssl@4/cert.pem
$ python3 emudhra.py /tmp/cert.pem.bad 
Using CA file: /tmp/cert.pem.bad
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$

Ruby

$ ruby emudhra.rb 
Using CA file: /usr/lib/ssl/cert.pem
$ ruby emudhra.rb /tmp/cert.pem.bad 
Using CA file: /tmp/cert.pem.bad
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$

Curl

$ sh emudhra.sh 
Used CA file: /etc/ssl/certs/ca-certificates.crt
$ sh emudhra.sh
/tmp/cert.pem.bad 
Used CA file: /tmp/cert.pem.bad
BAD: successful connection to https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
BAD: successful connection to https://dv-g3b-emudhra.we-have-a-problem.com/
$

注: macOSでは、curl(1)にネイティブバックエンドを使用するよう指示でき、その場合はすべてのケースで接続が拒否されます:

$ CURL_SSL_BACKEND=secure-transport sh emudhra.sh /tmp/cert.pem.bad 
Used CA file: 
$ 

Rust

$ cd rs
$ cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
     Running `target/debug/rs`
$ cargo run -- /tmp/cert.pem.bad 
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/rs /tmp/cert.pem.bad`
$

Rustは依存関係のどこかで、侵害された中間証明書に対して実際のブロックリストチェックを行っているため、eMudhraのルートを信頼するバンドルを使用しても接続に失敗します。

ツールをダウンロード