flipperzero-firmware icon indicating copy to clipboard operation
flipperzero-firmware copied to clipboard

NFC st25ta support

Open SkalkaA opened this issue 3 years ago • 17 comments

Description of the feature you're suggesting.

Bought a smart lock ROTHULT made by IKEA, which uses st25ta 14443A cards for access. Currently it is not possible to emulate these cards with a Flipper.

It is possible to read/emulate them, and to extract the password using a Proxmark3 in standalone mode by touching the lock itself, thereby making a copy of the master card*. It would be great if something similar could be done on the Flipper.

*This shows the cloning mentioned: https://www.youtube.com/watch?v=Q08qhJ3TOM8&ab_channel=QuentynTaylor

Anything else?

No response

SkalkaA avatar Oct 17 '22 19:10 SkalkaA

Yep, we have it in backlog. We'll come back to it a little bit later.

skotopes avatar Oct 22 '22 15:10 skotopes

Interesting: If i go to NFC/Detect Reader, the IKEA lock will open/close!

woodyc79 avatar Feb 22 '23 08:02 woodyc79

Hello, i noticed the same thing using Detect Reader on my IKEA lock.

zeano avatar Feb 22 '23 08:02 zeano

The lock can save any? NFC tag in its memory to use as a new access card. This saving function (as stated in the manual) is available when a new card is used a under a minute after the lock has been locked/unlocked with the included master card. I'm guessing that's what's happening here.

Any progress on the cloning of the master card? EDIT: Sorry, closed this on accident. Also thank you for the amazing job, I'm loving the continuous development you guys are doing!

SkalkaA avatar Mar 29 '23 13:03 SkalkaA

Interesting: If i go to NFC/Detect Reader, the IKEA lock will open/close!

@woodyc79 @zeano This is expected behavior, as in the unlocked state, the ROTHULT device can be locked with any other card and then re-opened with itsame card (same UID). And the Detect Reader feature of Flipper just emulates a Mifare card with a constant UID.

MichaelGrafnetter avatar Jun 13 '23 10:06 MichaelGrafnetter

I have the same problem: Emulating cards are not recognized But that's not a main problem with the lock: a tag that I had previously cloned (RFID Tools and PN532) to a Magic Tag, worked

I'll test whether it works if I clone the card/chip read with Flipper onto a Magic Tag using the Zero

ChrisD0lpgr3n avatar Oct 10 '23 00:10 ChrisD0lpgr3n

I have the same problem: Emulating cards are not recognized But that's not a main problem with the lock: a tag that I had previously cloned (RFID Tools and PN532) to a Magic Tag, worked

I'll test whether it works if I clone the card/chip read with Flipper onto a Magic Tag using the Zero

Now the chip, read out with a flipper, is written onto a magic tag, which Rothult opens and closes Emulating the same chip doesn't work

(I can't test with the original Ikea cards, the Magic Tag doesn't accept them)

ChrisD0lpgr3n avatar Oct 10 '23 11:10 ChrisD0lpgr3n

Looks like this issues already solved.

skotopes avatar Jan 03 '24 11:01 skotopes

I think this may been closed prematurely. If the OP was asking for support of the st25ta chip. The issue gets confused because the ROTHULT locks have both master keys, as well as support any 14a UID emulation. It doens't help that the OP's video link was to github and not to the actual video: https://www.youtube.com/watch?v=Q08qhJ3TOM8

The key pieces to supporting the ROTHULT's st25ta seem to be:

  • Detecting it by ATQA/SAK (https://github.com/RfidResearchGroup/proxmark3/blob/master/armsrc/Standalone/hf_tcprst.c#L103-L106)
  • Saving partial data
  • Emulation of UID back to lock and capture of 16 byte password (akin to NTAG's password capture I think)
  • General type 4 NDEF reading support (https://github.com/RfidResearchGroup/proxmark3/blob/master/armsrc/Standalone/hf_tcprst.c#L77C7-L88)

bettse avatar Jan 03 '24 18:01 bettse

@bettse true, we'll take a look into st24ta implementation. However we still lack cards and systems that uses it.

@doomwastaken can you take a look on it, we need cards and this lock.

skotopes avatar Jan 04 '24 03:01 skotopes

Are their IKEA anywhere nearby? https://www.ikea.com/us/en/p/rothult-smart-lock-white-00429619/ (comes with lock + 2 st25ta 'master' cards)

bettse avatar Jan 04 '24 03:01 bettse

Surprisingly not. Ikea japan is not selling this lock.

skotopes avatar Jan 04 '24 03:01 skotopes

I will order them to one of the offices

doomwastaken avatar Jan 04 '24 07:01 doomwastaken

Ordered it, will have in few hours

doomwastaken avatar Jan 04 '24 08:01 doomwastaken

I do have a Proxmark3, IKEA lock and the cards. Flipper also, of course. If you need help beta testing, I definitely could try.

SkalkaA avatar Jan 19 '24 12:01 SkalkaA

I bought a Rothult and a Flipper Zero and confirm that Flipper is not able to unlock the Rothult by emulating the shipped card. In my case, it also doesn't work one minute within opening the lock with the shipped card.

Would be awesome if you could implement this at some point. Anyway, thanks for all your work!

afroewis avatar Jun 22 '24 16:06 afroewis

@SkalkaA @afroewis please ping @gornekich

skotopes avatar Jun 22 '24 16:06 skotopes