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 2014-09-13 11:04:45

NeiJPass
Contributor
From: Usa
Registered: 2014-05-14
Posts: 37
Website

Mifare 1k Leave blank

Hi friends I have a problem with a 1K MIFARE CLASSIC. Key and I have not let me restore. What should I do to leave the card with FFFFFFFF? let her virgin ?.

Another question though not laugh. I have the dumpdata.bin and dumpkeys.bin upload   as I can all at once to the same original card?



Thanks for your help

key: 6b2917086b1e


|---|----------------|---|----------------|---|
|sec|key A           |res|key B           |res|
|---|----------------|---|----------------|---|
|000|  6b2917086b1e  | 1 |  a8c092919853  | 1 |
|001|  b69ac286db22  | 1 |  714febcb1e64  | 1 |
|002|  0a33f5d984e2  | 1 |  b05355707862  | 1 |
|003|  b1a9d4ff30c1  | 1 |  cc5867dcd951  | 1 |
|004|  2281486381be  | 1 |  12d6ac01696a  | 1 |
|005|  ed0a76f04460  | 1 |  fa70ef33dad3  | 1 |
|006|  58accf396eed  | 1 |  af5d685e15ca  | 1 |
|007|  560b5ab32c1a  | 1 |  27ad03b012b1  | 1 |
|008|  cfc7000dc6c9  | 1 |  583331f5309e  | 1 |
|009|  6edefb1e4590  | 1 |  6f59f029a648  | 1 |
|010|  71e9b0020e0d  | 1 |  0b230e07d487  | 1 |
|011|  1ccb9046e652  | 1 |  e221ce9496b9  | 1 |
|012|  d584d15716e4  | 1 |  4b186aefe7bf  | 1 |
|013|  16331085a016  | 1 |  a4a01eee6869  | 1 |
|014|  a78f3952bac9  | 1 |  8007ba399a80  | 1 |
|015|  d65840d407c2  | 1 |  152de902f0ca  | 1 |
|---|----------------|---|----------------|---|
to

|---|----------------|---|----------------|---|
|sec|key A           |res|key B           |res|
|---|----------------|---|----------------|---|
|000|  ffffffffffff  | 0 |  ffffffffffff  | 0 |

Last edited by NeiJPass (2014-09-13 11:05:58)

Offline

#2 2014-09-14 10:44:25

NeiJPass
Contributor
From: Usa
Registered: 2014-05-14
Posts: 37
Website

Re: Mifare 1k Leave blank

I explain for if the people do not understand me. I have created a DUMP of a card and it gives me a few values I have guarded it in dumpdata.bin and dumpkeys.bin. I have put it in a virgin card with " HF MF RESTORE " and OK. has gone out for me now I want to leave it again in WHITE and says to me AUTH FAILED. Can someone leave like the card in white? Thank you in advance

Offline

#3 2014-09-20 15:31:18

steve
Contributor
Registered: 2014-09-15
Posts: 17

Re: Mifare 1k Leave blank

NeiJPass wrote:

I explain for if the people do not understand me. I have created a DUMP of a card and it gives me a few values I have guarded it in dumpdata.bin and dumpkeys.bin. I have put it in a virgin card with " HF MF RESTORE " and OK. has gone out for me now I want to leave it again in WHITE and says to me AUTH FAILED. Can someone leave like the card in white? Thank you in advance

What are the sector permissions?

It is very possible to use an access permission where no key is allowed to write even to the auth block, and then it's impossible to do further changes.

Offline

#4 2014-09-21 17:26:19

NeiJPass
Contributor
From: Usa
Registered: 2014-05-14
Posts: 37
Website

Re: Mifare 1k Leave blank

As soon as you overturn the information of the dumpdata.bin with HF MF RESTORE to a virgin card it leaves perfectly the modification of every block to register it. But at the moment of the blocks leaving it again FFFFFFFFFF it cannot because you have to put the key again. What desire is that FFFFFFFFFFFF still has the block again instead of the hexadecimal number. There is some way of being able resetear the card?

Offline

#5 2014-09-21 21:57:16

Armadillo
Member
Registered: 2014-09-17
Posts: 6

Re: Mifare 1k Leave blank

NeiJPass wrote:

As soon as you overturn the information of the dumpdata.bin with HF MF RESTORE to a virgin card it leaves perfectly the modification of every block to register it. But at the moment of the blocks leaving it again FFFFFFFFFF it cannot because you have to put the key again. What desire is that FFFFFFFFFFFF still has the block again instead of the hexadecimal number. There is some way of being able resetear the card?

The proxmark "Restore Mifare Classic" wil not change the keys blocks (block 3, 7, 11, 15 etc) for you (even the new keys are in the dumpdata.bin). You will have to manually change one key block at a time (16 bytes) using the Write command. [of course block 0 sector 0 cannot be changed unless you are using the changeable type]

OR use the ACR "Easy Key" software that came with ACR122 SDK. You can write a small program using the ACR122 API to take default dumpdatabin and dumpkey.bin to reset everything at a press of a button, but really I don't see a need for this one-off type of thing.

I would only use proxmark for time critical events and ACR122 for ease of HMI but with the advent of the Chinese handy sniffing card, proxmark is in the dead, defeated by for example, the Infineon type card etc....[the original intent obscured].

Enjoy!

Offline

#6 2014-09-22 08:40:24

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

Re: Mifare 1k Leave blank

Sorry, Armadillo,

If you are using the latest version 0.0.5, then the "hf mf restore" commands reads keys from dumpkeys.bin and sets them on the corresponding sectortrailers and writes them to the card.

Offline

#7 2014-09-22 09:22:24

Armadillo
Member
Registered: 2014-09-17
Posts: 6

Re: Mifare 1k Leave blank

iceman wrote:

Sorry, Armadillo,

If you are using the latest version 0.0.5, then the "hf mf restore" commands reads keys from dumpkeys.bin and sets them on the corresponding sectortrailers and writes them to the card.

Thanks iceman;

For example, the keyA is A0A1A2A3A4A5 to open sector 0, he wanted to auto change to default key e.g. FFFFFFFFFFFF. Is a chicken first or egg first kind of thing... you need to authenticate first using the key in dumpkeys.bin, the question was how to change it to FFFFFFFFFFFF. Do you  put that in dumpdata.bin file OR dumpkey.bin which was A0A1A2A3A4A5 in the first place??

Thanks again for being always helpful.

:-)

Offline

#8 2014-09-22 09:36:55

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

Re: Mifare 1k Leave blank

If you want to use "hf mf restore"  then you need to change the dumpkeys.bin file. 
You need to figure out the internal structure for the file first.  smile   

If you dont want to use the "hf mf restore"   then just make n  "hf mf wrbl"  commands and run them individual.

I'm not sure why you think this is a "chicken 'n egg" kind of thing.  To create the dump in the first place you need all keys.
To write the dump to a blank card and change the keys then it is now you do it when you control all data.

You do not change the keys on the original card before the dump.

Offline

#9 2014-09-23 20:42:46

NeiJPass
Contributor
From: Usa
Registered: 2014-05-14
Posts: 37
Website

Re: Mifare 1k Leave blank

Thank you for your answers I will prove more methods for the erased one of information in cards That have version of bootrom and of you fpga ...? I have it v852 and on having done " hf mf mifare " atack the proxmark goes out sad

Offline

#10 2014-09-23 21:26:11

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

Re: Mifare 1k Leave blank

If you want the latest windows release, download Aspers 0.0.5  and use that one.

Offline

Board footer

Powered by FluxBB