OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] Can ATR be used for identification?

From: Michael Bender (Michael.Bendersun.com)
Date: Sat Sep 12 2009 - 18:33:31 CDT


On Sep 12, 2009, at 3:11 AM, Sihan Goi wrote:

> On Sat, Sep 12, 2009 at 2:43 AM, Michael StJohns
> <mstjohnscomcast.net> wrote:
>> At 01:50 PM 9/11/2009, Nagy Gabor wrote:
>>
>> 2009. 09. 11, péntek keltezéssel 13.37-kor Michael StJohns ezt Ã
>> rta:
>>> The answer is "it depends" - on the actual type of card and how it
>>> was
>>> initialized. If its a global platform ( www.globalplatform.com)
>>> card for
>>> example, you might be able to retrieve the card personalization
>>> data using a
>>> specific Get Data call.
>>>
>>> If you post the ATR for your card here, chances are someone can help
>>> remove the "black" from the "black box"
>>>
>>> Mike
>>
>> "3B 2A 00 80 65 A2 01 01 01 40 72 D6 43"
>>
>>
>> Gemplus MPCOS EMV 4 Byte sectors: 3B 2A 00 80 65 A2 01 xx xx xx 72
>> D6 43
>>
>> Try www.emvco.com
>> for the related standards.
>>
> That looks like a really old card. I've worked with these before, and
> believe they are native cards, so look for their
> specifications/manual/datasheet. I don't have it with me right now so
> I'm not sure if there's any way of obtaining a unique serial number
> out of them.

My Sun Ray GEMPLUS-MPCOS.cfg smartcard config file does this to extract
a unique ID fro this family of cards:

# The GEMPLUS MPCOS card has a 12-byte card-unique ID stored in
# a file in the card filesystem. This ID is used as the token ID
# for the SunRay. To access this ID, perform the following:
#
# 1. Do a SELECT FILE on the MF (0x3f00)
# 2. Do a SELECT FILE on the DF 0x0100
# 3. Do a SELECT FILE on the EF 0x0101
# 4. Do a READ BINARY and expect 12 bytes back. These 12
# bytes are the card-unique ID.

You could try that.

mike

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle