aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
783 stars 321 forks source link

Profile B #701

Open FatimaaIsmail27 opened 6 months ago

FatimaaIsmail27 commented 6 months ago

Hello, while I was trying to implement profile A and profile B schemes, I changed the configuration in free5gc-ue.yaml in UERANSIM and chose protection scheme 1 and profile A was implemented successfully.. when I tried profile B, I got the following error: image So profile B is not implemented in UERANSIM?

Thank you in advance..

random1337-infosec commented 6 months ago

Hi.

I am also facing the same problem as you, specifically with Profile A. I am not sure if there has been any recent code modification in UERANSIM because some people have previously got it to work (?).

Can you share what OpenSSL version you use for key generation? openssl verison

Based on what I can see, the SUCI feature in UERANSIM has not been modified. I am tagging @Stg22, who merged the profile A feature to UERANSIM if he can provide some insight.

FatimaaIsmail27 commented 6 months ago

Hi @random1337-infosec , are you using open5gs or free5gc? I actually tried profile A with open5gs but I got "Sementically Incorrect Message" error and I couldn't fix it.. So I used free5gc and it worked fine.. As for free5gc, I didn't generate any new keys, they are already stored in udm. I just changed the protection scheme.

priyanshs commented 6 months ago

@FatimaaIsmail27 @random1337-infosec You may want to checkout the configuration method here: https://github.com/s5uishida/note_5g_suci_profile_ab

Hope this helps, I was able to get open5gs-UERANSIM with Profile A.

Stg22 commented 6 months ago

Profile B is not implemented, only Profile A is available. Keys set in the configuration file was not generated by OpenSSL. It was taken from the 3GPP document TS.33.501 in the section C.4.3 (Implementers’ test data).