Proxmark3 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.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2016-06-08 09:37:24

karthick5206
Member
Registered: 2016-06-08
Posts: 4

How to get Site Code and Card Number From 32 bit binary data?

How to get Site Code and Card Number From 32 bit binary data?

I have following data :-

FF403A63 - 11111111010000000011101001100011
B3E59951 - 10110011111001011001100101010001

Offline

#2 2016-06-09 00:10:51

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

Re: How to get Site Code and Card Number From 32 bit binary data?

More information is required.
Are you sure you're not reading the CSN?

Offline

#3 2016-06-09 06:44:37

karthick5206
Member
Registered: 2016-06-08
Posts: 4

Re: How to get Site Code and Card Number From 32 bit binary data?

Hi Admin,
I am reading HID Corporate 35 bit RFID card.
I am getting in Terminal following values.
FF403A63 - 11111111010000000011101001100011
B3E59951 - 10110011111001011001100101010001

Actaul card values are 4090 0007473,1439 0183464

I want to know how its derived from terminal values.

Offline

#4 2016-06-09 09:34:29

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

Re: How to get Site Code and Card Number From 32 bit binary data?

What you've got there is PACS data.
You're missing the first 3 bits.

4090 0007473
FF403A63 - 11111111010000000011101001100011 
        01111111111010000000011101001100011
1439 0183464
B3E59951 - 10110011111001011001100101010001
        00010110011111001011001100101010001
karthick5206 wrote:

I want to know how its derived from terminal values.

I have no idea what you are talking about here (What is a terminal?). Are you referring to access control equipment?

Offline

#5 2016-06-09 11:28:59

karthick5206
Member
Registered: 2016-06-08
Posts: 4

Re: How to get Site Code and Card Number From 32 bit binary data?

Hi,
We are using Prox HID reader and its connected with GPS Device(Cello F Pointer).After swiping RFID card i got those values in GPS data.I am not getting first 3 bits.I have to find those 3 bits.How did you add 3 digits before the binary data?Can you explain to me?

Offline

#6 2016-06-09 12:59:10

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

Re: How to get Site Code and Card Number From 32 bit binary data?

Information on the format is located here.

Offline

#7 2016-06-10 08:58:31

karthick5206
Member
Registered: 2016-06-08
Posts: 4

Re: How to get Site Code and Card Number From 32 bit binary data?

I have only 32 bits . Should add three 0's before, then calculate Even and Two Odd parity values based on above Url?

Offline

#8 2016-06-10 10:01:37

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: How to get Site Code and Card Number From 32 bit binary data?

if you search on the forum for HID Corporate 1000 there are loads of links.

As 0xFFFF explained and also calculated for you, you should look in
here
and perhaps also here if you really want to understand more.
sticky thread

The forwards way, you read the FC and CN from the card how to get to the hex UID? Basically it looks like this
see the formula OP3+    EP1    +FC (8bits) +CN (24bits)+    OP2
Converse your FC and CN from DEC to Bin and line them up, then you would see "nearly" FF403A6 or B3E5995 (missing the OPx/EPs)

The reverse way means you have the HEX UID, how to turn it in to CN or FC? Just take logically
OP3+    EP1    +FC (8bits) +CN (24bits)+    OP2
drop the OP2, count back so much bits, converse the bits from bin to DEC then you should have your CN,
(With FC it depends on cards you should be more careful, to calculate it in the reverse way. but there are less combinations for FC, have one card read you may have the rest)

PS: you should dig out the the basic document to understand the forward/reverse way of understanding your HID. google pdf  HID 26 bits wiegand.

Last edited by ntk (2016-06-10 10:08:37)

Offline

Board footer

Powered by FluxBB