Ask Your Question
0

Secure PCAP-over-IP with Wireshark? Like with socat?

asked 2024-04-18 20:48:13 +0000

cuuld gravatar image

This article https://www.netresec.com/?page=Blog&m... in the FAQ section mentions about encrypting the PCAP transmission over the network. And suggested use of socat, but didn't present any examples.

I am curious to whether Wireshark, natively, or by combining with additional tools, can support reading PCAP-over-IP that is encrypted. And what that deployment setup might look like.

Whether using Wireshark with socat somehow like how it can be used with netcat, or with the TCP@ip:port interface syntax. e.g. for netcat like "nc -l 57012 | wireshark -i -" and sender side like "tcpdump -i any -w - not tcp port 57012 | nc 192.168.1.2 50712" where the IP is the wireshark host and sender is a different remote host

How could the setup on send and receive side be done replacing netcat with socat or another tool? I did a brief look, seems socat (on macOS) has different CLI options compared to netcat. Or does it require some certain versions of socat for the TLS support?

For using ncat as alternative, I see CLI options for SSL, so assume can work with that. But wanted to ask about socat in case can't use ncat for example.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-04-19 05:43:53 +0000

Guy Harris gravatar image

I am curious to whether Wireshark, natively, or by combining with additional tools, can support reading PCAP-over-IP that is encrypted.

Natively? No.

By combining with additional tools? If somebody were to write an extcap that can decrypt the stream, that would allow that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-04-18 20:48:13 +0000

Seen: 150 times

Last updated: Apr 19