Dear all,
I'am new in this mailing list.
I'am a PhD. student at the University Rovira i Virgili studying smart cards (SC). I would like to log transmitted apdus between reader and SC (like credit card, ID card, sim, etc).
I've recently bought a cheap sniffer (season interface) but I have problems with it, I lose data sniffing any smart card type (iso-7816).
I'm asking if your device (v1.1) is valid for this purpose. Note that v2 would be compatible with credit card sized smart cards (ID-1 and ID-000 smart card slots (with presence detection): so to be able to also sniff credit card sized smart cards).
However, I've read too that v1.1 is capable to read smart card with both modes (T=0 and T=1) with proper accessories (http://shop.sysmocom.de/products/fullsize-sim-fpc and http://shop.sysmocom.de/products/sim-adapter).
It is possible? With this device, I will log any smart card type?
Roger Jardí
Personal de Suport a la Recerca
Grup de recerca CRISES
Departament d'Enginyeria Informàtica i Matemàtiques
Universitat Rovira i Virgili
Despatx 132
Av. Països Catalans 26
43007 TARRAGONA
Tel. +34 977 55 82 70
actually the error is 98 62 which is invalid mac.
i have checked tha apdu and it is correct (as the 31.102 describes).
the MAC as i read is produced y the f1.
MAC = f1_K (SQN || RAND || AMF)
i think that the SQN i import is the problem then
On 11/19/2012 01:00 PM, simtrace-request(a)lists.osmocom.org wrote:
> Send simtrace mailing list submissions to
> simtrace(a)lists.osmocom.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.osmocom.org/mailman/listinfo/simtrace
> or, via email, send a message with subject or body 'help' to
> simtrace-request(a)lists.osmocom.org
>
> You can reach the person managing the list at
> simtrace-owner(a)lists.osmocom.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of simtrace digest..."
>
>
> Today's Topics:
>
> 1. Re: osmo-sim-auth (Harald Welte)
> 2. Re: osmo-sim-auth (Stefanos Malliaros)
> 3. Re: osmo-sim-auth (benoit michau)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 18 Nov 2012 12:08:33 +0100
> From: Harald Welte <laforge(a)gnumonks.org>
> To: Stefanos Malliaros <stefmalli89(a)gmail.com>
> Cc: simtrace(a)lists.osmocom.org
> Subject: Re: osmo-sim-auth
> Message-ID: <20121118110832.GP8595(a)prithivi.gnumonks.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, Nov 16, 2012 at 01:08:18PM +0200, Stefanos Malliaros wrote:
>> /and i get as response the number 152 which in hex is 98.
> 98xx is a security related parameter. Did you make sure to disable the
> PIN? osmo-sim-auth does not support cards with active PIN.
>
Good evening.
I would like to ask some questions about osmo-sim-auth.
First of all i have installed it and i am capable of doing 2g
authentications with the parameters -r -s
However i face some problems with the 3g authentication. I have checked
my cards through windows and they are usim.
When i run the command
/./osmo-sim-auth.py -r 00000000000000000000000000000000 -a
ec9320c2c2120000c8b7de2a3449f1bd
/i get as response the following/
Traceback (most recent call last):
File "./osmo-sim-auth.py", line 114, in <module>
handle_usim(options, rand_bin, autn_bin)
File "./osmo-sim-auth.py", line 44, in handle_usim
if len(ret) == 1:
TypeError: object of type 'NoneType' has no len()
/I tried to find where the problem is and i have found that the problem
is possibly in the if statement in file USIM.py in line 296
( /if self.coms()[2][0] in (0x9F, 0x61):/)
i put before that line the following to see the value that is compared
in the if
/print self.coms()[2][0]
/and i get as response the number 152 which in hex is 98.
I also put a print 'aaaa' below the if statement to see if the print
will be executed.
Unfortunately the i didn't see the 'aaaa' message on the screen.
Do you know what should i do or where to search to fix this problem?
Thanks.
Hello,
I am interested in modifying the firmware of the simtrace device to
perform modifications on the data sent back to the phone. Is there any
documentation on how this can be done? I could not find any on the
website. I looked at the source a little bit but I am hoping someone
here can give me a jump-start on the best way to do this.
Thanks,
Sam W.