SIM OTA Secured-Packet Decoder
🔒 Runs in your browser
Decodes the packet structure (headers and security flags) only — it does not and cannot decrypt the payload; no keys are entered or needed.
Paste a command packet above to see its structure.
Packet header
| Packet length (CPL) | — |
| Header length (CHL) | — |
| Target application (TAR) | — |
| Anti-replay counter (CNTR) | — |
| Padding counter (PCNTR) | — |
| Secured-data length | — |
Security parameters (SPI)
| Ciphering | — |
| Integrity | — |
| Counter checking | — |
| Proof of Receipt (PoR) | — |
Keys
KIc — ciphering key
| Key-set | — |
| Algorithm | — |
KID — integrity key
| Key-set | — |
| Algorithm | — |
For lawful, educational and professional-testing use. Provided as is, without warranty.
What a SIM OTA secured packet is
SIM cards can be updated remotely by an operator using Over-The-Air (OTA) messages carried inside binary SMS. Those messages are wrapped in the secured-packet format defined by GSM 03.48 (3GPP TS 23.048, later ETSI TS 102 225). Each command packet starts with a fixed header that says how the update is protected — before any encrypted payload begins. This tool reads that header structure so a tester can see how a campaign was secured; it does not access the payload content and needs no keys.
The header fields
The header opens with two length fields, CPL (command packet length) and CHL (command header length), followed by the two-byte SPI (Security Parameter Indicator). The SPI bits state whether the payload is ciphered, which integrity mechanism is used (none, a redundancy check, a cryptographic checksum, or a digital signature), how the replay counter is checked, and whether a Proof of Receipt is requested. Next come KIc and KID — the key-set identifiers and algorithm family (DES/3DES or AES) for ciphering and for integrity — the three-byte TAR (the target applet on the card), a five-byte anti-replay counter, and a padding-counter byte. Only lengths are read for the secured data that follows.
Structure only — never the content
This is a read-only inspector for the security flags of an OTA campaign. It reports the SPI, KIc/KID, TAR, counter and lengths, and nothing more: no key material is entered, no cipher runs, and the protected payload is never read. Everything happens in your browser — nothing is uploaded. If a trace also carries subscriber identifiers, run it through the masker first.
Frequently asked questions
What does this show?
A SIM OTA secured packet (GSM 03.48 / TS 102 225) wraps an update in a header: the SPI security flags, the KIc/KID key-set identifiers and algorithm bits, the TAR (target applet), a replay counter and lengths. This tool decodes that header so you can see how a campaign was secured.
Can it decrypt the payload?
No — and it is not designed to. It decodes the packet structure and security flags only. No keys are entered, no ciphering or signature check is performed, and the encrypted payload is never touched. It is a debugging aid, not a decryptor.
Is it private?
Yes. Everything runs in your browser; nothing is uploaded. Combine it with the masker if a trace also contains subscriber identifiers.