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 2020-11-05 18:32:09

loupetre
Contributor
Registered: 2019-01-21
Posts: 29

Question about hf mf restore (which key is used really ?)

Hello all,

I'm facing a problem while using the hf mf restore command.
I use it without arguments. I do have the right key.bin file.
Unfortunately, on some sectors I get write error (auth error).

The access rights of these sectors only allow writing with B key.
If I try to write throught hf mf wrbl 4 B <key> <block data>, it is a success.

My question is : does hf mf restore use only key A when restoring a dump ?
It doesn't use the access bytes that are in the dump file in order to use the right key ?

Thank you, and sorry if my question is too "newbie"

Last edited by loupetre (2020-11-05 20:12:22)

Offline

#2 2020-11-05 19:18:32

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

Re: Question about hf mf restore (which key is used really ?)

The restore kind of assumes the card you are restoring to is blank and filled with 0xFFFFFFFFFFFF keys.

Offline

#3 2020-11-05 20:09:42

loupetre
Contributor
Registered: 2019-01-21
Posts: 29

Re: Question about hf mf restore (which key is used really ?)

Oh yess ok I see.

Why do we have to have a key file then ?

Last edited by loupetre (2020-11-05 20:13:38)

Offline

#4 2020-11-05 20:52:35

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

Re: Question about hf mf restore (which key is used really ?)

I don't have that fresh in my memory, You need to look at the source code into order to get that answer

Offline

#5 2020-11-05 22:16:58

loupetre
Contributor
Registered: 2019-01-21
Posts: 29

Re: Question about hf mf restore (which key is used really ?)

In Iceman there is « ice ». Strange that it is not fresh in your memory then lol

Offline

Board footer

Powered by FluxBB