Create File APDU for GRCard SIM

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 https://lists.osmocom.org/hyperkitty/list/simtrace@lists.osmocom.org/.

Matt S sixonefourb at gmail.com
Mon Apr 22 19:27:54 UTC 2013


Hello,

I'm struggling to get the 'CREATE FILE' APDU to work on a GRCard SIM. I'm
using the cyberflex-shell in interactive mode to send apdu's. Even though I
verify ADM pin 5, and follow the format on the wiki (
http://openbsc.osmocom.org/trac/wiki/GrcardSIM), I still get the reponse
0x9804 from the cards. I must be missing a step?

Below is my failed session with a SIM, trying to create FID 0xabcd under
3f00/7f20. Any guidance is greatly appreciated.

ATR:          3b 99 18 00 11 88 22 33 44 55 66 77 60 (;....."3DUfw`)

(ISO 7816-4) > raw a0 20 00 05 08 44 44 44 44 44 44 44 44

--------------------------------------------------------------------------------

Beginning transaction 0

>> 0000:  a0 20 00 05 08 44 44 44 44 44 44 44 44            . ...DDDDDDDD

<< 0000:  90 00                                             ..

Ending transaction 0

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Beginning transaction 1

>> 0000:  a0 a4 00 00 02 3f 00                              .....?.

<< 0000:  9f 17                                             ..

Ending transaction 1

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Beginning transaction 2

>> 0000:  a0 a4 00 00 02 7f 20                              ......

<< 0000:  9f 17                                             ..

Ending transaction 2

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Beginning transaction 3

>> 0000:  80 cf 00 01 0a ab cd 01 31 01 00 00 00 00 ff      ........1......

<< 0000:  98 04                                             ..

Ending transaction 3

--------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/simtrace/attachments/20130422/91caf0cd/attachment.htm>


More information about the simtrace mailing list