GrcardSIM2 » History » Version 2

« Previous - Version 2/3 (diff) - Next » - Current version
tsaitgaist, 02/19/2016 10:48 PM

GRcard SIM 2

The GRcard SIM version 2 is a programmable GSM SIM card.
They are used by sysmocom for the sysmoSIM-GR2.
These are different from the previous sysmoSIM-GR1

There is limited card programming support in ​



h2. Command reference

To understand this reference, it is assumed that you are familiar with basic knowledge on smartcard
technologies, such as standard ISO 7816-3/-4 APDUs and ETSI TS 51.011 (previously GSM TS 11.11).

h3. Writing files

Files (ICCID, IMSI, …) can be written using the standard SIM commands (UPDATE BINARY/RECORD).

Security: ADM

h3. Set PIN


* P2: CHV number, as in VERIFY CHV for PIN (01 for PIN1, 02 for PIN2, 05 for ADM, 0b for SUPER ADM), and as in UNBLOCK CHV for PUK (00 for PUK1, 02 for PUK2)
* PIN: 8 byte PIN/PUK, encoded as in VERIFY CHV

Security: ADM

h3. Ki & algo

Ki & the A3A8 algorithm are store in the transparent file EF.WEKI (id 0001) under DF.GSM (id 7F20)


* ALGO is the A3A8 algorithm used:
* Ki: 16 byte secret key

Security: SUPER ADM
Add picture from clipboard (Maximum size: 48.8 MB)