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 2014-05-08 18:11:21

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

SETEC AMAG Format Parity

I've run across a SETEC format S-10401 originally from AMAG, but on an HID card and it uses HID's Preamble (HID buy them out?). 
here is what I know:

37 bit format
max card number is 536870911 (or 29 bits)
Site Code is referred to as FIXED or non-existent but it does exist (I'm guessing the length)
Parities, I'm guessing there are 2, one beginning and one trailing

SC = Site Code
CN = Card Number
P1 = ? Parity
P2 = ? Parity

SC        2, 3, 4, 5, 6, 7  (?)
CN        8 ,9 ,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36
P1(bit1)  ?
P2(bit37) ?

I'm working on getting samples I can upload, but don't have any yet.
Thoughts?

Offline

#2 2016-04-04 23:00:10

andrey40
Member
Registered: 2016-04-04
Posts: 5

Re: SETEC AMAG Format Parity

Hello I am also attempting to get these SETEC cards to work. I was able to get the following information.

Format length 37
Card first bit 8
Card last bit 36
Facility code first bit 0
Facility code last bit 0
Issue first bit 0
Issue last bit 0
Odd parity bit first bit 19
Odd parity bit last bit 36
Even parity bit first bit 2
Even parity bit last bit 36
Odd parity location 37
Even parity location 1

Even though the site code says 0 there should still be something because it is still in there. I know we use facility code 33, do you know what the first and last bit could be? What other information could I provide to help?

Offline

#3 2016-04-05 15:39:52

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: SETEC AMAG Format Parity

andrey40 wrote:

Even parity bit first bit 2
Even parity bit last bit 36
Even parity location 1

are you confident in this information?  i have indications the even parity is different.

maybe a full binary example of a valid tag would shed more light on this?

the odd parity you have match what my notes are, and the card number is the same. leaving the same window open for a FC or SC.

Last edited by marshmellow (2016-04-05 15:40:50)

Offline

#4 2016-04-05 17:37:48

andrey40
Member
Registered: 2016-04-04
Posts: 5

Re: SETEC AMAG Format Parity

hex: 001000F02F30

bit: 1000000000000111100000010111100110000

Offline

#5 2016-04-05 18:02:08

andrey40
Member
Registered: 2016-04-04
Posts: 5

Re: SETEC AMAG Format Parity

http://imgur.com/dsFqwID

^what would the facility code range? This is the SETEC format that I was sent from the AMAG software.

Offline

#6 2016-04-05 20:33:11

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: SETEC AMAG Format Parity

your binary doesn't fit the format.  the image file you linked to explains the format pretty well and actually confirms my theory/notes. 

instead of a FC or SC they use a "Start#" which can be up to 6 binary digits from digit 2 - 7, but in the image's case it starts at 3-7 and should contain a 9  (bit 2 appears unused)
the Even parity is 2 - 18 digits not 2 - 36.

the other parts you got right.

Offline

#7 2016-04-05 22:34:23

andrey40
Member
Registered: 2016-04-04
Posts: 5

Re: SETEC AMAG Format Parity

I really appreciate your help. Would you say I have everything filled out correctly based on this picture?:

http://imgur.com/XMJLj5n

Thanks

Offline

#8 2016-04-06 01:47:45

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: SETEC AMAG Format Parity

Looks correct.

Offline

#9 2016-04-06 01:53:40

andrey40
Member
Registered: 2016-04-04
Posts: 5

Re: SETEC AMAG Format Parity

I was able to get the cards to work! Thank you very much, I really appreciate it!

Offline

#10 2016-04-07 04:15:02

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: SETEC AMAG Format Parity

thank you for sharing some info!

Offline

Board footer

Powered by FluxBB