flipperzero-firmware
flipperzero-firmware copied to clipboard
[NFC] Flipper Emulation stopped working on BAS-IP BME-03 after enabling reader's security profile
Describe the bug.
There is an object with access system built on top of BAS-IP panels (BME-03 reader) + U-Prox readers (U-Prox SE mini + U-Prox SL mini). Mifare 1K tags were used. Initially the whole system worked only with tag UID. For that moment emulation of tag worked fine at all present readers.
Then the decision were taken to increase the security level. For that purposes new MFP tags were bought and all reader's settings were updated: added MFP profile and (what is important) MFC profile was added (for backward compatibility of all issued tags).
The one key is used for all issued MFC tags, all sectors are protected by it (both A + B keys). Reader tries to authenticate with that key for all sectors sequentially until auth will be successful. Filter only against MF Zero is present.
After applying of those changes Flipper's emulation stopped working on the panels with BME-03 reader (and it is working on all other readers). All other tags (like MF-3, multiple versions of chinese CUID, Gen 4 GTU card) are working fine.
I made the dumps by Proxmark3, visually it looks like protocol executes fine. So I have a suggestion it could be a hardware error. But before that I decided to create that bug report for checking is it not a software problem.
Thanks!
Reproduction
- Open saved tag (full decrypted with a know key, all sectors are read successfully)
- Emulate it
- Try to authenticate via panel with BAS-IP BME-03 reader
Expected result: Door will be opened
Actual result: Door is not opened
Target
NFC
Logs
Proxmark3 traces are attached: proxmark3-traces.zip
Original - original tag's trace Flipper - Flipper's trace
Anything else?
Firmware version: 0.85.2 Dump file could be shared securely if needed
CC @Astrrra prob?
There are some improvements in MFC emulation in latest dev release, could you test again on it?
@AloneLiberty I watched for the changes in #2825, unfortunately improvements from that PR didn't help for that situation
But I will recheck cause I could suppose I tested on a not last commits. Will recheck and write down the result
Just rechecked with 0.86.2, unfortunately, the problem still present
0.86.2 doesn't have my fixes included, try on dev version
Sorry, my bad. Installed Dev f2324e4d
, still no result
Hm, I think I have an idea why that is happening, but this will probably have to wait until we finish the NFC refactoring
You can try the 0.87.0 release just in case it may work, but if it doesn't, then you'll have to wait for some time
You can try the 0.87.0 release just in case it may work, but if it doesn't, then you'll have to wait for some time
Hi, I checked. It didn't work. No worries, will wait for that refactoring
Thanks in advance!
Still reproducible in 0.94.1-rc after NFC refactoring.
how about latest dev? there were couple emulation fixes
@skotopes rechecked on multiple readers. Still reproducible on Dev 7eeb60e1
@mishamyte how about now?
Hey @skotopes,
Unfortunately, I could confirm the issue is still valid on Dev 916af29
Wondering could it potentially be the issue with the antenna power?
@gornekich @doomwastaken looks like the ball is on your side then.