[Simsec] SIMtester error message when trying to test eplus SIM Cards

Haaser mail at haaser-it.com
Fri Jan 24 09:53:44 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I'm getting the following error output when trying to test some eplus /
blau.de SIM cards.

For the output with -d (debug) option, look at the end of this mail.

I did not try with strace yet.

Any hint for solving this would be appreciated.

Thanks in advance.
Haaser


$ java -jar SIMTester.jar -vp <censored-pin> -tf OsmocomBB -gsmmap

########################################
  SIMTester v1.5, 2014-01-03
  Lukas Kuzmiak (lukas at srlabs.de)      
  Security Research Labs, Berlin, 2013
########################################

Using OsmocomBB mobile as SIM card reader
Terminals: [de.srlabs.simlib.osmocardprovider.OsmoCardTerminal at 6fc21535]
Using terminal: OsmoCardTerminal
Card connected: de.srlabs.simlib.osmocardprovider.OsmoCard at 5d325877
Verifying PIN1/CHV1..

ATR: E79F95801F478031E073362113574A330E10314100B4
Exception in thread "main" javax.smartcardio.CardException: There was a
problem while doing automatic Terminal Profile; Unidentifiable response
was: 6060
    at
de.srlabs.simlib.AutoTerminalProfile.handleResponse(AutoTerminalProfile.java:45)
    at
de.srlabs.simlib.AutoTerminalProfile.autoTerminalProfile(AutoTerminalProfile.java:31)
    at de.srlabs.simtester.Main.readBasicInfo(Main.java:146)
    at de.srlabs.simtester.Main.main(Main.java:133)

Graceful shutdown initiated. Trying to close all open channels. Please
wait... !



WITH DEBUG OPTION:

$ java -jar SIMTester.jar -vp <censored-pin> -tf OsmocomBB -gsmmap

########################################
  SIMTester v1.5, 2014-01-03
  Lukas Kuzmiak (lukas at srlabs.de)      
  Security Research Labs, Berlin, 2013
########################################

Using OsmocomBB mobile as SIM card reader
Terminals: [de.srlabs.simlib.osmocardprovider.OsmoCardTerminal at 6fc21535]
Using terminal: OsmoCardTerminal
Card connected: de.srlabs.simlib.osmocardprovider.OsmoCard at 5d325877
Verifying PIN1/CHV1..

ATR: E79F95801F478031E073362113574A330E10314100B4
Exception in thread "main" javax.smartcardio.CardException: There was a
problem while doing automatic Terminal Profile; Unidentifiable response
was: 6060
    at
de.srlabs.simlib.AutoTerminalProfile.handleResponse(AutoTerminalProfile.java:45)
    at
de.srlabs.simlib.AutoTerminalProfile.autoTerminalProfile(AutoTerminalProfile.java:31)
    at de.srlabs.simtester.Main.readBasicInfo(Main.java:146)
    at de.srlabs.simtester.Main.main(Main.java:133)

Graceful shutdown initiated. Trying to close all open channels. Please
wait... !
$ java -jar SIMTester.jar -vp <censored-pin>-d -tf OsmocomBB -gsmmap

########################################
  SIMTester v1.5, 2014-01-03
  Lukas Kuzmiak (lukas at srlabs.de)      
  Security Research Labs, Berlin, 2013
########################################

Using OsmocomBB mobile as SIM card reader
Terminals: [de.srlabs.simlib.osmocardprovider.OsmoCardTerminal at 6fc21535]
Using terminal: OsmoCardTerminal
<000c> ../common/l1l2_interface.c:162 Sending: '18 00 00 00 '
<000c> ../common/l1ctl.c:717 SIM ATR (len=22) : e7 9f 95 80 1f 47 80 31
e0 73 36 21 13 57 4a 33 0e 10 31 41 00 b4
<000f> libosmosim.c:82 SIM ATR (len=22) : e7 9f 95 80 1f 47 80 31 e0 73
36 21 13 57 4a 33 0e 10 31 41 00 b4
Card connected: de.srlabs.simlib.osmocardprovider.OsmoCard at 5d325877
Verifying PIN1/CHV1..

[de.srlabs.simlib.Auth, verifyCHV] verifyCHV: Verifying PIN/CHV; offset
= 1; key/pin = <censored-pin>
<000f> libosmosim.c:219 sending APDU (class 0xffffffa0, ins 0x20)
<000c> ../common/l1l2_interface.c:162 Sending: '16 00 00 00 a0 20 00 01
08 35 37 32 31 ff ff ff ff '
<000c> ../common/l1ctl.c:701 SIM 90 00
<000f> libosmosim.c:103 received APDU (len=2 sw1=0x90 sw2=0x00)
[de.srlabs.simlib.Auth, verifyCHV] verifyCHV: verification successful

ATR: E79F95801F478031E073362113574A330E10314100B4

[de.srlabs.simlib.AutoTerminalProfile, autoTerminalProfile] Starting
automatic Terminal Profile initialization

[de.srlabs.simlib.AutoTerminalProfile, autoTerminalProfile] Sending
TERMINAL PROFILE APDU: A010000011FF9FFFFFFF0F1FFF7F0300002008200000

<000f> libosmosim.c:219 sending APDU (class 0xffffffa0, ins 0x10)
<000c> ../common/l1l2_interface.c:162 Sending: '16 00 00 00 a0 10 00 00
11 ff 9f ff ff ff 0f 1f ff 7f 03 00 00 20 08 20 00 00 '
<000c> ../common/l1ctl.c:701 SIM 60 60
<000f> libosmosim.c:103 received APDU (len=2 sw1=0x60 sw2=0x60)
Exception in thread "main" javax.smartcardio.CardException: There was a
problem while doing automatic Terminal Profile; Unidentifiable response
was: 6060
    at
de.srlabs.simlib.AutoTerminalProfile.handleResponse(AutoTerminalProfile.java:45)
    at
de.srlabs.simlib.AutoTerminalProfile.autoTerminalProfile(AutoTerminalProfile.java:31)
    at de.srlabs.simtester.Main.readBasicInfo(Main.java:146)
    at de.srlabs.simtester.Main.main(Main.java:133)

Graceful shutdown initiated. Trying to close all open channels. Please
wait... !
<000c> ../common/l1l2_interface.c:162 Sending: '19 00 00 00 '


- -- 
Haaser
Haaser-IT.com
IT-Dienstleister
- ------------------------------------
http://www.haaser-it.com
- ------------------------------------
Unser Spezialgebiet:
Systemintegration

Bitte verwenden Sie PGP/GPG Verschlüsselung bei Emails, um die
Privatsphäre zu schützen.

Anleitungen hierzu finden Sie unter http://www.haaser-it.com

Gerne helfen wir Ihnen beim Einrichten der Email-Verschlüsselung.

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)

mQGiBEzifwURBAChZLl+aeYKp0U5m/zHdxtN5K7bDqIETCyvfHJeZupyMxxks7w+
994WsKXa7tJHS9vvRLqnywH4bKgFUeKXilXkLAgBDg/lsuOPOyfLdVFha9gmyNsg
9FaUdGw2hbDq3HwZpMu2+Mllh8fgVCnAgDXa4zMKz8h5j9L++hMXO3OoOwCg+tQS
dQNzlkxkk10B6mwUODdQVd0D/0qP0pNmssNmiIzPomZYC167uWn0cUuIxJp5T5lI
AF6keMZUJMAJqh7rm34a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RtmD
0dPTMzesxVF+xYKVh5xtZpbksypVXeEvG4ZgeXiDVv3g3sOvBt540gvew9LSWjjB
u9LAew8k8bAn7o2Elm7cCeJd2Lz2yYvVaet+iEkEGBECAAkFAkzifwUCGwwACgkQ
LZI0cYP+HdBBvACePL7YSoBMIs3pvFs5VkZZIrP+NWwAnRtDwO2e3KQ6IlSXHfY5
LA02Bj0n
=D1h/
- -----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLiKhEACgkQLZI0cYP+HdDT2gCgpz4e7X6GYJ+HlPRNZ3nQ9REO
3MUAoM5OFYjtFWZp9uGR9Ktb1IHcEa+a
=JS42
-----END PGP SIGNATURE-----



More information about the Simsec mailing list