Closed PercyJax closed 3 years ago
Is that on latest master? (compiled / flashed) ?
This is last tested on a compiled and flashed commit c45331e1e2ee2411b4158bfb40590c51ec01b6a3
percy@Voyager:~/proxmark3$ cat Makefile.platform
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
# Run 'make PLATFORM=' to get an exhaustive list of possible parameters for this file.
#PLATFORM=PM3RDV4
PLATFORM=PM3GENERIC
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
#PLATFORM_EXTRAS=BTADDON
STANDALONE=LF_SAMYRUN
Also tested on the nightly binary and had similar issue
Client Debug = Full:
[usb] pm3 --> lf awid clone --fmt 26 --fc 123 --cn 45678
[#] awid raw bits:
[#] 0000000100011101101101111101111001110010001010111101100000010001000100010001000100010001
[=] Preparing to clone AWID 26 to T55x7 with FC: 123 CN: 45678
[+] Blk | Data
[+] ----+------------
[+] 00 | 00107060
[+] 01 | 011DB7DE
[+] 02 | 722BD811
[+] 03 | 11111111
[#] LF signal properties:
[#] high..........255
[#] low...........10
[#] mean..........128
[#] amplitude.....127
[#] is Noise......No
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] DEBUG: threshold Count reached at index 36, count: 3
[#] DEBUG (fskdemod) got 1419 bits
[#] DEBUG (aggregate_bits) FSK startIdx 50, fclow*idx 64, n*clk 50
[#] DEBUG (aggregate_bits) extra bits in the end
[#] DEBUG (fskdemod) got 238 bits
[#] DEBUG: (setClockGrid) demodoffset 50, clk 50
[#] DEBUG: (FSKrawDemod) using clock:50, inverted, fc high:10, fc low:8
[+] FSK2a decoded bitstream
[=] -----------------------
[+] DemodBuffer:
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011111000111110011111
[+] 10011111111011
I tried with same platform and same commit on a native Debian 10, I can't reproduce the bug. I tried with a T5577 or even without tag, same. FTR full log should look like this
[usb] pm3 --> lf awid clone --fmt 26 --fc 123 --cn 45678
[#] awid raw bits:
[#] 0000000100011101101101111101111001110010001010111101100000010001000100010001000100010001
[=] Preparing to clone AWID 26 to T55x7 with FC: 123 CN: 45678
[+] Blk | Data
[+] ----+------------
[+] 00 | 00107060
[+] 01 | 011DB7DE
[+] 02 | 722BD811
[+] 03 | 11111111
[#] LF signal properties:
[#] high..........255
[#] low...........1
[#] mean..........130
[#] amplitude.....125
[#] is Noise......No
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] DEBUG: threshold Count reached at index 20, count: 3
[#] DEBUG (fskdemod) got 1441 bits
[#] DEBUG (aggregate_bits) FSK startIdx -4, fclow*idx 576, n*clk 600
[#] DEBUG (aggregate_bits) extra bits in the end
[#] DEBUG (fskdemod) got 239 bits
[#] DEBUG: (setClockGrid) demodoffset -4, clk 50
[#] DEBUG: (FSKrawDemod) using clock:50, inverted, fc high:10, fc low:8
[+] FSK2a decoded bitstream
[=] -----------------------
[+] DemodBuffer:
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 11111111111101111100011111001111
[+] 111111111111011
[#] LF signal properties:
[#] high..........254
[#] low...........1
[#] mean..........129
[#] amplitude.....125
[#] is Noise......No
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] DEBUG: threshold Count reached at index 20, count: 3
[#] DEBUG (fskdemod) got 1341 bits
[#] DEBUG (aggregate_bits) FSK startIdx -4, fclow*idx 376, n*clk 400
[#] DEBUG (fskdemod) got 239 bits
[#] DEBUG: (setClockGrid) demodoffset -4, clk 50
[#] DEBUG: (FSKrawDemod) using clock:50, inverted, fc high:10, fc low:8
[+] FSK2a decoded bitstream
[=] -----------------------
[+] DemodBuffer:
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 11111111011100010010010000010000
[+] 111111110111000
[#] LF signal properties:
[#] high..........254
[#] low...........1
[#] mean..........129
[#] amplitude.....125
[#] is Noise......No
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] DEBUG: threshold Count reached at index 20, count: 3
[#] DEBUG (fskdemod) got 1364 bits
[#] DEBUG (aggregate_bits) FSK startIdx 0, fclow*idx 80, n*clk 100
[#] DEBUG (fskdemod) got 239 bits
[#] DEBUG: (setClockGrid) demodoffset 0, clk 50
[#] DEBUG: (FSKrawDemod) using clock:50, inverted, fc high:10, fc low:8
[+] FSK2a decoded bitstream
[=] -----------------------
[+] DemodBuffer:
[+] 11000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 01000110111010100001001111110111
[+] 010001101110101
[#] LF signal properties:
[#] high..........255
[#] low...........1
[#] mean..........130
[#] amplitude.....125
[#] is Noise......No
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] DEBUG: threshold Count reached at index 20, count: 3
[#] DEBUG (fskdemod) got 1421 bits
[#] DEBUG (aggregate_bits) FSK startIdx -4, fclow*idx 176, n*clk 200
[#] DEBUG (aggregate_bits) extra bits in the end
[#] DEBUG (fskdemod) got 239 bits
[#] DEBUG: (setClockGrid) demodoffset -4, clk 50
[#] DEBUG: (FSKrawDemod) using clock:50, inverted, fc high:10, fc low:8
[+] FSK2a decoded bitstream
[=] -----------------------
[+] DemodBuffer:
[+] 11110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 01110111011101110111011101110111
[+] 011101110111011
[+] Data written and verified
[+] Done
[?] Hint: try `lf awid reader` to verify
so it seems it hangs on your side after the first demodulation
What is the expected behavior if you do not have a tag on the antenna? I tried with another tag and it went through fine. I tried with no tag and it hung in the same place.
with no tag it looks like this
[usb] pm3 --> lf awid clone --fmt 26 --fc 123 --cn 45678
[#] awid raw bits:
[#] 0000000100011101101101111101111001110010001010111101100000010001000100010001000100010001
[=] Preparing to clone AWID 26 to T55x7 with FC: 123 CN: 45678
[+] Blk | Data
[+] ----+------------
[+] 00 | 00107060
[+] 01 | 011DB7DE
[+] 02 | 722BD811
[+] 03 | 11111111
[#] LF signal properties:
[#] high..........132
[#] low...........126
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........131
[#] low...........126
[#] mean..........129
[#] amplitude.....2
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........132
[#] low...........127
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........132
[#] low...........127
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........132
[#] low...........127
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........131
[#] low...........127
[#] mean..........129
[#] amplitude.....2
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........132
[#] low...........126
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[#] LF signal properties:
[#] high..........132
[#] low...........127
[#] mean..........129
[#] amplitude.....3
[#] is Noise......Yes
[#] THRESHOLD noise amplitude......8
[#] DEBUG: (setClockGrid) clear settings
[+] Done
[?] Hint: try `lf awid reader` to verify
What type of Proxmark do you have ? I tried the PM3GENERIC on my RDV4 but range of values might depend on the model...
I have a KKmoon Proxmark3 Easy, with 512 K chip https://www.amazon.com/Reader-KKmoon-Proxmark3-Copier-Changeable/dp/B07WPJ89PF
"good" news: I can reproduce on a Pm3 Easy and no tag. Thanks.
unbounded loop fixed on master https://github.com/RfidResearchGroup/proxmark3/commit/899f269a99fe8dce5321d082f88c742ff529566d, cc @iceman1001
it triggers only on noisy envs, that's why it's harder to trigger on the RDV4. (getSignalProperties()->isnoise
in AcquireData
)
Thanks!
Describe the bug Cloning an AWID token to a T55xx card succeeds (the Proxmark blinks, and the card is verified afterwards to have the right data), but the client hangs and console control is not returned.
To Reproduce Steps to reproduce the behavior:
lf awid clone --fmt 26 --fc 123 --cn 45678
.Expected behavior Card is written to, then control is returned to the console.
Screenshots
Desktop (please complete the following information):