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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
striptls — STARTTLSストリッピング攻撃のプロキシPoC実装 | Kitploit
ツール/GitHubGitHub/tintinweb/striptls
脆弱性分析エクスプロイトネットワークセキュリティ
GitHubtintinweb/striptls

striptls

STARTTLSストリッピング攻撃のプロキシPoC実装

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

人気

すべて見る →

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

すべてのツールを探索

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

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

image

striptls - 監査プロキシ

STARTTLSストリッピング攻撃のPoC実装

汎用TCPプロキシの実装であり、プロトコルに依存しない ssl/tls インターセプトと、SMTP、POP3、IMAP、FTP、NNTP、XMPP、ACAP、IRC に対する STARTTLS ストリッピング攻撃を実行する監査ツールです。

Python2!

🏆 実績
  • CVE-2016-0772 - python: smtplib
  • CVE-2016-10027 - Smack XMPP library

//このプロジェクトを利用して脆弱性を発見しましたか?ご連絡ください!

必要条件:
  • Python >= 2.7.9 (SSLContext) < Python 3
  • (tlsインターセプト用、オプション) PEM形式の証明書と秘密鍵(単一ファイル)--key=server.pem

ベクター

  • GENERIC
  • Intercept - プロトコルに依存しないssl/tlsインターセプト。TLSハンドシェイクを覗き見て、ソケットをtlsに変換(tls-to-tlsプロキシ)
  • InboundIntercept - インバウンドチャネルのみに対するプロトコル独立型ssl/tlsインターセプト(tls-to-plainプロキシ)
  • SMTP
  • SMTP.StripFromCapabilities - サーバー応答の機能パッチ
  • SMTP.StripWithInvalidResponseCode - クライアントSTARTTLSストリッピング、無効な応答コード
  • SMTP.UntrustedIntercept - STARTTLSインターセプト(クライアントとサーバーがssl通信)(カレントディレクトリにserver.pemが必要)
  • SMTP.StripWithTemporaryError
  • SMTP.StripWithError
  • SMTP.ProtocolDowngradeStripExtendedMode
  • SMTP.InjectCommand
  • SMTP.InboundStarttlsProxy - (starttls-to-plainプロキシ)
  • POP3
  • POP3.StripFromCapabilities
  • POP3.StripWithError
  • POP3.UntrustedIntercept
  • IMAP
  • IMAP.StripFromCapabilities
  • IMAP.StripWithError
  • IMAP.UntrustedIntercept
  • IMAP.ProtocolDowngradeToV2
  • FTP
  • FTP.StripFromCapabilities
  • FTP.StripWithError
  • FTP.UntrustedIntercept
  • NNTP
  • NNTP.StripFromCapabilities
  • NNTP.StripWithError
  • NNTP.UntrustedIntercept
  • XMPP
  • XMPP.StripFromCapabilities
  • XMPP.StripInboundTLS
  • XMPP.UntrustedIntercept
  • ACAP (未テスト)
  • ACAP.StripFromCapabilities
  • ACAP.StripWithError
  • ACAP.UntrustedIntercept
  • IRC
  • IRC.StripFromCapabilities
  • IRC.StripWithError
  • IRC.UntrustedIntercept
  • IRC.StripWithNotRegistered
  • IRC.StripCAPWithNotregistered
  • IRC.StripWithSilentDrop

結果:```python

  • [*] client: 127.0.0.1
  • [Vulnerable!] <class striptls.StripWithInvalidResponseCode at 0xffd3138c>
    
  • [Vulnerable!] <class striptls.StripWithTemporaryError at 0xffd4611c>
    
  • [           ] <class striptls.StripFromCapabilities at 0xffd316bc>
    
  • [Vulnerable!] <class striptls.StripWithError at 0xffd4614c>
    
  • [*] client: 192.168.139.1
  • [Vulnerable!] <class striptls.StripInboundTLS at 0x7f08319a6808>
    
  • [Vulnerable!] <class striptls.StripFromCapabilities at 0x7f08319a67a0>
    
  • [Vulnerable!] <class striptls.UntrustedIntercept at 0x7f08319a6870>
    
## 使い方```
#> python2 -m pip install striptls
#> python2 -m striptls --help

Please provide the Markdown content to translate.``` #> python -m striptls --help # from pip/setup.py #> python striptls --help # from source / root folder Usage: striptls.py [options]

   example: striptls.py --listen 0.0.0.0:25 --remote mail.server.tld:25

Options: -h, --help show this help message and exit -q, --quiet be quiet [default: True] -l LISTEN, --listen=LISTEN listen ip:port [default: 0.0.0.0:<remote_port>] -r REMOTE, --remote=REMOTE remote target ip:port to forward sessions to -k KEY, --key=KEY SSL Certificate and Private key file to use, PEM format assumed [default: server.pem] -s, --generic-ssl-intercept dynamically intercept SSL/TLS -b BUFFER_SIZE, --bufsiz=BUFFER_SIZE -x VECTORS, --vectors=VECTORS Comma separated list of vectors. Use 'ALL' (default) to select all vectors, 'NONE' for tcp/ssl proxy mode. Available vectors: ACAP.StripFromCapabilities, ACAP.StripWithError, ACAP.UntrustedIntercept, FTP.StripFromCapabilities, FTP.StripWithError, FTP.UntrustedIntercept, GENERIC.Intercept, IMAP.ProtocolDowngradeToV2, IMAP.StripFromCapabilities, IMAP.StripWithError, IMAP.UntrustedIntercept, IRC.StripCAPWithNotRegistered, IRC.StripFromCapabilities, IRC.StripWithError, IRC.StripWithNotRegistered, IRC.StripWithSilentDrop, IRC.UntrustedIntercept, NNTP.StripFromCapabilities, NNTP.StripWithError, NNTP.UntrustedIntercept, POP3.StripFromCapabilities, POP3.StripWithError, POP3.UntrustedIntercept, SMTP.InboundStarttlsProxy, SMTP.InjectCommand, SMTP.ProtocolDowngradeStripExtendedMode, SMTP.StripFromCapabilities, SMTP.StripWithError, SMTP.StripWithInvalidResponseCode, SMTP.StripWithTemporaryError, SMTP.UntrustedIntercept, XMPP.StripFromCapabilities, XMPP.StripInboundTLS, XMPP.UntrustedIntercept [default: ALL]

## Install (optional)

pip から

    #> pip install striptls

ソースから

    #> setup.py install

## 例

	                  inbound                    outbound
	[inbound_peer]<------------->[listen:proxy]<------------->[outbound_peer/target]
	  smtp-client                   striptls                    remote/target
	  
local `smtp-client` -> `localhost:8825` (proxy) -> `mail.gmx.net:25`

### 汎用 SSL/TLS インターセプト
	
`--generic-ssl-intercept` は汎用的な ssl/tls ハンドシェイク検出とセッション変換を有効にするグローバルスイッチです。任意の mangle/vector と組み合わせることができます。

`GENERIC.Intercept` は ssl/tls ハンドシェイク検出および変換機能の mangle/vector 実装です。
ツールをダウンロード