How can I create a script to select a specific range of IMSI
asked Nov 18 '26
We are analyzing sniffer collected with protocol S1AP and there are a lot of Attach Request from users that don´t belong from our network. And I would like to write a filter to capture th IMSI just for our network. How can I elaborate this filter?

Are you looking at nas-eps
{ 0x41, "Attach request"},messages?There is a sample capture here: l7/cellfund_less7_exer2.pcapng
A display filter of
nas-eps.nas_msg_emm_type == 0x41shows the messages.NAS EPS Mobility Management Message Type: Attach request (0x41)Is it one of these fields you want to filter on?
EPS mobile identity Length: 11 .... 0... = Odd/even indication: Even number of identity digits .... .110 = Type of identity: GUTI (6) Mobile Country Code (MCC): Norway (242) Mobile Network Code (MNC): Telia Norge AS (02) MME Group ID: 36769 MME Code: 16 M-TMSI: 3267465941 (0xc2c192d5)