This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

S1AP Protocol - ciphered NAS

0

Hello,

We have two frames we're looking at in Wireshark. Both have NAS with security header "Integrity Protected and ciphered". In one of them, the rest is decoded as "ciphered message" and in the other one we can see the plain NAS header and the rest of the NAS message. Our question is: How can Wireshark determine how to decode86 the message right after the first security header (looks like it knows somehow if the rest is really ciphered or it's decodable) Thanks, Diana and Rotem

asked 13 Jun '13, 06:16

Dianalab9's gravatar image

Dianalab9
26161620
accept rate: 0%


One Answer:

1

There is a basic heuristic: if the first byte following the security header / MAC / sequence number bytes (the one that contains the protocol discriminator / security header) seems to match the beginning of a EMM, ESM or Test Procedure message, then Wireshark attempts to dissect the message.

The idea is to try to differentiate a message with integrity only from a message with integrity + non null ciphering applied.

Of course like every heuristic it has some weaknesses; it could try to dissect a ciphered message.

answered 13 Jun '13, 08:49

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Thanks! that's helps us a lot.

(16 Jun '13, 04:24) Dianalab9