This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

How do I configure Wireshare to decrypt AES-GCM ESP packets when there is no obvious way to configure the IV?

asked Aug 14 '25

updated Aug 14 '25

I would like to decrypt ESP packets using AES-GCM . Wireshark purports to support this algorithm and I can select it in the AES preferences menu however, while I can configure the key, there is no obvious provision to configure the Initialization Vector, without which the packets cannot be decrypted. How do I configure this value in Wireshark. I am using v4.4.7.

Comments

Example configuration steps:
3444: ipsec: refactor the decryption and dissection of ESP packets

The sample captures and config data on Wiki: wiki:ipsec

User 2763 ( Aug 14 '25 )

1 Answer

0

answered Aug 14 '25

That's the Neat Part, you don't.

Review RFC 4106. In AES-GCM for IPSec ESP the IV is included in each frame prior to the ciphertext. "For a given key, the IV MUST NOT repeat," so there would be no point in configuring it in Wireshark as it's right there in the packet payload.

If it's not decrypting for you, something else is the problem.

Comments

I should point out that RFC 8750 describes a variant where the IV is implicit and constructed from the sequence number. I don't believe Wireshark supports that variant, and in any case you still wouldn't configurw it.

User 82682 ( Aug 17 '25 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.