DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://flipperunleashed.com
GNU General Public License v3.0
17.35k stars 1.44k forks source link

[NFC] Fail to fully read a mifare classic 1k card with valid keys in user dictionary #567

Closed UrSuLa360 closed 1 year ago

UrSuLa360 commented 1 year ago

Describe the bug.

I read Mifare classic card 1k with 5 unknown B keys. Screenshot-20230804-125853

Now i try to recover keys with Mifare Nested by @AloneLiberty Screenshot-20230804-130044

python -m FlipperNested [?] Checking 0EFB2C68.nonces [!] No nonces found [!] Failed to parse 0EFB2C68.nonces [?] Checking DCC57129.nonces Recovering key type B, sector 11 Found 1 key(s): ['8ae675fb1067'] Recovering key type B, sector 12 Found 1 key(s): ['aa3a9cf1c6f7'] Recovering key type B, sector 13 Found 1 key(s): ['2595b1d36a23'] Recovering key type B, sector 14 Found 1 key(s): ['91f69383da4d'] Recovering key type B, sector 15 Found 1 key(s): ['0abf7fedf635'] [+] Found potential 5 keys, use "Check found keys" in app

Screenshot-20230804-130244

The mf_classic_dict_user.nfc after "check found keys" process results in: (the key 669957a21cb8 was already in dict)

669957a21cb8 8AE675FB1067 AA3A9CF1C6F7 2595B1D36A23 91F69383DA4D 0ABF7FEDF635

Then with keys in dict i read the card again.

after_adding_keys

Same result even with keys in dict.

The keys are valid, i can unlock the card with moc in the computer.

Anything let me know. Thank you

Target

NFC

Anything else?

unlshd-059

AloneLiberty commented 1 year ago

As you pinged me, I see its B keys, might be fixed with https://github.com/flipperdevices/flipperzero-firmware/pull/2912. Just to be sure, can you check on latest dev OFW version?

UrSuLa360 commented 1 year ago

Screenshot-20230804-142834

Latest dev OFW Worked.

Thanks! You're awesome!

(i think your changes will be released here soon, then i will recheck again and close the issue)

xMasterX commented 1 year ago

Screenshot-20230804-142834

Latest dev OFW Worked.

Thanks! You're awesome!

(i think your changes will be released here soon, then i will recheck again and close the issue)

Can you check with latest dev build? Link to web updater

UrSuLa360 commented 1 year ago

Screenshot-20230805-164326

Latest unleashed dev version Worked!

I got the version from this link https://lab.flipper.net/?url=https://unleashedflip.com/fw_extra_apps/flipper-z-f7-update-757e.tgz&channel=dev-cfw&version=757e

PD: your link didn't work, "Failed to fetch"

xMasterX commented 1 year ago

Screenshot-20230805-164326

Latest unleashed dev version Worked!

I got the version from this link https://lab.flipper.net/?url=https://unleashedflip.com/fw_extra_apps/flipper-z-f7-update-757e.tgz&channel=dev-cfw&version=757e

PD: your link didn't work, "Failed to fetch"

yea build was a bit outdated thanks! all will be in 060 release, for now i'm closing this issue