Programming SIM card RAND?

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at

Kevin Redon ml at
Mon Nov 26 10:07:18 UTC 2012


you can read the IMSI in the EF_IMSI file on the SIM card.
tools (like softSIM and others) are available to read that out for you.
Ki is not readable on normal SIM cards. If it's a developer SIM, then you have to look in your SIMs manufacturer manual/specification.
If it's a MagicCard, GreenCard, or SysmoSIM, you should be able to overwrite them using


Excerpts from Andrew Back's message of Sat Nov 24 11:42:00 +0100 2012:
> On 12 November 2012 12:39, Dieter Spaar <spaar at> wrote:
> > I would expect that you need a SIM card which supports XOR for
> > A3/A8. This algorithm is the only one I have seen on nearly all
> > MS tests sets I have access to. Those test sets usually don't
> > support COMP128 and its variants (I guess your SIM card only supports
> > this algorithm), so you need a SIM card which uses the same algorithm
> > as the MS test set.
> I bought one of those generic test SIMs from eBay that claim to work
> with HP8922 etc. testers. Now this is probably another stupid
> question, but how do I determine the IMSI and Ki? Or maybe set them
> ( doesn't seem to work with it).
> Best,
> Andrew

More information about the baseband-devel mailing list