Proxmark3 developers 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.

#1 2019-12-12 12:31:36

Mashid0
Contributor
Registered: 2019-12-02
Posts: 28

0xffffffffffff has been inserted for unknown keys

This is about message 0xffffffffffff has been inserted for unknown keys

[+] Time in checkkeys (fast):  115.6s
          
|---|----------------|---|----------------|---|          
|sec|key A           |res|key B           |res|          
|---|----------------|---|----------------|---|          
|000|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|001|  ------------  | 0 |  ------------  | 0 |          
|002|  ------------  | 0 |  ------------  | 0 |          
|003|  ------------  | 0 |  ------------  | 0 |          
|004|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|005|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|006|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|007|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|008|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|009|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|010|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|011|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|012|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|013|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|014|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|015|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|---|----------------|---|----------------|---|          
[+] Printing keys to binary file hf-mf-7985DF4D-key.bin ...          
[+] Found keys have been dumped to hf-mf-7985DF4D-key.bin  --> 0xffffffffffff has been inserted for unknown keys.  

but -key or -data the sectors 1,2,3 will be filled not with 0xFF but with 0x00

Offline

#2 2019-12-12 13:14:56

iceman
Administrator
Registered: 2013-04-25
Posts: 6,688
Website

Re: 0xffffffffffff has been inserted for unknown keys

Good catch.  Which command did you ran?


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#3 2019-12-12 13:38:37

Mashid0
Contributor
Registered: 2019-12-02
Posts: 28

Re: 0xffffffffffff has been inserted for unknown keys

issue related with

hf mf chk
hf mf fchk

Offline

#4 2019-12-12 15:38:17

iceman
Administrator
Registered: 2013-04-25
Posts: 6,688
Website

Re: 0xffffffffffff has been inserted for unknown keys

hm, I see,   the message is an indication that inside the created BIN file,  the non-found keys is substituted with 0xFFF... ,   and not as a reference to the textual output on the screen.

[edit]
you mean that the bin-file gets zeros instead of 0xFFFF... aswell ?


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#5 2019-12-12 17:48:37

Mashid0
Contributor
Registered: 2019-12-02
Posts: 28

Re: 0xffffffffffff has been inserted for unknown keys

To be careful

Stage 1
[usb] pm3 --> hf mf chk *1 ? d

|---|----------------|---|----------------|---|          
|sec|key A           |res|key B           |res|          
|---|----------------|---|----------------|---|          
|000|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|001|  ------------  | 0 |  ------------  | 0 |          
|002|  ------------  | 0 |  ------------  | 0 |          
|003|  ------------  | 0 |  ------------  | 0 |          
|004|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|005|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|006|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|007|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|008|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|009|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|010|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|011|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|012|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|013|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|014|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|015|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|---|----------------|---|----------------|---|          
[+] Printing keys to binary file hf-mf-7985DF4D-key.bin ...          
[+] Found keys have been dumped to hf-mf-7985DF4D-key.bin  --> 0xffffffffffff has been inserted for unknown keys.          

have generate hf-mf-7985DF4D-key.bin
ALL sectors filled with 0xFF
including KEYs A and B for the sectors 001-003
file listing

00000000:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000010:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000020:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000030:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000040:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000050:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000060:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000070:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000080:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
00000090:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
000000a0:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................
000000b0:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  :................

This case textual message is correct

Stage 2
For the next test I delete file hf-mf-7985DF4D-key.bin from my PC
repeat with other command
[usb] pm3 --> hf mf fchk 1 d
the result on screen

[+] Time in checkkeys (fast):  5.2s
          
|---|----------------|---|----------------|---|          
|sec|key A           |res|key B           |res|          
|---|----------------|---|----------------|---|          
|000|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|001|  ------------  | 0 |  ------------  | 0 |          
|002|  ------------  | 0 |  ------------  | 0 |          
|003|  ------------  | 0 |  ------------  | 0 |          
|004|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|005|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|006|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|007|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|008|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|009|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|010|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|011|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|012|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|013|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|014|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|015|  ffffffffffff  | 1 |  ffffffffffff  | 1 |          
|---|----------------|---|----------------|---|          
[+] Printing keys to binary file hf-mf-7985DF4D-key.bin ...          
[+] Found keys have been dumped to hf-mf-7985DF4D-key.bin  --> 0xffffffffffff has been inserted for unknown keys.          
          

have generated new file hf-mf-7985DF4D-key.bin
ALL sectors filled with 0xFF
BUT KEYs A and B for the sectors 001-003 0x00

file listing:

ffff ffff ffff 0000 0000 0000 0000 0000
0000 0000 0000 0000 ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff 0000 0000 0000 0000 0000
0000 0000 0000 0000 ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff

Conclusion
chk  - fills unknowns with 0xFF
fchk - fills unknowns with 0x00 and textual message 0xffffffffffff has been inserted for unknown keys.     is incorrect or file is incorrect

Last edited by Mashid0 (2019-12-12 17:52:03)

Offline

#6 2019-12-12 17:52:05

iceman
Administrator
Registered: 2013-04-25
Posts: 6,688
Website

Re: 0xffffffffffff has been inserted for unknown keys

aha,  good.  So fchk doesn't set 0xFFFFFFFFFFFF when it should.  Good catch!


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

Board footer

Powered by FluxBB