OTA packet inspector
Paste OTA hex to see every field of the command packet or its proof of receipt.
- Runs in your browser
- No sign-up
Input
Result
Paste an OTA packet, an ENVELOPE or a PoR, or pick an example.
OTA campaign failing without an error? IDNTEQ can help. OTA platform consulting
About this tool
What a secured packet is
An OTA server sends commands to a SIM inside an SMS. The SMS user data holds a command packet (ETSI TS 102 225 §5.1, in its SMS form from 3GPP TS 31.115): lengths, the SPI (which security is applied), KIc and KID (which keys and algorithms), the TAR (which application on the card), a counter, padding, an RC, CC or DS, and the secured data, typically RFM or RAM commands. The card can answer with a proof of receipt (PoR).
How to read the result
Each line becomes a tree, from the ENVELOPE down to each command. Green values were checked (a matching RC), red ones break the spec, and amber notes flag settings that make a card ignore the packet, such as a TP-PID other than 7F.
Specifications
- ETSI TS 102 225 (secured packets)
- 3GPP TS 31.115 (secured packets over SMS)
- ETSI TS 102 226 (remote APDU: RFM / RAM)
Runs entirely in your browser: nothing you paste (ICCID, IMSI, EID, APDUs or keys) is uploaded. Built and maintained by IDNTEQ.
Further reading
- Debugging SIM OTA failures in SMS-PP and PoR
- SIM OTA walkthrough: every byte of an SMS-PP and SCP81 update
FAQ
- What can I paste?
- An ENVELOPE (SMS-PP DOWNLOAD), an SMS TPDU, SMS user data (02 70 00 for a command, 02 71 00 for a PoR), a bare command or response packet, or RFM/RAM strings. One item per line; a PoR after its command is read with that command's settings.
- Why doesn't it ask for KIc and KID?
- It reads structure only. Ciphered data stays ciphered and a cryptographic checksum is shown but not verified. A redundancy check (CRC-32) needs no key, so it is checked. Never paste production keys into any web tool.
- What does the TAR tell me?
- The Toolkit Application Reference picks the application on the card that runs the commands: RFM for files (ETSI TS 102 226, TS 31.116) or RAM for applets. The inspector names the standard TAR ranges and says when the commands do not fit the TAR.