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 2021-11-18 18:35:19

Burak
Contributor
Registered: 2021-10-06
Posts: 16

Can't write or wipe a CUID card help pls

Hello,

I was working with a CUID mifare 1k card however somehow now I cannot write any block after block 39 (I tried to write some specific blocks using ''hf mf wrb'' and somehow that happened. )  After block 39 I cannot read block or write to block it gives the following error:
[#] Cmd Error: 04
[#] Write block error
or
[#] Cmd Error 04
[#] Read block error

for any block above 39

How can I fix that issue?


write

Thanks,

Last edited by Burak (2021-11-18 20:26:08)

Offline

#2 2021-11-19 00:53:06

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

Re: Can't write or wipe a CUID card help pls

First:
  If key A doesn't work,  maybe key B does.

Second:
  you seem to have wrong params.  The helptext will make things clear or even reading the hint text.

Offline

#3 2021-11-19 09:12:53

Burak
Contributor
Registered: 2021-10-06
Posts: 16

Re: Can't write or wipe a CUID card help pls

iceman wrote:

First:
  If key A doesn't work,  maybe key B does.

Second:
  you seem to have wrong params.  The helptext will make things clear or even reading the hint text.



Keys are

 
[+] found keys:

[+] |-----|----------------|---|----------------|---|
[+] | Sec | key A          |res| key B          |res|
[+] |-----|----------------|---|----------------|---|
[+] | 000 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 001 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 002 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 003 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 004 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 005 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 006 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 007 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 008 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 009 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 010 | 000000000000   | 1 | 000000000000   | 1 |
[+] | 011 | 000000000000   | 1 | 000000000000   | 1 |
[+] | 012 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 013 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 014 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] | 015 | ffffffffffff   | 1 | ffffffffffff   | 1 |
[+] |-----|----------------|---|----------------|---|
[+] ( 0:Failed / 1:Success )
[usb] pm3 --> hf mf rdb --blk 40 -k 0000000000 -b
[#] Cmd Error 04
[#] Read block error

[usb] pm3 --> hf mf rdb --blk 40 -k 0000000000 -a
[#] Cmd Error 04
[#] Read block error


Cant Read both block A and B so both gives error.

Edit: I think I broke access conditions so I cannot access those blocks. Is there something to fix this problem or nothing?

Last edited by Burak (2021-11-19 10:25:31)

Offline

#4 2021-11-20 09:13:53

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

Re: Can't write or wipe a CUID card help pls

access conditions is one source of perm bricking.   Make sure you understand what you are doing before ever writing to a sector trailer.

Offline

Board footer

Powered by FluxBB