Proxmark developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2017-09-01 05:50:27

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

CardInfo tool

CardInfo started as a simple tool for security alarm installers.
What was once a small collection handy tools is slowly becoming something more useful for Proxmark users.

If you have questions, feature requests or bug reports, please post them here.

MIFARE access conditions is half done. I'm lacking motivation to get it done.

I'm thinking of adding a Picopass page which will include things like CrC and Permutation.

Thoughts?


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#2 2017-09-01 06:47:13

Dmanufacturer
Contributor
Registered: 2017-08-15
Posts: 42

Re: CardInfo tool

Great page! Thanks mate, I'm going through it now and it's been helpful.

Last edited by Dmanufacturer (2017-09-01 07:23:48)

Offline

#3 2017-09-01 07:01:04

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

I'm not sure what it is you're expecting.
The results you get will vary depending on what hardware you use to read the card.
Unlike the reader, the Proxmark is showing you everything.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#4 2017-09-01 07:12:46

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

It an impressive tool of yours @0xFFFF !

I had some problems with it on ipad/safari but on firefix it works like a charm


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#5 2017-09-04 08:12:42

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

Thanks smile

Sorry I'm not much of an Apple person or web developer.
I doubt I'll find the time or motivation to fix the issues you experienced using Safari.
Without the help of someone with these skills it will probably stay that way.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#6 2017-09-04 10:24:28

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

nevermind, since it works great on Firefox and Chrome I don't see any reason for you to spend time on safari support.


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#7 2017-09-06 07:21:24

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

  • Added link to this thread at the bottom of all pages

  • Added copy & paste functionality to T55X7 block calculator.

  • Fixed copy on all pages.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#8 2017-09-06 07:41:50

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

nice!
Some more useability suggestions

  • your mifare classic accessbit tool could do use of the same copy/paste functionality.

  • a hover-text on the copy button?

  • mouse pointer when hover your card-formats list, to indicate they are clickable?


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#9 2017-09-06 07:58:49

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

  • your mifare classic accessbit tool could do use of the same copy/paste functionality.

    • Good idea. I'll add it to the list.

  • a hover-text on the copy button?

    • Didn't think it was necessary as you only need to click it unlike the paste operation.

  • mouse pointer when hover your card-formats list, to indicate they are clickable?

    • You need to click on the icon to the right to copy the data to the clipboard.

I've updated the mouse hover / cursor behavior but it will take a little while to update.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#10 2017-09-06 08:23:50

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

smile

The mouse-over is for the list of 69 available cardformats on main page,  I wasn't clear on that.  I clicked it for fun and a picture appeared.

regarding;
the click on a button to the left to copy the hex to clipboard,  its not obvious.  Suggestion move them to the right side instead.
just add copy hex as text,    and for paste,  paste hex, click on first cell blue HEX cell to paste hex from clipboard


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#11 2017-09-06 08:50:28

Dmanufacturer
Contributor
Registered: 2017-08-15
Posts: 42

Re: CardInfo tool

Happy to help code, what do you need done 0xFFFF?

Offline

#12 2017-09-07 02:52:01

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

iceman wrote:

The mouse-over is for the list of 69 available cardformats on main page,  I wasn't clear on that.  I clicked it for fun and a picture appeared.

Fun is guaranteed or your money back!
You can click on more than one to compare them side by side.
Pressing ESC will close any open windows.


iceman wrote:

the click on a button to the left to copy the hex to clipboard,  its not obvious.  Suggestion move them to the right side instead.
just add copy hex as text,    and for paste,  paste hex, click on first cell blue HEX cell to paste hex from clipboard

Sounds good. I'll make those changes soon.

Dmanufacturer wrote:

Happy to help code, what do you need done 0xFFFF?

Thanks for the offer!
I would need to put the project in to a public Github repo.
What do you think of the following?

  • Additional formats.

  • The MIFARE access conditions page needs to be finished.

  • Extra functionality to the T55x7 Block Calculator would be nice.

  • The addition of a Picopass page.

  • Obviously there is no support for multiple browsers or platforms (such as Safari and Apple). Its a nice to have but not something I'm interested in.

  • Bit shuffling page.

  • Encryption tools.

  • Anything that would assist a proxmark user.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#13 2017-09-12 05:15:21

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

  • Changes to copy & paste functionality per iceman's suggestion.

  • Added basic Mag Swipe page.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#14 2017-09-14 09:47:10

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

  • Added B-32 format (format specifics unconfirmed - Parity etc...)

  • Fixed parity calculation bug.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#15 2017-10-11 07:55:49

jean
Contributor
Registered: 2017-09-19
Posts: 3

Re: CardInfo tool

Hi,
I have a list of users extracted from intergi which does not match any of the formats available with CardInfo.
See bellow:
280000000000006F03338000
280000000000006F03358000
280000000000006F03370000
280000000000006F033B0000
280000000000006F03460000
280000000000006F03508000
280000000000006F03598000
280000000000006FDC9D0000

I was going to take bit 57 to 64 for my site code
and the next 16 bits for my card no.

Offline

#16 2017-10-11 09:16:14

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

Not enough information to work with.
Looks like the format has padding. Possibly 26 bit? SC 222, CN 16xx. Last card would fail parity though.
What can you tell us about the cards and readers?


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#17 2017-10-11 09:22:38

jean
Contributor
Registered: 2017-09-19
Posts: 3

Re: CardInfo tool

Cards are HID's H10301 with HID's prox reader. 6F was replaced manually...Which will mess up the parity bits.. sorry
I can share more examples in private (with different site code)

Last edited by jean (2017-10-11 09:28:10)

Offline

#18 2017-10-16 00:54:30

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

  • Added Inception page.

  • Fixed parity calculation for H10306.

  • Removed 34bit generic format.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#19 2017-10-16 09:04:04

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

Question,   what is the iclass 8byte csn encoding ?   I that what was just a serial number from factory.
the wiegand code inside block 6-9 ?


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#20 2017-10-16 09:12:03

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

That's right. The CSN is factory configured.
As far as I'm aware the CSN has never been stored in blocks 6-9. Some readers have been configured to transmit the CSN as Wiegand data which is why it is in the list.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#21 2017-10-16 09:19:45

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

...so they send CSN as wiegand fc/cn ..  that will be strange.  Are they locking the serial number to fit the FC..

As I've seen CSN and read about it, it must contain certain bytes  (0xf7,0xff,0x12,0xe0)  Does your calc take that in consideration?


冰人

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#22 2017-10-16 10:29:50

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

No f/c, c/n, or parity. Just the CSN as it is over weigand.

I can't recall if it checks the static bits. I'm pretty sure it does.
If not I can always change it so it is capable of doing so.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#23 2018-02-24 21:05:10

actionbias
Contributor
Registered: 2017-07-22
Posts: 16

Re: CardInfo tool

This tool is amazing! Thanks for this. Is there a way to obtain the Standard HID Prox key <ID> from just having the card number alone?

For e.g. I have this HID Prox Tag key fob and in the back of the fob is only printed the card number 766 and another string of numbers.

How would I obtain the <id>?

The ID for this HID Key fob I have is 20043c05fd

And to duplicate this key fob I would use:

>lf hid clone 20043c05fd

Only from scanning the key fob on the PM3 I would be able to obtain the facility code which is: 30.

proxmark3> lf sea u
NOTE: some demods output possible binary
  if it finds something that looks like a tag
False Positives ARE possible


Checking for known tags:

HID Prox TAG ID: 20043c05fd (766) - Format Len: 26bit - FC: 30 - Card: 766

Valid HID Prox ID Found!

If possible to obtain the ID with only the card number. Can you direct me on how I can utilize the card info tool to obtain that <ID>?

Last edited by actionbias (2018-02-24 21:05:46)

Offline

#24 2018-02-25 12:03:31

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

Thanks! I hope you find the tool useful and I'm happy to make changes to suit others needs.

The problem is with the particular format is that you will need to know the Card Number and Facility Code in order to produce the <ID>.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#25 2018-02-26 06:17:41

actionbias
Contributor
Registered: 2017-07-22
Posts: 16

Re: CardInfo tool

I've been playing around with all the drop down functions in the Generate Card section under Card Format and Output Format Encode. I couldn't figure out how to get the <id>.

Can you direct me on how I would obtain that key ID 20043c05fd?


cardinfotool

Last edited by actionbias (2018-02-26 22:48:35)

Offline

#26 2018-02-26 06:34:09

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

I have no idea what that URL is but I can't view it.

Perhaps I misunderstood the question. You said you would like to generate the HID Prox TAG ID for the given format using the card number only. This can not be done.
If you want to generate the HID Prox TAG ID using the facility code and card number, this can be done. I have been lazy but the change is pretty quick. I'll add it to the site if you think it will help.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#27 2018-02-26 07:07:21

iceman
Administrator
Registered: 2013-04-25
Posts: 4,849
Website

Re: CardInfo tool

@actionbias is confused with raw bytes needed to program a t5577 card and  the uid hex bytes from a hid26 card

basically, cardinfo tools doesn't get the raw hex you will use in pm3....


&#20912;&#20154;

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#28 2018-02-26 22:53:33

actionbias
Contributor
Registered: 2017-07-22
Posts: 16

Re: CardInfo tool

Can you see the image now?
For e.g. if I enter

Site Code: 30
Card Number start: 766
Card Number stop: 766

There is no way to obtain the ID or Hex 20043c05fd?

Offline

#29 2018-02-27 04:27:29

0xFFFF
Administrator
From: Vic - Australia
Registered: 2011-05-31
Posts: 554

Re: CardInfo tool

Ok. I can see your image and I know what you're up to now.
The feature is not available publicly but there is no reason why I can't make this available in the future.
Development work is required and as you might already know I'm pretty busy with the Kickstarter.


Want to contact me? Here's my email address...
modhex(ecijhhhhhhhhfchdhbidhniihghdduhehvhtduhbig)

Offline

#30 2018-02-27 20:42:36

actionbias
Contributor
Registered: 2017-07-22
Posts: 16

Re: CardInfo tool

Thanks for following-up 0xFFFF that kickstarter looks awesome.
Is there a way we can connect via email?

Offline

Board footer

Powered by FluxBB