SimProbe

SIM · USIM · eSIM · OTA

SIM, USIM and eSIM decoders

Free decoders for SIM identifiers and APDUs. A desktop SIM reader is in development. SIM, USIM, eSIM and OTA consulting is based on 20+ years of experience. The example below is an SMS OTA command packet. Select a field to see what it does.

Example: SMS OTA command packet · RFM · 3DES · PoR requested
  • lengths and headers
  • security parameters
  • ciphered with the KIc key

SPISecurity parameter indicator · 2 bytes

06: cryptographic checksum, ciphering on, no counter checking. 19: proof of receipt required, with a cryptographic checksum, ciphered, and returned in the SMS-DELIVER-REPORT.

TS 102 225 §5.1.1

Real bytes from the OTA test vectors in pySim (osmocom), made with the sample keys published there: SELECT MF sent to the card's RFM application. Not from a live card. Follow a packet like this one, step by step.

§1 decode

Decode an ICCID, IMSI, EID or activation code

Paste an ICCID, IMSI, EID or eSIM activation code. The decoder recognises it and labels its fields, with the Luhn, MOD 97-10 and BCD checks. Nothing you paste leaves the browser.

Identifier decoderruns in your browser
Try:

ICCID19 digits · check digit valid

Industry (MII)89Telecommunications
Country code55Brazil (E.164 country code)
Issuer + account01001283277342The issuer sets where one ends and the other starts
Check digit8Luhn (ISO/IEC 7812): valid
EF_ICCID (2FE2)985510002138723724F8As stored on the card: swapped-nibble BCD, F-padded
Open in the ICCID parser

§3 sim explorer

SIM Explorer, a desktop app

Reads SIM, USIM and eUICC cards through a PC/SC reader. It shows the file tree, decodes the standard files and logs each APDU. The demo on the right shows the card's answer to reset, which the app reads first. The app is in development and not available yet.

Free read and decode, no licence keyPro one-time purchase, price on enquiry

Cold reset
C1 VCC C2 RST C3 CLK C4 RFU C5 GND C6 SWP C7 I/O C8 RFU
  1. C5GND connected
  2. C1VCC applied
  3. C7I/O set to receive
  4. C3CLK started
  5. C2RST released
  6. I/OATR received
C7 I/O · direct convention12 etu per character
TS3BDirect convention: high is 1, least significant bit first.
T09FTA1 and TD1 follow; 15 historical bytes.
TA196Fi = 512, Di = 32, fmax 5 MHz.
TD180Protocol T=0; TD2 follows.
TD21FT=15 global interface bytes; TA3 follows.
TA3C7Clock stop supported, no preference; classes A, B and C (5 V, 3 V, 1.8 V).
Hist.80 … 00Category 80, compact-TLV: card service data E0, card capabilities FE 21 1B, pre-issuing data 3A 20 4E, status 00 90 00.
TCK93Check byte: T0 to TCK XOR to 00, so the ATR is intact.
SIM Explorer: what Free and Pro include
Planned featureFreePro
Read a card through any PC/SC reader; browse and decode the standard files ●yes ●yes
Known-file scan with a per-folder report; read-only report of one card ●yes ●yes
Verify PIN1; send APDUs by hand with a full log ●yes ●yes
List GlobalPlatform security domains, applets and packages ●yes ●yes
Write files; PIN management and ADM keys ·no ●yes
Full ID search and custom ID ranges ·no ●yes
XLSX export, full dump, compare two cards ·no ●yes
APDU scripts over many cards; load, install and delete CAP files ·no ●yes
eSIM profile tools; OTA packet compose and inspect; remote reader ·no ●yes

Ask about Pro pricing

§4 training

SIM / USIM development course

In development. Eight modules for telecom and embedded engineers, MVNO and IoT teams, and QA and perso staff, with labs on the tools on this site and a programmable test card. English and Portuguese.

Planned curriculum
  1. Foundations

  2. The card platform

  3. The UICC file system

  4. Authentication & security

  5. Provisioning & perso

  6. OTA & applets

  7. The eSIM transition

  8. Capstone

From module 6 · SMS-PP

An OTA update over SMS

A secured packet like the one above, from the OTA server to the card, and the proof of receipt back.

  1. OTA server→SMSCSMS-SUBMIT with the secured packet
  2. SMSC→handsetSMS-DELIVER, PID 7F, DCS F6
  3. handset→UICCENVELOPE (SMS-PP download)
  4. UICC→OTA serverproof of receipt, in the SMS-DELIVER-REPORT or an SMS-SUBMIT as specified by the SPI