RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
4.08k stars 1.07k forks source link

Can't cload mifare 4K (4 byte) with a 4K dump #1653

Closed LuKtdf closed 2 years ago

LuKtdf commented 2 years ago

Describe the bug After a successfully dump of a 4K mifare using hf mf autopwn -s 0 -a -k [key] --4K, I tried to load the dump on a mifare classic 4K (Magic Capabilities: gen3/APDU) with the command hf mf cload -f [file.eml]. I get this: [usb] pm3 --> hf mf cload -f hf-mf-0FE966CD-dump-1.eml [+] loaded 4096 bytes from text file hf-mf-0FE966CD-dump-1.eml [=] Copying to magic gen1a card [=] .[#] wupC1 error [!] ⚠ Can't set magic card block: 0

To Reproduce Steps to reproduce the behavior:

  1. Get a dump of a 4k card (autopwn)
  2. try to cload on UID changeable 4k card
  3. See error

Desktop (please complete the following information):

[ Proxmark3 RFID instrument ]

[ CLIENT ] Iceman/master/v4.14831-531-g190508339 2022-04-05 08:06:46 39a4b591e compiled with............. GCC 11.2.0 platform.................. Linux / x86_64 Readline support.......... present QT GUI support............ present native BT support......... present Python script support..... present Lua SWIG support.......... present Python SWIG support....... present

[ PROXMARK3 ] device.................... RDV4 firmware.................. RDV4 external flash............ present smartcard reader.......... present FPC USART for BT add-on... absent

[ ARM ] bootrom: Iceman/master/v4.14831-412-g355bc8882 2022-03-06 12:05:25 ea44b0c23 os: Iceman/master/v4.14831-412-g355bc8882 2022-03-06 12:11:55 ea44b0c23 compiled with GCC 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]

[ FPGA ] LF image built for 2s30vq100 on 2020-07-08 at 23:08:07 HF image built for 2s30vq100 on 2020-07-08 at 23:08:19 HF FeliCa image built for 2s30vq100 on 2020-07-08 at 23:08:30

[ Hardware ] --= uC: AT91SAM7S512 Rev A --= Embedded Processor: ARM7TDMI --= Internal SRAM size: 64K bytes --= Architecture identifier: AT91SAM7Sxx Series --= Embedded flash memory 512K bytes ( 59% used )

[!] ⚠ ARM firmware does not match the source at the time the client was compiled [!] ⚠ Make sure to flash a correct and up-to-date version

[usb] pm3 --> hw status [#] Memory [#] BigBuf_size............. 42480 [#] Available memory........ 42480 [#] Tracing [#] tracing ................ 0 [#] traceLen ............... 10 [#] Current FPGA image [#] mode.................... HF image built for 2s30vq100 on 2020-07-08 at 23:08:19 [#] Flash memory [#] Baudrate................ 24 MHz [#] Init.................... OK [#] Memory size............. 2 mbits / 256 kb [#] Unique ID............... 0xD5690C23DFA4BE2A [#] Smart card module (ISO 7816) [#] version................. v3.10 [#] LF Sampling config [#] [q] divisor............. 95 ( 125.00 kHz ) [#] [b] bits per sample..... 8 [#] [d] decimation.......... 1 [#] [a] averaging........... yes [#] [t] trigger threshold... 0 [#] [s] samples to skip..... 0 [#] [#] LF T55XX config [#] [r] [a] [b] [c] [d] [e] [f] [g] [#] mode |start|write|write|write| read|write|write [#] | gap | gap | 0 | 1 | gap | 2 | 3 [#] ---------------------------+-----+-----+-----+-----+-----+-----+------ [#] fixed bit length (default) | 29 | 17 | 15 | 47 | 15 | N/A | N/A | [#] long leading reference |N/A | N/A | N/A | N/A | N/A | N/A | N/A | [#] leading zero |N/A | N/A | N/A | N/A | N/A | N/A | N/A | [#] 1 of 4 coding reference |N/A | N/A | N/A | N/A | N/A | N/A | N/A | [#] [#] HF 14a config [#] [a] Anticol override.... std ( follow standard ) [#] [b] BCC override........ std ( follow standard ) [#] [2] CL2 override........ std ( follow standard ) [#] [3] CL3 override........ std ( follow standard ) [#] [r] RATS override....... std ( follow standard ) [#] Transfer Speed [#] Sending packets to client... [#] Time elapsed................... 500ms [#] Bytes transferred.............. 259584 [#] Transfer Speed PM3 -> Client... 519168 bytes/s [#] Various [#] Max stack usage......... 4256 / 8480 bytes [#] Debug log level......... 1 ( error ) [#] ToSendMax............... 10 [#] ToSend BUFFERSIZE....... 2308 [#] Slow clock.............. 32545 Hz [#] Installed StandAlone Mode [#] LF HID26 standalone - aka SamyRun (Samy Kamkar) [#] Flash memory dictionary loaded

Additional context Add any other context about the problem here.

iceman1001 commented 2 years ago

If you read the helptext you would know that hf mf cload isn't for a Gen3 card.