开发者

Detect HTTPS using SharpPCap

开发者 https://www.devze.com 2023-03-10 07:02 出处:网络
I am using SharpPCap to filter packets. Does anyone know how to detect if a packet is for a secured http c开发者_StackOverflow中文版onnection?You would have to sniff the traffic from the start of the

I am using SharpPCap to filter packets. Does anyone know how to detect if a packet is for a secured http c开发者_StackOverflow中文版onnection?


You would have to sniff the traffic from the start of the TCP session to observe the SSL handshake go back and forth. Once the encrypted session is set up, any individual packet is going to be indistinguishable from random noise.

To discover otherwise is to find a major flaw in the symmetric cipher. (Yes, the encryption really is that good.)

Of course, having a destination of port 443 is a hint that you are looking at an https connection... But that is just a convention.

0

精彩评论

暂无评论...
验证码 换一张
取 消