Closed dc540 closed 2 years ago
Welcome! Do you have 34-bit HID fobs? Dumps of this format would help me a lot, I need as many of them as you can take.
What does a dump look like and how is it generated? Most of what I've done with HIDs are simple reads and clones.
Just an answer from proxmark's lf search
.
Based on another thread on Reddit there was a good comment linking to an article describing 125khz formats with different bit lengths in addition to 26 and 34. As that poster suggests, maybe another interim solution is to try to implement a raw read/playback feature if that's easier than handling all the different formats. https://www.reddit.com/r/flipperzero/comments/tc7eoy/comment/i0p07uv/
Do you have an email where I could send you sample data privately?
@zzhang1 implement a raw read/playback feature
I don't think this will be an adequate working solution. LF data is very noisy, and besides, it is a continuous stream of data, and many readers rely on this fact. We do not know where the beginning or where the end is, and we do not even know the length of the data.
Also, if you want to write key to fob, you need deconstructed data.
But in any case, it needs to be researched.
Here are two innocuous samples.
HID Prox TAG ID: 2401c1768e (47943) - Format Len: 34bit - FC: 224 - Card: 47943
HID Prox TAG ID: 2401c1778e (48071) - Format Len: 34bit - FC: 224 - Card: 48071
@dc540 i need full log, with raw data. Something like this:
[usb] pm3 --> lf search
[=] NOTE: some demods output possible binary
[=] if it finds something that looks like a tag
[=] False Positives ARE possible
[=]
[=] Checking for known tags...
[=]
[+] [H10306] - HID H10306 34-bit; FC: 4660 CN: 22136 parity: valid
[+] [N10002] - HID N10002 34-bit; FC: 52 CN: 22136
[+] [Optus34] - Indala Optus 34-bit; FC: 1656 CN: 4660
[+] [Smartpass] - Cardkey Smartpass 34-bit; FC: 582 CN: 22136 Issue 4
[+] [BQT] - BQT 34-bit; FC: 18 CN: 3430008 parity: valid
[=] raw: 00000000000000262468acf1
[+] Valid HID Prox ID found!
Interesting. Your question sent me on an interesting journey.
iceman's firmware does not include the raw data in output of lf search, just the data I provided. So I thought, well, maybe the official firmware does. But when I flashed to the official firmware and ran its corresponding client, lf search reports the following:
Checking for known tags:
HID Prox TAG ID: 2401c1778e
Invalid or unsupported tag length.
Valid HID Prox ID Found!
Valid T55xx Chip Found Try lf t55xx ... commands
Even on the 26-bit card that is recognized better, the official firmware is not reporting anything beyond what I provided using lf search. No raw data, no specific tag sub-type info, nothing.
Is there a firmware you recommend?
in any case you should be able to clone a HID tag using that ID and test on that.
@dc540 Unfortunately proxmark sometimes ignores important data, so raw data from the card would be very helpful to me. Please try:
lf hid reader
lf hid demod
Sorry, I'm still not sure I'm using the same proxmark firmware that you're used to. Neither the official firmware nor the iceman fork are reporting what you seem to be expecting.
Official firmware using the above commands (after changing "lf hid reader" to "lf hid read") still reports "unsupported tag length"
While iceman's latest reports slightly better, it still does not include raw data anywhere in the output:
pm3 --> lf hid read
HID Prox TAG ID: 2401c1778e (48071) - Format Len: 34bit - FC: 224 - Card: 48071
pm3 --> lf hid demod
HID Prox TAG ID: 2401c1778e (48071) - Format Len: 34bit - FC: 224 - Card: 48071
If there's a firmware and client that reports more, I'm happy to use it, I just need to be pointed to it.
I was able to confirm something, though -- the official firmware includes the encode functionality which confirms the tag ID based on the facility code, card ID and suspected format (N10002).
proxmark3> lf hid encode N10002 f 96 c 48071 HID Prox TAG ID: 2400c1778e
Iceman's fork does not seem to include that functionality.
I use the firmware from https://github.com/RfidResearchGroup/proxmark3.git, it seems to be the most alive.
Now we're cooking with gas. Hope this helps. This is a known-good tag.
[usb] pm3 --> lf hid read [+] [H10306 ] HID H10306 34-bit FC: 96 CN: 47935 parity ( fail ) [+] [N10002 ] Honeywell/Northern N10002 34-bit FC: 96 CN: 47935 parity ( fail ) [+] [Optus34 ] Indala Optus 34-bit FC: 831 CN: 96 [+] [SMP34 ] Cardkey Smartpass 34-bit FC: 12 CN: 47935 Issue: 0 [+] [BQT34 ] BQT 34-bit FC: 0 CN: 6339391 parity ( fail ) [=] found 5 matching formats [+] DemodBuffer: [+] 1D5559655555A5566A696AA9
[=] raw: 000000000000002400c1767e [usb] pm3 -->
here is another one that i just pulled, a valuprox hid card.
[+] [H10302 ] HID H10302 37-bit huge ID CN: 11850046624 parity ( ok ) [+] [H10304 ] HID H10304 37-bit FC: 22602 CN: 89248 parity ( ok ) [+] [P10004 ] HID P10004 37-bit PCSC FC: 2825 CN: 71114 [+] [MDI37 ] PointGuard MDI 37-bit FC: 6 CN: 38886560 parity ( ok )
[+] DemodBuffer: [+] 1D555566956599599A966555
[=] raw: 000000000000000584a2b940
Ooooo, this feels so close! Thanks for the research @dc540 and @drewbeer , and thanks for coding @skotopes !!! ❤ 😎🗝
Check latest release.
From my post on Reddit https://www.reddit.com/r/flipperzero/comments/tf312l/fun_new_toy_time_rfid_questions/i0up2vt/?context=3
Some HID formats on LF tags are detected, others are not.
Detected: 26bit HID Prox Not detected: 34bit HID Prox
If there's more info you need, I have a proxmark3 RDV4 with latest iceman firmware. I may have additional tags I can test, and/or I may be able to program tags other LF formats if that helps.