Season Interface logger

okelarus

Registered
Messages
2
Hi to all,
I want to log apdu sent and received by season interface in order to debug an application. Below i attached a picture of interface i'm using to sniff trafic between card and laptop. What software can i use to do this ? also c++ code would be useful if anyone have.
What i tried so far:
i tested all programs from duwgati site but these are for tv, i'm only interested for debugging purpose, i don't want to watch tv for free :D .. i also tried to monitor the serial port through a kernel driver i made but i don't get any apdu, hope someone can help
hqGx9Ts.jpg
 

Rickk

Registered
Messages
2,375
you do not need the season
this can be done with apduscanner, but be careful that can block your card
interesting tools are also java smartcard explorer, scard terminal, cint smartcard project

good luck
 

okelarus

Registered
Messages
2
Hi Rickk,
thanks for replying.
Well, i can exchange apdu between card and reader but the season interface has external serial port attached to sniff conversation between card and reader. I'm looking to intercept these apdu to debug the software.
I tried Docklight software but i receive invalid data. For example:
Card <-> Reader
Send: 00 A4 04 00 07 A0 00 00 00 04 05 06 07
Recv: A0 00 00 00 04 05 06 07 90 00

but the Docklight intercept this
00 D4 84 00 87 D4 50 00 00 00 03 90 80 B1 9A 00 60 00 00 9A 60...
 

Rickk

Registered
Messages
2,375
i do not know docklight,
i have looked at it and do not believe it is to use it
here the data streams of rs232 are evaluated and not the communication between card and reader

Card <-> Reader
Send: 00 A4 04 00 07 A0 00 00 00 04 05 06 07
Recv: A0 00 00 00 04 05 06 07 90 00
results with docklight??
then apdu ok "00 A4 04 00 07"
00 cla standard class
A4 ins select file
04 p1 selection of a file with an fid contained in data
00 p2 no data return
07 lc length of data is 7 bytes
aid is faulty
A0 00 00 00 04 = rid; pix = missing
pix is incomplete although sequence return code 9000 was sent and that means valid fid's were found
 

TGILITO

Registered
Messages
73
Said hxxps://docklight.de/
Docklight is a testing, analysis and simulation tool for serial communication protocols
Sniff rs232 why?
Manual
Testing a Serial Device or a Protocol Implementation and see Logging and Analyzing a Test

Perhaps only dont have correct comunication.
Change its.
Good look
73+51
 
Last edited:

leandrotsampa

Registered
Messages
20
Hi friend, you solve your problem with wrong log data in rs232?

Hi to all,
I want to log apdu sent and received by season interface in order to debug an application. Below i attached a picture of interface i'm using to sniff trafic between card and laptop. What software can i use to do this ? also c++ code would be useful if anyone have.
What i tried so far:
i tested all programs from duwgati site but these are for tv, i'm only interested for debugging purpose, i don't want to watch tv for free :D .. i also tried to monitor the serial port through a kernel driver i made but i don't get any apdu, hope someone can help
hqGx9Ts.jpg
 
Top