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 2019-05-10 15:04:41

Ollibolli
Contributor
Registered: 2019-04-27
Posts: 51

Write dumpkeys.bin-file after hardnested attack

Hello everybody,

i find Key A and Key B of my hardnested Mifare 4K-tag with my Proxmark3 "Easy" via hardnested attack!

Subsequently i stored them to emulator memory and confirmed them as valid keys!

How can i now write them to dumpkeys.bin-file?


Many, many thanks in advance!

Last edited by Ollibolli (2019-05-10 15:05:57)

Offline

#2 2019-05-12 10:03:07

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

Re: Write dumpkeys.bin-file after hardnested attack

The dumpkeys file is a normal binary file.  With the Akeys first and Bkeys.  You can edit it with a hexeditor

Offline

#3 2019-05-12 10:17:23

Ollibolli
Contributor
Registered: 2019-04-27
Posts: 51

Re: Write dumpkeys.bin-file after hardnested attack

Hello iceman,

thanks for your answer!

To edit the dumpkeys.bin-file, i have to write/create one first!

But how after successfull hardnested attack?


If i use a usual dumpkeys.bin-file, how i have to write the keys inside?

Is it just necessary to write each key once anywhere inside of the file (replacing existing FFFFFFFFFFFF-keys) or have i to put each key in a specific row and/or column?

Last edited by Ollibolli (2019-05-12 11:13:21)

Offline

#4 2019-05-14 19:47:03

piwi
Contributor
Registered: 2013-06-04
Posts: 704

Re: Write dumpkeys.bin-file after hardnested attack

I have added an option to dump keys to dumpkeys.bin with 'hf mf ekeyprn'. PR in official repo, not yet merged.

Offline

#5 2019-05-17 10:02:33

Ollibolli
Contributor
Registered: 2019-04-27
Posts: 51

Re: Write dumpkeys.bin-file after hardnested attack

What did you mean exactly?

Why i can do almost everything with hardnested-tags, except saving the keys (with a command)?

Offline

#6 2019-05-17 17:29:21

piwi
Contributor
Registered: 2013-06-04
Posts: 704

Re: Write dumpkeys.bin-file after hardnested attack

I mean: I have added the function which you requested. You can download with

git checkout -b pwpiwi-dumpkeys master
git pull https://github.com/pwpiwi/proxmark3.git

Then compile as usual and dump your keys with 'hf mf ekeyprn d'.

If your tests are successful this will be included into the master branch on github.

Offline

#7 2019-05-17 20:58:53

Ollibolli
Contributor
Registered: 2019-04-27
Posts: 51

Re: Write dumpkeys.bin-file after hardnested attack

Sorry, i can't compile anything!

Can you provide the already comiled stuff, please?

Offline

#8 2019-05-30 14:31:49

piwi
Contributor
Registered: 2013-06-04
Posts: 704

Re: Write dumpkeys.bin-file after hardnested attack

It should meanwhile be available in compiled binaries as well.

Offline

Board footer

Powered by FluxBB