Cloning and Emulating an eSIM Module

Hello, I’m trying to figure out to what extent it’s possible to read all the values inside an eSIM modem module, and whether it’s possible to emulate those values, since replacing the certificates won’t work due to the signatures. Consequently, to avoid having to use an expensive device for Wi-Fi distribution every time, I’d like to buy inexpensive devices with eSIMs, copy the values from the internal module, and create a substitute in the main modem module.

I apologize if this topic has already been discussed, and I’d appreciate a link if that’s the case.

What you are attempting to do is the reason the SIM (or eSIM/eUICC) exists at all: It exists to prevent cloning. So unless you come up with a magical exploit that circumvents the entire security architecture of the GSMA eSIM universe, it won’t be possible.

The best you can do (not sure if it wokrs for your use case) is to forward card communication to a remote/central location using something like osmo-remsim or the like. This requires of course that there is already some kind of data connectivity (e.g. a satellite link or wired internet) through whihc you can transport the SIM communication for your cellular modem.

The thing is, I’m looking into more anonymous ways to use the internet, and I’m curious to see how far you can take it. SIM cards are purchased using passport information, while eSIMs can already be bought with cryptocurrency—but the EID in the certificate can’t be changed at all. So does that mean the only option right now is to keep buying new modems all the time?

  • the EID is not in the eSIM profile, but the serial number of the eUICC

I think in terms of anonymity, the best approach is to:

  • use a new eUICC for each eSIM profile you use (separate EID each time you download an eSIM profile)
  • use a modem where you can modify the IMEI, simultaneously to when you swap the eUICC.

Thank you very much for the clarification and the helpful advice. Basically, I was trying to find out to what extent it’s possible to switch eUICCs when using a single modem. But as I understand it, the eUICC is embedded on the chip and protected, so I’ll have to use a new modem with an eUICC for each eSIM—did I understand you correctly?

I was assuming you would use an eUICC in a plastic card form factor like the sysmoEUICC1-C2G. This way you can swap it whenever you like.

Thank you so much for your help. I’m just trying to get the hang of this, so I apologize if my questions seemed too basic to you. Thank you again.