Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transparent SSL/TLS proxy for non-HTTP(S) connections (tool suggestions)

I'm looking for a transparent SSL/TLS proxy tool to capture (and change?) generic SSL/TLS traffic (man-in-the-middle attack). Basically something that can generate certificates on the fly with its own CA. In a way, I'm looking for something like mitmproxy, but for non-HTTP(S) traffic. Any suggestions?

like image 221
binwiederhier Avatar asked Jul 09 '13 20:07

binwiederhier


2 Answers

I found a tool called SSLsplit that I believe does the trick. I did not have the time to test it yet, but the man page looks like it can do plain TCP/SSL sockets.

like image 135
binwiederhier Avatar answered Oct 05 '22 04:10

binwiederhier


If anyone finds this post in 2021 like I did. Mitmproxy now supports tcp mode so your application layer traffic need not be http.

like image 38
x7qiu Avatar answered Oct 05 '22 04:10

x7qiu