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-14 17:33:48

ericlam2728
Contributor
Registered: 2015-09-26
Posts: 34
Website

Awid Weigand to raw

Hello I have an AWID weigand code:

3f0913a59

Does anyone know what the raw value for it would be? or perhaps how to make a clone using that weigand code?

Offline

#2 2016-06-14 17:48:56

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Awid Weigand to raw

depends if you know which wiegand code size it is.  PM3 client can handle 26 and 50bit
You should be able to sim/clone it.

Offline

#3 2016-06-14 17:51:17

ericlam2728
Contributor
Registered: 2015-09-26
Posts: 34
Website

Re: Awid Weigand to raw

would you mind letting me know the commands to input?

i've cloned the key before but i only saved the weigand and not the raw key data

Last edited by ericlam2728 (2016-06-14 17:54:10)

Offline

#4 2016-06-14 17:51:36

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

Re: Awid Weigand to raw

the code is not a full raw AWID ID.  it was not read by the PM3.

Offline

#5 2016-06-14 17:55:07

ericlam2728
Contributor
Registered: 2015-09-26
Posts: 34
Website

Re: Awid Weigand to raw

marshmellow wrote:

the code is not a full raw AWID ID.  it was not read by the PM3.


it was read by the pm3 but it's the weigand part of the data. I didnt save the raw data for it

Offline

#6 2016-06-14 18:15:39

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

Re: Awid Weigand to raw

then how do we know it is ALL the weigand data.  what was the card format length value?

Offline

#7 2016-06-14 19:16:04

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Awid Weigand to raw

Its a guesswork,  but the  http://www.brivo.com/support/card-calculator/ gives 

26bits
Cardnumber : 40236
Facility Code : 72

Offline

#8 2016-06-14 20:37:35

carl55
Contributor
From: Arizona USA
Registered: 2010-07-04
Posts: 175

Re: Awid Weigand to raw

If that is a legitimate AWID reader output then it looks to me like it is a 40-bit credential.
If it is 40-bit then here is what my converter spit out for that wiegand code:

40-bit AWID Credential
Wiegand Code: 03f0913a59
Raw Data: 0124112ED18847B272111111
Blk0: 00107060
Blk1: 0124112E
Blk2: D18847B2
Blk3: 72111111

Offline

#9 2016-06-14 20:47:46

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Awid Weigand to raw

@carl55  I've added the awid 50 to my fork, but 40?   Can you tell how its built up, so I can added also?

Offline

#10 2016-06-14 22:36:09

carl55
Contributor
From: Arizona USA
Registered: 2010-07-04
Posts: 175

Re: Awid Weigand to raw

@iceman
Unfortunately I never had access to enough credentials to definitively determine the specifics of the 40-bit format.
As a result, I never drew up a diagram that showed how the bits were mapped.
However, if you look at the 26-bit example that is on page 2 of the following document you can extrapolate for the 40-bit format.
From the 40-bit credentials that I did  analyze, it appeared that they used a 12-bit facility code and a 26-bit card number plus two parity bits. If you look at the chart, just change the format field to 0x28 and then increase the size of the FC and CN fields by stealing bits from the "Reserved" bit field.
proxclone.com/pdfs/AWID_FSK_Format.pdf

Last edited by carl55 (2016-06-14 22:38:57)

Offline

#11 2016-06-14 23:25:00

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

Re: Awid Weigand to raw

Why 40 bit vs 36 bit?  Why add the leading zero?  The data provided is not complete.

Offline

#12 2016-06-15 00:28:47

carl55
Contributor
From: Arizona USA
Registered: 2010-07-04
Posts: 175

Re: Awid Weigand to raw

@marshmellow
You are right. I just assumed it was 40-bit since I have never seen a 36-bit AWID, even though they do exist.
I just assumed that the leading zero of the wiegand code was suppressed by whatever tool that he used to obtain it.
Probably the only way to tell is to look at the wiegand output from an AWID reader.

Offline

#13 2016-06-24 18:29:53

ericlam2728
Contributor
Registered: 2015-09-26
Posts: 34
Website

Re: Awid Weigand to raw

thank you for all your help guys!

Offline

Board footer

Powered by FluxBB