[Simsec] Using SIMtester with OsmocomBB phone stuck at "Card connected"

Marc Peña Segarra segarrra at gmail.com
Mon Jun 12 13:41:40 CEST 2017


Hi all!

I'm trying to use SIMtester with an OsmocomBB compatible phone as a SIM
reader (as explained in the docs:
https://opensource.srlabs.de/projects/simtester/wiki), but I'm not getting
results.

I've got to compile luca/libosmosim branch, making this modification, as
the JDK path was hardcoded:

git checkout luca/libosmosim && \
sed -i
's/\/home\/gsmmap\/jdk1.7.0_45/\/usr\/lib\/jvm\/java-8-openjdk-amd64/g'
host/layer23/src/libosmosim/Makefile* && \
make

and everything seems to go smooth. I then upload the image to the phone:

cd /osmocom-bb/src/host/osmocon && \ ./osmocon -p /dev/ttyUSB0 -m c123xor
../../target/firmware/board/compal_e88/layer1.compalram.bin

Execute the application:

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/osmocom-bb/src/host/layer23/src/libosmosim/.libs/
&&
\
java -jar SIMTester.jar -tf OsmocomBB

And it seems that it detects the phone OK:

########################################
  SIMTester v1.8.1, 2016-02-04
  Lukas Kuzmiak (lukas at srlabs.de)
  Security Research Labs, Berlin, 2017
########################################

Using OsmocomBB mobile as SIM card reader
Terminals connected: 1
de.srlabs.simlib.osmocardprovider.OsmoCardTerminal at 5b2133b1

Using terminal: OsmoCardTerminal
Card connected: de.srlabs.simlib.osmocardprovider.OsmoCard at 33c7353a

But I can't get the application to do anything.

I've tried different options (*-qf*, *--verify-pin, **--scan-files, *etc.)
but I'm not getting any feedback. What am I doing wrong?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.srlabs.de/pipermail/simsec/attachments/20170612/128733e7/attachment.html>


More information about the Simsec mailing list