First time here? Check out the FAQ!

Ask Your Question
0

Why can't I decrypt TLS traffic in one of my captures?

asked Oct 13 '0

rschuster gravatar image

updated Oct 14 '0

Guy Harris gravatar image

Can't find log files for Wireshark.

I have a tcpdump from server that Decode As TLS doesn't work.

I've successfully decoded dumps from the same server recently.

No idea why this fresh dump doesn't decode.

Preview: (hide)

Comments

What steps have you taken to decde it? TLS decryption does not work statically. If you could decode last months and not done the proper steps again you can't decode fromthe same server now in most cases.

hugo.vanderkooij gravatar imagehugo.vanderkooij ( Oct 14 '0 )

To what log files are you referring?

Guy Harris gravatar imageGuy Harris ( Oct 14 '0 )

Local WireShark log file on PC, trying to determine why WireShark doesn't decode the new dump taken from a server.

I think I'm doing the right steps to decode, nothing has changed but when I right click to decode new trace nothing happens.

rschuster gravatar imagerschuster ( Oct 14 '0 )

Might be that my dump doesn't seem to have the ClientKeyExchange packet, I'll try again.

rschuster gravatar imagerschuster ( Oct 14 '0 )

Local WireShark log file on PC, trying to determine why WireShark doesn't decode the new dump taken from a server.

Wireshark doesn't have a log file to which it writes errors. It should be reporting all errors directly to the user, either as dialog boxes or as indications in the display of packet details. For some failures it doesn't report a reason for the failure when it should - for example, IEEE 802.11 decryption can fail with no indication why it failed`; all the user sees is that the 802.11 payload isn't decrypted and dissected.

Guy Harris gravatar imageGuy Harris ( Oct 14 '0 )

1 Answer

Sort by » oldest newest most voted
0

answered Oct 14 '0

rschuster gravatar image

I was able to decrypt one that included the KeyExchange packet.

Preview: (hide)
link

Comments

This appears to be mentioned, at least for decryption using an RSA private key, in the "TLS decryption" section of the TLS page of the Wireshark Wiki:

The RSA private key file can only be used in the following circumstances:

...

  • The session has not been resumed. The handshake must include the ClientKeyExchange handshake message.
Guy Harris gravatar imageGuy Harris ( Oct 14 '0 )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: Oct 13 '0

Seen: 772 times

Last updated: Oct 14 '20