flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
12.63k stars 2.69k forks source link

Can we know if we are reading a mifare plus card? #2709

Closed UrSuLa360 closed 3 months ago

UrSuLa360 commented 1 year ago

Description of the feature you're suggesting.

Im pretty sure im reading a mifare plus card but flipper says it is mifare classic.

I know mifare plus is compatible with mifare classic readers.

But my question is: is it possible to detect when you are reading a mifare plus card type?

Anything else?

No response

AloneLiberty commented 1 year ago

Mifare Plus in SL1/SL2 can work as Mifare Classic, you are probably reading Mifare Plus in SL1. Currently isn't possible to separate Mifare Plus from any other tags with same SAK/ATQA (ATS required). This will be possible after NFC refactor (#2529).

skotopes commented 8 months ago

@UrSuLa360 please check latest version. NFC refactoring changed way we detect card types in better and more reliable way.

UrSuLa360 commented 8 months ago

Hello, I no longer have any mifare plus card. I will try to get one.

UrSuLa360 commented 8 months ago

Got the card. All interaction with the card was exactly like a Mifare Classic 1K. flipper_mifare_plus

First time i read the card the dict attack found 1 key. The rest of keys were found using mfoc-hardnested on the computer. Then i added all keys to user_dict in flipper and i was able to read the full content.

so, flipper could not detect the real type of the card.

One thing i want to point is, i know the card it's a Mifare Plus because the company using this card SAID it is a Mifare Plus SE. Here is the link where they describe the card used: https://blog.renfe.com/asi-funciona-la-tarjeta-sin-contacto/ (It is in spanish)

Edit: tested on 0.97.1, my UID is 4 bytes long.

Tomi2965 commented 8 months ago

Same problem here. Fob: FDI Matelec France Mifare Plus (part nr. GB-010-229). Readed on latest dev (027ea9ea).

flpr-2024-01-21-21:02:46

skotopes commented 3 months ago

Yes. Since MF plus detect support added in latest release