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.
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.
Pages: 1
I think I am missing something here.
I have created a test mf card on a UID card. So I know the keys.
I have set a few blocks to used different keys.
I have added the keys to my keys.dic file
The chk with the keys.dic file finds the keys.
hf mf chk *1 ? t d:\pm3\keys.dic
I check the ekeyprn and the keys show up in the correct location
So far so good.
when I issue the dump command, it fails when it gets to the first block that needs the different key.
Sectors 5 and 6 have different keys (and different from each other)
I beleive the bit I am missing is how do we tell the dump to use the found keys ?
hf mf dump
|-----------------------------------------|
|------ Reading sector access bits...-----|
|-----------------------------------------|
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
Could not get access rights for sector 5. Trying with defaults...
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
Could not get access rights for sector 6. Trying with defaults...
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
#db# READ BLOCK FINISHED
|-----------------------------------------|
|----- Dumping all blocks to file... -----|
|-----------------------------------------|
#db# READ BLOCK FINISHED
Successfully read block 0 of sector 0.
#db# READ BLOCK FINISHED
Successfully read block 1 of sector 0.
#db# READ BLOCK FINISHED
Successfully read block 2 of sector 0.
#db# READ BLOCK FINISHED
Successfully read block 3 of sector 0.
#db# READ BLOCK FINISHED
Successfully read block 0 of sector 1.
#db# READ BLOCK FINISHED
Successfully read block 1 of sector 1.
#db# READ BLOCK FINISHED
Successfully read block 2 of sector 1.
#db# READ BLOCK FINISHED
Successfully read block 3 of sector 1.
#db# READ BLOCK FINISHED
Successfully read block 0 of sector 2.
#db# READ BLOCK FINISHED
Successfully read block 1 of sector 2.
#db# READ BLOCK FINISHED
Successfully read block 2 of sector 2.
#db# READ BLOCK FINISHED
Successfully read block 3 of sector 2.
#db# READ BLOCK FINISHED
Successfully read block 0 of sector 3.
#db# READ BLOCK FINISHED
Successfully read block 1 of sector 3.
#db# READ BLOCK FINISHED
Successfully read block 2 of sector 3.
#db# READ BLOCK FINISHED
Successfully read block 3 of sector 3.
#db# READ BLOCK FINISHED
Successfully read block 0 of sector 4.
#db# READ BLOCK FINISHED
Successfully read block 1 of sector 4.
#db# READ BLOCK FINISHED
Successfully read block 2 of sector 4.
#db# READ BLOCK FINISHED
Successfully read block 3 of sector 4.
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
#db# Authentication failed. Card timeout.
#db# Auth error
#db# READ BLOCK FINISHED
Could not read block 0 of sector 5
proxmark3>
Last edited by mwalker (2019-05-24 21:49:05)
Offline
What are the access security bits set to? It may be that you're reading with a key that doesn't have access
Offline
copy the keys.dic file in the same folder and try
Offline
You have to add the 'd' option to 'hf mf chk' in order to write the keys to file 'dumpkeys.bin'.
Offline
Thanks all.
@marshmellow The security bits looked to be default, which would imply that key A should be able to r/w but key b (on a real mifare) can be read so cant be used for access. I proved the keys were correct and could read as I could read single blocks and sectors by supplying the key.
@NYCity25 yeah, I had a little trouble with it not finding the key file to start with. My proxmark exe is running from my dev folder, so was trying to keep the "data" away from that. It does find the key file as 1 of the keys I set is NOT in the default list. So when first run it failed to find (as expected) and when added it, it did find it, so happy the key file location works with full path.
@piwi, that was it. 'd' option was needed. i was using t when sending to the emu which was working as I could then dump the card into the emu and save from there. When, as you suggested using the d and not the t it worked as expected.
Thanks again, working now.
Offline
Pages: 1