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 2017-07-10 05:44:00

samburner3
Contributor
From: Sydney AUS
Registered: 2015-03-01
Posts: 51

[Solved] FDI Keys Set Lua Script

(deleted)

Last edited by samburner3 (2017-08-22 06:11:18)

Offline

#2 2017-07-10 15:08:01

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

Re: [Solved] FDI Keys Set Lua Script

samburner3 wrote:

have to use the hf mf wrbl commands, since the hf mf restore commands ignore the keys inside the dumpdata file and just put in F's.

hf mf restore command reads the keys inside the dumpkeys.bin file and writes them to the new card. No need to use hf mf wrbl commands to set the keys.

If you see FFFFFFFFFFFF keys in the new card this can have two reasons:

  • You are trying to read the keys with a rdbl command and access conditions don't allow to read the respective key (note: this is always true for Key A). This will display as "FFFFFFFFFFFF".

  • You had "FFFFFFFFFFFF" keys in the dumpkeys.bin file

Offline

#3 2017-07-10 18:08:06

Dot.Com
Contributor
From: Hong Kong
Registered: 2016-10-05
Posts: 180
Website

Re: [Solved] FDI Keys Set Lua Script

Nice test script there Sam!

If you need my help, do let me know. smile

Offline

#4 2017-07-12 11:44:52

samburner3
Contributor
From: Sydney AUS
Registered: 2015-03-01
Posts: 51

Re: [Solved] FDI Keys Set Lua Script

(deleted)

Last edited by samburner3 (2017-08-22 06:10:59)

Offline

#5 2017-07-12 13:09:18

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

Re: [Solved] FDI Keys Set Lua Script

a) What keys are used to actually authenticate to write to the card?

hf mf restore uses key A = FFFFFFFFFFFF to write to the card

I know this error is due to access conditions.

Exactly. But this means that you don't write to a blank card. Access Conditions on blank cards allow writing the sector trailer with key A (transport configuration). Please note the capitalized "BLANK" in the help text of hf mf restore:

Restore MIFARE classic binary file to BLANK tag

Offline

#6 2017-07-12 13:24:11

samburner3
Contributor
From: Sydney AUS
Registered: 2015-03-01
Posts: 51

Re: [Solved] FDI Keys Set Lua Script

(deleted)

Last edited by samburner3 (2017-08-22 06:10:42)

Offline

#7 2018-10-07 19:57:38

fufunana
Contributor
Registered: 2018-10-03
Posts: 2

Re: [Solved] FDI Keys Set Lua Script

samburner3 wrote:

(deleted)

Hi Sam, you got the script working? Sorry for reviving old thread, but why do you delete it ? Can you post the script again? Thanks!

Offline

#8 2018-10-08 04:57:06

Tom5ive
Contributor
Registered: 2017-09-18
Posts: 53

Re: [Solved] FDI Keys Set Lua Script

Nice but you took it down?

Offline

Board footer

Powered by FluxBB